/* ==========================================================================
   Training 101 — v3: code-editor theme. JetBrains Mono + IBM Plex Sans.
   Dark IDE surface, syntax-highlight accents, 1px borders, no glows.
   ========================================================================== */
:root {
  --bg: #0B0E14;
  --bg-2: #0E1219;
  --panel: #11151D;
  --panel-2: #161B25;
  --line: #232A36;
  --line-2: #303846;
  --text: #E6EDF3;
  --muted: #9BA7B4;
  --subtle: #7D8794;
  --yellow: #F2CC60;     /* primary accent */
  --blue: #79C0FF;       /* keywords / links */
  --purple: #D2A8FF;     /* functions */
  --coral: #FF7B72;      /* operators / highlights */
  --string: #A5D6FF;
  --ok: #7EE787;
  --wa: #25D366;

  /* aliases used by the chat + pop-up blocks */
  --ink: var(--text); --navy: var(--text); --paper: var(--panel); --cream: var(--bg);
  --rust: var(--yellow); --orange: var(--yellow); --on-dark: var(--muted);
  --hair: rgba(255,255,255,.07); --hair-2: rgba(255,255,255,.13);
  --shadow: 0 24px 48px -24px rgba(0,0,0,.7); --shadow-hi: 0 32px 64px -24px rgba(0,0,0,.8);

  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: var(--mono);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --r: 10px;
  --pad: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--yellow); color: var(--bg); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--bg); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 16px; }
.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.container.narrow { width: min(980px, 100%); }
.center { text-align: center; }
.grain { display: none; }

/* ---------- Type ---------- */
.display, .display-2, .h2, h3 { font-family: var(--mono); font-weight: 700; color: var(--text); letter-spacing: -.04em; }
.display { font-size: clamp(34px, 4.5vw, 62px); line-height: 1.08; }
.display::after { content: ""; display: inline-block; width: .55em; height: .95em; margin-left: .12em; background: var(--yellow); vertical-align: -.1em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.display-2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; }
.h2 { font-size: clamp(27px, 3.3vw, 44px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.03em; }
em { font-style: normal; color: var(--yellow); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; margin-top: 24px; }
.sub { font-size: 17px; color: var(--muted); max-width: 56ch; }
.fine { font-size: 14px; color: var(--subtle); margin-top: 16px; }

/* labels look like code comments */
.eyebrow { display: block; font-family: var(--mono); font-size: 13.5px; color: var(--subtle); margin-bottom: 18px; letter-spacing: 0; }
.eyebrow::before { content: "// "; color: var(--line-2); }
.eyebrow .dot { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--text); text-decoration: none;
  font-family: var(--mono); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); border-color: var(--subtle); background: var(--panel-2); }
