/* run-done home · v3 · "paper & ink"
   Mood: VALS "Cyphral Distich" poster + getbasis.ai (02.09.2026).
   Paper grain, grotesk headings with ONE serif-italic word, dithered
   engravings instead of photos, torn receipt with an ink stamp.
   Scope: everything under .hv3 (home partial); .hv3-grain = fixed paper grain.
   Tokens from tokens-v2.css; dual theme via [data-theme].            */

/* ── Serif italic — Playfair Display (OFL), self-hosted subsets ─── */
@font-face {
  font-family: 'Playfair Italic';
  font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/playfair-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Italic';
  font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(/static/fonts/playfair-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Paper grain over the whole page (fixed, pointer-through) ───── */
.hv3-grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .38 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mix-blend-mode: screen; opacity: .12;
}
[data-theme="light"] .hv3-grain { mix-blend-mode: multiply; opacity: .2; }
@media print { .hv3-grain { display: none; } }

/* ── Type: grotesk headings, one italic word ─────────────────────── */
.hv3 h1, .hv3 h2, .hv3 h3 {
  font-family: var(--font-sans); font-weight: 500; color: var(--text-strong);
  margin: 0;
}
.hv3 .it {
  font-family: var(--font-serif-italic, 'Playfair Italic', Georgia, serif);
  font-style: italic; font-weight: 400;
  font-size: 1.06em; letter-spacing: -0.005em; line-height: 1;
}
.hv3 .sec { padding: var(--s-9, 96px) var(--container-pad, 24px); }
.hv3 .sec--tight { padding-top: var(--s-8, 64px); padding-bottom: var(--s-8, 64px); }
.hv3 .wrap { max-width: var(--container-max, 1248px); margin: 0 auto; }
.hv3 .sec-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: var(--s-6, 32px); }
@media (max-width: 800px) { .hv3 .sec-head { grid-template-columns: 1fr; } }
.hv3 .sec-head .eyebrow { margin-bottom: var(--s-3, 12px); }
.hv3 .h-xl { font-size: clamp(36px, 5.6vw, 72px); line-height: 0.98; letter-spacing: -0.035em; max-width: 16ch; }
.hv3 .h-lg { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.hv3 .h-md { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.hv3 .lead { font-size: var(--fs-lead, 18px); line-height: 1.6; color: var(--text); max-width: 56ch; margin: 0; }
.hv3 .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); text-align: right; }
.hv3 .meta b { color: var(--text-strong); font-size: 13px; display: block; margin-top: 4px; }
.hv3 .actions { display: flex; flex-wrap: wrap; gap: var(--s-3, 12px); align-items: center; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hv3 .hero-stage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: var(--container-max, 1248px); margin: 0 auto; width: 100%;
}
@media (max-width: 1024px) {
  .hv3 .hero-stage { grid-template-columns: 1fr; }
  .hv3 .hero-stage__r { border-left: 0 !important; border-top: 1px solid var(--rule); }
}
.hv3 .hero-stage__l {
  padding: clamp(56px, 8vh, 120px) var(--container-pad, 24px);
  display: flex; flex-direction: column; justify-content: center;
}
.hv3 .hero-stage__l .eyebrow { margin-bottom: var(--s-4, 16px); }
.hv3 .hero-stage__l h1 { font-size: clamp(40px, 6.2vw, 82px); line-height: 1.0; letter-spacing: -0.035em; margin-bottom: var(--s-5, 24px); }
.hv3 .hero-stage__l .lead { margin-bottom: var(--s-6, 32px); }
.hv3 .hero-stage__r {
  padding: clamp(36px, 5vh, 64px) clamp(28px, 4vw, 56px);
  background: var(--surface-1); border-left: 1px solid var(--rule);
}

/* VAT monitor */
.hv3 .vat__head {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint);
}
.hv3 .vat__head b { color: var(--text-strong); font-weight: 500; }
.hv3 .vat__num { font-family: var(--font-sans); font-weight: 500; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; color: var(--text-strong); line-height: 1; }
.hv3 .vat__num small { font-size: 0.45em; color: var(--text-muted); margin-left: 0.3em; letter-spacing: 0; }
.hv3 .vat__delta { font-family: var(--font-mono); font-size: 12px; color: var(--warn); margin-top: 8px; }
.hv3 .vat__bar { margin-top: 24px; height: 4px; background: var(--surface-2); position: relative; overflow: hidden; }
.hv3 .vat__bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 78%; background: var(--text-strong); }
.hv3 .vat__legend { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; color: var(--text-faint); text-transform: uppercase; }

