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

:root {
  --bg-deep: #070b18;
  --bg-mid: #0c1228;
  --bg-panel: rgba(14, 22, 48, 0.88);
  --bg-panel-solid: #111a38;
  --bg-inset: #0a1024;
  --bg-header: rgba(6, 10, 24, 0.94);
  --text: #e8edf8;
  --text-soft: #9aa8c9;
  --text-muted: #6b7a9e;
  --indigo: #4f46e5;
  --indigo-glow: #6366f1;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --jade: #34d399;
  --jade-deep: #10b981;
  --line: rgba(103, 232, 249, 0.14);
  --line-indigo: rgba(99, 102, 241, 0.22);
  --hero-aspect: 21 / 9;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1180px;
  --gutter: clamp(1rem, 3vw, 1.75rem);
  --header-h: 62px;
  --scroll-pad: 80px;
  --radius: 16px;
  --radius-pill: 999px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad);
}

section[id] {
  scroll-margin-top: var(--scroll-pad);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(79, 70, 229, 0.18), transparent 55%),
    radial-gradient(600px 420px at 100% 15%, rgba(34, 211, 238, 0.08), transparent 60%),
    radial-gradient(500px 380px at 0% 70%, rgba(52, 211, 153, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 280px);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan-bright);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--jade);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--bg-panel-solid);
  color: var(--text);
  border: 1px solid var(--line);
}

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

.shell {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-indigo);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px rgba(34, 211, 238, 0.2);
}

.brand em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--cyan-bright);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.age-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--jade);
  background: rgba(16, 185, 129, 0.08);
}

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cyan-bright);
  border-bottom-color: var(--cyan);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem var(--gutter) 1rem;
    background: var(--bg-header);
    border-bottom: 1px solid var(--line-indigo);
  }

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

  .site-nav a {
    padding: 0.55rem 0;
    border-bottom: none;
  }

  .header-tools {
    position: relative;
  }
}

/* Access hero - 21:9 cinematic band */
.access-hero {
  padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.access-hero__frame {
  position: relative;
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line-indigo);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(79, 70, 229, 0.12);
  aspect-ratio: var(--hero-aspect);
  min-height: 200px;
  background: var(--bg-inset);
}

.access-hero__media {
  position: absolute;
  inset: 0;
}

.access-hero__media picture,
.access-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 11, 24, 0.94) 0%, rgba(7, 11, 24, 0.78) 42%, rgba(7, 11, 24, 0.35) 72%, rgba(7, 11, 24, 0.15) 100%),
    linear-gradient(0deg, rgba(7, 11, 24, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.access-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  max-width: min(640px, 92%);
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
}

.access-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 52ch;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.device-chips li {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan-bright);
}

.device-chips li:nth-child(5) {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
  color: var(--jade);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: #041018;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--jade) 100%);
  border-radius: var(--radius-pill);
  border: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 28px rgba(34, 211, 238, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  color: #041018;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 12px 36px rgba(52, 211, 153, 0.4);
}

.btn-primary.js-affiliate-pending {
  opacity: 0.92;
  cursor: not-allowed;
}

.hero-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.disclosure {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Quick access ribbon */
.access-ribbon {
  margin-top: 1rem;
}

.access-ribbon__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.ribbon-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.ribbon-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan-bright);
}

.ribbon-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .access-ribbon__inner {
    grid-template-columns: 1fr;
  }

  .access-hero__content {
    max-width: 100%;
  }
}

/* Main layout - sidebar checklist + panels */
.access-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: 0.5rem 0 3rem;
  align-items: start;
}

.access-rail {
  position: sticky;
  top: calc(var(--scroll-pad) + 0.5rem);
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--line-indigo);
}

.access-rail h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--jade);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.checklist li {
  counter-increment: step;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.checklist li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.25);
  color: var(--cyan-bright);
}

.rail-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
}

.access-panels {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.panel {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.1rem 0 0.45rem;
  color: var(--cyan-bright);
}

.panel p {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel strong {
  color: var(--text);
}

/* Platform bento */
.platform-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.platform-card {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
}

.platform-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.platform-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-glow);
}

.platform-card h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1rem;
  color: var(--text);
}

.platform-card p {
  margin: 0;
  font-size: 0.9rem;
}

.callout {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border-left: 3px solid var(--jade);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.92rem;
  color: var(--text-soft);
}

.callout strong {
  color: var(--jade);
}

.spec-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.page-meta {
  margin-top: 0.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.page-meta p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  background: transparent;
  border: none;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--cyan);
  font-weight: 400;
}

.faq-q[aria-expanded="true"]::after {
  content: "−";
}

.faq-a {
  padding: 0 0 1rem;
}

.faq-a p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(103, 232, 249, 0.12);
  background: #050b18;
  padding: 2.125rem 0 1.75rem;
}

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

.footer-top {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.75rem;
}

.footer-brand-block {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  color: #f2f5fc;
}

.footer-brand-accent {
  background: linear-gradient(92deg, var(--cyan-bright), var(--jade));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-desc {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 32rem;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.625rem;
  flex-shrink: 0;
  padding-top: 0.35rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(232, 237, 248, 0.72);
  transition: color 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-divider {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(103, 232, 249, 0.1);
  height: 0;
}

.footer-top + .footer-divider {
  margin-top: 1.5rem;
}

.footer-divider + .footer-rg {
  margin-top: 1.125rem;
}

.footer-rg + .footer-divider {
  margin-top: 1.25rem;
}

.footer-divider + .footer-bottom {
  margin-top: 1rem;
}

.footer-rg {
  margin: 0;
  max-width: 62.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-rg-age {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--jade);
}

.footer-rg a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.15rem;
}

.footer-rg a:hover {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin: 0;
}

.footer-copy,
.footer-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(154, 168, 201, 0.85);
}

.footer-note {
  text-align: right;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 1.75rem 0 1.625rem;
  }

  .site-footer .shell {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 1.4375rem;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-top: 0;
    white-space: normal;
  }

  .footer-links a {
    white-space: normal;
  }

  .footer-top + .footer-divider {
    margin-top: 1.375rem;
  }

  .footer-divider + .footer-rg {
    margin-top: 1rem;
  }

  .footer-rg + .footer-divider {
    margin-top: 1.125rem;
  }

  .footer-divider + .footer-bottom {
    margin-top: 0.875rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .access-layout {
    grid-template-columns: 1fr;
  }

  .access-rail {
    position: static;
  }

  .platform-bento {
    grid-template-columns: 1fr;
  }

  .platform-card--wide {
    grid-column: auto;
  }
}
