/* Cidade que Cresce, v2: one stylesheet for the landing (census first, then the Black Friday course section), the course
   page and the census card that censo.js draws. Toy-city look from the videos: sky, thick ink outlines, chunky shadows,
   yellow for what you can press; the sale lives on a night background. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/montserrat-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Assinatura"; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/lora-sig.woff2) format("woff2"); }

:root {
  --ink: #15171D;
  --navy: #0E2547; --navy-2: #2B4C7E; --text: #33415A;
  --sky-a: #3B8BE5; --sky-b: #6CB0F2; --sky-c: #A8D5FA; --sky-d: #DDEFFF; --sky-e: #EEF7FF;
  --paper: #FFFFFF; --paper-2: #F1F6FC; --muted: #5A6472; --rule: #D6DEE9;
  --yel: #FFD23F; --yel-2: #FFE27A; --yel-3: #FFF3C4; --yel-d: #C9980F;
  --green: #1F8A4C; --green-2: #3FBF74; --mint: #5FD08F;
  --red: #E8364F; --stamp: #C0392B;
  --night: #080C16; --night-2: #101626; --night-3: #171F33; --n-line: #283352;
  --on-night: #EEF3FF; --on-night-2: #AEB9D2; --on-night-3: #7F8BA7;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sign: "Assinatura", Georgia, "Times New Roman", serif;
  --gut: max(18px, env(safe-area-inset-left, 0px));
  --gut-r: max(18px, env(safe-area-inset-right, 0px));
  --max: 1180px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--sky-e); color: var(--ink);
  font: 500 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 800; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
:focus-visible { outline: 4px solid var(--yel); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .go:focus-visible { outline-color: var(--navy); }
.sale :focus-visible, .lp-foot :focus-visible { outline-color: var(--yel); }

/* ---------- shared pieces ---------- */
.band {
  display: inline-block; font: 800 11.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  background: var(--green); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 7px 13px;
}
.outlined {
  --o: .045em;
  color: var(--yel); letter-spacing: .005em;
  text-shadow:
    calc(var(--o) * -1) calc(var(--o) * -1) 0 var(--ink), 0 calc(var(--o) * -1) 0 var(--ink), var(--o) calc(var(--o) * -1) 0 var(--ink),
    calc(var(--o) * -1) 0 0 var(--ink), var(--o) 0 0 var(--ink),
    calc(var(--o) * -1) var(--o) 0 var(--ink), 0 var(--o) 0 var(--ink), var(--o) var(--o) 0 var(--ink),
    0 calc(var(--o) * 2.4) 0 var(--ink), 0 .14em .28em rgba(14, 37, 71, .28);
}
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 900 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.h2 { font: 900 clamp(32px, 8.6vw, 60px)/1.02 var(--display); letter-spacing: -.012em; color: var(--navy); text-wrap: balance; }
.lead { font: 500 clamp(16px, 4.3vw, 18.5px)/1.55 var(--body); color: var(--text); text-wrap: pretty; }
.lead b { color: var(--navy); }
.mark { background: linear-gradient(transparent 60%, var(--yel) 60%, var(--yel) 94%, transparent 94%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; max-width: 780px; margin: 0 auto; }
.sec-head .lead { max-width: 36em; }

.btn {
  --bg: var(--yel); --hov: var(--yel-2); --sh: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 900 17px/1.15 var(--display); color: var(--ink); background: var(--bg); border: 3px solid var(--ink); border-radius: 999px;
  padding: 16px 26px; box-shadow: 0 5px 0 var(--sh); text-align: center; overflow: hidden; isolation: isolate;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { background: var(--hov); transform: translateY(-1px); box-shadow: 0 6px 0 var(--sh); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--sh); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { --bg: #fff; --hov: var(--paper-2); }
.btn-wide { width: 100%; }
.btn-lg { font-size: 19px; padding: 19px 30px; }
.shine::after {
  content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -40%; } 85%, 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .shine::after { display: none; } }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); flex: none; box-shadow: 0 0 0 0 rgba(63, 191, 116, .6); animation: ping 1.8s ease-out infinite; }