/* KPI counters */
.hv3 .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--rule-faint); }
.hv3 .kpis__cell { padding: 20px 16px 0 0; border-right: 1px solid var(--rule-faint); }
.hv3 .kpis__cell:last-child { border-right: 0; }
.hv3 .kpis__lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.hv3 .kpis__num { font-family: var(--font-sans); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; color: var(--text-strong); line-height: 1; }
.hv3 .kpis__num.is-amber { color: var(--warn); }
.hv3 .kpis__num.is-zero { color: var(--text-faint); }

/* Ticker table */
.hv3 .ttab { margin-top: 36px; border: 1px solid var(--rule); background: var(--surface-1); }
.hv3 .ttab__head {
  padding: 12px 16px; border-bottom: 1px solid var(--rule-faint);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
  display: flex; justify-content: space-between; align-items: center;
}
.hv3 .ttab__head .live { color: var(--confirmed); display: inline-flex; align-items: center; gap: 8px; }
.hv3 .ttab__head .live::before { content: ""; width: 6px; height: 6px; background: var(--confirmed); }
.hv3 .ttab__row {
  display: grid; grid-template-columns: 64px 1fr 90px 130px; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid var(--rule-faint); font-family: var(--font-mono); font-size: 12px; align-items: baseline;
}
.hv3 .ttab__row:last-child { border-bottom: 0; }
.hv3 .ttab__row .num { color: var(--text-faint); }
.hv3 .ttab__row .name { color: var(--text); }
.hv3 .ttab__row .sum { text-align: right; color: var(--text); }
.hv3 .ttab__row .stat { text-align: right; }
.hv3 .ttab__row .stat.is-ok { color: var(--confirmed); }
.hv3 .ttab__row .stat.is-wait { color: var(--warn); }
.hv3 .ttab__row.is-active { background: var(--surface-2); }

