:root {
  --bg: #0C1526;
  --surface: #172236;
  --surface-raised: #1C2C48;
  --border: #2F405F;
  --text: #E8EEF8;
  --text-secondary: #94A8C8;
  --brand-link: #9BB6FF;
  --brand-fill: #4D6FB5;
  --gold: #EBB82B;
  --gold-soft: #C9982A;
  --ink-on-gold: #1F2937;
  --success: #16A34A;
  --max: 1160px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(12, 21, 38, 0.78);
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: rgba(47,64,95,.78); background: rgba(12, 21, 38, 0.94); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand-wordmark { font-size: 1.25rem; color: var(--text); }
.brand-wordmark span { color: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { text-decoration: none; color: var(--text-secondary); font-size: .92rem; font-weight: 700; padding: 10px 12px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); background: rgba(155,182,255,.08); outline: none; }
.primary-nav .nav-cta { color: var(--ink-on-gold); background: var(--gold); padding-inline: 16px; }
.primary-nav .nav-cta:hover, .primary-nav .nav-cta:focus-visible { background: #F5D067; color: #172236; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-toggle span { width: 19px; height: 2px; background: var(--text); border-radius: 999px; }

.hero { min-height: calc(100vh - 72px); display: flex; align-items: center; padding-top: 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 72px; align-items: center; }
.hero-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .10; pointer-events: none; }
.hero-orb-blue { background: var(--brand-link); right: -180px; top: 8%; }
.hero-orb-gold { background: var(--gold); left: -220px; bottom: -240px; opacity: .07; }
.status-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: rgba(77,111,181,.14); border: 1px solid rgba(155,182,255,.22); border-radius: 999px; color: var(--brand-link); font-weight: 800; font-size: .82rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(235,184,43,.10); }
.eyebrow { color: var(--gold); margin: 22px 0 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7vw, 5.9rem); line-height: .98; letter-spacing: -.055em; max-width: 850px; }
h1 span { color: var(--brand-link); }
.hero-lede { max-width: 650px; color: var(--text-secondary); font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink-on-gold); background: var(--gold); box-shadow: 0 10px 28px rgba(235,184,43,.16); }
.button-primary:hover { background: #F5D067; box-shadow: 0 14px 34px rgba(235,184,43,.20); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border); }
.button-secondary:hover { background: var(--surface-raised); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; max-width: 700px; }
.hero-points > div { padding-top: 14px; border-top: 1px solid var(--border); }
.hero-points strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.hero-points span { color: var(--text-secondary); font-size: .84rem; }

.hero-visual { position: relative; padding: 82px 0 0; }
.brand-emblem { position: absolute; top: 0; right: 32px; width: 132px; height: 132px; z-index: 3; display: grid; place-items: center; border-radius: 32px; background: #111c30; border: 1px solid rgba(235,184,43,.24); box-shadow: 0 18px 54px rgba(0,0,0,.30), 0 0 34px rgba(235,184,43,.08); transform: rotate(3deg); }
.brand-emblem img { width: 112px; height: 112px; }
.product-preview { background: linear-gradient(180deg, rgba(28,44,72,.98), rgba(23,34,54,.98)); border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.preview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.preview-label, .mini-label { color: var(--brand-link); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.preview-header h2 { margin: 5px 0 0; font-size: 1.7rem; letter-spacing: -.03em; }
.streak-pill { white-space: nowrap; padding: 8px 10px; border-radius: 999px; background: rgba(235,184,43,.10); border: 1px solid rgba(235,184,43,.24); color: #F5D067; font-weight: 800; font-size: .72rem; }
.next-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: rgba(12,21,38,.64); border: 1px solid rgba(155,182,255,.14); border-radius: 18px; padding: 16px; }
.subject-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface-raised); border: 1px solid var(--border); border-radius: 13px; font-size: 1.25rem; }
.next-copy { display: flex; flex-direction: column; gap: 2px; }
.next-copy strong { font-size: 1rem; }
.next-copy span:last-child { color: var(--text-secondary); font-size: .78rem; }
.points { color: var(--gold); font-weight: 900; font-size: .88rem; }
.progress-row { padding: 24px 4px 8px; }
.progress-row > div:first-child { display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; color: var(--text-secondary); }
.progress-row strong { color: var(--text); }
.progress-track { height: 8px; background: rgba(148,168,200,.14); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.progress-track span { display: block; width: 78%; height: 100%; background: var(--gold); border-radius: inherit; }
.preview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 14px; }
.mini-card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; padding: 14px; background: rgba(12,21,38,.42); border: 1px solid var(--border); border-radius: 16px; }
.mini-card span { grid-row: span 2; }
.mini-card strong { font-size: .88rem; }
.mini-card small { color: var(--text-secondary); font-size: .72rem; }
.preview-caption { margin: 12px 0 0; text-align: center; color: #7C8FAE; font-size: .72rem; }

.problem-section { padding-top: 52px; }
.split-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: 34px 0 0; border-top: 1px solid var(--border); }
.split-intro .eyebrow { margin-top: 0; }
.split-intro h2, .section-heading h2, .audience-card h2, .direction-grid h2, .cta-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.04em; }
.split-intro > p { color: var(--text-secondary); font-size: 1.02rem; align-self: end; }

