@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Layout: Text links, Bühne rechts und klebend; am Handy Bühne oben, Karten laufen darunter durch.
   Farben und Schrift wie die Webapp (ADR-058), dunkel zuerst. */
:root {
  color-scheme: dark;
  --bg: #070a08;
  --surface: #0d130f;
  --surface-2: #131b16;
  --line: #1c2621;
  --line-2: #29352e;
  --text: #e4ebe6;
  --dim: #8a948d;
  --mute: #6c766f;
  --accent: #3ddc84;
  --accent-soft: rgba(61, 220, 132, 0.11);
  --accent-line: #1f6b42;
  --glow: rgba(61, 220, 132, 0.55);
  --grid: rgba(228, 235, 230, 0.055);
  --card: rgba(13, 19, 15, 0.9);
  --warn: #e3a646;
  --miss: #3a443e;
  --warn-soft: rgba(227, 166, 70, 0.14);
  --bad: #e46a55;
  --night: rgba(70, 110, 190, 0.2);
  --star: #d6e4ff;
  --font-text: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-data: "Geist Mono", "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f3f5f3; --surface: #ffffff; --surface-2: #edf1ee; --line: #dde3df; --line-2: #c3ccc6;
    --text: #121814; --dim: #56615a; --mute: #79837c; --accent: #12864f; --accent-soft: rgba(18, 134, 79, 0.09);
    --accent-line: #7cc39c; --glow: rgba(18, 134, 79, 0.35); --grid: rgba(18, 24, 20, 0.07); --card: rgba(255, 255, 255, 0.92);
    --warn: #9a620b; --miss: #c8d0ca; --warn-soft: rgba(154, 98, 11, 0.1); --bad: #b3402b; --night: rgba(40, 70, 150, 0.12); --star: #6f82a8;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f3; --surface: #ffffff; --surface-2: #edf1ee; --line: #dde3df; --line-2: #c3ccc6;
  --text: #121814; --dim: #56615a; --mute: #79837c; --accent: #12864f; --accent-soft: rgba(18, 134, 79, 0.09);
  --accent-line: #7cc39c; --glow: rgba(18, 134, 79, 0.35); --grid: rgba(18, 24, 20, 0.07); --card: rgba(255, 255, 255, 0.92);
    --warn: #9a620b; --miss: #c8d0ca; --warn-soft: rgba(154, 98, 11, 0.1); --bad: #b3402b; --night: rgba(40, 70, 150, 0.12); --star: #6f82a8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 17px; font-weight: 420; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 48px) 0;
}
.top .mark { height: 26px; width: auto; display: block; overflow: visible; }
.top-links { display: flex; gap: 18px; }
.top .tag:hover { color: var(--accent); }
.top .tag { text-decoration: none; font-family: var(--font-data); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.stem { fill: none; stroke: var(--accent); stroke-width: 0.9; stroke-linecap: round; opacity: 0.8; }
.leaf, .bud { fill: var(--accent); }
.mtext { fill: var(--text); }

.eyebrow { font-family: var(--font-data); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); display: flex; gap: 10px; align-items: baseline; }
.eyebrow b { color: var(--accent); font-weight: 500; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; font-weight: 620; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; max-width: 60ch; }
.lead { font-size: 19px; color: var(--text); }
.dim { color: var(--dim); }
code, .mono { font-family: var(--font-data); font-size: 0.86em; }
code { color: var(--accent); background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; }

/* Bühne und Kapitel */
.scrolly { position: relative; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.steps { grid-column: 1; padding-inline: clamp(16px, 4vw, 48px) clamp(12px, 2vw, 32px); position: relative; z-index: 2; }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--grid) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 55% 50%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 50%, #000 40%, transparent 78%);
}
.stage svg.board { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.readout {
  position: absolute; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 1;
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
  display: flex; gap: 18px; font-variant-numeric: tabular-nums;
}
.readout b { color: var(--text); font-weight: 500; }

.step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 12vh; }
.step.hero { gap: 26px; }
.step .body { display: grid; gap: 14px; }
.card { display: contents; }
.aside {
  display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  font-size: 15px; color: var(--dim); max-width: 60ch;
}
.aside .eyebrow { color: var(--accent); }