/* ── RECEIPT — torn paper strip, tape, ink stamp ─────────────────── */
.hv3 .rcpt {
  position: relative; margin: 40px 8px 8px; padding: 26px 24px 30px;
  background: var(--surface-inv); color: var(--text-inv);
  transform: rotate(-1.1deg);
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><polygon fill='%23000' points='0.0,2.5 5.7,1.2 11.4,3.8 17.1,0.8 22.9,3.2 28.6,2.3 34.3,0.7 40.0,3.0 45.7,0.6 51.4,2.7 57.1,0.8 62.9,0.9 68.6,2.6 74.3,4.7 80.0,1.0 85.7,1.6 91.4,3.7 97.1,5.3 102.9,3.4 108.6,2.5 114.3,5.5 120.0,0.6 125.7,4.9 131.4,1.9 137.1,1.2 142.9,1.0 148.6,2.0 154.3,4.6 160.0,1.3 165.7,3.4 171.4,3.7 177.1,2.3 182.9,3.2 188.6,0.7 194.3,0.7 200.0,1.5 205.7,3.9 211.4,2.6 217.1,2.0 222.9,3.4 228.6,2.8 234.3,2.0 240.0,4.5 245.7,4.0 251.4,1.7 257.1,3.4 262.9,3.1 268.6,5.0 274.3,4.2 280.0,1.9 285.7,5.5 291.4,1.0 297.1,2.6 302.9,4.3 308.6,1.2 314.3,2.9 320.0,0.6 325.7,3.9 331.4,4.4 337.1,3.4 342.9,5.0 348.6,2.0 354.3,4.0 360.0,3.5 365.7,3.4 371.4,2.8 377.1,4.8 382.9,5.3 388.6,2.9 394.3,3.9 400.0,1.9 400.0,96.0 394.3,96.3 388.6,96.2 382.9,95.7 377.1,95.2 371.4,97.6 365.7,98.9 360.0,94.5 354.3,96.3 348.6,94.9 342.9,95.2 337.1,94.4 331.4,94.7 325.7,96.2 320.0,95.2 314.3,95.5 308.6,94.8 302.9,94.7 297.1,97.7 291.4,94.9 285.7,96.5 280.0,96.4 274.3,98.5 268.6,98.9 262.9,98.5 257.1,99.1 251.4,94.7 245.7,97.9 240.0,97.6 234.3,97.1 228.6,98.0 222.9,99.4 217.1,97.3 211.4,96.3 205.7,96.6 200.0,94.4 194.3,95.8 188.6,97.5 182.9,96.9 177.1,95.6 171.4,95.6 165.7,95.3 160.0,95.2 154.3,99.4 148.6,99.0 142.9,96.3 137.1,96.6 131.4,95.8 125.7,98.9 120.0,98.7 114.3,99.0 108.6,97.3 102.9,96.7 97.1,94.8 91.4,98.9 85.7,96.4 80.0,95.7 74.3,95.1 68.6,98.4 62.9,94.7 57.1,95.0 51.4,95.3 45.7,96.8 40.0,94.5 34.3,97.9 28.6,96.4 22.9,95.9 17.1,98.7 11.4,99.6 5.7,97.8 0.0,97.5'/></svg>");
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><polygon fill='%23000' points='0.0,2.5 5.7,1.2 11.4,3.8 17.1,0.8 22.9,3.2 28.6,2.3 34.3,0.7 40.0,3.0 45.7,0.6 51.4,2.7 57.1,0.8 62.9,0.9 68.6,2.6 74.3,4.7 80.0,1.0 85.7,1.6 91.4,3.7 97.1,5.3 102.9,3.4 108.6,2.5 114.3,5.5 120.0,0.6 125.7,4.9 131.4,1.9 137.1,1.2 142.9,1.0 148.6,2.0 154.3,4.6 160.0,1.3 165.7,3.4 171.4,3.7 177.1,2.3 182.9,3.2 188.6,0.7 194.3,0.7 200.0,1.5 205.7,3.9 211.4,2.6 217.1,2.0 222.9,3.4 228.6,2.8 234.3,2.0 240.0,4.5 245.7,4.0 251.4,1.7 257.1,3.4 262.9,3.1 268.6,5.0 274.3,4.2 280.0,1.9 285.7,5.5 291.4,1.0 297.1,2.6 302.9,4.3 308.6,1.2 314.3,2.9 320.0,0.6 325.7,3.9 331.4,4.4 337.1,3.4 342.9,5.0 348.6,2.0 354.3,4.0 360.0,3.5 365.7,3.4 371.4,2.8 377.1,4.8 382.9,5.3 388.6,2.9 394.3,3.9 400.0,1.9 400.0,96.0 394.3,96.3 388.6,96.2 382.9,95.7 377.1,95.2 371.4,97.6 365.7,98.9 360.0,94.5 354.3,96.3 348.6,94.9 342.9,95.2 337.1,94.4 331.4,94.7 325.7,96.2 320.0,95.2 314.3,95.5 308.6,94.8 302.9,94.7 297.1,97.7 291.4,94.9 285.7,96.5 280.0,96.4 274.3,98.5 268.6,98.9 262.9,98.5 257.1,99.1 251.4,94.7 245.7,97.9 240.0,97.6 234.3,97.1 228.6,98.0 222.9,99.4 217.1,97.3 211.4,96.3 205.7,96.6 200.0,94.4 194.3,95.8 188.6,97.5 182.9,96.9 177.1,95.6 171.4,95.6 165.7,95.3 160.0,95.2 154.3,99.4 148.6,99.0 142.9,96.3 137.1,96.6 131.4,95.8 125.7,98.9 120.0,98.7 114.3,99.0 108.6,97.3 102.9,96.7 97.1,94.8 91.4,98.9 85.7,96.4 80.0,95.7 74.3,95.1 68.6,98.4 62.9,94.7 57.1,95.0 51.4,95.3 45.7,96.8 40.0,94.5 34.3,97.9 28.6,96.4 22.9,95.9 17.1,98.7 11.4,99.6 5.7,97.8 0.0,97.5'/></svg>");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  font-family: var(--font-mono); font-size: 12px;
}
[data-theme="light"] .hv3 .rcpt { background-color: #F7F3E8; color: #0E0E0C; background-image: linear-gradient(to bottom, transparent 23px, rgba(14,14,12,0.045) 23px, rgba(14,14,12,0.045) 24px); background-size: 100% 24px; }
.hv3 .rcpt__tape {
  position: absolute; top: -9px; left: 34px; width: 92px; height: 22px;
  background: rgba(214,196,150,0.55); transform: rotate(-4deg);
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.18) 0 3px, transparent 3px 7px);
}
[data-theme="light"] .hv3 .rcpt__tape { background-color: rgba(214,196,150,0.62); }
.hv3 .rcpt__head { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .7; padding-bottom: 10px; border-bottom: 1px solid currentColor; margin-bottom: 8px; }
.hv3 .rcpt__row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.hv3 .rcpt__row span { opacity: .72; }
.hv3 .rcpt__row b { font-weight: 500; white-space: nowrap; }
.hv3 .rcpt__ok { margin-top: 10px; padding-top: 10px; border-top: 1px dashed currentColor; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--confirmed-ink); }
.hv3 .rcpt__stamp {
  position: absolute; right: 10px; bottom: -16px; width: 124px; height: 124px;
  transform: rotate(-13deg); color: var(--ink-green, #2F4A3A);
  mix-blend-mode: multiply; opacity: .92; pointer-events: none;
}
[data-theme="dark"] .hv3 .rcpt__stamp, :root:not([data-theme="light"]) .hv3 .rcpt__stamp { color: #2F4A3A; }
.hv3 .rcpt__stamp text { font-family: var(--font-mono); font-weight: 500; fill: currentColor; }
@media (max-width: 480px) { .hv3 .rcpt__stamp { width: 92px; height: 92px; right: 6px; } .hv3 .rcpt { padding-right: 20px; } }

/* ── FLOW ANATOMY ────────────────────────────────────────────────── */
.hv3 .anatomy { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; gap: 0; border: 1px solid var(--rule); }
@media (max-width: 1100px) { .hv3 .anatomy { grid-template-columns: 1fr; } .hv3 .anatomy > .arr { display: none; } }
.hv3 .anatomy__col { padding: clamp(24px, 3vh, 36px) clamp(20px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.hv3 .anatomy__col:not(.is-mid) { background: var(--surface-1); }
.hv3 .anatomy__col.is-mid { background: var(--text-strong); color: var(--surface); }
.hv3 .anatomy__lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--text-faint); padding-bottom: 12px; border-bottom: 1px solid var(--rule-faint); display: flex; justify-content: space-between; }
.hv3 .anatomy__col.is-mid .anatomy__lab { color: var(--surface); opacity: .6; border-bottom-color: currentColor; }
.hv3 .anatomy__h { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.1; }
.hv3 .anatomy__col.is-mid .anatomy__h { color: var(--surface); }
.hv3 .anatomy__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--text); }
.hv3 .anatomy__col.is-mid .anatomy__list { color: var(--surface); }
.hv3 .anatomy__list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: baseline; }
.hv3 .anatomy__list li::before { content: "\00B7"; color: var(--text-faint); font-weight: bold; }
.hv3 .anatomy__col.is-mid .anatomy__list li::before { content: "+"; color: var(--surface); opacity: .7; }
.hv3 .anatomy__sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule-faint); display: flex; justify-content: space-between; }
.hv3 .anatomy__col.is-mid .anatomy__sub { color: var(--surface); opacity: .75; border-top-color: currentColor; }
.hv3 .anatomy__sub b { color: var(--text-strong); }
.hv3 .anatomy__col.is-mid .anatomy__sub b { color: var(--surface); }
.hv3 .arr { display: flex; align-items: center; justify-content: center; background: var(--surface); border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.hv3 .arr svg { width: 28px; height: 28px; color: var(--text-strong); }

/* ── WALL — numbers ──────────────────────────────────────────────── */
.hv3 .wall { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 0; border: 1px solid var(--rule); }
@media (max-width: 1000px) { .hv3 .wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hv3 .wall { grid-template-columns: 1fr; } }
.hv3 .wall__cell { padding: clamp(24px, 3vh, 40px) clamp(20px, 2vw, 32px) clamp(20px, 2.5vh, 32px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; min-height: 200px; container-type: inline-size; }
.hv3 .wall__cell:nth-child(4n) { border-right: 0; }
.hv3 .wall__cell.is-tall { grid-row: span 2; }
.hv3 .wall__cell.is-ink { background: var(--text-strong); color: var(--surface); }
.hv3 .wall__cell.is-ink .wall__lab { color: var(--surface); opacity: .6; }
.hv3 .wall__cell.is-ink .wall__num { color: var(--surface); }
.hv3 .wall__cell.is-ink .wall__cap { color: var(--surface); opacity: .75; border-top-color: currentColor; }
.hv3 .wall__cell.is-amber .wall__num { color: var(--warn); }
.hv3 .wall__cell.is-mega .wall__num { font-size: min(clamp(88px, 11vw, 184px), 46cqw); letter-spacing: -0.05em; }
.hv3 .wall__cell.is-mega { background: var(--surface-1); }
.hv3 .wall__lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--text-faint); display: flex; justify-content: space-between; }
.hv3 .wall__num { font-family: var(--font-sans); font-weight: 500; font-size: min(clamp(56px, 9vw, 156px), 34cqw); line-height: 0.88; letter-spacing: -0.045em; color: var(--text-strong); margin-top: auto; white-space: nowrap; }
.hv3 .wall__num small { font-family: var(--font-mono); font-size: 0.22em; letter-spacing: 0.04em; color: var(--text-muted); margin-left: 0.2em; text-transform: uppercase; vertical-align: 0.6em; }
.hv3 .wall__cell.is-ink .wall__num small { color: var(--surface); opacity: .7; }
.hv3 .wall__cap { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--text-muted); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule-faint); }

