
/* Layout: one dark TikTok-style page; solid display type (no glitch, Zars 2026-10-25), bold module tiles in true sequence, yellow-basket amber marks the core module */
:root {
  --bg: #0A0A0B;
  --panel: #141416;
  --panel-2: #1C1C1F;
  --line: #2C2C31;
  --fg: #F5F5F6;
  --muted: #A3A3AB;
  --cyan: #25F4EE;
  --pink: #FE2C55;
  --pink-soft: #FF7A93;
  --amber: #FFB800;
  --on-amber: #1A1200;
  --on-amber-2: #4A3500;
  --paper: #F6F6F4;
  --ink: #121214;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  padding-inline: 16px;
  padding-block: 0 64px;
}
.wrap { max-width: 1040px; margin-inline: auto; display: grid; gap: 72px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); font-weight: 900; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 105%; }
p { margin: 0; max-width: 65ch; }
.muted { color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.sec { display: grid; gap: 24px; }
.sec-head { display: grid; gap: 10px; }

.status {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding-block: 12px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.pill.draft { border-color: var(--amber); color: var(--amber); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; padding-top: 24px; }
.hero h1 { font-size: clamp(2rem, 6.2vw, 4.4rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; letter-spacing: -0.03em; margin-top: 10px; }
.hero h1 .amber { color: var(--amber); }
.hero .disc { font-size: clamp(1.05rem, 2.2vw, 1.2rem); font-weight: 600; margin-top: 18px; max-width: 44ch; padding-left: 12px; border-left: 3px solid var(--amber); }
.hero .tag { font-size: clamp(1.1rem, 2.4vw, 1.35rem); margin-top: 14px; max-width: 32ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stat.life b { font-size: 1.35rem; padding-top: 0.3rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.stat b { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat.hot b { color: var(--cyan); }

.phone {
  width: min(280px, 100%); aspect-ratio: 9 / 16; justify-self: center;
  background: #050505; border: 7px solid #222226; border-radius: 30px;
  position: relative; overflow: hidden;
}
.phone .tabs { text-align: center; font-size: 13px; color: #BDBDC3; padding-top: 14px; }
.phone .tabs b { color: #FFFFFF; font-weight: 600; border-bottom: 2px solid #FFFFFF; padding-bottom: 2px; }
.phone .copy { position: absolute; left: 18px; right: 50px; top: 74px; display: grid; gap: 12px; }
.phone .who { justify-self: start; background: var(--pink); color: #FFFFFF; font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.phone .ttl { font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 2.5rem; line-height: 0.92; letter-spacing: -0.02em; }
.phone .ttl .amber { color: var(--amber); }
.phone .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.phone .chips span { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: #FFFFFF; color: #0A0A0B; font-weight: 600; }
.phone .chips span.c { background: var(--cyan); color: #04343A; }
.rail { position: absolute; right: 10px; bottom: 100px; display: grid; gap: 16px; }
.rail svg { width: 24px; height: 24px; stroke: #FFFFFF; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone .cap { position: absolute; left: 14px; right: 52px; bottom: 70px; font-size: 13px; line-height: 1.35; }
.phone .cap b { font-weight: 600; }
.phone .cap span { color: #D2D2D7; }
.basket {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: var(--amber); color: var(--on-amber); border-radius: 9px;
  padding: 8px 10px; font-size: 13px; font-weight: 600; line-height: 1.2;
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: center;
}
.basket svg { width: 18px; height: 18px; stroke: var(--on-amber); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.basket svg { grid-row: span 2; }
.basket span:last-child { font-size: 11px; font-weight: 500; } /* 2 short lines, so the bar stays under the caption instead of growing over it */

.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.box .lbl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.box.promise { grid-column: span 2; background: var(--panel-2); border-color: var(--cyan); }
.box.promise q { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.3rem; line-height: 1.25; quotes: "\201C" "\201D"; }
.box.warn { border-color: var(--pink); grid-column: span 2; }

.loop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; display: grid; }
.node b { font-family: var(--display); font-weight: 800; font-stretch: 110%; }
.node span { font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.arr { color: var(--muted); font-family: var(--mono); }
.node.rep { border: 1.5px dashed var(--amber); }
.node.rep b { color: var(--amber); }
.leaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.leak { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.leak .step { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.leak b { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.1rem; }
.leak .fix { font-family: var(--mono); font-size: 12px; color: var(--amber); }

.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mod { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.mod.wide { grid-column: span 2; }
.mod-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.num { font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 3.4rem; line-height: 0.85; color: var(--cyan); font-variant-numeric: tabular-nums; }
.mod.rules .num { color: var(--pink); }
.count { font-family: var(--mono); font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.mod h3 { font-size: 1.45rem; font-weight: 900; font-stretch: 112%; }
.solves { font-size: 14px; color: var(--muted); }
.solves em { color: var(--fg); font-style: normal; }
.mod ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.mod ol > li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 6px; font-size: 14.5px; }
.mod ol > li > span:first-child { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.mod ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 3px; color: var(--muted); font-size: 13.5px; }
.credit { font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.eg { display: block; margin-top: 6px; padding: 8px 10px; border-left: 3px solid var(--cyan); background: var(--panel-2); font-size: 13.5px; }
.ws { font-family: var(--mono); font-size: 11px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.tf { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--pink); color: var(--pink-soft); white-space: nowrap; }
.no { color: var(--pink-soft); }
.ok { color: var(--cyan); }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin-top: 10px; font-size: 13.5px; }
.pairs .h { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pairs .bad { color: var(--muted); }
.pairs .bad::before { content: "✗ "; color: var(--pink-soft); }
.pairs .good::before { content: "✓ "; color: var(--cyan); }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.mod.core { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.mod.core .num { color: var(--on-amber); }
.mod.core .solves, .mod.core ul, .mod.core ol > li > span:first-child, .mod.core .ws { color: var(--on-amber-2); }
.mod.core .solves em { color: var(--on-amber); }
.mod.core .ws { border-top-color: var(--on-amber-2); }
.mod.core .credit { color: var(--on-amber); text-decoration: underline; text-underline-offset: 2px; }
.coretag { font-family: var(--mono); font-size: 11px; background: var(--on-amber); color: var(--amber); padding: 2px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

.chart { display: grid; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.row { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr) 4.6em; gap: 14px; align-items: center; }
.row .l { font-size: 14px; }
.track { height: 20px; background: var(--panel-2); border-radius: 4px; position: relative; overflow: hidden; }
.bar { position: absolute; inset: 0 auto 0 0; background: #5E5E66; border-radius: 4px; }
.row.top .bar { background: var(--amber); }
.v { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.axis { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr) 4.6em; gap: 14px; }
.ticks { position: relative; height: 18px; border-top: 1px solid var(--line); }
.ticks span { position: absolute; top: 3px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.ticks span:first-child { transform: none; }
.src { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.sheet { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(18px, 4vw, 32px); display: grid; gap: 14px; max-width: 720px; }
.sheet-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: baseline; border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.sheet-head h3 { font-size: 1.6rem; font-weight: 900; font-stretch: 118%; }
.sheet-head span, .sheet .foot { font-family: var(--mono); font-size: 12px; color: #55555C; }
.fillin { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; align-items: end; font-family: var(--mono); font-size: 12px; color: #55555C; }
.fillin i { border-bottom: 1.5px solid var(--ink); height: 1.5em; }
.sheet .rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rule { display: grid; grid-template-columns: 1.9em minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #D5D5D1; font-size: 14px; }
.rule .n { font-family: var(--mono); font-size: 12px; color: #6B6B72; }
.circles { display: flex; gap: 5px; }
.circles span { width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.total b { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: 1.5rem; }
.verdict { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; }
.verdict span { padding: 3px 8px; border: 1px solid #BDBDB8; border-radius: 4px; }
.verdict span:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cols3 ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 14.5px; }
.cols3 li::marker { color: var(--cyan); }
.bonus { display: flex; flex-wrap: wrap; gap: 8px; }
.bonus span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.bonus span.new { border-color: var(--cyan); }
.log { display: grid; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.log div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.log div:first-child { border-top: 0; }
.log b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--cyan); padding-top: 2px; }

[hidden] { display: none !important; }
.qr { display: block; width: min(300px, 100%); height: auto; margin: 6px 0; border-radius: 14px; } /* .sec sets display:grid, which would beat the UA hidden rule */
.proofs { display: grid; gap: 14px; }
.proof { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 22px; align-items: center; }
.proof .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.proof img { display: block; width: 100%; height: auto; }
.proof .tag { display: block; background: var(--amber); color: var(--on-amber); font-weight: 700; font-size: 13.5px; padding: 6px 10px; }
.proof figcaption { display: grid; gap: 8px; }
.proof .lbl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.proof .big { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.05; }
.proof .mine { font-weight: 700; color: var(--cyan); }
.les .proof { grid-template-columns: 1fr; gap: 12px; padding: 12px; }

a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr 1fr; }
  .leaks { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .offer, .leaks, .mods, .sheet .rules, .two-cols, .pairs, .proof { grid-template-columns: 1fr; }
  .box.warn { grid-column: auto; }
  .pairs .h { display: none; }
  .pairs .good { margin-bottom: 6px; }
  .box.promise, .mod.wide { grid-column: auto; }
  .row, .axis { grid-template-columns: minmax(0, 1fr) 4.2em; gap: 4px 10px; }
  .row .l { grid-column: 1 / -1; }
  .axis > div:first-child { display: none; }
  .log div { grid-template-columns: 1fr; gap: 2px; }
}
/* Builder 3D pack (2026-10-25): hero basket + module icons, renders from zars-3d. Decorative images: the
   headings carry the meaning, so alt="" and screen readers skip them. Nothing goes on the proof screenshots. */
.hero-art { position: relative; justify-self: center; width: min(280px, 100%); }
.hero-art .phone { width: 100%; }
.hero-basket { position: absolute; top: -54px; right: -58px; width: 132px; height: 132px; pointer-events: none; }
.mod-ico { width: 56px; height: 56px; flex: none; margin: -2px auto -2px 4px; }
.mod-top:has(.mod-ico) { flex-wrap: wrap; row-gap: 8px; } /* a long tag (Core module) drops under the number on narrow phones */
@media (max-width: 620px) {
  .hero-basket { top: -46px; right: -36px; width: 100px; height: 100px; }
  .mod-ico { width: 52px; height: 52px; }
}
/* Lesson cards (v4.23, Zars 2026-10-25: modules readable on a phone, with visuals). One card per lesson: a key rule on top,
   3-5 bullets, the rest in "Tingnan pa". Icons are Builder's one-color SVGs, tinted with a CSS mask; a missing file just shows nothing. */
.lessons { display: grid; gap: 10px; align-items: start; }
.mod.wide .lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.les { background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 12px; min-width: 0; }
.les-h { display: flex; align-items: center; gap: 8px; }
.les-h .n { font-family: var(--mono); font-size: 12px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.les-h h4 { margin: 0; font-family: var(--body); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; background: var(--cyan); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.key { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 106%; font-size: 1.15rem; line-height: 1.3; }
.mod .les ul { margin: 0; padding-left: 1.1em; gap: 7px; color: var(--fg); font-size: 14.5px; line-height: 1.5; }
.mod .les .credit { color: var(--cyan); text-decoration: none; }
.les .eg { margin: 0; }
.sub { margin: 4px 0 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.guard { margin: 0; padding: 8px 10px; border-left: 3px solid var(--pink-soft); background: var(--panel); font-size: 13.5px; line-height: 1.45; }
.note { margin: 0; font-size: 13px; color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.3; }
.flow span { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.flow i { font-style: normal; font-family: var(--mono); color: var(--muted); }
.flow .hit { border-color: var(--amber); color: var(--amber); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; line-height: 1.4; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--fg); }
.chip b { color: var(--amber); font-weight: 700; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.nums > div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; align-content: start; font-size: 13px; line-height: 1.35; color: var(--muted); }
.nums b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 1.5rem; line-height: 1; color: var(--amber); }
.mod ol.steps, .mod ol.tl, .mod ol.ladder, .mod ol.fun, .mod ol.pipe { counter-reset: s; gap: 8px; }
.mod ol.steps > li { counter-increment: s; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; }
.mod ol.steps > li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--bg); display: grid; place-items: center; font: 700 12px/1 var(--mono); }
.mod ul.dd { list-style: none; padding: 0; }
.dd li { position: relative; padding-left: 1.7em; }
.dd li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.dd .do::before { content: "✅"; font-size: 0.9em; }
.dd .no::before { content: "✕"; color: var(--pink-soft); }
.tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tpl { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; align-content: start; font-size: 13.5px; line-height: 1.45; min-width: 0; }
.tpl > b { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); }
.tpl .chip { justify-self: start; }
.mod .tpl ul { font-size: 13.5px; gap: 4px; }
.more { border-top: 1px dashed var(--line); }
.more > summary { cursor: pointer; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--cyan); padding: 10px 0 2px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+ "; }
.more[open] > summary::before { content: "− "; }
.more-in { display: grid; gap: 10px; padding-top: 10px; }
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.layers > div { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 10px; padding: 10px; display: grid; gap: 4px; justify-items: start; align-content: start; }
.layers .ico { width: 26px; height: 26px; }
.layers b { font-size: 14px; line-height: 1.2; }
.layers span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.meter { display: grid; gap: 6px; }
.meter .bar3, .meter .lab { display: grid; grid-template-columns: 50fr 25fr 25fr; }
.meter .bar3 { height: 14px; border-radius: 999px; overflow: hidden; }
.bar3 span:nth-child(1) { background: var(--pink); }
.bar3 span:nth-child(2) { background: var(--amber); }
.bar3 span:nth-child(3) { background: var(--cyan); }
.meter .lab { font-family: var(--mono); font-size: 11px; line-height: 1.3; color: var(--muted); }
.meter .lab span { padding-right: 4px; }
.must { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; }
.must b { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.must span { border: 1.5px solid var(--cyan); border-radius: 6px; padding: 3px 8px; font-weight: 600; }
.mod ol.ladder > li { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-left: calc(var(--s) * 12px); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; line-height: 1.4; }
.ladder b { font-size: 14px; }
.bab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bab > div { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 3px; align-content: start; font-size: 13px; line-height: 1.35; }
.bab > div + div::before { content: "→"; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--muted); }
.bab b { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.bab > div:nth-child(1) b { color: var(--pink-soft); }
.bab > div:nth-child(2) b { color: var(--cyan); }
.bab > div:nth-child(3) b { color: var(--amber); }
.mod ol.pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mod ol.pipe > li { counter-increment: s; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.25; }
.mod ol.pipe > li::before { content: counter(s); font: 600 11px/1 var(--mono); color: var(--muted); }
.mod ol.fun { gap: 4px; }
.mod ol.fun > li { width: var(--w); margin-inline: auto; grid-template-columns: 3.6em minmax(0, 1fr); gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; line-height: 1.4; }
.fun b { font-family: var(--display); font-weight: 800; color: var(--amber); }
.fun em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mod ol.tl { gap: 0; }
.mod ol.tl > li { position: relative; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; padding-bottom: 10px; font-size: 14px; line-height: 1.45; }
.mod ol.tl > li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); margin-top: 6px; }
.mod ol.tl > li.down::before { background: var(--pink-soft); }
.mod ol.tl > li:not(:last-child)::after { content: ""; position: absolute; left: 4.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.framing { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.framing img { display: block; width: 100%; height: auto; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: 0; }
.sw.c { background: var(--cyan); }
.sw.a { background: var(--amber); }
@media (max-width: 620px) {
  .mod { padding: 16px 14px; }
  .mod.wide .lessons { grid-template-columns: 1fr; }
  .les { padding: 14px; }
  .bab { grid-template-columns: 1fr; gap: 16px; }
  .bab > div + div::before { content: "↓"; left: 50%; top: -15px; transform: translateX(-50%); }
  .framing { grid-template-columns: 1fr; }
  .framing img { width: 150px; justify-self: center; }
}
/* Compact layout (Zars 2026-10-28: less dead space, side-by-side cards, phones still stack). Layout only, same content.
   Every module is full width so a short module never sits next to a long one; its number, icon, title and count share one row. */
.wrap { max-width: 1200px; gap: 44px; }
.sec { gap: 16px; }
.sec-head { gap: 6px; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.hero { padding-top: 12px; gap: 28px; }
.stats { margin-top: 18px; }
.box { padding: 14px; }
.leak { padding: 12px; }
.chart { padding: 16px; gap: 8px; }
.mods { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mod, .mod.wide { grid-column: auto; padding: 16px; gap: 10px; grid-template-columns: auto auto minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.mod > * { grid-column: 1 / -1; }
.mod-top { display: contents; }
.mod-top > .num { grid-area: 1 / 1; font-size: 2.4rem; }
.mod-top > .mod-ico { grid-area: 1 / 2; width: 40px; height: 40px; margin: 0; }
.mod > h3 { grid-area: 1 / 3; }
.mod-top > .count, .mod-top > .coretag { grid-area: 1 / 4; }
/* Lessons flow down up to 3 columns (newspaper style) so cards pack with no row gaps; the lesson numbers keep the order. One column on phones. */
.lessons, .mod.wide .lessons { display: block; columns: 3 300px; column-gap: 10px; }
.les { padding: 12px 14px; gap: 8px; margin-bottom: 10px; break-inside: avoid; }
.tpls { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.proofs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; align-items: start; }
.proof { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
@media (max-width: 620px) {
  .wrap { gap: 36px; }
  .mod-top > .count, .mod-top > .coretag { grid-area: 2 / 1 / 3 / -1; justify-self: start; }
}
/* YouTube picks (Zars 2026-10-28): clickable cards with the video's thumbnail, opening in a new tab. The thumbnails load from YouTube's image server. */
.vgroups { display: grid; gap: 16px; }
.vgroup { display: grid; gap: 8px; }
.vgroup h3 { font-size: 1.05rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; align-items: start; }
.vids.mini { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 8px; }
.vid { display: grid; align-content: start; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--fg); text-decoration: none; font-size: 13.5px; line-height: 1.4; break-inside: avoid; }
.vid:hover { border-color: var(--cyan); }
.vid .thumb { display: block; aspect-ratio: 16 / 9; background: var(--t) center / cover no-repeat, url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2711%27 fill=%27%23FE2C55%27/%3E%3Cpath d=%27M10 8l6 4-6 4z%27 fill=%27%23fff%27/%3E%3C/svg%3E") center / 40px no-repeat, var(--panel-2); } /* thumbnail as a background: if the viewer blocks outside images, only the play icon shows */
.vid > b, .vid > span { padding-inline: 10px; }
.vid > b { padding-top: 4px; font-size: 14px; line-height: 1.3; }
.vid > :last-child { padding-bottom: 10px; }
.vid .ch { font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.vid .why { color: var(--muted); }
.vids.mini .vid > b { font-size: 13px; }
.mod .vids-h { margin: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- /learn/ additions (Builder): top bar, lock over the blurred filler, inline YouTube ---- */
.lbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1200px; margin: 0 auto 24px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.lbar a { color: var(--fg); font-family: var(--display); font-weight: 900; text-decoration: none; }
.lbar .cta-s { font-family: var(--body); font-weight: 700; background: var(--amber); color: var(--on-amber); padding: 6px 14px; border-radius: 999px; }
#lessons.locked { filter: blur(7px); pointer-events: none; user-select: none; max-height: 1800px; overflow: hidden; }
.lock { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 11, 0.55); }
.lock-card { max-width: 420px; display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--panel); border: 1px solid var(--amber); border-radius: 18px; padding: 28px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lock-card .ic { font-size: 40px; line-height: 1; }
.lock-card h2 { font-size: 1.6rem; }
.lock-card .cta { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-family: var(--display); font-weight: 800; text-decoration: none; }
.lock-card .bad { color: var(--pink-soft); font-weight: 600; }
.vid button.thumb { width: 100%; border: 0; padding: 0; cursor: pointer; }
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vid .yt-out { padding-inline: 10px; padding-bottom: 10px; font-size: 12px; color: var(--muted); }
