:root {
  color-scheme: light;
  --navy: #19283f;
  --navy-deep: #121e32;
  --ink: #19243b;
  --muted: #5d6a80;
  --purple: #6655d9;
  --purple-deep: #5140bd;
  --lavender: #f0eeff;
  --line: #e4e7f1;
  --paper: #ffffff;
  --canvas: #f8f9fe;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { width: min(1168px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; z-index: 99; top: -100px; left: 16px; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #f2b94b; outline-offset: 4px; }

.site-header { position: relative; z-index: 2; background: var(--navy); color: #fff; border-bottom: 1px solid #3b4563; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 21px; font-weight: 790; letter-spacing: -.045em; }
.brand b { color: #baaefc; font-weight: 800; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; background: var(--purple); box-shadow: 0 4px 16px #0002; }
.brand-mark svg { width: 27px; height: 27px; fill: #fff; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); font-size: 13px; font-weight: 670; }
.primary-nav a:not(.nav-signin) { color: #d5d9e9; transition: color .2s ease; }
.primary-nav a:not(.nav-signin):hover { color: #fff; }
.nav-signin { padding: 12px 16px; border: 1px solid #7b7f9d; border-radius: 11px; transition: background .2s ease, border-color .2s ease; }
.nav-signin:hover { background: #31405a; border-color: #bdb7ee; }
.nav-signin span, .button span, .text-link span { margin-left: 9px; font-size: 18px; line-height: 0; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 74% 44%, #303b63 0, var(--navy) 46%, var(--navy-deep) 100%); color: #fff; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(25px); }
.hero-glow-one { width: 420px; height: 420px; top: -230px; right: 18%; background: #7668d044; }
.hero-glow-two { width: 320px; height: 320px; bottom: -200px; left: 42%; background: #4ea5b72b; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 40px; min-height: 610px; padding-top: 62px; padding-bottom: 72px; }
.hero-copy { max-width: 615px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #776db0; border-radius: 100px; color: #e3dfff; background: #ffffff0c; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #bdacff; box-shadow: 0 0 0 4px #b8adff22; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 660px; margin: 26px 0 24px; font-size: clamp(47px, 5.4vw, 74px); font-weight: 810; letter-spacing: -.065em; line-height: 1.055; }
h1 em { font-style: normal; color: #bbb1ff; }
.hero-lead { max-width: 590px; color: #d6ddef; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.65; }
.hero-actions, .final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 19px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 750; line-height: 1.1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #7563f2; color: #fff; box-shadow: 0 9px 24px #15134240; }
.button-primary:hover { background: #866fff; box-shadow: 0 12px 28px #15134255; }
.button-light { background: #ffffff0b; color: #fff; border-color: #aaa6c4; }
.button-light:hover { background: #ffffff1b; }
.hero-note { margin: 18px 0 0; color: #bfc8de; font-size: 12px; line-height: 1.5; }

.hero-visual { position: relative; display: grid; min-height: 465px; place-items: center; }
.orbit { position: absolute; border: 1px solid #c2bafa21; border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 395px; height: 395px; }
.preview-card { position: relative; width: min(100%, 452px); padding: 24px; transform: rotate(2deg); border: 1px solid #ffffff85; border-radius: 23px; background: #fff; color: var(--ink); box-shadow: 0 35px 80px #070d2499, 0 3px 0 #b1adff; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.preview-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.mini-bolt { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: var(--purple); color: #fff; font-size: 23px; font-weight: 700; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #c4ccdf; }
.preview-intro { padding-top: 24px; }
.mini-eyebrow { color: var(--purple); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.preview-intro h2 { margin: 8px 0 6px; font-size: 25px; letter-spacing: -.04em; }
.preview-intro p { max-width: 315px; margin-bottom: 18px; color: #6a7489; font-size: 13px; line-height: 1.5; }
.sample-label { display: inline-block; margin-bottom: 12px; padding: 5px 8px; border-radius: 6px; background: #f3f2fc; color: #645890; font-size: 10px; font-weight: 700; }
.trail-list { display: grid; gap: 10px; }
.trail-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #e8eaf1; border-radius: 14px; background: #fff; box-shadow: 0 4px 13px #2737540b; }
.trail-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; font-weight: 800; }
.trail-icon.math { background: #eeeaff; color: #6655d9; font-size: 25px; }
.trail-icon.ela { background: #e5f7ef; color: #21826b; font-size: 16px; }
.trail-row strong, .trail-row small { display: block; }
.trail-row strong { font-size: 13px; }
.trail-row small { margin-top: 4px; color: #738096; font-size: 11px; }
.trail-arrow { color: #6b5bd5; font-weight: 800; }
.preview-footer { display: flex; align-items: center; gap: 7px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: #67768b; font-size: 10px; font-weight: 600; }
.preview-pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #38a98d; }
.floating-star { position: absolute; color: #dfd4ff; text-shadow: 0 6px 30px #ad97ff; }
.star-one { top: 3%; right: 7%; font-size: 42px; }
.star-two { bottom: 7%; left: 3%; font-size: 62px; }

.intro-band { background: #eeebff; border-bottom: 1px solid #e2ddfc; }
.intro-inner { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 86px; text-align: center; }
.intro-inner p { margin: 0; color: #544c8d; font-size: 13px; line-height: 1.5; }
.intro-inner strong { color: #352970; }
.intro-divider { width: 1px; height: 28px; flex: 0 0 auto; background: #cfc6f5; }

.section { scroll-margin-top: 24px; }
.experience-section { padding: 100px 0 110px; background: var(--canvas); }
.section-heading { max-width: 725px; margin-bottom: 38px; }
.section-kicker { display: inline-block; margin-bottom: 14px; color: var(--purple-deep); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.section-heading h2, .access-copy h2, .final-copy h2 { margin-bottom: 16px; font-size: clamp(31px, 3.3vw, 44px); line-height: 1.15; letter-spacing: -.05em; }
.section-heading p, .access-copy > p, .final-copy p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 338px; padding: 30px; border: 1px solid #e4e6ef; border-radius: 19px; background: #fff; box-shadow: 0 12px 30px #26305207; }
.feature-number { color: #8279b1; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.feature-symbol { display: grid; width: 72px; height: 72px; place-items: center; margin: 28px 0 25px; border-radius: 20px; }
.feature-symbol svg { width: 38px; height: 38px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-symbol.learn { background: #e8e5ff; }
.feature-symbol.learn svg { stroke: #6655d9; }
.feature-symbol.sprint { background: #e5f5f1; }
.feature-symbol.sprint svg { stroke: #258b78; }
.feature-symbol.test { background: #fff1d9; }
.feature-symbol.test svg { stroke: #b47821; }
.feature-card h3 { margin-bottom: 9px; font-size: 21px; letter-spacing: -.035em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.access-section { padding: 104px 0; background: #fff; }
.access-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(48px, 8vw, 120px); }
.access-copy h2 { max-width: 530px; }
.access-copy > p { max-width: 535px; }
.text-link { display: inline-flex; align-items: center; margin-top: 24px; color: var(--purple-deep); font-size: 14px; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.access-steps { padding: 10px 26px; border: 1px solid #e4e5f0; border-radius: 22px; background: linear-gradient(150deg, #fcfbff, #f6f8fd); box-shadow: 0 20px 50px #2630520e; }
.access-step { display: flex; gap: 20px; padding: 24px 0; }
.access-step + .access-step { border-top: 1px solid #e5e7f1; }
.access-step > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e9e5ff; color: var(--purple-deep); font-weight: 850; }
.access-step strong { display: block; margin: 2px 0 5px; font-size: 15px; }
.access-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.final-section { padding: 0 0 104px; background: #fff; }
.final-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; padding: 50px 56px; border-radius: 24px; background: #f0eeff; }
.final-art { position: absolute; inset: 0; overflow: hidden; color: #d9d1ff; pointer-events: none; }
.final-art span { position: absolute; font-size: 90px; }
.final-art span:nth-child(1) { top: -46px; left: 45%; }
.final-art span:nth-child(2) { bottom: -75px; right: 10%; font-size: 160px; }
.final-art span:nth-child(3) { top: 8px; right: 3%; font-size: 39px; }
.final-copy, .final-actions { position: relative; z-index: 1; }
.final-copy { max-width: 555px; }
.final-copy h2 { margin-bottom: 10px; }
.final-copy p { font-size: 14px; }
.final-actions { flex: 0 0 auto; margin: 0; }
.button-outline { border-color: #9d91dd; color: #4939a0; background: #fff; }
.button-outline:hover { background: #f9f8ff; }

.site-footer { padding: 54px 0 25px; background: var(--navy-deep); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 48px; }
.footer-brand { font-size: 20px; }
.footer-inner p { margin: 15px 0 0; color: #b8c3db; font-size: 13px; }
.footer-links { display: flex; gap: 26px; align-items: flex-start; padding-top: 10px; color: #dae0ef; font-size: 13px; font-weight: 650; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { padding-top: 22px; border-top: 1px solid #3d465d; color: #a9b4cc; font-size: 11px; line-height: 1.6; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 12px; }
  .preview-card { padding: 20px; }
  .final-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 560px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 12px; padding: 15px 0; }
  .brand { font-size: 19px; }
  .brand-mark { width: 33px; height: 33px; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  .primary-nav a:first-child { display: none; }
  .nav-signin { padding: 9px 11px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 52px; }
  h1 { font-size: clamp(46px, 10vw, 62px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 440px; }
  .preview-card { width: min(93%, 440px); }
  .orbit-one { width: 480px; height: 480px; }
  .intro-inner { flex-direction: column; gap: 0; padding: 23px 0; }
  .intro-divider { display: none; }
  .intro-inner p + p { margin-top: 5px; }
  .experience-section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 25px; }
  .feature-symbol { margin: 20px 0; }
  .access-section { padding: 75px 0; }
  .access-grid { grid-template-columns: 1fr; gap: 35px; }
  .final-section { padding-bottom: 75px; }
  .final-panel { padding: 34px 27px; }
  .footer-inner { flex-direction: column; padding-bottom: 28px; }
}

@media (max-width: 450px) {
  .primary-nav { flex-wrap: wrap; }
  .primary-nav a:nth-child(2) { display: none; }
  .hero-actions, .final-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .final-actions .button { width: 100%; }
  .hero-visual { min-height: 365px; }
  .preview-card { padding: 16px; transform: rotate(0); }
  .star-one { right: 0; }
  .trail-row { grid-template-columns: 38px 1fr auto; padding: 10px; }
  .trail-icon { width: 38px; height: 38px; }
  .footer-links { gap: 19px; }
}

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