/* Quote with dithered engraving */
.hv3 .q-bar { border: 1px solid var(--rule); display: grid; grid-template-columns: 5fr 7fr; gap: 0; }
@media (max-width: 800px) { .hv3 .q-bar { grid-template-columns: 1fr; } }
.hv3 .q-bar__pic {
  min-height: 300px; background-color: var(--surface-1);
  background-image: url(/static/img/engravings/taxcollectors_detail_chalk.png);
  background-size: cover; background-position: center; border-right: 1px solid var(--rule);
}
[data-theme="light"] .hv3 .q-bar__pic { background-image: url(/static/img/engravings/taxcollectors_detail_ink.png); background-color: #F3F1E9; }
@media (max-width: 800px) { .hv3 .q-bar__pic { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 220px; } }
.hv3 .q-bar__body { padding: clamp(28px, 4vh, 48px); display: flex; flex-direction: column; gap: 28px; justify-content: space-between; background: var(--surface-1); }
.hv3 .q-bar__txt { font-family: var(--font-sans); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.02em; color: var(--text-strong); margin: 0; }
.hv3 .q-bar__txt b { font-weight: 500; font-family: var(--font-serif-italic, 'Playfair Italic', Georgia, serif); font-style: italic; font-size: 1.06em; }
.hv3 .q-bar__attr { font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--text-muted); display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.hv3 .q-bar__attr b { color: var(--text-strong); }
.hv3 .q-bar__src { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); text-align: right; max-width: 30ch; }