.dot.red { background: #FF4D63; box-shadow: 0 0 0 0 rgba(255, 77, 99, .6); animation-name: ping-r; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(63, 191, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 116, 0); } }
@keyframes ping-r { 70% { box-shadow: 0 0 0 9px rgba(255, 77, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 99, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* reveal on scroll (only with JS; landing.js adds .in) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

@keyframes marq { to { transform: translateX(-50%); } }
@keyframes rise { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Black Friday on/off (promo.js adds .promo-over after data-promo-end) ---------- */
.pp-reg { display: none; }
.promo-over .pp-promo, .promo-over .bf-only { display: none !important; }
.promo-over .pp-reg { display: inline; }
.promo-over .pp-reg.blk { display: block; }

/* ---------- ticker ---------- */
.ticker { display: block; position: relative; z-index: 41; overflow: hidden; background: var(--night); text-decoration: none; border-bottom: 2px solid var(--yel); }
.ticker-track { display: flex; width: max-content; animation: marq 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.t-grp { display: flex; align-items: center; gap: 16px; padding: 10px 8px; white-space: nowrap; font: 900 12.5px/1 var(--display); letter-spacing: .08em; }
.t-grp b { color: #fff; font-weight: 900; }
.t-grp em { font-style: normal; color: var(--ink); background: var(--yel); padding: 6px 10px; border-radius: 999px; }
.t-grp span { color: #A9BCE0; }
.star { width: 12px; height: 12px; flex: none; background: var(--yel); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid rgba(14, 37, 71, .1); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 900 15px/1 var(--display); letter-spacing: .005em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nl { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font: 800 14px/1 var(--display); padding: 10px 11px; border-radius: 999px; white-space: nowrap; }
.nl:hover { background: rgba(14, 37, 71, .07); }
.nav-tag { background: var(--red); color: #fff; font: 900 10.5px/1 var(--display); padding: 4px 6px; border-radius: 999px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; text-decoration: none; white-space: nowrap;
  font: 800 13.5px/1 var(--display); color: #fff; background: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 13px;
}
.pill svg { width: 15px; height: 15px; }
.pill:hover { background: #2A2F3A; }
@media (max-width: 419px) { .brand span { display: none; } }

/* ---------- hero (census) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-b) 0, var(--sky-b) 52%, var(--sky-c) 80%, var(--sky-e) 100%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; }
.hero-media { position: relative; }
.hero-window { position: relative; height: clamp(340px, 98vw, 540px); overflow: hidden; background: #7FB6EA url(/assets/img/hero.jpg) center 42% / cover no-repeat; }
.hero-window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 22, .22) 0%, rgba(8, 12, 22, 0) 20%, rgba(108, 176, 242, 0) 52%, rgba(108, 176, 242, .9) 86%, var(--sky-b) 100%);
}
.float-tag {
  position: absolute; z-index: 2; font: 800 12.5px/1 var(--display); color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  padding: 7px 11px; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); animation: bob 4.2s ease-in-out infinite; white-space: nowrap;
}
.float-tag::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 3px; height: 9px; background: var(--ink); transform: translateX(-50%); }
.ft1 { left: 7%; top: 15%; }
.ft2 { right: 7%; top: 29%; background: var(--yel); animation-delay: -1.4s; }
.ft3 { left: 36%; top: 44%; animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .float-tag { animation: none; } }
.hero-card { display: none; }
/* dolls under the name tags (render_dolls.py) */
.actor { position: absolute; z-index: 2; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); pointer-events: none; }
.actor .float-tag { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin-bottom: 11px; }
.actor .float-tag.yel { background: var(--yel); }
.actor img { width: 54px; height: auto; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3)); }
.actor::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -5px; width: 64%; height: 12px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .4), transparent); }
.a1 { --x: 20%; --y: 42%; }
.a2 { --x: 76%; --y: 48%; }
.a3 { --x: 48%; --y: 57%; }
.a2 .float-tag { animation-delay: -1.4s; }
.a3 .float-tag { animation-delay: -2.6s; }

.hero-copy {
  position: relative; z-index: 3; margin-top: -150px; padding: 0 var(--gut-r) 34px var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.hero-copy > * { max-width: 600px; }
.hero h1 { font: 900 clamp(50px, 14.6vw, 70px)/.9 var(--display); text-wrap: balance; }
.hero .lede { font: 700 16px/1.42 var(--body); color: var(--navy); max-width: 25em; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise .7s cubic-bezier(.2, 1.3, .4, 1) .1s both; }
  .hero .lede, .hero .search { animation: rise .6s cubic-bezier(.2, 1.3, .4, 1) .22s both; }
}

/* census search */
.search {
  width: 100%; margin-top: 4px; text-align: left; background: var(--paper); border: 4px solid var(--ink); border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink), 0 26px 50px rgba(14, 37, 71, .28); padding: 18px; display: flex; flex-direction: column; gap: 11px;
}
.search label { display: flex; align-items: center; gap: 10px; font: 900 21px/1.15 var(--display); color: var(--ink); }
.search label svg { width: 30px; height: 30px; flex: none; }
.field { display: flex; align-items: center; gap: 6px; background: var(--paper-2); border: 3px solid var(--ink); border-radius: 18px; padding: 0 6px 0 14px; transition: box-shadow .15s; }
.field > span { font: 800 24px/1 var(--display); color: var(--muted); }
#q {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink);
  font: 700 20px/1 var(--body); padding: 15px 0; -webkit-appearance: none; appearance: none;
}
#q::placeholder { color: #8A94A3; font-weight: 600; }
#q::-webkit-search-cancel-button { display: none; }
.field:focus-within { box-shadow: 0 0 0 4px var(--yel); }
.go {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin: 4px 0; padding: 0; cursor: pointer;
  background: var(--yel); border: 3px solid var(--ink); border-radius: 14px; color: var(--ink); box-shadow: 0 3px 0 var(--ink);
  transition: transform .1s, box-shadow .1s;
}
.go:hover { background: var(--yel-2); }
.go:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.go svg { width: 23px; height: 23px; }
.hint { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.chip-stat {
  display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px/1 var(--body); color: var(--navy); white-space: nowrap;
  background: rgba(255, 255, 255, .86); border: 2px solid rgba(14, 37, 71, .16); border-radius: 999px; padding: 8px 11px;
}
.chip-stat b { font-weight: 900; font-variant-numeric: tabular-nums; }
.try {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: 800 13.5px/1 var(--display); color: var(--ink);
  background: var(--yel); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 13px; box-shadow: 0 3px 0 var(--ink);
}
.try:hover { background: var(--yel-2); }
.try:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.try svg { width: 15px; height: 15px; }

/* clouds (desktop) */
.cloud {
  --w: 180px; position: absolute; z-index: 0; display: none; width: var(--w); height: calc(var(--w) * .3); border-radius: 999px; background: #fff; opacity: .92;
  filter: drop-shadow(0 12px 16px rgba(14, 37, 71, .08)); animation: drift var(--t, 90s) linear infinite; animation-delay: var(--dl, 0s); left: -260px;
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 46%; height: 150%; left: 14%; bottom: 22%; }
.cloud::after { width: 32%; height: 112%; left: 50%; bottom: 28%; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 420px)); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } .c1 { left: 6%; } .c2 { left: 56%; } .c3 { left: 30%; } .c4 { left: 82%; } }

