*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --site-max: 72rem;
  --prose-max: 36rem;
  --narrow-max: 30rem;
  --faq-max: 34rem;
  --gutter: 1rem;
  --gutter-md: 1.5rem;
  --section-y: 3rem;
  --section-y-hero: 4rem;
  --col-gap: 3rem;
  --stack-xs: 0.5rem;
  --stack-sm: 0.75rem;
  --stack-md: 1rem;
  --stack-lg: 1.25rem;
  --stack-xl: 1.5rem;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  background: #090f1e;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.content-rail {
  max-width: var(--prose-max);
  margin-inline: auto;
}

.content-rail--narrow {
  max-width: var(--narrow-max);
}

.content-rail--steps {
  margin-inline: auto;
}

.content-rail--faq {
  max-width: var(--faq-max);
  margin-inline: auto;
}

.content-rail > p {
  margin-bottom: var(--stack-lg);
}

.content-rail > p:last-child,
.content-rail > .security-note:last-child {
  margin-bottom: 0;
}

.content-rail--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.content-rail--center .check-list,
.content-rail--center .security-note,
.content-rail--center .step-list,
.content-rail--center .faq-list {
  align-self: stretch;
  text-align: left;
}

.content-rail--center .section-cta {
  align-self: center;
  justify-content: center;
  width: auto;
  padding-left: 0;
  margin-top: var(--stack-lg);
  text-align: center;
}

.content-rail--center .bookmark-tags {
  justify-content: center;
}

.container--prose {
  max-width: calc(var(--prose-max) + var(--gutter) * 2);
}

.container--narrow {
  max-width: calc(var(--narrow-max) + var(--gutter) * 2);
}

.container--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #ff2400;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.disclosure-bar {
  margin: 0;
  padding: 0.375rem var(--gutter);
  text-align: center;
  font-size: 0.75rem;
  color: #a0a4ad;
  background: #141e35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 15, 30, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand toggle"
    "actions actions";
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.75rem;
  min-height: 3.5rem;
}

.brand {
  grid-area: brand;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 2rem;
}

.nav-toggle {
  grid-area: toggle;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.375rem;
  background: #172032;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1px;
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.primary-nav.is-open {
  display: flex;
}

.primary-nav a {
  padding: 0.4375rem 0;
  color: #a0a4ad;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #ffffff;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.5625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  line-height: 1;
  color: #a0a4ad;
}

.header-badge strong {
  color: #ffffff;
  font-weight: 700;
}

.header-actions .btn {
  min-height: 2.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  border: 0;
  background: #ff2400;
  color: #ffffff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #e02000;
}

.btn--primary:focus-visible {
  outline: 2px solid #1fc124;
  outline-offset: 2px;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #ffffff;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.page-main {
  flex: 1;
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: #141e35;
}

.section-hero {
  padding-block: var(--section-y-hero);
}

.section--steps {
  padding-block: var(--section-y);
}

.section-cta-strip {
  padding-block: 4rem;
  background: linear-gradient(135deg, #172032 0%, #141e35 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section--faq {
  padding-bottom: 4.5rem;
}

.eyebrow {
  margin: 0 0 var(--stack-sm);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: #1fc124;
}

h2 {
  margin: 0 0 var(--stack-md);
  font-size: clamp(1.25rem, 3vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section p,
.card-grid__cell p {
  margin: 0;
  color: #a0a4ad;
  line-height: 1.65;
}

.hero-grid {
  display: grid;
  gap: var(--col-gap);
  align-items: start;
}

.hero-grid__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-grid .eyebrow {
  margin-bottom: var(--stack-sm);
}

.hero-grid h1 {
  margin: 0 0 var(--stack-md);
  font-size: clamp(1.625rem, 4.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-grid__lead {
  margin: 0 0 var(--stack-lg);
  color: #a0a4ad;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero-grid__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-grid__actions .btn {
  min-height: 2.75rem;
}

.hero-grid__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.25rem;
}

.route-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 21rem);
  padding: 1.375rem;
  background: #172032;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.route-panel__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #141e35;
}

.route-panel__node--gate {
  border: 1px solid rgba(255, 36, 0, 0.35);
}

.route-panel__node--end {
  border: 1px solid rgba(31, 193, 36, 0.35);
}

.route-panel__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a0a4ad;
}

.route-panel__status {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1fc124;
}

.route-panel__line {
  display: flex;
  justify-content: center;
  padding: 0.375rem 0;
}

.route-panel__arrow {
  display: block;
  width: 2px;
  height: 1.25rem;
  background: linear-gradient(to bottom, #a0a4ad, #ff2400);
  position: relative;
}

.route-panel__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #ff2400;
}

.split-block {
  display: grid;
  gap: var(--col-gap);
  align-items: start;
}

.split-block__main h2 {
  margin-bottom: var(--stack-md);
}

.split-block__main p {
  margin: 0;
}

.split-block__aside {
  min-width: 0;
}

.point-list--stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.point-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  margin-top: var(--stack-md);
}

.point-list li {
  position: relative;
  padding-left: 1rem;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #ff2400;
}

.point-list--inline li::before {
  background: #1fc124;
}

.bookmark-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bookmark-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5625rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  background: #172032;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.bookmark-tags li::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #1fc124;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.125rem;
  width: 100%;
}

.step-list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  background: #172032;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  color: #ff2400;
}

.section--alt .step-list__num {
  background: #090f1e;
}