/* countUp reveal */
.hv3 .countup { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.hv3 .countup.is-visible { opacity: 1; transform: translateY(0); }

/* ── PRODUCTS — cards with a paper form on top ───────────────── */
.hv3 .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-5, 24px); }
.hv3 .card { display: block; border: 1px solid var(--rule-faint); background: var(--surface-1); text-decoration: none; color: inherit; transition: border-color var(--dur-base, 220ms) var(--ease-quiet, ease); }
.hv3 .card:hover { border-color: var(--rule); }
.hv3 .card__viz { height: 160px; background: var(--surface-2); position: relative; border-bottom: 1px solid var(--rule-faint); overflow: hidden; padding: 22px 22px 0; }
.hv3 .form {
  background: var(--surface-inv); color: var(--text-inv); padding: 12px 14px; height: 100%;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; transform: rotate(-1.2deg); transform-origin: bottom left;
  background-image: linear-gradient(to bottom, transparent 19px, rgba(14,14,12,0.06) 19px, rgba(14,14,12,0.06) 20px); background-size: 100% 20px;
}
[data-theme="light"] .hv3 .form { background-color: #F7F3E8; color: #0E0E0C; }
.hv3 .form__h { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 9.5px; letter-spacing: 0.14em; opacity: .7; padding-bottom: 6px; border-bottom: 1px solid currentColor; margin-bottom: 6px; }
.hv3 .form__r { display: flex; justify-content: space-between; padding: 3px 0; }
.hv3 .form__r .ok { color: var(--confirmed-ink); }
.hv3 .form__r .wait { color: var(--warn-ink); }
.hv3 .form__r--sum { border-top: 1px dashed currentColor; margin-top: 4px; padding-top: 6px; font-weight: 500; }
.hv3 .form__cells { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin: 6px 0 0; }
.hv3 .form__cells i { font-style: normal; border: 1px solid currentColor; text-align: center; padding: 2px 0; font-size: 11px; }
.hv3 .card__body { padding: var(--s-5, 24px); }
.hv3 .card__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-3, 12px); display: flex; justify-content: space-between; }
.hv3 .card__body h3 { font-size: var(--fs-h4, 22px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 8px; }
.hv3 .card__body p { font-size: var(--fs-body-sm, 15px); color: var(--text); line-height: 1.5; margin: 0 0 16px; }
.hv3 .card__price { font-family: var(--font-mono); font-weight: 500; color: var(--text-strong); font-size: 13px; letter-spacing: 0.02em; }

/* ── TOOLS ───────────────────────────────────────────────────────── */
.hv3 .tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4, 16px); }
.hv3 .tool { display: block; padding: 20px; border: 1px solid var(--rule-faint); text-decoration: none; color: inherit; background: var(--surface-1); transition: border-color var(--dur-base, 220ms) var(--ease-quiet, ease); }
.hv3 .tool:hover { border-color: var(--rule); }
.hv3 .tool h3 { font-size: 16px; margin: 0 0 4px; }
.hv3 .tool p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.4; }
.hv3 .latest { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-5, 24px); }