/* ---------- census card (drawn by censo.js) ---------- */
#result { width: 100%; }
#result:empty { display: none; }
#result { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.panel { background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 rgba(0, 0, 0, .22); }
#result .none { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
#result .none h3 { font: 800 18px/1.25 var(--display); overflow-wrap: anywhere; }
#result .none p { color: var(--muted); }
.av { background-repeat: no-repeat; border: 3px solid var(--ink); border-radius: 14px; flex: none; background-color: #BFE4FF; }
.idcard { overflow: hidden; position: relative; }
.idcard .top { background: var(--green); color: #fff; border-bottom: 4px solid var(--ink); padding: 12px 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.idcard .top small { font: 800 11px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
.idcard .top strong { font: 900 22px/1.1 var(--display); letter-spacing: .02em; }
.idcard .body { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; align-items: start; }
.idcard .portrait { --ps: 132px; width: var(--ps); height: var(--ps); border-width: 4px; border-radius: 18px; }
.idcard dl { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.idcard dt { font: 800 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.idcard dd { margin: 3px 0 0; font: 800 17px/1.2 var(--display); overflow-wrap: anywhere; }
.idcard dd.num { font: 900 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.idcard .foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 0 16px 14px; }
.sig { font: italic 700 25px/1 var(--sign); color: #1F3263; border-bottom: 2px solid #1F3263; padding: 0 6px 4px 2px; }
.sigcap { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }
.stamp { width: 104px; height: 104px; flex: none; transform: rotate(-13deg); margin: -26px 0 -4px; }
#result .share { text-align: center; font: 700 14px/1.35 var(--body); color: var(--navy); }
#result .share b { font-weight: 900; }
@media (max-width: 380px) { .idcard .portrait { --ps: 108px; } .idcard dd.num { font-size: 26px; } }
@media (prefers-reduced-motion: no-preference) { .pop { animation: pop .3s cubic-bezier(.2, 1.4, .4, 1) both; } }
@keyframes pop { from { transform: scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- stats + crowd ---------- */
.stats-sec { position: relative; z-index: 2; padding: 6px 0 0; }
.stats {
  display: grid; grid-template-columns: 1fr; background: var(--paper); border: 4px solid var(--ink); border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink), 0 26px 50px rgba(14, 37, 71, .16); overflow: hidden;
}
.stat { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; }
.stat + .stat { border-top: 2px dashed var(--rule); }
.st-ic { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; border: 3px solid var(--ink); display: grid; place-items: center; background: var(--yel); }
.st-ic svg { width: 24px; height: 24px; }
.stat:nth-child(2) .st-ic { background: #FF8FA0; }
.stat:nth-child(3) .st-ic { background: var(--mint); }
.stat b { font: 900 clamp(30px, 8.6vw, 46px)/1 var(--display); letter-spacing: -.015em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b small { font: 900 .42em/1 var(--display); letter-spacing: 0; color: var(--muted); margin-right: .2em; vertical-align: .55em; }
.stat > span:last-child { font: 700 13.5px/1.3 var(--body); color: var(--muted); }

.crowd-wrap { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.crowd { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.crowd-track { display: flex; width: max-content; animation: marq 70s linear infinite; padding: 4px 0 8px; }
.crowd i {
  --s: 72px; --n: 24; flex: none; width: var(--s); height: var(--s); margin-right: 12px; border: 3px solid var(--ink); border-radius: 18px;
  background: #BFE4FF url(/assets/img/crowd.webp) no-repeat; background-size: calc(var(--n) * 100%) 100%;
  background-position: calc(var(--i) / (var(--n) - 1) * 100%) 0; box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}
.crowd i:nth-child(3n) { transform: translateY(6px) rotate(3deg); }
.crowd i:nth-child(3n+1) { transform: rotate(-3deg); }
.crowd-cap { font: 800 14px/1.3 var(--display); color: var(--navy); text-align: center; padding: 0 18px; text-wrap: balance; }
.crowd-cap b { font-weight: 900; }
@media (prefers-reduced-motion: reduce) { .crowd-track { animation: none; } }

/* ---------- story (growth chart) ---------- */
.story { padding: 78px 0 86px; }
.chart-card { margin-top: 34px; background: var(--paper); border: 4px solid var(--ink); border-radius: 28px; box-shadow: 0 8px 0 var(--ink), 0 26px 50px rgba(14, 37, 71, .14); padding: 18px 16px 14px; }
.chart { position: relative; height: clamp(250px, 62vw, 420px); margin: 6px 6px 30px 6px; }
.ch-days span {
  position: absolute; top: 0; bottom: -26px; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%);
  display: flex; align-items: flex-end; justify-content: center; font: 800 11.5px/1 var(--display); letter-spacing: .08em; color: var(--muted);
  border-left: 2px dashed var(--rule);
}
.ch-days span:first-child { border-left: 0; }
.ch-days span.alt { background: linear-gradient(180deg, rgba(108, 176, 242, .07), rgba(108, 176, 242, .14)); }
.ch-grid i { position: absolute; left: 0; right: 0; top: var(--y); border-top: 1px solid #E4EAF2; }
.ch-grid span { position: absolute; left: 0; top: -17px; font: 700 11px/1 var(--body); color: #8A94A3; }
.ch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-base { position: absolute; left: 0; right: 0; bottom: 0; border-top: 3px solid var(--ink); }
.js .ch-svg { clip-path: inset(0 100% 0 0); }
.js .chart.drawn .ch-svg { clip-path: inset(0 0 0 0); transition: clip-path 2.2s cubic-bezier(.45, .05, .25, 1); }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.pin::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; border: 4px solid var(--green);
}
.pin .lbl {
  position: absolute; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; padding: 7px 10px 7px; border-radius: 12px;
  background: #fff; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
}
.pin .lbl b { font: 900 15px/1 var(--display); color: var(--navy); }
.pin .lbl small { font: 700 10.5px/1.1 var(--body); color: var(--muted); }
.p1 .lbl { left: 14px; bottom: 8px; }
.p2 { display: none; }
.p2 .lbl { left: -20px; bottom: 18px; }
.p3 .lbl { right: 16px; bottom: 22px; }
.p4::before { width: 22px; height: 22px; background: var(--yel); border-color: var(--ink); }
.p4 .lbl { right: 18px; top: -30px; background: var(--yel); }
.ch-days span:first-child { justify-content: flex-start; }
.p4 .lbl b { font-size: 20px; color: var(--ink); }
.p4 .lbl small { color: var(--ink); }
.js .pin { opacity: 0; transform: translateY(6px) scale(.9); }
.js .chart.drawn .pin { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1); transition-delay: var(--d, 0s); }
.chart-card figcaption { font: 600 12.5px/1.4 var(--body); color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .js .ch-svg { clip-path: none; } .js .pin { opacity: 1; transform: none; } }

.facts { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.fact { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: 16px 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .16); }
.fact b { flex: none; min-width: 3.6em; font: 900 32px/1 var(--display); letter-spacing: -.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.fact p { font: 600 14.5px/1.4 var(--body); color: var(--text); }
.story-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.story-cta small { font: 800 13px/1.2 var(--display); color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- sale (Black Friday) ---------- */
.sale {
  position: relative; overflow: hidden; color: var(--on-night); scroll-margin-top: 62px;
  background:
    radial-gradient(720px 520px at 12% -4%, rgba(255, 210, 63, .22), transparent 70%),
    radial-gradient(640px 560px at 100% 30%, rgba(63, 191, 116, .14), transparent 70%),
    radial-gradient(720px 600px at 30% 100%, rgba(232, 54, 79, .12), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #060912 100%);
}
.sale::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.sale-in { position: relative; padding-top: 70px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 30px; }
.sale .h2 { color: #fff; max-width: 15em; }
.sale .h2 span { color: var(--yel); display: block; }
.sale .lead { color: var(--on-night-2); }
.sale .lead b { color: #fff; }
.sale .kicker { color: var(--yel); }

.bf-lock { position: relative; display: flex; flex-direction: column; align-items: center; margin: 4px 0 10px; }
.bf-pre { display: inline-flex; align-items: center; gap: 10px; font: 900 12.5px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: 14px; }
.bf-pre .star { width: 11px; height: 11px; }
.bf-word {
  display: block; font: 900 clamp(66px, 19.5vw, 150px)/.84 var(--display); letter-spacing: -.035em; color: var(--yel); text-align: center;
  text-shadow: 0 .045em 0 var(--yel-d), 0 .09em 0 #8A6405, 0 .2em .45em rgba(0, 0, 0, .55), 0 0 .5em rgba(255, 210, 63, .25);
  transform: rotate(-4deg);
}
.bf-lock .bf-pre { display: none; }
.burst {
  position: relative; order: -1; margin: 0 0 6px; width: 96px; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(14deg);
  filter: drop-shadow(0 6px 0 #000) drop-shadow(0 14px 22px rgba(0, 0, 0, .45));
}
.burst::before, .burst::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 57.8% 10.9%, 69.1% 3.8%, 72.6% 16.7%, 85.4% 14.6%, 83.3% 27.4%, 96.2% 30.9%, 89.1% 42.2%, 100% 50%, 89.1% 57.8%, 96.2% 69.1%, 83.3% 72.6%, 85.4% 85.4%, 72.6% 83.3%, 69.1% 96.2%, 57.8% 89.1%, 50% 100%, 42.2% 89.1%, 30.9% 96.2%, 27.4% 83.3%, 14.6% 85.4%, 16.7% 72.6%, 3.8% 69.1%, 10.9% 57.8%, 0% 50%, 10.9% 42.2%, 3.8% 30.9%, 16.7% 27.4%, 14.6% 14.6%, 27.4% 16.7%, 30.9% 3.8%, 42.2% 10.9%);
}
.burst::before { background: var(--ink); }
.burst::after { inset: 5px; background: radial-gradient(circle at 35% 30%, #FF6A7D, var(--red) 60%, #C71F38); }
.burst b, .burst i { position: relative; z-index: 1; display: block; color: #fff; font-style: normal; text-align: center; grid-area: 1 / 1; }
.burst b { font: 900 28px/1 var(--display); letter-spacing: -.03em; transform: translateY(-.22em); }
.burst i { font: 900 13px/1 var(--display); letter-spacing: .14em; transform: translateY(1.05em); }
@media (prefers-reduced-motion: no-preference) { .burst { animation: wobble 3s ease-in-out infinite; } }
@keyframes wobble { 0%, 100% { transform: rotate(14deg) scale(1); } 50% { transform: rotate(8deg) scale(1.07); } }

.clock { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.clock-label { display: inline-flex; align-items: center; gap: 9px; font: 800 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-2); }
.countdown.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 500px; }
.cd > div {
  position: relative; text-align: center; padding: 14px 0 11px; border-radius: 18px; border: 2px solid var(--n-line);
  background: linear-gradient(180deg, #1C2540 0%, #141B2E 50%, #10172A 50%, #0D1324 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 28px rgba(0, 0, 0, .4);
}
.cd > div::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: rgba(0, 0, 0, .55); }
.cd b { display: block; font: 900 clamp(34px, 10vw, 54px)/1 var(--display); color: var(--yel); font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-shadow: 0 0 24px rgba(255, 210, 63, .35); }
.cd span { display: block; margin-top: 7px; font: 800 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-3); }

/* deals */
.deals { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.deal {
  position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #141B2D, #0F1524); border: 2px solid var(--n-line);
  border-radius: 26px; overflow: hidden; box-shadow: 0 20px 44px rgba(0, 0, 0, .42); color: var(--on-night);
}
.deal-img { position: relative; background: #0E2547; }
.deal-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.off {
  position: absolute; left: 12px; top: 12px; transform: rotate(-7deg); font: 900 19px/1 var(--display); color: #fff; background: var(--red);
  border: 3px solid var(--ink); border-radius: 12px; padding: 8px 10px; box-shadow: 0 4px 0 rgba(0, 0, 0, .4);
}
.deal-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal-kind { font: 900 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.deal h3 { font: 900 21px/1.15 var(--display); color: #fff; text-wrap: balance; }
.deal p { font-size: 14px; line-height: 1.45; color: var(--on-night-2); }
.price-box { margin-top: auto; padding-top: 8px; }
.price-box .pp-promo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.was { width: 100%; font: 700 15px/1.2 var(--body); color: var(--on-night-3); }
.was s { text-decoration-color: var(--red); text-decoration-thickness: 2.5px; }
.now { font: 900 40px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.now small { font: 800 15px/1 var(--display); color: var(--on-night-2); letter-spacing: 0; margin-right: 3px; }
.save-tag { font: 900 12px/1 var(--display); color: var(--ink); background: var(--mint); border-radius: 999px; padding: 6px 9px; white-space: nowrap; }
.deal .btn { margin-top: 12px; width: 100%; white-space: normal; font-size: 16.5px; padding: 15px 16px; border-color: #000; box-shadow: 0 5px 0 #000, 0 12px 26px rgba(255, 210, 63, .14); }
.deal .btn:hover { box-shadow: 0 6px 0 #000, 0 14px 30px rgba(255, 210, 63, .2); }
.deal .btn:active { box-shadow: 0 1px 0 #000; }
.deal.best { border: 3px solid var(--yel); box-shadow: 0 0 0 6px rgba(255, 210, 63, .13), 0 26px 64px rgba(255, 210, 63, .18); }
.ribbon-best { display: flex; align-items: center; justify-content: center; gap: 8px; font: 900 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--yel); padding: 11px; }
.ribbon-best svg { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .deal:not(.best) { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; padding: 16px 16px 18px; }
  .deal:not(.best) .deal-body { display: contents; }
  .deal:not(.best) .deal-img { grid-column: 1; grid-row: 1 / span 3; border-radius: 16px; overflow: hidden; border: 2px solid var(--n-line); }
  .deal:not(.best) .off { left: auto; right: 4px; top: 4px; transform: rotate(-6deg); font-size: 12.5px; padding: 4px 6px; border-width: 2px; border-radius: 8px; }
  .deal:not(.best) .deal-kind, .deal:not(.best) h3, .deal:not(.best) p { grid-column: 2; }
  .deal:not(.best) h3 { font-size: 18px; }
  .deal:not(.best) .price-box { grid-column: 1 / -1; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--n-line); }
  .deal:not(.best) .price-box .pp-promo { align-items: center; }
  .deal:not(.best) .was { width: auto; }
  .deal:not(.best) .now { font-size: 30px; }
  .deal:not(.best) .btn { grid-column: 1 / -1; margin-top: 8px; }
}
.after { text-align: center; font: 700 14px/1.45 var(--body); color: var(--on-night-2); margin-top: -6px; }
.after b { color: var(--yel); }

.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-row li { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 12px 10px; }
.trust-row svg { width: 23px; height: 23px; flex: none; color: var(--yel); }
.trust-row span { display: flex; flex-direction: column; gap: 2px; font: 600 12px/1.3 var(--body); color: var(--on-night-2); }
.trust-row b { font: 800 13.5px/1.2 var(--display); color: #fff; }

/* peek: wall of course pages */
.peek { display: flex; flex-direction: column; gap: 20px; margin: 18px 0 4px; }
.peek-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.peek-head h3 { font: 900 clamp(22px, 5.6vw, 32px)/1.15 var(--display); color: #fff; max-width: 22em; text-wrap: balance; }
.wall { display: flex; flex-direction: column; gap: 16px; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-row { display: flex; width: max-content; animation: marq 64s linear infinite; padding: 8px 0 14px; }
.wall-row.rev { animation-direction: reverse; animation-duration: 72s; }
.wall img { width: auto; height: clamp(176px, 44vw, 270px); aspect-ratio: 640 / 909; margin-right: 16px; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.wall img:nth-child(odd) { transform: rotate(-1.6deg); }
.wall img:nth-child(even) { transform: rotate(1.4deg) translateY(6px); }
@media (prefers-reduced-motion: reduce) { .wall-row { animation: none; } }

.learn { display: grid; grid-template-columns: 1fr; gap: 12px; }
.learn-col { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.learn-col h3 { font: 900 19px/1.2 var(--display); color: #fff; }
.learn-col ul { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font: 500 14.5px/1.45 var(--body); color: #DCE4F5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%2315171D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.final {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 24px 20px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 210, 63, .14), rgba(255, 210, 63, .03) 60%); border: 2px solid rgba(255, 210, 63, .45);
}
.seal { width: 92px; height: 92px; flex: none; }
.final h3 { font: 900 24px/1.12 var(--display); color: #fff; }
.final p { color: var(--on-night-2); font-size: 15px; }
.final-txt { display: flex; flex-direction: column; gap: 6px; }
.final-cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 420px; }
.final-cta .btn { border-color: #000; box-shadow: 0 5px 0 #000, 0 14px 30px rgba(255, 210, 63, .2); }
.final-cta small { font: 700 12.5px/1.3 var(--body); color: var(--on-night-3); }
.final-cta small .countdown { color: var(--yel); font-weight: 800; font-variant-numeric: tabular-nums; }
.fee { text-align: center; font-size: 12.5px; color: var(--on-night-3); }
.more-link { align-self: center; display: inline-flex; align-items: center; gap: 8px; color: var(--yel); font: 800 15px/1 var(--display); text-underline-offset: 4px; }

/* ---------- how it works ---------- */
.how { padding: 76px 0 84px; background: linear-gradient(180deg, var(--sky-e), var(--sky-d)); }
.steps { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 16px; background: var(--paper); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); }
.steps .ic { position: relative; width: 56px; height: 56px; border-radius: 17px; border: 3px solid var(--ink); background: var(--yel); display: grid; place-items: center; }
.steps .ic svg { width: 28px; height: 28px; }
.steps .ic::after {
  counter-increment: s; content: counter(s); position: absolute; right: -10px; top: -10px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; border: 2.5px solid var(--ink); font: 900 11.5px/19px var(--display); text-align: center;
}
.steps h3 { font: 900 17.5px/1.2 var(--display); color: var(--ink); }
.steps p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.how-cta { margin-top: 26px; display: flex; justify-content: center; }

/* ---------- footer ---------- */
.lp-foot { background: var(--night); color: var(--on-night-2); padding: 40px 0 calc(110px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; }
.lp-foot .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lp-foot .brand { color: #fff; margin-bottom: 6px; }
.lp-foot .brand span { display: inline; }
.lp-foot a { color: #fff; font-weight: 800; }
.lp-foot .small { font-size: 12.5px; color: var(--on-night-3); max-width: 40em; }

/* ---------- Black Friday dock ---------- */
.dock {
  position: fixed; z-index: 45; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 20px));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 22px; color: #fff;
  background: rgba(8, 12, 22, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 2px solid var(--n-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45); transform: translate(-50%, 160%); transition: transform .4s cubic-bezier(.2, 1.1, .3, 1); visibility: hidden;
}
.dock.on { transform: translate(-50%, 0); visibility: visible; }
.dock .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dock .t > b { display: inline-flex; align-items: center; gap: 8px; font: 900 13.5px/1.1 var(--display); letter-spacing: .05em; color: var(--yel); white-space: nowrap; }
.dock .countdown { font: 700 12.5px/1 var(--body); color: var(--on-night-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dock .countdown b { color: #fff; font-weight: 800; }
.dock .btn { flex: none; padding: 12px 18px; font-size: 15px; border-color: #000; box-shadow: 0 4px 0 #000; }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* ---------- course page ---------- */
.c-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 50%, var(--sky-d) 100%); }
.c-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 34px; padding-bottom: 52px; }
.c-copy { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 640px; }
.c-copy .kicker { color: var(--navy); background: rgba(255, 255, 255, .7); border: 2px solid rgba(14, 37, 71, .16); border-radius: 999px; padding: 8px 12px; letter-spacing: .12em; }
.c-copy h1 { font: 900 clamp(38px, 10.6vw, 72px)/.98 var(--display); letter-spacing: -.015em; color: var(--navy); text-wrap: balance; }
.c-copy h1 .outlined { display: block; margin-top: .08em; font-size: 1.04em; }
.c-copy .lead { color: var(--navy); font-weight: 600; }
.c-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 420px; }
.c-ctas .link { font: 800 14.5px/1 var(--display); color: var(--navy); text-align: center; text-underline-offset: 4px; }
.c-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.c-visual { position: relative; width: min(84vw, 460px); }
.c-visual .cover { width: 100%; aspect-ratio: 1; border: 5px solid var(--ink); border-radius: 30px; transform: rotate(-2.5deg); box-shadow: 0 12px 0 var(--ink), 0 34px 60px rgba(14, 37, 71, .35); background: #22315C; }
.c-visual .burst { position: absolute; order: 0; margin: 0; right: -7%; top: -9%; width: clamp(96px, 26vw, 136px); }
.c-visual .float-tag { animation-duration: 4.6s; font-size: 13.5px; padding: 8px 12px; }
.c-visual .float-tag::after { display: none; }
.meta .chip-stat s, .c-chips s { text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--muted); }
.c-visual .ft1 { left: -5%; top: auto; bottom: 34%; }
.c-visual .ft2 { right: -5%; top: auto; bottom: 34%; animation-delay: -2s; }
.c-hero .c2 { top: 90%; }
.c-hero .c4 { top: 3%; }

.c-sale-in { padding-top: 64px; }
.course { padding: 76px 0 30px; }
.course + .course { padding-top: 46px; }
.course-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pages-wrap { min-width: 0; }
.course-head { display: flex; flex-direction: column; gap: 10px; }
.course-head .h2 { font-size: clamp(30px, 8vw, 46px); }
.course-head .lead { max-width: 34em; }
.course-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.toc { background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); padding: 6px 16px; counter-reset: none; }
.toc li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 13px 0; border-bottom: 2px dashed var(--rule); align-items: start; }
.toc li:last-child { border-bottom: 0; }
.toc .k { width: 34px; height: 34px; display: grid; place-items: center; font: 900 15px/1 var(--display); border: 2.5px solid var(--ink); border-radius: 11px; background: var(--yel); font-variant-numeric: tabular-nums; }
.toc li.bonus .k { background: var(--mint); }
.toc b { display: block; font: 800 15.5px/1.25 var(--display); color: var(--ink); }
.toc .d { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.pages { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gut-r) 18px var(--gut); margin: 0 calc(-1 * var(--gut-r)) 0 calc(-1 * var(--gut)); scrollbar-width: thin; }
.pages figure { flex: 0 0 62%; max-width: 280px; scroll-snap-align: center; }
.pages img { width: 100%; border: 3px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
.pages figcaption { margin-top: 9px; text-align: center; font: 700 12.5px/1.3 var(--body); color: var(--navy); }
.swipe { font: 700 12.5px/1 var(--body); color: var(--navy-2); text-align: center; }

.fit { padding: 60px 0 0; }
.fit-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card-list { background: var(--paper); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.card-list h3 { font: 900 19px/1.15 var(--display); }
.card-list ul { display: flex; flex-direction: column; gap: 9px; }
.card-list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.45; color: #2B3240; }
.card-list li b { font-weight: 800; color: var(--ink); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink);
  background: #3FBF74 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%2315171D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.card-list.no li::before { background: #FF8A80 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%2315171D' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.card-list.need { grid-column: 1 / -1; background: var(--yel-3); }
.card-list.need li::before { background: var(--yel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v6M10 14.5v.5' fill='none' stroke='%2315171D' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

.faq-sec { padding: 64px 0 86px; }
.faq { margin-top: 26px; background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); padding: 4px 18px; }
.faq details { border-bottom: 2px dashed var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; font: 800 15.5px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font: 900 17px/1 var(--display); background: var(--yel); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 17px; color: #333A46; font-size: 14.5px; line-height: 1.55; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .chip-stat { font-size: 13.5px; padding: 9px 13px; }
  .bf-lock .bf-pre { display: inline-flex; }
  .burst { position: absolute; order: 0; margin: 0; right: -16%; top: -12%; width: clamp(110px, 15vw, 150px); }
  .burst b { font-size: clamp(32px, 4.4vw, 44px); }
  .burst i { font-size: clamp(15px, 2vw, 20px); }
  .p2 { display: block; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; row-gap: 8px; padding: 22px 10px; }
  .stat b { font-size: clamp(26px, 5vw, 46px); }
  .st-ic { grid-row: auto; }
  .stat + .stat { border-top: 0; border-left: 2px dashed var(--rule); }
  .crowd i { --s: 84px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fact b { min-width: 0; font-size: 38px; }
  .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .learn { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; justify-items: start; align-content: start; padding: 20px; }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .pages figure { flex-basis: 40%; }
  .chart-card { padding: 26px 26px 18px; }
  .chart { margin: 8px 10px 34px 10px; }
  .pin .lbl b { font-size: 17px; }
  .p4 .lbl b { font-size: 24px; }
}
@media (min-width: 900px) {
  .burst { right: -23%; top: -14%; }
  .deals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 14px; }
  .deal.best { order: 2; transform: translateY(-14px); }
  .deals .deal:nth-child(2) { order: 1; }
  .deals .deal:nth-child(3) { order: 3; }
  .final { flex-direction: row; text-align: left; padding: 28px 32px; gap: 26px; }
  .final-txt { flex: 1; }
  .final-cta { width: auto; min-width: 340px; }
  .course-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
  .course-head { position: sticky; top: 96px; }
  .course .pages { margin: 0; padding: 4px 4px 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; overflow: visible; }
  .course .pages figure { max-width: none; }
  .course .swipe { display: none; }
  .c-sale-in { padding-top: 84px; }
}
@media (min-width: 980px) {
  .cloud { display: block; }
  .actor img { width: 68px; }
  .a3 { --y: 50%; }
  .c1 { --w: 220px; top: 9%; --t: 110s; --dl: -20s; }
  .c2 { --w: 150px; top: 46%; --t: 90s; --dl: -62s; opacity: .8; }
  .c3 { --w: 260px; top: 72%; --t: 130s; --dl: -95s; }
  .c4 { --w: 120px; top: 24%; --t: 80s; --dl: -40s; opacity: .7; }
  .hero { background: radial-gradient(900px 600px at 78% 40%, rgba(255, 255, 255, .35), transparent 70%), linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 48%, var(--sky-c) 82%, var(--sky-e) 100%); }
  .hero-in {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 64px;
    max-width: var(--max); margin: 0 auto; padding: 60px var(--gut-r) 96px var(--gut);
  }
  .hero-media { order: 2; position: sticky; top: 96px; align-self: start; width: 100%; max-width: 490px; justify-self: center; margin-top: 6px; }
  .hero-window { height: auto; aspect-ratio: 4 / 5; border: 5px solid var(--ink); border-radius: 36px; box-shadow: 0 14px 0 var(--ink), 0 40px 80px rgba(14, 37, 71, .38); transform: rotate(1.5deg); }
  .hero-window::after { background: linear-gradient(180deg, rgba(8, 12, 22, .16), rgba(8, 12, 22, 0) 28%); }
  .hero-card { display: block; position: absolute; z-index: 4; left: 4px; bottom: -58px; width: 340px; transform: rotate(-5deg) scale(.78); transform-origin: left bottom; }
  .hero-card .panel { box-shadow: 0 8px 0 var(--ink), 0 30px 60px rgba(14, 37, 71, .35); }
  .hero-card .note {
    position: absolute; z-index: 2; right: -18px; top: -24px; transform: rotate(7deg); font: 900 13px/1 var(--display); color: var(--ink);
    background: var(--yel); border: 3px solid var(--ink); border-radius: 12px; padding: 8px 11px; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); white-space: nowrap;
  }
  .hero-copy { order: 1; margin: 0; padding: 0; align-items: flex-start; text-align: left; }
  .hero-copy > * { max-width: 560px; }
  .hero h1 { font-size: clamp(76px, 7.4vw, 104px); }
  .hero .lede { font-size: 19px; max-width: 26em; }
  .hero-meta { justify-content: flex-start; }
  .stats-sec { margin-top: -52px; }
  .story { padding: 110px 0 116px; }
  .sale-in { padding-top: 100px; padding-bottom: 110px; gap: 38px; }
  .how { padding: 100px 0 110px; }
  .c-hero-in { flex-direction: row; justify-content: space-between; gap: 56px; padding-top: 64px; padding-bottom: 92px; }
  .c-copy { align-items: flex-start; text-align: left; flex: 1; }
  .c-ctas { flex-direction: row; align-items: center; max-width: none; }
  .c-chips { justify-content: flex-start; }
  .c-visual { width: 440px; flex: none; }
}
@media (min-width: 1240px) {
  .hero-card { left: -60px; transform: rotate(-5deg) scale(.82); }
}
