/* Landing page — "Ledger" */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { justify-content: center; }
.em { font-style: italic; color: var(--accent); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: var(--header); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: var(--border); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 99px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.nav-cta { gap: 6px; }
.show-sm { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 24px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%); }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: 40px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%); filter: blur(20px); }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.pill:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.pill b { color: var(--text); font-weight: 600; }
.pill .i { width: 14px; height: 14px; color: var(--dim); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.stars .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.hero h1 { font-size: clamp(56px, min(7.2vw, 12.5vh), 108px); margin: 24px 0 22px; line-height: .96; }
.hero h1 .em { padding-right: .04em; }
.lead { font-size: clamp(17px, 1.45vw, 19px); color: var(--muted); max-width: 490px; line-height: 1.6; text-wrap: pretty; }
.hero-actions { margin-top: 34px; gap: 10px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; }
.hero-meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin: 0 10px; }
.hero-meta b { color: var(--text); font-weight: 500; margin-right: 5px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 490px; }
.hero-proof .text { color: var(--text); font-weight: 500; }
.hero-proof b#pillRating { font-size: 14px; font-weight: 600; }
.faces { display: flex; flex: none; }
.faces .avatar { width: 34px; height: 34px; font-size: 11.5px; border: 2px solid var(--bg); margin-left: -9px; }
.faces .avatar:first-child { margin-left: 0; }

/* chart card */
.hero-visual { position: relative; }
.terminal { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.term-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-bottom: 1px solid var(--border); }
.tk-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); }
.tk-ic .i { width: 16px; height: 16px; }
.tk-name { line-height: 1.35; }
.tk-q { min-height: 1.35em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-q #tkPx { color: var(--text); font-weight: 600; }
.tk-q .up { color: var(--up); } .tk-q .down { color: var(--down); }
.tk-q .ohlc { color: var(--dim); font-size: 11.5px; } .tk-q .ohlc b { font-weight: 500; margin-right: 4px; }
.chart-wrap { padding: 10px 4px 0 10px; }
#heroChart { width: 100%; height: auto; display: block; overflow: visible; }

.walk { border-top: 1px solid var(--border); background: var(--surface-2); padding: 14px 16px 18px; display: grid; gap: 12px; }
.walk-tabs { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 6px; }
.walk-tabs button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.walk-tabs button:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.walk-tabs .mono { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: var(--surface-3); color: var(--muted); flex: none; transition: .2s; }
.walk-tabs button.done .mono { background: var(--text); color: var(--surface); }
.walk-tabs button.on { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.walk-tabs button.on .mono { background: var(--accent); color: #fff; }
.walk-tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.walk.auto .walk-tabs button.on i { animation: fill var(--step-ms, 4s) linear forwards; }
.walk.held .walk-tabs button.on i { width: 100%; opacity: .25; }
.walk-tabs .walk-pp { width: 36px; padding: 0; justify-content: center; color: var(--dim); }
.walk-tabs .walk-pp .i { fill: currentColor; stroke: none; }
@keyframes fill { to { width: 100%; } }
.walk-text { min-height: 3.2em; font-size: 14.5px; line-height: 1.6; color: var(--muted); animation: fade .4s ease; padding: 0 4px; }
.walk-text b { color: var(--text); font-weight: 600; }
.walk-text b.up { color: var(--up); } .walk-text b.down { color: var(--down); }

/* laptops with short screens: keep CTA + proof above the fold */
@media (min-width: 1041px) and (max-height: 860px) {
  .hero { padding-top: 104px; }
  .hero h1 { margin: 18px 0 16px; }
  .hero-actions { margin-top: 26px; }
  .hero-proof { margin-top: 22px; padding-top: 18px; }
  .walk { padding: 12px 14px 14px; gap: 10px; }
}

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); margin-top: 72px; border-block: 1px solid var(--border); }
.stat { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stat-num b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.4vw, 60px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-num .stars .i { width: 13px; height: 13px; }
.stat-unit { color: var(--muted); font-size: 14px; line-height: 1.35; }
.stat-note { margin-top: auto; color: var(--dim); font-size: 13px; line-height: 1.45; }
/* rating distribution */
.dist { display: grid; gap: 5px; }
.dist div { display: grid; grid-template-columns: 10px 1fr; align-items: center; gap: 8px; font: 500 10.5px var(--mono); color: var(--dim); }
.dist i { height: 5px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.dist i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.22,1,.36,1) .2s; }
.stat.in .dist i::after { transform: none; }
/* batch seats */
.seats { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 5px; max-width: 220px; }
.seats i { aspect-ratio: 1; border-radius: 4px; border: 1px solid var(--border-2); background: transparent; }
.seats i.on { background: var(--text); border-color: var(--text); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d); }
.stat.in .seats i.on { opacity: 1; transform: none; }
/* release calendar */
.ways { display: flex; flex-wrap: wrap; gap: 6px; }
.ways i { font: 500 11px var(--mono); font-style: normal; padding: 6px 10px; border-radius: 999px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); }
.ways i.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.months i { display: grid; place-items: center; height: 26px; border-radius: 6px; font: 500 10px var(--mono); font-style: normal; color: var(--dim); background: var(--surface-2); border: 1px solid var(--border); }
.months i.on { background: var(--text); border-color: var(--text); color: var(--surface); }
.months i.now { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.months i.next { background: transparent; border-style: dashed; border-color: var(--border-2); }
/* experience line */
.spark { width: 100%; height: 44px; display: block; overflow: visible; }
.spark .sl { fill: none; stroke: var(--up); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.65,0,.35,1) .15s; }
.spark .sa { fill: color-mix(in srgb, var(--up) 12%, transparent); opacity: 0; transition: opacity .8s ease .9s; }
.spark circle { fill: var(--up); opacity: 0; transition: opacity .3s ease 1.4s; }
.stat.in .spark .sl { stroke-dashoffset: 0; } .stat.in .spark .sa, .stat.in .spark circle { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dist i::after, .seats i.on, .spark * { transition: none !important; } }