/* ── FINAL — paper collage (VALS): torn registry sheet, tape, ring, stamp ── */
.hv3 .final { background: var(--surface-1); color: var(--text); padding: 0 var(--container-pad, 24px); border-top: 1px solid var(--rule); position: relative; overflow: hidden; }
.hv3 .final__grid { max-width: var(--container-max, 1248px); margin: 0 auto; display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; min-height: 560px; }
@media (max-width: 900px) { .hv3 .final__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; } }
.hv3 .final__txt { padding: var(--s-10, 128px) 0; }
@media (max-width: 900px) { .hv3 .final__txt { padding: var(--s-8, 64px) 0 var(--s-6, 32px); } }
.hv3 .final__txt .eyebrow { margin-bottom: var(--s-4, 16px); }
.hv3 .final__txt h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: var(--s-5, 24px); max-width: 14ch; }
.hv3 .final__txt .lead { margin-bottom: var(--s-6, 32px); }
.hv3 .trust { display: flex; flex-wrap: wrap; gap: var(--s-4, 16px) var(--s-6, 32px); margin-top: var(--s-6, 32px); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

.hv3 .collage { position: relative; padding: 56px 0 64px; min-height: 480px; }
@media (max-width: 900px) { .hv3 .collage { padding: 16px 0 56px; min-height: 0; } }
.hv3 .collage__sheet {
  position: relative; background: var(--surface-inv); color: var(--text-inv); padding: 26px 28px 40px;
  transform: rotate(1.4deg); margin-right: 8%;
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><polygon fill='%23000' points='0.0,2.5 5.7,1.2 11.4,3.8 17.1,0.8 22.9,3.2 28.6,2.3 34.3,0.7 40.0,3.0 45.7,0.6 51.4,2.7 57.1,0.8 62.9,0.9 68.6,2.6 74.3,4.7 80.0,1.0 85.7,1.6 91.4,3.7 97.1,5.3 102.9,3.4 108.6,2.5 114.3,5.5 120.0,0.6 125.7,4.9 131.4,1.9 137.1,1.2 142.9,1.0 148.6,2.0 154.3,4.6 160.0,1.3 165.7,3.4 171.4,3.7 177.1,2.3 182.9,3.2 188.6,0.7 194.3,0.7 200.0,1.5 205.7,3.9 211.4,2.6 217.1,2.0 222.9,3.4 228.6,2.8 234.3,2.0 240.0,4.5 245.7,4.0 251.4,1.7 257.1,3.4 262.9,3.1 268.6,5.0 274.3,4.2 280.0,1.9 285.7,5.5 291.4,1.0 297.1,2.6 302.9,4.3 308.6,1.2 314.3,2.9 320.0,0.6 325.7,3.9 331.4,4.4 337.1,3.4 342.9,5.0 348.6,2.0 354.3,4.0 360.0,3.5 365.7,3.4 371.4,2.8 377.1,4.8 382.9,5.3 388.6,2.9 394.3,3.9 400.0,1.9 400.0,96.0 394.3,96.3 388.6,96.2 382.9,95.7 377.1,95.2 371.4,97.6 365.7,98.9 360.0,94.5 354.3,96.3 348.6,94.9 342.9,95.2 337.1,94.4 331.4,94.7 325.7,96.2 320.0,95.2 314.3,95.5 308.6,94.8 302.9,94.7 297.1,97.7 291.4,94.9 285.7,96.5 280.0,96.4 274.3,98.5 268.6,98.9 262.9,98.5 257.1,99.1 251.4,94.7 245.7,97.9 240.0,97.6 234.3,97.1 228.6,98.0 222.9,99.4 217.1,97.3 211.4,96.3 205.7,96.6 200.0,94.4 194.3,95.8 188.6,97.5 182.9,96.9 177.1,95.6 171.4,95.6 165.7,95.3 160.0,95.2 154.3,99.4 148.6,99.0 142.9,96.3 137.1,96.6 131.4,95.8 125.7,98.9 120.0,98.7 114.3,99.0 108.6,97.3 102.9,96.7 97.1,94.8 91.4,98.9 85.7,96.4 80.0,95.7 74.3,95.1 68.6,98.4 62.9,94.7 57.1,95.0 51.4,95.3 45.7,96.8 40.0,94.5 34.3,97.9 28.6,96.4 22.9,95.9 17.1,98.7 11.4,99.6 5.7,97.8 0.0,97.5'/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><polygon fill='%23000' points='0.0,2.5 5.7,1.2 11.4,3.8 17.1,0.8 22.9,3.2 28.6,2.3 34.3,0.7 40.0,3.0 45.7,0.6 51.4,2.7 57.1,0.8 62.9,0.9 68.6,2.6 74.3,4.7 80.0,1.0 85.7,1.6 91.4,3.7 97.1,5.3 102.9,3.4 108.6,2.5 114.3,5.5 120.0,0.6 125.7,4.9 131.4,1.9 137.1,1.2 142.9,1.0 148.6,2.0 154.3,4.6 160.0,1.3 165.7,3.4 171.4,3.7 177.1,2.3 182.9,3.2 188.6,0.7 194.3,0.7 200.0,1.5 205.7,3.9 211.4,2.6 217.1,2.0 222.9,3.4 228.6,2.8 234.3,2.0 240.0,4.5 245.7,4.0 251.4,1.7 257.1,3.4 262.9,3.1 268.6,5.0 274.3,4.2 280.0,1.9 285.7,5.5 291.4,1.0 297.1,2.6 302.9,4.3 308.6,1.2 314.3,2.9 320.0,0.6 325.7,3.9 331.4,4.4 337.1,3.4 342.9,5.0 348.6,2.0 354.3,4.0 360.0,3.5 365.7,3.4 371.4,2.8 377.1,4.8 382.9,5.3 388.6,2.9 394.3,3.9 400.0,1.9 400.0,96.0 394.3,96.3 388.6,96.2 382.9,95.7 377.1,95.2 371.4,97.6 365.7,98.9 360.0,94.5 354.3,96.3 348.6,94.9 342.9,95.2 337.1,94.4 331.4,94.7 325.7,96.2 320.0,95.2 314.3,95.5 308.6,94.8 302.9,94.7 297.1,97.7 291.4,94.9 285.7,96.5 280.0,96.4 274.3,98.5 268.6,98.9 262.9,98.5 257.1,99.1 251.4,94.7 245.7,97.9 240.0,97.6 234.3,97.1 228.6,98.0 222.9,99.4 217.1,97.3 211.4,96.3 205.7,96.6 200.0,94.4 194.3,95.8 188.6,97.5 182.9,96.9 177.1,95.6 171.4,95.6 165.7,95.3 160.0,95.2 154.3,99.4 148.6,99.0 142.9,96.3 137.1,96.6 131.4,95.8 125.7,98.9 120.0,98.7 114.3,99.0 108.6,97.3 102.9,96.7 97.1,94.8 91.4,98.9 85.7,96.4 80.0,95.7 74.3,95.1 68.6,98.4 62.9,94.7 57.1,95.0 51.4,95.3 45.7,96.8 40.0,94.5 34.3,97.9 28.6,96.4 22.9,95.9 17.1,98.7 11.4,99.6 5.7,97.8 0.0,97.5'/></svg>");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  background-image: linear-gradient(to bottom, transparent 23px, rgba(14,14,12,0.05) 23px, rgba(14,14,12,0.05) 24px); background-size: 100% 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
}
[data-theme="light"] .hv3 .collage__sheet { background-color: #F7F3E8; color: #0E0E0C; }
.hv3 .collage__tape { position: absolute; width: 92px; height: 22px; background: rgba(214,196,150,0.55); background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.18) 0 3px, transparent 3px 7px); }
.hv3 .collage__tape--tl { top: -9px; left: 28px; transform: rotate(-5deg); }
.hv3 .collage__tape--br { bottom: -8px; right: 34px; transform: rotate(6deg); }
.hv3 .collage__tape--note { top: -8px; left: 30%; width: 64px; height: 18px; transform: rotate(-3deg); }
.hv3 .collage__h { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .7; padding-bottom: 10px; border-bottom: 1px solid currentColor; margin-bottom: 10px; }
.hv3 .collage__grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px 18px; font-variant-numeric: tabular-nums; }
.hv3 .collage__grid span:nth-child(4n+2) { opacity: .55; }
.hv3 .collage__grid .ok { color: var(--confirmed-ink); }
.hv3 .collage__grid .wait { color: var(--warn-ink); }
.hv3 .collage__ring { position: absolute; width: 132px; height: 44px; left: 12px; top: 128px; color: var(--ink-green, #2F4A3A); pointer-events: none; opacity: .9; }
.hv3 .collage__stamp { position: absolute; right: 8%; bottom: -10px; width: 148px; height: 148px; transform: rotate(-11deg); color: var(--ink-green, #2F4A3A); mix-blend-mode: multiply; opacity: .92; pointer-events: none; }
.hv3 .collage__stamp text { font-family: var(--font-mono); font-weight: 500; fill: currentColor; }
.hv3 .collage__note {
  position: absolute; left: -4%; bottom: 8px; width: 210px; padding: 18px 16px 14px;
  background: var(--surface-inv); color: var(--text-inv); transform: rotate(-4deg);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 2px;
}
[data-theme="light"] .hv3 .collage__note { background: #FBF8EF; color: #0E0E0C; }
.hv3 .collage__note b { font-weight: 500; font-size: 13px; letter-spacing: 0.04em; }
.hv3 .collage__note span { opacity: .7; }
.hv3 .collage__note em { font-style: normal; align-self: flex-end; margin-top: 6px; padding-top: 4px; border-top: 1px solid currentColor; letter-spacing: 0.3em; opacity: .6; }
.hv3 .collage__cap { position: absolute; right: 0; bottom: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
@media (max-width: 900px) { .hv3 .collage__cap { position: static; margin-top: 16px; text-align: right; } .hv3 .collage__note { left: 0; bottom: 16px; } }
@media (max-width: 520px) { .hv3 .collage__grid { grid-template-columns: auto auto; gap: 6px 14px; } .hv3 .collage__grid span:nth-child(4n+2), .hv3 .collage__grid span:nth-child(4n+3) { display: none; } .hv3 .collage__stamp { width: 110px; height: 110px; right: 2%; } .hv3 .collage__note { width: 170px; } .hv3 .collage__sheet { padding: 22px 16px 34px; } }

/* ── Narrow phones: no horizontal overflow ───────────────────────── */
@media (max-width: 1024px) {
  .hv3 .hero-stage { grid-template-columns: minmax(0, 1fr); }
  .hv3 .hero-stage__l, .hv3 .hero-stage__r { min-width: 0; }
}
@media (max-width: 520px) {
  .hv3 .hero-stage__l h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .hv3 .hero-stage__r { padding-left: 16px; padding-right: 16px; overflow: hidden; }
  .hv3 .kpis { grid-template-columns: repeat(2, 1fr); }
  .hv3 .kpis__cell:nth-child(2n) { border-right: 0; }
  .hv3 .kpis__cell { padding-bottom: 12px; }
  .hv3 .ttab__row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; font-size: 11px; padding: 9px 10px; }
  .hv3 .ttab__row .sum { display: none; }
  .hv3 .ttab__head { padding: 10px; }
  .hv3 .rcpt { margin: 36px 0 12px; padding: 22px 16px 34px; font-size: 11px; }
  .hv3 .rcpt__row { flex-wrap: wrap; gap: 4px 12px; }
  .hv3 .h-xl { font-size: clamp(30px, 9vw, 40px); }
  .hv3 .final__txt h2 { font-size: clamp(34px, 10vw, 48px); }
}
