.hero-actions [data-open-menu],
.device-link {
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.device-link:focus-visible,
.device-link:active {
  background-color: var(--tint);
  box-shadow: inset 0 0 0 1px var(--green2);
}

details.motion-expanding { overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
  .device-link:hover { background-color: var(--tint); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-actions [data-open-menu]:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-actions [data-open-menu]:active { transform: scale(.98); }
  html:not(.motion-ready) .faq-item[open] > p { animation: faq-enter 180ms ease-out; }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 240ms cubic-bezier(.4, 0, .2, 1), content-visibility 240ms allow-discrete;
    }
    .faq-item[open]::details-content {
      block-size: auto;
      transition-duration: 340ms;
    }
  }
}

@keyframes faq-enter {
  from { opacity: .4; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions [data-open-menu]:active { transform: none; }
  .hero-actions [data-open-menu],
  .device-link { transition: none; }
}

@media (max-width: 900px) {
  .mobile-disclosure:has(> .process-section) { margin-inline: 8px; }
  .mobile-disclosure > .process-section .process { padding: 22px 14px; }
  .process .process-content { padding: 0; gap: 14px; }
  .process .process-copy { padding-top: 0; }
  .process .process-tabs { margin-bottom: 18px; }
  .process .process-tab.active { background: var(--tint); color: var(--blue); }
  .process-section .process .eyebrow { color: var(--tint); }
}
.hero .hero-disclosure .hero-intro {
  color: var(--text);
  background: var(--soft);
  padding: 12px 14px;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .hero .hero-disclosure {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding-inline: 14px;
    margin-block: 12px;
  }
  .hero .hero-disclosure .hero-intro { padding: 0; }
}
.hero .home-stats-disclosure .stats {
  background: var(--soft);
  color: var(--text);
  border-radius: 14px;
}
.hero .home-stats-disclosure .stat span { color: var(--text); }

@media (max-width: 900px) {
  .hero .home-stats-disclosure {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding-inline: 14px;
    margin-block: 12px;
  }
}
@media (max-width: 900px) {
  .hero details[name="home-mobile-sections"] {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding-inline: 14px;
    margin: 12px 0;
  }
  .hero details[name="home-mobile-sections"] > summary {
    color: var(--text);
    font-size: 16px;
    min-height: 58px;
    padding: 14px 0;
  }
  .hero .home-visual-disclosure .hero-visual {
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .hero .home-visual-disclosure .visual-note { padding: 0 0 16px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  html:not(.motion-ready) details.mobile-disclosure[open] > :not(summary) {
    animation: section-slide-in 360ms cubic-bezier(.22, .7, .25, 1) both;
  }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    details.mobile-disclosure { interpolate-size: allow-keywords; }
    details.mobile-disclosure::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 260ms cubic-bezier(.4, 0, .2, 1), content-visibility 260ms allow-discrete;
    }
    details.mobile-disclosure[open]::details-content {
      block-size: auto;
      transition: block-size 360ms cubic-bezier(.22, 1, .36, 1), content-visibility 360ms allow-discrete;
    }
  }
}
@keyframes section-slide-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .hero > .home-stats-disclosure[name="home-mobile-sections"] {
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
    box-sizing: border-box;
  }
  .hero .home-stats-disclosure .stats-grid,
  .hero .home-stats-disclosure .stat {
    border: 0;
  }
  .hero .home-stats-disclosure .stat { padding: 4px 0; }
  .hero details[name="home-mobile-sections"] > summary:focus:not(:focus-visible) {
    outline: none;
  }
}