.btn:active { transform: translateY(0); }
.btn-ic { display: inline-grid; place-items: center; transition: transform .3s var(--ease); }
.btn-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ic { transform: translateX(3px); }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: #0B0E14; }
.btn-primary:hover { background: #F7D97F; border-color: #F7D97F; }
.btn-ghost, .btn-ghost-light { background: transparent; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; justify-content: space-between; }
.wa-ic { width: 18px; height: 18px; fill: var(--wa); }
.text-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.link-light { color: var(--blue); font-family: var(--mono); font-size: 14.5px; text-underline-offset: 4px; }

/* ---------- Panels ---------- */
.shell { padding: 0; background: none; border-radius: var(--r); }
.shell > .core { height: 100%; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 32px); }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 16px; border-radius: 10px; background: rgba(17,21,29,.86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--yellow); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 6px 5px; }
.brand-mark i { width: 3.5px; background: #0B0E14; }
.brand-mark i:nth-child(1) { height: 6px; } .brand-mark i:nth-child(2) { height: 10px; } .brand-mark i:nth-child(3) { height: 14px; }
.brand-name { font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.brand-name em { color: var(--yellow); }
.brand-name em::before { content: "_"; color: var(--subtle); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 8px 10px; border-radius: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; transition: color .3s, background-color .3s; }
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.burger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 18.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 18.5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 35; background: rgba(11,14,20,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.menu.open { opacity: 1; visibility: visible; }
.menu ul { display: grid; gap: 6px; }
.menu a { display: inline-block; font-family: var(--mono); font-weight: 700; letter-spacing: -.03em; font-size: clamp(26px, 7vw, 38px); color: var(--text); text-decoration: none; padding: 6px 0; }
.menu a::before { content: "> "; color: var(--subtle); }
.menu .menu-cta { color: var(--yellow); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; position: relative; border-top: 1px solid var(--line); }
.section-ice, .section-dark { background: var(--bg-2); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sub { margin-top: 18px; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 0; position: relative; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; padding-bottom: clamp(64px, 8vw, 104px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust { display: grid; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--line-2); font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.trust li::before { content: "✓ "; color: var(--ok); }
.trust strong { color: var(--text); font-weight: 600; }
.trust a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.trust a:hover { text-decoration-color: var(--yellow); }

/* editor window */
.win { border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow-hi); }
.win-bar { display: flex; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding-left: 14px; }
.dash-dots { display: flex; gap: 6px; align-items: center; margin-right: 14px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.tab { font-family: var(--mono); font-size: 12.5px; color: var(--subtle); padding: 11px 16px; border-left: 1px solid var(--line); }
.tab.on { color: var(--text); background: var(--panel); box-shadow: inset 0 2px 0 var(--yellow); }
.code { font: 500 13.5px/1.75 var(--mono); padding: 16px 0; counter-reset: ln; overflow-x: auto; color: var(--text); }
.code .l { display: block; padding-right: 18px; white-space: pre; }
.code .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: #4B5563; }
.k { color: var(--coral); } .f { color: var(--purple); } .s { color: var(--string); } .c { color: var(--subtle); font-style: italic; } .n { color: var(--blue); }
.grid-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--subtle); padding: 9px 16px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-head b { color: var(--text); font-weight: 600; }
.grid { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13.5px; }
.grid th, .grid td { text-align: left; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.grid th { color: var(--subtle); font-weight: 500; }
.grid td:last-child, .grid th:last-child { text-align: right; }
.grid td:last-child { color: var(--blue); }
.grid tr:first-of-type + tr td:first-child, .grid tbody tr:first-child td:first-child { color: var(--yellow); }
.term { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 11px 16px; background: var(--bg); }
.term b { color: var(--ok); font-weight: 500; }
.term::before { content: "$ "; color: var(--subtle); }

.marquee { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--mono); font-size: 14px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee span::after { content: "/"; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quiz ---------- */
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 18px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; cursor: pointer; transition: border-color .25s, background-color .25s; }
.opt:hover { border-color: var(--line-2); background: var(--panel-2); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .box { flex: none; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--subtle); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.opt .box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #0B0E14; border-bottom: 2px solid #0B0E14; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.opt input:checked ~ .box { background: var(--yellow); border-color: var(--yellow); }
.opt input:checked ~ .box::after { transform: rotate(-45deg) scale(1); }
.opt:has(input:checked) { border-color: var(--yellow); background: rgba(242,204,96,.06); }
.opt input:focus-visible ~ .box { outline: 2px solid var(--blue); outline-offset: 3px; }
.opt-wide { grid-column: 1 / -1; }
.quiz-foot { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 24px; }
.quiz-hint { color: var(--coral); font-family: var(--mono); font-size: 13.5px; }
.result { margin-top: 28px; }
.result.show { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.result .core { border-color: var(--yellow); }
.result-core { padding: clamp(24px, 3.4vw, 40px) !important; }
.result-title { font-size: clamp(28px, 3.6vw, 42px); }
.result-price { font-family: var(--mono); font-size: 14.5px; color: var(--yellow); margin-top: 6px; }
.result-lines { margin-top: 22px; display: grid; gap: 10px; }
.result-lines li, .ticks li, .feat li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; color: var(--text); }
.result-lines li::before, .ticks li::before, .feat li::before { content: "✓"; font-family: var(--mono); color: var(--ok); }
.result-alt { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.result-alt:empty { display: none; }
.result-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.bento .core { display: flex; flex-direction: column; gap: 12px; }
.b-sql { grid-column: span 7; grid-row: span 2; } .b-xl, .b-pbi { grid-column: span 5; } .b-note { grid-column: span 12; }
.b-sql .core { border-color: var(--line-2); padding: clamp(24px, 3.4vw, 40px); }
.b-sql h3 { font-size: clamp(38px, 4.6vw, 60px); }
.bento h3 { font-size: 24px; }
.bento p { color: var(--muted); max-width: 48ch; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; color: var(--blue); }
.tag::before { content: "# "; color: var(--line-2); }
.ic-lg { width: 40px; height: 40px; fill: none; stroke: var(--purple); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 6px; }
.b-sql .ic-lg { width: 52px; height: 52px; stroke: var(--yellow); }
.b-xl .ic-lg { stroke: var(--ok); } .b-pbi .ic-lg { stroke: var(--yellow); }
.topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.topics li { font-family: var(--mono); font-size: 12.5px; color: var(--string); padding: 5px 10px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); }
.code-chip { margin-top: auto; padding: 14px 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font: 500 13px/1.5 var(--mono); overflow-x: auto; }
.code-chip::before { content: "mysql> "; color: var(--ok); }
.b-note .core { background: none; border: 1px dashed var(--line-2); text-align: center; padding: 32px 20px; }
.big-quote { font-family: var(--mono); font-weight: 600; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -.03em; color: var(--text); max-width: 34ch; margin: 0 auto !important; }
.big-quote::before { content: "/* "; color: var(--subtle); } .big-quote::after { content: " */"; color: var(--subtle); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.story-photo { position: sticky; top: 100px; }
.portrait { padding: 0 !important; overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.whoami { font: 500 14px/1.8 var(--mono); padding: 18px 20px 22px; color: var(--text); white-space: pre-wrap; }
.whoami .p { color: var(--ok); } .whoami .o { color: var(--muted); }
.portrait-cap { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-2); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.portrait-cap b { font-family: var(--mono); font-size: 16px; }
.portrait-cap span { font-size: 13px; color: var(--muted); }
.story-links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; font-family: var(--mono); font-size: 13px; color: var(--text); transition: border-color .25s; }
.pill-link:hover { border-color: var(--yellow); }
.pill-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prose { margin-top: 28px; display: grid; gap: 18px; font-size: 18px; line-height: 1.75; color: #C5CED8; max-width: 60ch; }
.prose strong { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--yellow); }
.drop { font-family: var(--mono); font-weight: 600; font-size: clamp(20px, 2vw, 24px); letter-spacing: -.03em; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.stat { padding: 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); color: var(--yellow); letter-spacing: -.04em; line-height: 1.15; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.outcomes li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.num { display: block; font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 14px; }
.num::before { content: "["; color: var(--line-2); } .num::after { content: "]"; color: var(--line-2); }
.outcomes p { font-size: 17px; line-height: 1.5; color: var(--text); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.phase { padding: 22px 20px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.phase .wk::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }
.p1 { --c: var(--subtle); } .p2 { --c: var(--ok); } .p3 { --c: var(--yellow); } .p4 { --c: var(--purple); } .p5 { --c: var(--blue); }
.wk { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--c); margin-bottom: 14px; }
.phase h3 { font-size: 21px; margin-bottom: 8px; }
.phase p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.proof-grid .core { display: flex; flex-direction: column; gap: 12px; }
.proof-grid h3 { font-size: 19px; }
.proof-grid p { font-size: 15px; color: var(--muted); }
.ic-md { width: 30px; height: 30px; fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.proof-grid article:nth-child(2) .ic-md { stroke: var(--text); } .proof-grid article:nth-child(3) .ic-md { stroke: var(--blue); } .proof-grid article:nth-child(4) .ic-md { stroke: var(--purple); }

/* ---------- Paths ---------- */
.paths { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.path { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3.4vw, 36px) !important; }
.path-no { font-family: var(--mono); font-size: 12.5px; color: var(--blue); }
.path h3 { font-size: clamp(26px, 3vw, 36px); }
.path p { color: var(--muted); }
.paths-or { font-family: var(--mono); font-size: 13px; color: var(--yellow); padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 6px; }
.ticks { display: grid; gap: 8px; margin-top: 6px; }
.paths-proof { margin-top: 16px; }
.proof-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 26px !important; }
.proof-row > div { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.proof-num { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-weight: 700; color: var(--yellow); letter-spacing: -.05em; line-height: 1; }
.proof-row span { max-width: 40ch; color: var(--muted); }
.paths-proof .fine { text-align: center; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan .core { display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 3.2vw, 36px); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font-size: 23px; }
.badge { flex: none; font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); }
.badge-hot { background: var(--yellow); border-color: var(--yellow); color: #0B0E14; font-weight: 600; }
.plan-desc { color: var(--muted); font-size: 15px; }
.price { font-family: var(--mono); font-size: clamp(54px, 6vw, 76px); font-weight: 700; color: var(--text); letter-spacing: -.06em; line-height: 1; margin-top: 22px; }
.price .cur { font-size: .45em; vertical-align: top; margin-right: 4px; position: relative; top: .25em; color: var(--subtle); letter-spacing: 0; }
.price .per { font-size: 15px; letter-spacing: 0; color: var(--subtle); font-weight: 500; margin-left: 8px; }
.price-note { font-family: var(--mono); font-size: 13px; color: var(--subtle); margin-bottom: 18px; }
.price + .feat { margin-top: 18px; }
.feat { display: grid; gap: 10px; padding: 22px 0 26px; border-top: 1px dashed var(--line-2); margin-bottom: auto; }
.plan-hi .core { border-color: var(--yellow); background: linear-gradient(180deg, rgba(242,204,96,.05), transparent 40%), var(--panel); }
.ai-panel { margin: -6px 0 26px; padding: 16px 18px; border-radius: 8px; background: var(--bg); border: 1px solid rgba(210,168,255,.35); color: var(--muted); font-size: 14.5px; }
.ai-title { display: flex; align-items: center; gap: 8px; color: var(--purple); font-family: var(--mono); font-size: 12.5px; margin-bottom: 6px; }
.ai-title svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.step-n { display: inline-block; font-family: var(--mono); font-size: 13px; color: #0B0E14; background: var(--yellow); padding: 3px 9px; border-radius: 5px; margin-bottom: 18px; }
.step-n::before { content: "step "; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq-grid .sub { margin-top: 18px; }
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-family: var(--mono); font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; color: var(--text); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--yellow); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { background: var(--panel-2); }
.faq details p { padding: 4px 22px 22px; color: var(--muted); font-size: 16px; background: var(--panel-2); }
.faq details a { color: var(--blue); }

/* ---------- Final + footer ---------- */
.final .container { display: flex; flex-direction: column; align-items: center; }
.final .display-2 { max-width: 18ch; }
.final .sub { margin-top: 20px; }
.final-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); padding: 56px 0 110px; font-size: 14.5px; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-tag { margin-top: 12px; max-width: 38ch; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 13.5px; }
.foot-links a { text-decoration: none; color: var(--text); }
.foot-links a:hover { color: var(--yellow); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--subtle); }

/* ---------- WhatsApp float + panel ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(37,211,102,.14), 0 16px 32px -10px rgba(16,120,60,.55);
  transition: transform .5s var(--ease);
}
.wa-fab:hover { transform: scale(1.07) rotate(-6deg); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.45); animation: ping 2.6s var(--ease-out) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
.wa-panel {
  position: fixed; right: 24px; bottom: 100px; z-index: 47; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 130px)); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: #EFEAE2; box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -24px rgba(24,33,58,.45);
  animation: pop .55s var(--ease) both; transform-origin: bottom right;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.wa-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--orange); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.wa-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.wa-status { font-size: 12.5px; opacity: .85; line-height: 1.3; min-height: 1.3em; }
.wa-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; }
.wa-thread {
  flex: 1; overflow-y: auto; padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 6px;
  background-image: radial-gradient(rgba(7,94,84,.07) 1px, transparent 1px); background-size: 14px 14px; overscroll-behavior: contain;
}
.wa-day { align-self: center; font-size: 11.5px; font-weight: 600; color: #54656F; background: #fff; padding: 4px 10px; border-radius: 8px; margin-bottom: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.b { position: relative; max-width: 82%; padding: 7px 10px 8px 11px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.07); animation: msgIn .35s var(--ease) both; word-wrap: break-word; }
.b time { float: right; margin: 6px 0 -4px 10px; font-size: 10.5px; color: #667781; }
.b-bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.b-me { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.b-me time::after { content: " ✓✓"; color: #53BDEB; letter-spacing: -2px; }
.b-bot + .b-me, .b-me + .b-bot { margin-top: 6px; }
.b-sum { white-space: pre-line; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 10px; border-top-left-radius: 2px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.07); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-replies { flex: none; display: none; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 8px 12px 10px; max-height: 220px; overflow-y: auto; }
.wa-replies.on { display: flex; }
.qr { border: 0; padding: 9px 14px; border-radius: 999px; background: #fff; color: #008069; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(0,128,105,.3), 0 1px 1px rgba(0,0,0,.05); animation: msgIn .35s var(--ease) both; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.qr:hover { background: #008069; color: #fff; transform: translateY(-1px); }
.qr-main { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; background: var(--wa); color: #fff; font-size: 15.5px; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(16,120,60,.6); }
.qr-main:hover { background: #1EBE5A; }
.qr-main svg { width: 18px; height: 18px; fill: #fff; }
.qr-ghost { background: transparent; box-shadow: none; color: #54656F; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.qr-ghost:hover { background: transparent; color: #111B21; }
.wa-composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; background: #F0F2F5; }
.wa-text { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 22px; padding: 0 16px; font: inherit; font-size: 15px; background: #fff; color: #111B21; }
.wa-text:focus { outline: none; box-shadow: 0 0 0 2px #00A884; }
.wa-text:disabled { background: #F7F8FA; }
.wa-text:disabled::placeholder { color: #A5B0B8; }
.wa-go { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #00A884; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.wa-go:disabled { opacity: .35; cursor: default; }
.wa-go:not(:disabled):hover { transform: scale(1.06); }
.wa-go svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }

/* ---------- Lead gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 20px;
  background: rgba(24, 33, 58, .38); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  animation: fade .5s var(--ease) both; overflow-y: auto;
}
@keyframes fade { from { opacity: 0; } }
.gate-card { width: min(480px, 100%); animation: rise .8s var(--ease) both; }
.gate-card > .core { padding: clamp(28px, 4vw, 40px); }
.gate-card .eyebrow { margin-bottom: 18px; }
.gate-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 40px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.gate-desc { margin-top: 12px; color: var(--muted); font-size: 16px; }
.gate-form { display: grid; gap: 16px; margin-top: 24px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input {
  width: 100%; height: 52px; border: 0; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #FAF7F1; box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.field input::placeholder { color: #9AA3B2; }
.field input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--rust); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C0392B; }
.phone-wrap { position: relative; }
.phone-wrap .cc { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--navy); pointer-events: none; }
.phone-wrap input { padding-left: 44px; }
.phone-wrap.intl .cc { display: none; }
.phone-wrap.intl input { padding-left: 16px; }
.field-help { margin-top: 6px; font-size: 13px; color: var(--subtle); }
.field-err { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #B42318; }
.field-err:empty { display: none; }
.gate-fine { font-size: 13px; color: var(--subtle); text-align: center; }
body.gated { overflow: hidden; }

/* chat + pop-up on the dark theme */
.wa-avatar { background: #0B0E14; color: var(--yellow); font-style: normal; font-weight: 700; }
.wa-panel { border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -24px rgba(0,0,0,.8); }
.gate { background: rgba(5,7,10,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gate-card > .core { border-color: var(--line-2); }
.gate-title { font-family: var(--mono); font-weight: 700; letter-spacing: -.04em; font-size: clamp(24px, 3.2vw, 32px); }
.field label { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.field input { background: var(--bg); color: var(--text); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 15px; }
.field input::placeholder { color: #5B6573; }
.field input:focus { background: var(--bg); box-shadow: inset 0 0 0 2px var(--yellow); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--coral); }
.field-err { color: var(--coral); }
.phone-wrap .cc { color: var(--muted); font-family: var(--mono); font-size: 15px; }


/* ---------- Reviews ---------- */
.proof-bar { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-bottom: 24px; }
.proof-bar li { padding: 16px 18px; }
.proof-bar li + li { border-left: 1px solid var(--line); }
.proof-bar b { display: block; font-family: var(--mono); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.04em; color: var(--yellow); }
.proof-bar span { font-size: 13px; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 12px; }
.review { break-inside: avoid; margin: 0 0 12px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.review .stars { font-size: 14px; letter-spacing: 2px; color: var(--yellow); margin-bottom: 10px; }
.review .stars span { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.review figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: grid; gap: 2px; }
.review figcaption b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text); }
.review figcaption span { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.review figcaption a { color: var(--blue); text-decoration: none; }
.review figcaption a::before { content: "✓ "; color: var(--ok); }
@media (max-width: 860px) { .proof-bar { grid-template-columns: 1fr 1fr; } .proof-bar li:nth-child(odd) { border-left: 0; } .proof-bar li:nth-child(n+3) { border-top: 1px solid var(--line); } .proof-bar li:last-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .p5 { grid-column: span 2; }
  .proof-grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { gap: 10px; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 112px; }
  .hero-grid, .sec-head.split, .story-grid, .faq-grid { grid-template-columns: 1fr; }
  .sec-head.split { gap: 16px; }
  .story-photo { position: static; max-width: 460px; }
  .quiz-grid, .bento, .outcomes, .paths, .plans { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .paths-or { justify-self: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .code { font-size: 12px; }
  .code .l::before { width: 34px; padding-right: 12px; }
  .timeline, .proof-grid, .steps { grid-template-columns: 1fr; }
  .p5 { grid-column: auto; }
  .quiz-foot { flex-direction: column-reverse; align-items: stretch; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .wa-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-panel { right: 0; left: 0; bottom: 0; width: 100%; height: min(600px, 82dvh); border-radius: 14px 14px 0 0; transform-origin: bottom center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* bot trap: hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
