html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

a,
button,
.btn {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.product-card:focus-visible,
.service-card:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: #ffffff;
  color: #111418;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

pre,
code,
.wizard-command,
.copy-command,
.command-copy {
  max-width: 100%;
}

pre,
.wizard-command,
.copy-command,
.command-copy {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.email,
.contact-card a,
.notify-card a,
.legal-content a,
.product-card__wordmark,
.product-card h3 {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 900px) {
  section,
  .hero,
  .band,
  .band-alt,
  .services,
  .principles,
  .contact,
  .notify,
  .launch {
    padding-block: 3.75rem;
  }

  .container {
    width: min(calc(100vw - 2rem), 1120px);
    max-width: calc(100vw - 2rem);
  }

  .header-inner {
    gap: 1rem;
    min-width: 0;
  }

  .brand {
    min-width: max-content;
    white-space: nowrap;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 0 !important;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-grid,
  .approach-grid,
  .split-grid,
  .service-grid,
  .feature-grid,
  .step-grid,
  .bank-grid,
  .checklist-grid,
  .policy-grid,
  .faq-grid,
  .product-grid,
  .contact-card,
  .notify-card,
  .launch-card,
  .cost-row {
    grid-template-columns: 1fr !important;
  }

  .hero-grid,
  .approach-grid,
  .split-grid {
    gap: 2rem;
  }

  .hero-image,
  .hero-status,
  .hero-panel,
  .hero-visual,
  .hero-card,
  .evidence-panel,
  .hub-panel,
  .bank-card {
    order: initial !important;
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1,
  .section-lead h2,
  .split-grid h2,
  .approach-copy h2 {
    letter-spacing: 0;
  }

  .hero-copy,
  .hero-copy p,
  .hero-lede,
  .hero-sub,
  .section-lead,
  .terminal-card,
  .code-window,
  .hero-card,
  .wizard-preview,
  .wizard-command,
  pre,
  code,
  .launch-card,
  .answer-box,
  .evidence-panel {
    min-width: 0;
    max-width: 100%;
  }

  .service-card,
  .feature-card,
  .step-card,
  .product-card,
  .faq-item,
  .checklist-box,
  .notice,
  .answer-box,
  .legal-note {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 0.95rem;
  }

  .brand {
    width: fit-content;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-by,
  .brand-byline {
    font-size: 0.72rem;
  }

  .nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem 1rem;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .hero-grid {
    padding-block: 2.25rem !important;
  }

  .hero-copy h1 {
    font-size: 2.25rem !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }

  .section-lead h2,
  .split-grid h2,
  .approach-copy h2 {
    font-size: 2rem !important;
    line-height: 1.12 !important;
  }

  .section-lead,
  .hero-copy p,
  .hero-lede,
  .hero-sub {
    width: 100%;
    max-width: calc(100vw - 2rem) !important;
  }

  .hero-lede,
  .hero-sub {
    max-width: min(31ch, calc(100vw - 2rem)) !important;
  }

  .hero-copy {
    max-width: 100% !important;
  }

  main a {
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .plays,
  .status-list,
  .pillars,
  .step-list,
  .checklist {
    gap: 0.8rem;
  }

  .btn,
  .hero-actions .btn,
  .contact-card .btn,
  .notify-card .btn,
  .launch-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .product-card__brand {
    align-items: flex-start;
  }

  .product-card__body,
  .service-card,
  .feature-card,
  .step-card,
  .faq-item,
  .legal-content {
    padding-inline: 1.45rem !important;
  }

  .product-card h3,
  .service-card h3,
  .feature-card h3,
  .step-card h3 {
    font-size: 1.45rem !important;
    line-height: 1.16;
  }

  .product-card__cta {
    letter-spacing: 0.08em;
  }

  .terminal-bar,
  .cost-row,
  .hub-row,
  .flow-step,
  .proof-list li {
    grid-template-columns: 1fr !important;
  }

  .wizard-command code,
  .command-copy code,
  pre code {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }

  .window-dots {
    margin-bottom: 0.35rem;
  }

  footer .footer-inner {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100vw - 1.5rem), 1120px);
    max-width: calc(100vw - 1.5rem);
  }

  .hero-copy h1 {
    font-size: 2rem !important;
  }

  .section-lead h2,
  .split-grid h2,
  .approach-copy h2 {
    font-size: 1.75rem !important;
  }

  .nav {
    column-gap: 0.65rem;
  }
}


.nav-toggle {
  display: none;
}

.nav-toggle[hidden] {
  display: none !important;
}

.nav-toggle-text {
  line-height: 1;
}

.nav-toggle-icon {
  display: grid;
  gap: 0.24rem;
  width: 1rem;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 760px) {
  .site-header.nav-enhanced .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding-block: max(0.85rem, env(safe-area-inset-top));
  }

  .site-header.nav-enhanced .brand {
    min-width: 0;
    max-width: 100%;
  }

  .site-header.nav-enhanced .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(232, 244, 255, 0.28);
    border-radius: 8px;
    background: rgba(232, 244, 255, 0.08);
    color: #ffffff;
    font: 800 0.88rem "Inter", sans-serif;
  }

  .site-header.nav-enhanced .nav-toggle:focus-visible {
    outline: 3px solid rgba(24, 214, 197, 0.78);
    outline-offset: 3px;
  }

  .site-header.nav-enhanced .nav {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 0.35rem;
  }

  .site-header.nav-enhanced .nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .site-header.nav-enhanced .nav a {
    min-height: 44px;
    justify-content: center;
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(232, 244, 255, 0.16);
    border-radius: 8px;
    background: rgba(232, 244, 255, 0.06);
    text-align: center;
  }

  .site-header.nav-enhanced .nav a:hover,
  .site-header.nav-enhanced .nav a:focus-visible {
    background: rgba(24, 214, 197, 0.14);
    border-color: rgba(24, 214, 197, 0.46);
  }

  .site-header.nav-enhanced + main .hero-grid {
    padding-top: 2.45rem !important;
  }
}

@media (max-width: 430px) {
  .site-header.nav-enhanced .nav.is-open {
    grid-template-columns: 1fr;
  }

  .site-header.nav-enhanced .brand-by {
    display: none;
  }

  .site-header.nav-enhanced .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