/* ---------- Sections ---------- */
.section { padding: 128px 0 0; }
.section-head { max-width: 720px; margin: 0 0 52px; display: grid; gap: 14px; }
.section-head h2 { font-size: clamp(40px, 5.2vw, 68px); }
.section-head p { font-size: 17px; max-width: 540px; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-text); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* fit */
.fit { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-card { display: flex; flex-direction: column; padding: 30px 32px 26px; border-radius: var(--radius-xl); border: 1px solid var(--border); }
.fit-card.yes { background: var(--surface); box-shadow: var(--shadow-lg); background-image: radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--up) 9%, transparent), transparent 60%); }
.fit-card.no { background: var(--bg-2); }
.fit-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
.fit-card.yes .fit-head .label-mono { color: var(--up); }
.fit-card.no .fit-head .label-mono { color: var(--down); }
.fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; flex: 1; }
.fit-card li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.fit-card li b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.fit-card li b em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; }
.fit-card li span:not(.fit-ic) { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.fit-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.fit-ic .i { width: 15px; height: 15px; stroke-width: 2.6; }
.fit-card.yes .fit-ic { background: var(--up); color: #fff; }
.fit-card.no .fit-ic { background: var(--down-soft); color: var(--down); }
.fit-card.no li b { color: var(--muted); }
.fit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.fit-or { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card { padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento-card h3 { font-size: 18px; margin: 20px 0 8px; }
.bento-card p { font-size: 14.5px; }
.b-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.feat-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules li { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-size: 14px; }
.rules .mono { color: var(--accent-text); font-size: 12px; }


/* courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.course-card { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card .cover { aspect-ratio: 16/9; margin: 8px 8px 0; border-radius: 14px; }
.course-card .cover .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.cc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cc-body h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.02em; line-height: 1.05; }
.cc-meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.cc-meta span { display: inline-flex; gap: 6px; align-items: center; }
.cc-meta .i { width: 15px; height: 15px; }
.course-card.best { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-lg); }
.cc-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.cc-list li { display: flex; gap: 8px; align-items: flex-start; }
.cc-list .i { width: 15px; height: 15px; color: var(--up); margin-top: 2px; flex: none; stroke-width: 2.2; }
.price .custom { font-family: var(--font); font-size: 16px; letter-spacing: 0; }
[hidden] { display: none !important; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); gap: 10px; }
.price { font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.price s { font-size: 13px; color: var(--dim); font-weight: 400; margin-left: 6px; }

/* curriculum */
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 24px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.tab { padding: 9px 16px; border-radius: 10px; font-size: 14px; color: var(--muted); transition: .2s; font-weight: 500; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.curr-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.curr-list { display: grid; gap: 10px; }
.mod { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.mod summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.mod summary::-webkit-details-marker { display: none; }
.mod-n { font-family: var(--serif); font-size: 26px; color: var(--accent); width: 34px; flex: none; line-height: 1; }
.mod summary h4 { font-size: 16px; font-weight: 600; }
.mod summary .chev { margin-left: auto; color: var(--dim); transition: transform .3s var(--ease); }
.mod[open] summary .chev { transform: rotate(180deg); }
.mod ul { list-style: none; margin: 0; padding: 0 10px 10px; }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 11px 10px 11px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); }
.lesson-row .i { width: 15px; height: 15px; color: var(--dim); }
.lesson-row.free { color: var(--text); cursor: pointer; }
.lesson-row.free:hover { background: var(--bg-2); }
.lesson-row.free .i { color: var(--accent); fill: currentColor; }
.lesson-row .t { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.curr-side { position: sticky; top: 92px; padding: 8px; overflow: hidden; }
.curr-side .cover { aspect-ratio: 16/9; border-radius: 12px; }
.curr-side .pad { padding: 18px 14px 14px; display: grid; gap: 14px; }
.curr-side h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; }
.incl { display: grid; gap: 10px; font-size: 14px; color: var(--muted); padding-top: 4px; }
.incl div { display: flex; gap: 10px; align-items: center; }
.incl .i { width: 16px; height: 16px; color: var(--text); }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.outcomes div { display: flex; gap: 10px; font-size: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.outcomes .i { width: 16px; height: 16px; color: var(--up); margin-top: 2px; stroke-width: 2.2; }

/* instructor */
.instructor { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ins-photo { aspect-ratio: 4/5; border-radius: 20px; background: linear-gradient(160deg, #1E5B4A, #0f2e25); display: grid; place-items: center; position: relative; overflow: hidden; }
.ins-photo::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.ins-photo span { font-family: var(--serif); font-size: 160px; color: #fff; position: relative; z-index: 1; font-style: italic; }
.ins-copy { padding: 12px 24px 12px 0; }
.ins-copy h2 { font-size: clamp(44px, 5vw, 72px); margin: 14px 0 18px; }
.ins-bio { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.ins-stats { display: flex; gap: 36px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.ins-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.ins-stats span { color: var(--muted); font-size: 13px; }

/* reviews */
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.review p { font-size: 15.5px; line-height: 1.65; margin: 14px 0 20px; }
.review.big { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.review.big p { font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.review.big .who span { color: color-mix(in srgb, var(--brand-ink) 65%, transparent); }
.review .who { display: flex; gap: 12px; align-items: center; }
.review .who b { display: block; font-size: 14px; font-weight: 600; }
.review .who span { font-size: 12.5px; color: var(--muted); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.faq-side h2 { font-size: clamp(40px, 5vw, 64px); }
.help { padding: 20px; margin-top: 18px; display: grid; gap: 12px; }
.faq { display: grid; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--dim); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq p { padding: 0 40px 24px 4px; color: var(--muted); line-height: 1.7; }

/* cta */
.cta { position: relative; overflow: hidden; margin-top: 128px; padding: 88px 32px; border-radius: 32px; background: #17150f; color: #f6f4ef; text-align: center; display: grid; gap: 22px; justify-items: center; }
[data-theme="dark"] .cta { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.cta .eyebrow { color: #ff8a55; }
.cta h2 { font-size: clamp(42px, 6vw, 84px); position: relative; }
.cta .row { position: relative; margin-top: 8px; }
.cta-chart { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; }
.btn-ondark { background: transparent; color: inherit; border-color: rgba(246,244,239,.25); box-shadow: none; }
.btn-ondark:hover { background: rgba(246,244,239,.08); border-color: rgba(246,244,239,.4); }
[data-theme="dark"] .btn-ondark { border-color: var(--border-2); }

/* footer */
.footer { margin-top: 112px; padding: 56px 0 36px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-links { display: grid; gap: 10px; align-content: start; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.disclaimer { margin: 48px 0 16px; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.disclaimer b { color: var(--text); }

/* modals */
.preview-video { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.preview-video video, .preview-video iframe { width: 100%; height: 100%; border: 0; }
.success { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 10px 0; }
.success .ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--up-soft); color: var(--up); }
.success .ok .i { width: 28px; height: 28px; stroke-width: 2.4; }
.success h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }

/* mobile menu + sticky cta */
.mobile-menu { position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 24px; display: grid; animation: fade .2s; box-shadow: var(--shadow-lg); }
.mobile-menu a { padding: 16px 4px; font-size: 22px; font-family: var(--serif); border-bottom: 1px solid var(--border); }
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 680px; width: 100%; margin: 0 auto; }
  .curr-layout { grid-template-columns: 1fr; }
  .curr-side { position: static; }
  .instructor { grid-template-columns: 1fr; gap: 24px; padding: 16px; }
  .ins-photo { aspect-ratio: 16/10; }
  .ins-copy { padding: 8px 12px 16px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: static; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .show-sm { display: inline-flex; }
  .bento { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; gap: 0; }
  .fit-or { position: relative; left: auto; top: auto; translate: none; justify-self: center; margin: -8px 0; }
  .b-wide { grid-column: auto; grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > .stat:last-child:nth-child(odd) { grid-column: span 2; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .sticky-cta { display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta b { display: block; font-size: 14px; }
  .sticky-cta span { color: var(--muted); }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 56px; }
  .hero-proof { align-items: flex-start; }
  .walk-tabs { gap: 4px; grid-template-columns: repeat(5, 1fr) 30px; }
  .walk-tabs [data-walk] .mono { display: none; }
  .tk-q .ohlc { font-size: 10.5px; }
  .walk-tabs .walk-pp { width: 30px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; }
  .hero-meta span::before, .hero-meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin: 0 8px 0 0; flex: none; }
  .walk-tabs button { padding: 0 2px; gap: 6px; font-size: 12px; justify-content: center; }
  .hide-xs { display: none; }
  .chart-wrap { padding: 8px 2px 0 6px; }
  .walk-text { min-height: 4.8em; }
  .hero-actions .btn { flex: 1; }
  .section { padding-top: 96px; }
  .section-head { margin-bottom: 36px; }
  .stat { padding: 22px 14px 20px; gap: 12px; }
  .fit-card { padding: 24px 20px 20px; }
  .fit-card li { grid-template-columns: 26px 1fr; gap: 12px; padding: 15px 0; }
  .fit-ic { width: 26px; height: 26px; }
  .fit-card li b { font-size: 15.5px; }
  .fit-card li span:not(.fit-ic) { font-size: 13.5px; }
  .fit-foot .btn { width: 100%; justify-content: center; }
  .stat-num b { font-size: 40px; }
  .stat-unit, .stat-note { font-size: 12.5px; }
  .months { grid-template-columns: repeat(6, 1fr); }
  .months i { height: 22px; }
  .outcomes { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 24px 20px; }
  .tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; }
  .tab { white-space: nowrap; }
  .cta { padding: 64px 20px; border-radius: 24px; }
  .cta .row .btn { width: 100%; }
  .faq p { padding-right: 4px; }
}

/* curriculum side: formats that teach this syllabus */
.formats { display: grid; gap: 10px; margin: 12px 0 4px; }
.format { display: grid; gap: 6px; padding: 14px; border-radius: var(--radius-lg, 14px); border: 1px solid var(--border); background: var(--surface); }
.format.best { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.format .price { font-size: 16px; }
.format .btn { margin-top: 6px; }
