/* Lumio marketing site: shared styles for /, /pricing, /subjects and /parents */
:root {
  --bg: #F6F5FC; --paper: #FFFFFF; --ink: #16162A; --ink2: #3D3C55; --muted: #6B6A82; --line: #E4E2F0; --line2: #ECEAF3;
  --brand: #5B5CF0; --brand-dk: #3D3AB8; --brand-lo: #ECEBFE; --deep: #221B5C; --deep2: #2E2470;
  --orange: #E8590C; --orange-lo: #FFF1E8; --teal: #0E9F8F; --teal-lo: #E3F6F3; --gold: #B7791F; --gold-lo: #FDF4E3;
  --ok: #15803D; --radius: 20px; --shadow: 0 1px 2px rgba(22,22,42,.04), 0 10px 30px -12px rgba(34,27,92,.18);
  --head: 'Space Grotesk', system-ui, sans-serif; --body: 'Plus Jakarta Sans', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dk); }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.1; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 6.6vw, 72px); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.alt { background: var(--paper); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.eyebrow { font: 700 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink2); line-height: 1.6; max-width: 640px; }
.center { text-align: center; } .center .lede { margin-left: auto; margin-right: auto; }
.sec-head { max-width: 760px; margin-bottom: 48px; } .sec-head h2 { margin: 14px 0 16px; }
.center.sec-head { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(91,92,240,.7); }
.btn-primary:hover { background: var(--brand-dk); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--deep); }
.btn-try { background: var(--paper); color: var(--brand-dk); border: 1.5px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.btn-try:hover { border-color: var(--brand); background: var(--brand-lo); }

/* "Try a real lesson now": the eye-catching first step (owner 2026-11-21: "make it flashy so it catches the eye") */
.btn-flash { position: relative; isolation: isolate; color: #fff; background: linear-gradient(110deg, #6D4AFF 0%, #2F7BFF 35%, #12C2A6 65%, #6D4AFF 100%); background-size: 220% 100%;
  animation: flashSlide 4s linear infinite, flashPulse 2.2s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(18,194,166,.55), 0 14px 40px -10px rgba(109,74,255,.75); gap: 10px; }
.btn-flash::before { content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; padding: 3px;
  background: conic-gradient(from var(--fa, 0deg), #FFE45C, #7EF0DD, #A88BFF, #FF8AD8, #FFE45C);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: flashSpin 3s linear infinite; }
.btn-flash::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; overflow: hidden;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); background-size: 250% 100%; animation: flashShine 2.8s ease-in-out infinite; }
.btn-flash:hover { transform: translateY(-2px) scale(1.03); }
.btn-flash .play { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.btn-flash .play::before { content: ''; margin-left: 3px; border-left: 10px solid #4B3BE0; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
.btn-flash .tag { font: 700 11px var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; background: #FFE45C; color: #2A2350; padding: 3px 8px; border-radius: 999px; }
@property --fa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes flashSpin { to { --fa: 360deg; } }
@keyframes flashSlide { to { background-position: -220% 0; } }
@keyframes flashShine { 0%, 55% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes flashPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,194,166,.5), 0 14px 40px -10px rgba(109,74,255,.75); } 50% { box-shadow: 0 0 0 10px rgba(18,194,166,0), 0 18px 50px -8px rgba(109,74,255,.95); } }
@media (prefers-reduced-motion: reduce) { .btn-flash, .btn-flash::before, .btn-flash::after { animation: none; } }
@media (max-width: 520px) { .btn-flash { flex: 1 1 100%; width: 100%; max-width: calc(100vw - 48px); min-width: 0; padding: 0 12px; font-size: 16px; gap: 8px; white-space: nowrap; } .btn-flash .tag { font-size: 10px; padding: 2px 6px; white-space: nowrap; } }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { font-size: 14px; color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 23px var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current=page] { color: var(--ink); background: var(--brand-lo); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .signin { color: var(--ink2); font-weight: 700; font-size: 15.5px; text-decoration: none; padding: 8px 10px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: .2s; content: ''; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded=true] span { background: transparent; }
.menu-btn[aria-expanded=true] span::before { top: 0; transform: rotate(45deg); } .menu-btn[aria-expanded=true] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; }
  .nav.open .wrap { flex-wrap: wrap; height: auto; padding-top: 13px; padding-bottom: 16px; }
  .nav.open .nav-links { order: 3; width: 100%; flex-direction: column; margin: 8px 0 0; }
  .nav.open .nav-links a { padding: 13px 12px; font-size: 17px; }
  .nav.open .nav-cta { order: 4; width: 100%; margin: 8px 0 0; }
  .nav.open .nav-cta .btn { flex: 1; }
}

/* Lumi */
.orb { display: inline-block; width: 44px; height: 44px; border-radius: 50%; flex: none; position: relative; background: radial-gradient(circle at 34% 30%, #C9C2FF 0, #8E7BFF 26%, #5B45E0 62%, #3A2AA6 100%); box-shadow: 0 0 0 3px rgba(14,159,143,.45), 0 8px 22px -6px rgba(91,69,224,.6); }
.orb::before, .orb::after { content: ''; position: absolute; top: 40%; width: 12%; height: 22%; border-radius: 6px; background: #fff; }
.orb::before { left: 34%; } .orb::after { right: 34%; }
.orb.sm { width: 30px; height: 30px; box-shadow: 0 0 0 2px rgba(14,159,143,.45); }
.orb.lg { width: 76px; height: 76px; }
.bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 15px; color: var(--ink2); }

/* hero */
.hero { padding: 64px 0 40px; position: relative; }
.hero::before { content: ''; position: absolute; inset: -120px 0 auto 0; height: 760px; background: radial-gradient(600px 380px at 82% 22%, rgba(91,92,240,.16), transparent 70%), radial-gradient(520px 340px at 10% 0%, rgba(232,89,12,.08), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-bottom: 30px; }
.hero-art { position: relative; }
.hero-art { padding: 0 9% 64px 0; }
.hero-art .lumi-note { position: absolute; left: -24px; bottom: 0; display: flex; gap: 12px; align-items: center; max-width: 330px; z-index: 2; }
.hero-art .phone { position: absolute; right: 0; bottom: 0; width: 27%; z-index: 1; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-art .lumi-note { left: 0; } }
@media (max-width: 560px) { .hero-art { padding: 0; } .hero-art .laptop { display: none; } .hero-art .phone { position: static; width: 66%; margin: 0 auto; } .hero-art .lumi-note { position: static; margin-top: 18px; max-width: none; } }

/* device frames */
.laptop { background: #0F0E1E; border-radius: 16px; padding: 10px 10px 12px; box-shadow: 0 40px 80px -30px rgba(34,27,92,.45), 0 0 0 1px rgba(255,255,255,.04) inset; }
.laptop .bar { display: flex; gap: 6px; padding: 2px 4px 9px; } .laptop .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3950; }
.laptop img { border-radius: 8px; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; background: #fff; }
.phone { background: #0F0E1E; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -24px rgba(34,27,92,.55); }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 9/18; object-fit: cover; object-position: top; background: #fff; }

/* proof strip */
.proof { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 72px; }
.proof div { padding: 22px 20px; border-left: 1px solid var(--line2); } .proof div:first-child { border-left: 0; }
.proof b { display: block; font: 700 28px var(--head); letter-spacing: -.02em; color: var(--ink); }
.proof span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, 1fr); } .proof div { border-left: 0; border-top: 1px solid var(--line2); } .proof div:nth-child(-n+2) { border-top: 0; } .proof div:nth-child(even) { border-left: 1px solid var(--line2); } .proof div:last-child { grid-column: 1 / -1; border-left: 0; } }

/* cards and grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; } .card p { color: var(--ink2); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-lo); color: var(--brand-dk); }
.icon svg { width: 24px; height: 24px; }
.icon.o { background: var(--orange-lo); color: var(--orange); } .icon.t { background: var(--teal-lo); color: var(--teal); } .icon.g { background: var(--gold-lo); color: var(--gold); }

/* the four steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; box-shadow: var(--shadow); }
.step .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 16px var(--head); color: #fff; background: var(--orange); }
.step:nth-child(2) .n { background: var(--brand); } .step:nth-child(3) .n { background: var(--teal); } .step:nth-child(4) .n { background: var(--deep2); }
.step h3 { margin: 16px 0 8px; } .step p { color: var(--ink2); font-size: 15.5px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink2); }
.ticks li::before { content: ''; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-lo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 2px; }
.ticks b { color: var(--ink); }

/* lesson gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink2); font: 700 14.5px var(--body); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: center; }
.gallery .cap .eyebrow { color: var(--orange); }
.gallery .cap h3 { font-size: 28px; margin: 12px 0 12px; }
.gallery .cap p { color: var(--ink2); }
@media (max-width: 920px) { .gallery { grid-template-columns: 1fr; } }

/* subjects strip */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink2); }
.chip b { color: var(--ink); font-weight: 700; }

/* dark band */
.band { background: linear-gradient(140deg, var(--deep) 0%, var(--deep2) 46%, #4A38B8 100%); color: #E9E6FF; border-radius: 28px; padding: 64px; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.band h2, .band h3 { color: #fff; } .band .eyebrow { color: #B9B1FF; } .band p { color: #D6D1FF; }
.band .card, .band .card b { color: var(--ink); } .band .card p, .band .card .muted { color: var(--muted); }
@media (max-width: 640px) { .band { padding: 40px 24px; border-radius: 22px; } }

/* exam table */
.exams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.exam { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.exam b { font-family: var(--head); font-size: 18px; } .exam span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.exam .q { font: 700 13px var(--mono); color: var(--brand); margin-top: 10px; }
@media (max-width: 900px) { .exams { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 520px) { .exams { grid-template-columns: 1fr; } }

/* pricing */
.toggle { display: inline-flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; }
.toggle button { border: 0; background: transparent; font: 700 15px var(--body); color: var(--ink2); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed=true] { background: var(--ink); color: #fff; }
.toggle .save { font-size: 12px; color: var(--ok); background: #E7F6EC; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.toggle button[aria-pressed=true] .save { background: rgba(255,255,255,.18); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 36px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.plan { background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.plan.best { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,92,240,.12), 0 30px 60px -30px rgba(91,92,240,.55); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; } .plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price b { font: 700 52px var(--head); letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { font-size: 14px; color: var(--muted); min-height: 22px; }
.price-note .ok { color: var(--ok); font-weight: 700; }
.plan .btn { margin: 24px 0 8px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line2); padding-top: 22px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink2); }
.plan li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: var(--brand-lo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D3AB8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan li.no { color: var(--muted); } .plan li.no::before { background: var(--line2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A98B0' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/12px no-repeat; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--ink2); font-size: 15px; font-weight: 600; }
.trust-row span::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line2); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink2); }
.compare thead th { font: 700 16px var(--head); background: #FBFAFF; position: sticky; top: 0; }
.compare thead th.best { color: var(--brand-dk); }
.compare td.best { background: #FAF9FF; }
.compare tr.group td { background: var(--bg); font: 700 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.y { color: var(--teal); font-weight: 800; } .n { color: #B3B1C6; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.tl { position: relative; text-align: center; padding: 0 6px; }
.tl .dot { min-width: 64px; width: max-content; padding: 0 12px; height: 40px; margin: 0 auto 14px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--brand); font: 700 13px var(--mono); color: var(--brand-dk); position: relative; }
.tl h4 { font-size: 17px; margin-bottom: 6px; } .tl p { font-size: 14.5px; color: var(--ink2); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; text-align: left; } .timeline::before { left: 37px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); } .tl { display: grid; grid-template-columns: 76px 1fr; gap: 16px; text-align: left; padding: 0; } .tl .dot { margin: 0; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font: 700 17px var(--head); position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink2); font-size: 16px; }
.faq details p + p { margin-top: -8px; }

/* subjects page */
.year-tabs { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 72px; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); padding: 12px 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.year-tabs .tab { min-width: 92px; }
.year-summary { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; margin: 22px 0 26px; }
.year-summary h2 { font-size: clamp(30px, 4vw, 42px); }
.year-summary .stats { color: var(--muted); font-weight: 600; }
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .courses { grid-template-columns: 1fr; } }
.course { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.course > button { width: 100%; text-align: left; border: 0; background: transparent; padding: 20px 22px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font: inherit; color: inherit; }
.course .ct { font: 700 18px var(--head); color: var(--ink); } .course .cg { font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); grid-column: 1 / -1; }
.course .cn { font-size: 14px; color: var(--muted); }
.course .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; grid-row: span 2; transition: .2s; }
.course .chev::before { content: ''; width: 8px; height: 8px; border-right: 2.2px solid var(--ink2); border-bottom: 2.2px solid var(--ink2); transform: translateY(-2px) rotate(45deg); }
.course[data-open=true] .chev { transform: rotate(180deg); }
.course ol { margin: 0; padding: 0 22px 18px 22px; list-style: none; display: none; counter-reset: t; }
.course[data-open=true] ol { display: block; }
.course li { padding: 12px 0; border-top: 1px solid var(--line2); counter-increment: t; display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
.course li::before { content: counter(t); font: 700 13px var(--mono); color: var(--muted); padding-top: 2px; }
.course li b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 700; }
.course li span { font-size: 14.5px; color: var(--ink2); }
.course li i { font-style: normal; font: 600 12px var(--mono); color: var(--muted); }
.search { width: 100%; max-width: 420px; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 16px; font: 500 16px var(--body); color: var(--ink); }
.search:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(91,92,240,.12); }

/* parent view mock */
.dash { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; }
.dash .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--gold-lo); color: var(--gold); }
.pill.ok { background: #E7F6EC; color: var(--ok); }
.meter { height: 10px; border-radius: 99px; background: var(--line2); overflow: hidden; } .meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #8E7BFF); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.kpis div { background: var(--bg); border-radius: 14px; padding: 12px; text-align: center; } .kpis b { display: block; font: 700 24px var(--head); } .kpis span { font-size: 12.5px; color: var(--muted); }
.example-label { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }

/* footer */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 14px 0 16px; }
.cta-final .btn-row { justify-content: center; margin-top: 30px; }
.cta-final .lede { margin: 0 auto; }
.cta-final .orb { display: block; }
footer { padding: 64px 0 40px; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 700 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot a { display: block; color: var(--ink2); text-decoration: none; padding: 5px 0; } .foot a:hover { color: var(--brand-dk); }
.foot a.logo { display: inline-flex; color: var(--ink); padding: 0; }
.foot .about { max-width: 320px; margin-top: 14px; }
.legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* page hero for inner pages */
.page-hero { padding: 72px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 16px auto 18px; max-width: 900px; }
.page-hero .lede { margin: 0 auto; }

/* Year 6 to 12 journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.journey::before { content: ''; position: absolute; left: 4%; right: 4%; top: 15px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--brand) 55%, var(--deep2)); }
.journey li { position: relative; padding: 42px 10px 0; text-align: center; }
.journey li::before { content: ''; position: absolute; top: 5px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--paper); border: 4px solid var(--brand); box-sizing: border-box; }
.journey li:first-child::before { border-color: var(--orange); } .journey li.sr::before { border-color: var(--deep2); background: var(--deep2); }
.journey b { display: block; font: 700 18px var(--head); color: var(--ink); } .journey span { display: block; font-size: 14px; color: var(--ink2); margin-top: 6px; line-height: 1.45; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; gap: 18px; } .journey::before { left: 13px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; background: linear-gradient(180deg, var(--orange), var(--brand) 55%, var(--deep2)); } .journey li { padding: 0 0 0 44px; text-align: left; } .journey li::before { top: 2px; left: 13px; } }

/* privacy policy and terms */
.legal-text h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-text p { color: var(--ink2); margin: 0 0 14px; }
.legal-text ul.plain { margin: 0 0 14px; padding-left: 22px; color: var(--ink2); display: grid; gap: 8px; }
.legal a { color: var(--ink2); } .legal a:hover { color: var(--brand-dk); }

/* labs */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lab-card { margin: 0; background: var(--paper); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; }
.lab-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 50%; display: block; background: #E9E8F3; }
.lab-card figcaption { padding: 16px 18px 20px; } .lab-card h3 { margin: 6px 0 6px; } .lab-card p:last-child { color: var(--muted); font-size: 15px; }
.lab-more { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.lab-more li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line2); }
@media (max-width: 980px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lab-grid { grid-template-columns: 1fr; } }
/* phone hero: show the lab on the first screen, beside the words */
/* hero: the copy column holds the cell video; on desktop the video sits in the right column */
.hero-grid { grid-template-columns: .9fr 1.1fr; grid-template-areas: "eb media" "h1 media" "lede media" "btn media" "note media"; column-gap: 48px; row-gap: 0; align-items: start; }
.hero-copy { display: contents; }
.hero-copy > .eyebrow { grid-area: eb; } .hero-copy > h1 { grid-area: h1; } .hero-copy > .lede { grid-area: lede; } .hero-copy > .btn-row { grid-area: btn; } .hero-copy > .btn-note { grid-area: note; }
.hero-media { grid-area: media; margin: 0; position: relative; align-self: center; padding-bottom: 54px; }
.hero-video { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16/10; background: #E6E8F2; box-shadow: 0 40px 80px -30px rgba(34,27,92,.45); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lab-tag { position: absolute; left: 14px; top: 14px; font: 600 12px var(--mono, 'JetBrains Mono', monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.82); padding: 6px 10px; border-radius: 999px; }
.vcap { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px); text-align: center; font-weight: 600; font-size: 15px; color: #fff; background: rgba(22,22,42,.78); padding: 8px 14px; border-radius: 12px; opacity: 0; transition: opacity .35s; }
.vcap.on { opacity: 1; }
.hero-media .lumi-note { position: absolute; left: -24px; bottom: 0; display: flex; gap: 12px; align-items: center; max-width: 340px; z-index: 2; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; grid-template-areas: "eb" "h1" "media" "lede" "btn" "note"; } .hero-media { margin: 6px 0 26px; } .hero-media .lumi-note { left: 0; } }
@media (max-width: 560px) { .hero { padding-top: 22px; } .hero h1 { margin: 10px 0 14px; font-size: 34px; } .hero .eyebrow { font-size: 11px; }
  .hero-media { margin: 0 0 16px; padding-bottom: 0; } .hero-video { border-radius: 16px; } .hero-media .lumi-note { display: none; } .vcap { font-size: 13px; bottom: 10px; padding: 6px 10px; } .lab-tag { font-size: 10px; left: 10px; top: 10px; }
  .hero .lede { font-size: 16px; margin-bottom: 18px; } .hero .btn-row .btn-ghost { display: none; } }

/* three pillars under the hero: Labs, Lessons, Exam prep */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pillar { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
.pillar:hover { transform: translateY(-2px); border-color: var(--line2); }
.pillar .pill-k { font: 700 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pillar:nth-child(2) .pill-k, .pillar:nth-child(2) .pill-go { color: var(--teal); }
.pillar:nth-child(3) .pill-k, .pillar:nth-child(3) .pill-go { color: var(--orange); }
.pillar b { font: 700 34px var(--head); letter-spacing: -.02em; color: var(--ink); margin-top: 8px; }
.pillar .pill-u { font-size: 14px; color: var(--muted); }
.pillar p { margin: 12px 0 14px; font-size: 15px; line-height: 1.5; flex: 1; }
.pillar .pill-go { font-weight: 700; font-size: 14px; color: var(--brand-dk); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; } .pillar { padding: 18px; } .pillar b { font-size: 28px; } }

/* phone: trial bar slides up once the hero button has scrolled away, hides at the closing CTA */
.trial-bar { display: none; }
@media (max-width: 760px) {
  .trial-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 10px 10px 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(34,27,92,.18); font-size: 14px; color: var(--ink); transform: translateY(140%); transition: transform .25s ease; }
  .trial-bar.on { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .trial-bar { transition: none; } }

/* Labs coming soon (2026-11-18) */
.soon { margin-top: 56px; padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: linear-gradient(160deg, var(--teal-lo), var(--brand-lo)); }
.soon .sec-head { margin-bottom: 22px; }
.soon-h { font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 8px; }
.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.soon-card { position: relative; background: var(--paper); border: 1px dashed #B9B6E6; border-radius: 18px; padding: 16px 16px 18px; }
.soon-card h3 { font-size: 18px; margin: 4px 0 6px; }
.soon-card p:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0; }
.soon-card .eyebrow { font-size: 11px; margin: 10px 0 0; }
.soon-ico { font-size: 30px; line-height: 1; display: block; }
.soon-pill { position: absolute; top: 14px; right: 14px; font: 800 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: var(--teal-lo); border-radius: 999px; padding: 5px 9px; }
@media (max-width: 980px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .soon { margin-inline: -24px; border-radius: 0; padding-inline: 0; }
  .soon .sec-head { padding-inline: 24px; }
  .soon-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 24px 10px; scroll-padding-inline: 24px; -webkit-overflow-scrolling: touch; }
  .soon-card { scroll-snap-align: start; }
}

/* The "First 50" launch offer: its blocks show only while the offer is open (site/first50.js adds .first50-open). */
.first50-only { display: none !important; }
.first50-open .first50-only { display: block !important; }
.first50-open .first50-hide { display: none !important; }
.first50-open a.btn.first50-only { display: inline-flex !important; }
.first50-open span.first50-only { display: inline !important; }
.first50-open a.f50-bar { display: flex !important; }
.f50-bar { flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 11px 18px; background: linear-gradient(90deg, var(--deep), #4A38B8); color: #fff; font-size: 15px; line-height: 1.4; text-align: center; text-decoration: none; }
.f50-bar b { color: #FFE08A; }
.f50-bar-k { font: 700 12.5px var(--mono); letter-spacing: .04em; color: #D6D1FF; }
.f50-bar-go { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 760px) { .f50-bar { font-size: 14px; padding: 10px 14px; } .f50-bar-k { display: none; } }
.f50 { background: linear-gradient(140deg, var(--deep) 0%, var(--deep2) 46%, #4A38B8 100%); color: #E9E6FF; border-radius: 26px; padding: 44px 40px; position: relative; overflow: hidden; }
.f50::after { content: ''; position: absolute; width: 460px; height: 460px; right: -150px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13), transparent 65%); pointer-events: none; }
.f50 .eyebrow { color: #B9B1FF; }
.f50 h2 { color: #fff; margin: 12px 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; }
.f50 .f50-sub { color: #fff; font-size: clamp(17px, 2.2vw, 20px); font-weight: 600; margin: 0 0 22px; }
.f50-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; position: relative; z-index: 1; }
.f50-grid div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 16px 18px; }
.f50-grid b { display: block; color: #fff; font: 700 17px var(--head); margin-bottom: 5px; }
.f50-grid span { font-size: 14.5px; line-height: 1.5; color: #D6D1FF; }
.f50-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; position: relative; z-index: 1; }
.f50-pill { font: 700 13px var(--mono); letter-spacing: .04em; color: #FFE08A; }
.f50-small { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: #C9C3FF; position: relative; z-index: 1; }
.f50-terms { margin-top: 14px; font-size: 13.5px; color: #C9C3FF; position: relative; z-index: 1; }
.f50-terms summary { cursor: pointer; font-weight: 700; color: #fff; }
.f50-terms ul { margin: 10px 0 0 18px; padding: 0; line-height: 1.7; }
@media (max-width: 760px) { .f50 { padding: 30px 22px; border-radius: 20px; } .f50-grid { grid-template-columns: 1fr; } }
/* on a phone the claim button comes straight after the headline, so it is on the first screen (inside Facebook's own browser too); the three points follow */
@media (max-width: 760px) { .f50 { display: flex; flex-direction: column; } .f50-row { margin: 0 0 22px; } .f50-grid { order: 2; margin-bottom: 0; } .f50-small { order: 3; } .f50-terms { order: 4; } .f50 h2 { margin-top: 8px; } .f50 .f50-sub { margin-bottom: 18px; } }

#first50 { scroll-margin-top: 76px; }