.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-top: 0; }
.section-heading p:last-child { color: var(--text-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 245px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(155,182,255,.32); background: #1A2942; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 1.3rem; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.15rem; letter-spacing: -.02em; }
.feature-card p { color: var(--text-secondary); font-size: .92rem; }

.workflow-section { background: rgba(23,34,54,.28); border-block: 1px solid rgba(47,64,95,.66); }
.workflow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.workflow-step { position: relative; min-height: 270px; padding: 22px; background: rgba(23,34,54,.72); border: 1px solid var(--border); border-radius: 18px; }
.workflow-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -14px; transform: translate(50%,-50%); color: var(--border); font-weight: 900; z-index: 2; }
.step-number { display: block; color: #7C8FAE; font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.step-icon { display: block; margin: 36px 0 16px; font-size: 1.55rem; }
.workflow-step h3 { margin-bottom: 8px; }
.workflow-step p { color: var(--text-secondary); font-size: .84rem; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-card { padding: 38px; min-height: 430px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: flex-end; }
.audience-card:nth-child(2) { background: #15233A; }
.audience-icon { margin-bottom: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 1.7rem; }
.audience-card .eyebrow { margin-bottom: 14px; }
.audience-card h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.audience-card > p:last-child { color: var(--text-secondary); }

.direction-section { background: linear-gradient(180deg, rgba(77,111,181,.05), transparent 46%); }
.direction-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.direction-grid .eyebrow { margin-top: 0; }
.direction-grid > div:first-child > p:not(.eyebrow) { color: var(--text-secondary); }
.direction-note { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 18px; margin-top: 26px; background: rgba(235,184,43,.08); border: 1px solid rgba(235,184,43,.20); border-radius: 16px; }
.direction-note span { color: var(--gold); font-weight: 900; }
.direction-note p { margin: 0; color: #C9D4E7; font-size: .9rem; }
.direction-stack { display: grid; gap: 12px; }
.direction-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 19px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.direction-item > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); background: rgba(235,184,43,.08); border: 1px solid rgba(235,184,43,.18); border-radius: 13px; font-weight: 900; font-size: .78rem; }
.direction-item div { display: flex; flex-direction: column; }
.direction-item strong { margin-bottom: 3px; }
.direction-item small { color: var(--text-secondary); }

.early-access-section { padding-top: 52px; }
.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 34px; padding: 42px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow); }
.cta-panel .eyebrow { margin-top: 0; }
.cta-panel h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-panel p:last-child { max-width: 740px; margin-bottom: 0; color: var(--text-secondary); }
.cta-panel .button { flex: 0 0 auto; }

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 46px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-brand p { margin: 12px 0 0; color: var(--text-secondary); font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 700; font-size: .86rem; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; color: #7C8FAE; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  h1 { font-size: clamp(3.2rem, 7vw, 4.8rem); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-step:not(:last-child)::after { display: none; }
  .direction-grid { gap: 42px; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: flex; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 64px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: #111C30; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { text-align: center; margin-top: 4px; }
  .hero-grid { display: flex; flex-direction: column; gap: 54px; }
  .hero-visual { order: -1; width: min(100%, 620px); margin-inline: auto; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { margin-top: 18px; }
  .status-badge { margin-inline: auto; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { margin-inline: auto; text-align: left; }
  .brand-emblem { right: 22px; }
  .split-intro, .direction-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-intro > p { align-self: start; }
  .audience-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { padding-top: 34px; }
  .hero-grid { gap: 34px; }
  .hero-visual { padding-top: 54px; }
  .brand-emblem { width: 96px; height: 96px; border-radius: 24px; right: 12px; }
  .brand-emblem img { width: 82px; height: 82px; }
  .product-preview { padding: 20px; border-radius: 22px; }
  .preview-header { flex-direction: column; gap: 10px; }
  .next-card { grid-template-columns: auto 1fr; }
  .points { grid-column: 2; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid, .workflow-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .audience-card { min-height: 360px; padding: 28px; }
  .direction-item { grid-template-columns: 48px 1fr; padding: 15px; }
  .direction-item > span { width: 42px; height: 42px; }
  .cta-panel { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
}