.blocks { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 14px; margin: 4px 0 0; font-size: 14.5px; }
.blocks dt { font-family: var(--font-data); font-size: 12px; color: var(--accent); padding-top: 2px; }
.blocks dd { margin: 0; color: var(--dim); min-width: 0; }
.blocks .on dt { text-shadow: 0 0 12px var(--glow); }

.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { font-family: var(--font-data); font-size: 11.5px; letter-spacing: 0.04em; color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }

.next { display: flex; flex-wrap: wrap; gap: 8px; }
.next span { font-family: var(--font-data); font-size: 12px; color: var(--mute); border: 1px dashed var(--line-2); border-radius: 8px; padding: 6px 10px; }
.next span b { color: var(--dim); font-weight: 500; margin-right: 6px; }

/* SVG-Bausteine */
.node rect.box { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 4; transition: stroke 0.5s, fill 0.5s; }
.node .label { fill: var(--mute); font-family: var(--font-text); font-weight: 560; transition: fill 0.5s; }
.node .sub { fill: var(--mute); font-family: var(--font-data); letter-spacing: 0.02em; opacity: 0.8; }
.node .led { fill: var(--line-2); transition: fill 0.5s; }
.node.on rect.box { fill: var(--surface); stroke: var(--accent-line); stroke-dasharray: none; }
.node.on .label { fill: var(--text); }
.node.on .sub { fill: var(--dim); }
.node.on .led { fill: var(--accent); filter: drop-shadow(0 0 4px var(--glow)); }
.ghost-edge { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 5; }
.edge { fill: none; stroke: var(--accent-line); stroke-width: 1.5; }
.socket { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.2; transition: fill 0.4s, stroke 0.4s; }
.socket.on { fill: var(--accent); stroke: var(--accent); }
.core-ring { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.core-dash { fill: none; stroke: var(--accent-line); stroke-width: 1; stroke-dasharray: 2 6; }
.cap-bg { fill: var(--bg); }
.core-cap { fill: var(--mute); font-family: var(--font-data); letter-spacing: 0.14em; text-transform: uppercase; }
.seed { fill: var(--accent); }
.pingc { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.pulse { fill: var(--accent); filter: drop-shadow(0 0 5px var(--glow)); }
.tag rect { fill: var(--surface-2); stroke: var(--accent-line); stroke-width: 1; }
.tag text { fill: var(--accent); font-family: var(--font-data); }
.spoke { fill: none; stroke: var(--accent-line); stroke-width: 1; stroke-dasharray: 2 4; }
.plus circle { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 4; }
.plus path { stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.plus text { fill: var(--accent); font-family: var(--font-data); }

/* Rechnen */
.calc {
  position: absolute; z-index: 2; opacity: 0; pointer-events: none;
  background: var(--surface); border: 1px solid var(--accent-line); border-radius: 12px;
  font-family: var(--font-data); font-size: 12px; line-height: 1.6; color: var(--dim);
  box-shadow: 0 24px 60px -30px var(--glow);
}
.calc-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 11.5px; }
.calc-head span:last-child { color: var(--mute); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; }
.calc-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.calc b { color: var(--text); font-weight: 500; }
.calc .hl { color: var(--accent); }

/* Nacht */
.nightfx { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s;
  background: radial-gradient(ellipse at 54% 55%, var(--night) 0%, transparent 75%); }
.is-night .nightfx { opacity: 1; }
.stars circle { fill: var(--star); opacity: 0; transition: opacity 1s; }
.is-night .stars circle { animation: twinkle var(--tw) ease-in-out var(--td) infinite alternate; }
@keyframes twinkle { from { opacity: 0.08; } to { opacity: 0.85; } }
.node .dim { transition: opacity 1s; }
.is-night .node.src .dim { opacity: 0.4; }
.mem { fill: var(--accent); transition: fill 0.3s; }
.mem.gone { fill: var(--bad); }
.event rect { fill: var(--surface-2); stroke: var(--accent-line); stroke-width: 1; }
.event text { fill: var(--text); font-family: var(--font-data); }
.doc > rect:first-child { fill: var(--surface); stroke: var(--accent-line); stroke-width: 1; }
.doc text { fill: var(--text); font-family: var(--font-text); font-weight: 560; }
.doc .ln { fill: var(--line-2); }

/* Wissen */
.ev { stroke-width: 1; transition: fill 0.3s, stroke 0.3s; }
.ev.est { fill: var(--accent); stroke: var(--accent); }
.ev.ind { fill: var(--accent-soft); stroke: var(--accent-line); }
.ev.con { fill: var(--warn-soft); stroke: var(--warn); }
.ev.hit { stroke: var(--text); stroke-width: 1.5; filter: drop-shadow(0 0 6px var(--glow)); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-data); font-size: 12px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 11px; border-radius: 2.5px; border: 1px solid; display: inline-block; }
.sw.est { background: var(--accent); border-color: var(--accent); }
.sw.ind { background: var(--accent-soft); border-color: var(--accent-line); }
.sw.con { background: var(--warn-soft); border-color: var(--warn); }

/* Kanäle: nachgebaute Momente aus Telegram und der Webapp */
.moment {
  position: absolute; z-index: 2; opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 26px;
  box-shadow: 0 30px 80px -40px var(--glow);
  font-size: 13.5px; line-height: 1.45;
}
.mbar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.mbar span:first-child { color: var(--accent); }
.scene { display: none; flex: 1; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px; min-height: 0; overflow: hidden; }
.scene.on { display: flex; }
.bub { max-width: 88%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); color: var(--text); }
.bub .lbl { font-family: var(--font-data); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 3px; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.key { text-align: center; padding: 7px 6px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12.5px; transition: border-color 0.3s, color 0.3s, transform 0.2s; }
.key.done { border-color: var(--accent-line); color: var(--accent); }
.key.press { transform: scale(0.93); }
.me { align-self: flex-end; max-width: 84%; padding: 8px 11px 6px; border-radius: 14px 14px 4px 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.me p, .mi p { margin: 0; }
.me .meta { margin-top: 3px; text-align: right; font-family: var(--font-data); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mi { align-self: flex-start; max-width: 94%; font-size: 14px; }
.mi .head { display: flex; gap: 8px; margin-bottom: 2px; font-family: var(--font-data); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.mi .head b { color: var(--accent); font-weight: 600; }
.mi .w { opacity: 0; }
.log { align-self: center; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; width: 92%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-data); font-size: 10.5px; color: var(--dim); }
.log span:first-child { letter-spacing: 0.1em; text-transform: uppercase; }
.log span:last-child { color: var(--mute); }
.typing { display: none; gap: 4px; height: 18px; align-items: center; }
.typing.on { display: inline-flex; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); animation: dots 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.composer {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 6px; padding: 5px 5px 5px 16px;
  border: 1px solid var(--line-2); border-radius: 26px; background: var(--surface); transition: border-color 0.2s;
}
.composer.recording { border-color: var(--accent-line); }
.composer .ph { flex: 1; color: var(--mute); font-size: 14px; }
.composer.recording .ph { display: none; }
.rec { display: none; flex: 1; align-items: center; gap: 8px; min-width: 0; font-family: var(--font-data); font-size: 12px; color: var(--text); }
.composer.recording .rec { display: flex; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blinkrec 1.1s ease-in-out infinite; flex: none; }
@keyframes blinkrec { 50% { opacity: 0.25; } }
.bars { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 2px; height: 26px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.bars b { flex: none; width: 3px; border-radius: 2px; background: var(--accent); height: 3px; }
.mic { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: transform 0.5s cubic-bezier(0.34, 1.8, 0.64, 1), background 0.15s, color 0.15s, border-color 0.15s; }
.mic svg { width: 17px; height: 17px; }
.composer.recording .mic { transform: scale(1.22); background: var(--accent); border-color: var(--accent); color: var(--bg); }
.composer.recording .mic::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--accent); opacity: 0.24; z-index: -1; transform: scale(var(--lv, 1.15)); }
.scene[data-scene="13"] { justify-content: flex-start; }
.today { display: grid; gap: 8px; }
.today .reach { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--dim); font-size: 12.5px; }
.today .big { font-family: var(--font-data); font-size: 26px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; }
.today .big em { font-style: normal; color: var(--accent); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(7, 20px) 30px; align-items: center; font-size: 12px; }
.grid .h { font-family: var(--font-data); font-size: 9.5px; color: var(--dim); text-align: center; padding: 3px 0 5px; }
.grid .h.t, .grid .c.t { background: var(--accent-soft); }
.grid .h.t { color: var(--accent); border-radius: 6px 6px 0 0; }
.grid .n { padding: 6px 4px 6px 0; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 550; }
.grid .c { display: grid; place-items: center; height: 100%; min-height: 28px; border-top: 1px solid var(--line); }
.grid .k { text-align: right; border-top: 1px solid var(--line); font-family: var(--font-data); font-size: 11px; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.grid .out { color: var(--mute); }
.grid .k.done { color: var(--accent); }
.d { width: 9px; height: 9px; border-radius: 50%; display: block; transition: background 0.3s, border-color 0.3s; }
.d.met { background: var(--accent); }
.d.missed { background: var(--miss); }
.d.open { border: 1.5px solid var(--dim); }
.d.future { width: 3px; height: 3px; background: var(--line-2); }

/* Wächter */
.shield { fill: none; stroke: var(--accent-line); stroke-width: 1; }
.shield-dash { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 16; }
.edge { transition: opacity 0.4s, stroke 0.4s; }
.edge.warn { stroke: var(--warn); }
.pulse.warn { fill: var(--warn); }
.alert rect { fill: var(--surface); stroke: var(--warn); stroke-width: 1; }
.alert text { fill: var(--warn); font-family: var(--font-data); }

/* Erweiterung */
.picking .node:not(.hi) .dim { opacity: 0.16; }
.picking .edge:not(.hi) { opacity: 0.12; }
.node.hi rect.box { stroke: var(--accent); filter: drop-shadow(0 0 8px var(--glow)); }
.edge.hi { stroke: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-data); font-size: 12.5px; letter-spacing: 0.02em; padding: 8px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--dim); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ext { display: grid; gap: 10px; min-width: 0; }
.ext-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.cost { font-family: var(--font-data); font-size: 13px; color: var(--accent); }
.src { font-family: var(--font-data); font-size: 11px; color: var(--dim); }
pre.code {
  margin: 0; padding: 12px 14px; max-width: 100%; overflow-x: auto;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  font-family: var(--font-data); font-size: 11.5px; line-height: 1.6; color: var(--text); tab-size: 2;
}

/* Freie Steckplätze und Grenzen */
.slot rect { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: 0.7; }
.slot .label { fill: var(--accent); font-family: var(--font-text); font-weight: 560; }
.slot .sub { fill: var(--dim); font-family: var(--font-data); letter-spacing: 0.1em; text-transform: uppercase; }
.slot-edge { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.55; }
.slot-sock { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.slots-on .slot-sock { animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.6); } }
.future .node .dim { opacity: 0.4; }
.slots { display: grid; gap: 12px; margin: 4px 0 0; }
.slots dt { font-family: var(--font-data); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.slots dd { margin: 2px 0 0; color: var(--dim); }
.limits { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 60ch; }
.limits li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--dim); }
.limits li:last-child { border-bottom: 1px solid var(--line); }
footer.end .mark { height: 30px; width: auto; display: block; overflow: visible; }
footer.end p { max-width: 60ch; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.links a:hover { border-color: var(--accent); color: var(--accent); }

footer.end { padding: 10vh clamp(16px, 4vw, 48px) 14vh; border-top: 1px solid var(--line); display: grid; gap: 18px; position: relative; z-index: 2; background: var(--bg); }

/* Handy: Bühne oben, Karten darunter */
@media (max-width: 899px) {
  body { font-size: 16px; }
  .scrolly { display: block; }
  .stage { height: 100svh; margin-bottom: -100svh; }
  .stage::before { bottom: 38%; }
  .stage svg.board { height: 62%; top: 44px; }
  .readout { left: 16px; right: 16px; top: calc(62% + 58px); bottom: auto; justify-content: space-between; }
  .steps { padding-inline: 12px; padding-top: 54svh; padding-bottom: 30svh; }
  .step { min-height: 0; justify-content: flex-start; padding-block: 0 58svh; }
  .card {
    display: grid; gap: 14px; padding: 18px 16px 20px; border-radius: 16px;
    background: var(--card); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .step.hero .card { gap: 18px; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .calc { font-size: 10.5px; line-height: 1.55; }
  .blocks { grid-template-columns: 1fr; gap: 2px; }
  .today .eyebrow { display: none; }
  .today .big { font-size: 20px; }
  .grid .c { min-height: 24px; }
  .grid .n { padding-block: 3px; }
  .blocks dd { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