.step-list__text {
  padding-top: 0.125rem;
  color: #ffffff;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.step-list__text strong {
  display: block;
  margin-bottom: 0.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.section-cta {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding-left: calc(1.75rem + 0.75rem);
}

.section-cta .btn {
  width: auto;
}

.card-grid {
  display: grid;
  gap: var(--stack-lg);
}

.card-grid__cell {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
  height: 100%;
  padding: 1.5rem;
  background: #172032;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
}

.card-grid__cell h2 {
  margin: 0;
  flex: 0 0 auto;
}

.card-grid__cell p {
  flex: 1 1 auto;
}

.check-list {
  margin: 0 0 var(--stack-lg);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.375rem;
  color: #ffffff;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #1fc124;
  font-weight: 700;
}

.security-note {
  margin: var(--stack-lg) 0 0;
  padding: 0.75rem 1rem;
  max-width: 100%;
  border-left: 3px solid #1fc124;
  background: rgba(31, 193, 36, 0.08);
  border-radius: 0 0.375rem 0.375rem 0;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.55;
}

.section-cta-strip h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 3.5vw, 1.625rem);
}

.cta-strip__content .eyebrow {
  margin: 0 0 0.625rem;
}

.cta-strip__content p {
  margin: 0 0 1.125rem;
  max-width: 28rem;
}

.cta-strip__content .btn {
  margin: 0;
}

.cta-strip__disclosure {
  margin: 0.875rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #a0a4ad;
}

.section--faq h2 {
  margin: 0 0 var(--stack-lg);
}

.faq-list {
  display: grid;
  gap: 0.625rem;
  width: 100%;
  margin: 0;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: #172032;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  align-self: center;
  color: #ff2400;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #a0a4ad;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer {
  padding-block: 1.75rem;
  background: #090f1e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-row--top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: auto;
  height: 1.375rem;
  margin: 0;
  opacity: 0.85;
}

.footer-age {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1;
}

.footer-disclaimer {
  margin: 0;
  max-width: 22rem;
  color: #a0a4ad;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: right;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-row--links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  color: #a0a4ad;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

/* Support pages */
.support-main {
  flex: 1;
  padding: var(--section-y) var(--gutter);
}

.support-page {
  max-width: var(--prose-max);
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: var(--stack-lg);
  color: #a0a4ad;
  font-size: 0.875rem;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: #ffffff;
}

.support-heading h1 {
  margin: 0 0 var(--stack-sm);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.support-heading p {
  margin: 0 0 var(--stack-lg);
  color: #a0a4ad;
}

.support-content h2 {
  margin: var(--stack-lg) 0 var(--stack-sm);
  font-size: 1.125rem;
}

.support-content p {
  margin: 0 0 var(--stack-md);
  color: #a0a4ad;
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--gutter-md);
  text-align: center;
}

.redirect-page__logo {
  width: auto;
  height: 2.5rem;
  margin-bottom: var(--stack-lg);
}

.redirect-page h1 {
  margin: 0 0 var(--stack-sm);
  font-size: 1.375rem;
}

.redirect-page p {
  margin: 0 0 var(--stack-md);
  color: #a0a4ad;
  font-size: 0.9375rem;
}

.redirect-page__note {
  margin-top: var(--stack-md) !important;
  font-size: 0.75rem !important;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--gutter-md);
  text-align: center;
}

.error-page h1 {
  margin: var(--stack-md) 0 var(--stack-sm);
  font-size: 1.5rem;
}

.error-page p {
  margin: 0 0 var(--stack-lg);
  color: #a0a4ad;
}

@media (min-width: 768px) {
  :root {
    --gutter: 1.5rem;
    --section-y: 4.5rem;
    --section-y-hero: 5rem;
    --col-gap: 3rem;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    padding-block: 0.875rem;
    min-height: 4rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1.125rem;
    width: auto;
    padding: 0;
    border-top: 0;
  }

  .primary-nav a {
    font-size: 0.875rem;
  }

  .header-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
    padding-top: 0;
    border-top: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: var(--col-gap);
    align-items: start;
  }

  .hero-grid__visual {
    justify-content: center;
    padding-top: 0.5rem;
  }

  .route-panel {
    width: 100%;
    max-width: 21rem;
  }

  .split-block {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 16rem);
    gap: var(--col-gap);
    align-items: start;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
  }

  .card-grid__cell {
    min-height: 100%;
    padding: 1.5rem;
  }

  .bookmark-tags {
    gap: 1.5rem;
  }

  .section-cta-strip {
    padding-block: 4.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 1.5rem;
    --section-y: 5rem;
    --section-y-hero: 5.5rem;
    --col-gap: 3.5rem;
  }

  .hero-grid {
    gap: var(--col-gap);
  }

  .primary-nav {
    gap: 0.25rem 1.375rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --col-gap: 4rem;
    --section-y: 5.5rem;
    --section-y-hero: 5.75rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .route-panel {
    max-width: 22rem;
  }
}

@media (max-width: 767px) {
  .header-actions .btn {
    flex: 1 1 auto;
  }

  .footer-row--top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-disclaimer {
    max-width: none;
    text-align: left;
  }

  .bookmark-tags {
    gap: 1.25rem;
  }
}

@media (max-width: 389px) {
  .hero-grid__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid__actions .btn {
    width: 100%;
    white-space: normal;
  }
}

/* Legacy aliases for support pages */
.section-inner {
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section h2,
.cta-strip h2 {
  margin: 0 0 var(--stack-md);
  font-size: clamp(1.25rem, 3vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.25;
}

.section p {
  margin: 0 0 var(--stack-md);
  color: #a0a4ad;
  line-height: 1.65;
}

.cta-strip {
  padding-block: var(--section-y);
  background: linear-gradient(135deg, #172032 0%, #141e35 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--narrow-max);
  margin: 0 auto;
  text-align: center;
}

.hero {
  padding-block: var(--section-y-hero);
}

.hero__copy,
.hero__lead,
.hero__actions,
.hero__visual {
  /* legacy noop */
}
