/* =========================================================================
   Local tokens: the frame, the display scale, the path
   ========================================================================= */
:root {
  --frame-max: 1320px;
  --frame-out: 24px;
  --pad-in: 40px;
  --gap: 24px;
  --frame-line: rgba(23, 37, 30, 0.06);
  --rule: var(--border-strong);
  --rule-soft: var(--border);
  --tip: 0.55;

  --fs-hero: clamp(44px, 5.5vw, 80px);   /* the frame stops at 1320 px, so the headline stops growing at 1440 px; wider, the dot ran into the file */
  --fs-statement: clamp(32px, 5.2vw, 88px);
  --fs-title: clamp(34px, 4.1vw, 72px);
  --fs-not: clamp(30px, 4.9vw, 96px);
  --fs-closing: clamp(40px, 7vw, 112px);
  --fs-wl: clamp(44px, 6.9vw, 112px);
  --track-display: -0.04em;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --bar: rgba(23, 37, 30, 0.08);
  --bar-strong: rgba(23, 37, 30, 0.15);
}
:root[data-theme="dark"] { --frame-line: rgba(238, 243, 239, 0.1); --bar: rgba(238, 243, 239, 0.1); --bar-strong: rgba(238, 243, 239, 0.2); }
@media (max-width: 1263px) { :root { --pad-in: 32px; } }
@media (max-width: 899px) {
  :root { --frame-out: 12px; --pad-in: 16px; --gap: 16px; --fs-hero: clamp(34px, 10.1vw, 64px); --fs-statement: clamp(28px, 7.4vw, 40px); --fs-title: clamp(32px, 8.4vw, 44px); --fs-not: clamp(28px, 7.6vw, 40px); --fs-closing: clamp(36px, 10vw, 56px); --fs-wl: clamp(40px, 11.4vw, 64px); }
}

/* =========================================================================
   Base
   ========================================================================= */
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body { overflow-x: clip; min-height: 100vh; }
.js.is-intro .nav, .js.is-intro .hero, .js.is-intro .frame { visibility: hidden; }
a { color: inherit; text-decoration: none; }
.label { font-family: var(--font-sans); font-size: var(--text-sm); line-height: var(--leading-ui); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
::selection { background: var(--accent-tint); }

.shell {
  position: relative;
  width: min(var(--frame-max), calc(100% - 2 * var(--frame-out)));
  margin-inline: auto;
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--pad-in);
}

/* Masked lines: every display line rises out of its own slot */
.ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ln-i { display: block; will-change: transform; }

.display {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--track-display);
  color: var(--ink);
}
.title { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--fs-title); line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.lede { font-size: var(--text-lead); line-height: var(--leading-lead); color: var(--ink-secondary); text-wrap: pretty; max-width: 34em; }

/* The mark, inline everywhere */
.mk { display: block; flex-shrink: 0; overflow: visible; }
.mk-l { fill: none; stroke: currentColor; stroke-width: 2.906; stroke-linecap: round; stroke-linejoin: round; }
.mk-d { fill: var(--logo-dot); }
.mk.is-draw .mk-l { stroke-dasharray: 1 2; }
.mk .mk-d { transform-box: fill-box; transform-origin: 50% 50%; }

/* Page reference chip */
.ref {
  display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 var(--space-1);
  border-radius: var(--radius-xs); background: var(--surface-2);
  font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1; color: var(--ink-secondary);
  white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: 1px;
}
.ref-m { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-tertiary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.amber-dot { display: inline-block; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--warning); flex-shrink: 0; }
.badge { display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 var(--space-2); border-radius: var(--radius-xs); background: var(--surface-2); font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: 1; color: var(--ink-secondary); white-space: nowrap; }

.rule { position: absolute; left: 0; right: 0; height: 1px; background: var(--rule); transform-origin: 0 50%; }

/* =========================================================================
   The frame: two hairlines at the content edges, the path on the left one
   ========================================================================= */
.frame { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.frame-in { position: relative; height: 100%; width: min(var(--frame-max), calc(100% - 2 * var(--frame-out))); margin-inline: auto; }
.fl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--frame-line); transform-origin: 50% 0; }
.fl-l { left: 0; }
.fl-r { right: 0; }
.path { position: absolute; left: -1px; top: 0; width: 2px; height: 100%; background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }
.path-doc { display: none; position: absolute; z-index: 1; width: 2px; background: var(--accent); pointer-events: none; }
.reduce .path { display: none; }
.reduce .path-doc { display: block; }

main, .foot { position: relative; z-index: 2; }

/* Node on the path: every section header starts on it */
.node {
  position: absolute; left: -5px; bottom: -5px; z-index: 3;
  width: 11px; height: 11px; border-radius: var(--radius-full);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--bg), inset 0 0 0 1px var(--ink-tertiary);
  transition: background-color 380ms var(--ease-out), box-shadow 380ms var(--ease-out);
}
.is-lit > .node, .reduce .node { background: var(--accent); box-shadow: 0 0 0 3px var(--bg), inset 0 0 0 1px var(--accent); }

/* =========================================================================
   Section header row: the sheet's running head
   ========================================================================= */
.shead {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  height: 48px;
  padding-inline: var(--pad-in);
  font-size: var(--text-sm); line-height: var(--leading-ui); font-weight: var(--weight-medium);
  color: var(--ink-tertiary);
}
.shead > .rule { bottom: 0; }
.shead-l { display: flex; gap: 0.6em; transition: color 380ms var(--ease-out); }
.shead-l .n { transition: color 380ms var(--ease-out); }
.is-lit .shead-l, .reduce .shead-l { color: var(--ink); }
.is-lit .shead-l .n, .reduce .shead-l .n { color: var(--accent); }
.shead-r { white-space: nowrap; }

/* =========================================================================
   Nav
   ========================================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); }
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  opacity: 0; transition: opacity 320ms var(--ease-out);
}
.nav.is-solid::before { opacity: 1; }
.nav-in {
  display: flex; align-items: center; gap: var(--space-8);
  height: 100%; padding-inline: var(--pad-in);
  border-inline: 1px solid var(--frame-line);
}
.nav .pp-logo { font-size: 16px; flex-shrink: 0; }
.nav:not(.is-solid) .nav-now { opacity: 0; }
.nav-now { transition: opacity 320ms var(--ease-out); }
.nav-now { position: relative; overflow: hidden; height: 18px; color: var(--ink-tertiary); white-space: nowrap; }
.nav-now-t { display: block; }
.nav-now .n { color: var(--ink-secondary); margin-right: 0.6em; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
/* Light or dark: one quiet icon button next to the action; the moon in light, the sun in dark */
.theme-switch { display: grid; place-items: center; width: var(--control-md); height: var(--control-md); margin-right: calc(var(--space-3) * -1); padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-secondary); cursor: pointer; transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard); }
.theme-switch:hover { background: var(--surface-2); color: var(--ink); }
.theme-switch svg { width: var(--icon-md); height: var(--icon-md); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-switch .ts-sun, [data-theme="dark"] .theme-switch .ts-moon { display: none; }
[data-theme="dark"] .theme-switch .ts-sun { display: block; }
/* Language: two quiet links before the theme switch; the current page in full ink */
.lang-switch { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); white-space: nowrap; }
.lang-switch a { color: var(--ink-tertiary); text-decoration: none; border-radius: var(--radius-xs); transition: color var(--duration-fast) var(--ease-standard); }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--ink); }
.nav-links .pp-nav-link { position: relative; }
.nav-links .pp-nav-link[aria-current]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink);
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 720px; }
.hero > .shell { height: 100%; display: flex; flex-direction: column; padding-top: var(--nav-h); }
.hero-grid { flex: 1; align-items: center; row-gap: var(--space-12); }
.hero-copy { grid-column: 1 / span 7; }
.eyebrow { font-size: var(--text-base); line-height: var(--leading-ui); font-weight: var(--weight-medium); color: var(--ink-secondary); display: inline-block; }
.hero-h1 { margin-top: var(--space-5); font-size: var(--fs-hero); line-height: 0.96; }
.hero-h1 .ln { white-space: nowrap; }
.logo-dot {
  display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.05em;
  border-radius: var(--radius-full); background: var(--logo-dot);
}
.hero-h1 sup { font-family: var(--font-sans); font-size: 0.35em; vertical-align: super; margin-left: 0.15em; }
.timing-note { margin-top: var(--space-5); max-width: 38em; color: var(--ink-tertiary); font-size: var(--text-xs); line-height: var(--leading-body); }
.hero-lede { margin-top: var(--space-8); max-width: 31em; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); }

/* The Funding-Akte */
.akte { grid-column: 8 / span 5; position: relative; padding: var(--space-6) 28px var(--space-5); font-size: var(--text-base); line-height: 24px; }
.akte-bg { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--sheet-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); transform-origin: 50% 0; }
/* The file lies on a pale green area, shifted down and right, away from the headline */
.akte::before { content: ""; position: absolute; inset: 28px -24px -28px 28px; z-index: -1; border-radius: var(--radius-xl); background: var(--surface-tonal); }
@media (max-width: 899px) { .akte::before { inset: 20px -10px -16px 16px; } }
.akte-head, .akte-sign { position: relative; }
.akte-head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; row-gap: var(--space-4); padding-bottom: var(--space-5); }
.akte-run { color: var(--ink-secondary); }
.akte-head > .badge { justify-self: start; }
.akte-run .sep { color: var(--ink-tertiary); margin: 0 0.5em; }
.akte-title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-lg); line-height: 28px; letter-spacing: -0.015em; }
.akte-sec {
  position: relative;
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 84px 52px; column-gap: var(--space-3);
  padding: 14px 0;
}
.akte-sec > .rule { top: 0; right: 64px; }
.akte-sec.is-last { padding-bottom: 18px; }
.akte-sec.is-last > .rule.is-b { top: auto; bottom: 0; }
.akte-lbl { grid-column: 1; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); }
.akte-rows { grid-column: 2 / -1; display: grid; grid-template-columns: subgrid; }
.akte-rows > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
.akte-rows .it { font-weight: var(--weight-medium); min-width: 0; overflow-wrap: anywhere; }
.akte-rows .ext { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--ink-tertiary); }
.akte-rows .ref-m { justify-self: end; }
.akte-rows .pp-status { font-size: var(--text-sm); }
.akte-rows .draft { font-size: var(--text-sm); color: var(--ink-tertiary); }
.akte-mline { position: absolute; top: 108px; bottom: 64px; right: 86px; width: 1px; background: var(--border); transform-origin: 50% 0; }
.akte-sign { display: flex; align-items: center; gap: 10px; padding-top: var(--space-4); }
.akte-sign .mk { width: 22px; height: 22px; color: var(--ink); }
.akte-sign .who { font-weight: var(--weight-semibold); }
.akte-sign .what { font-size: var(--text-sm); color: var(--ink-tertiary); }

/* Facts row along the bottom of the hero */
.facts { position: relative; flex: none; }
.facts > .rule { top: 0; }
.facts-row { height: 76px; align-items: center; }
.facts-row.voices { height: auto; min-height: 76px; padding-block: var(--space-4); align-items: start; }
.voice { grid-column: span 3; position: relative; }
.voice-q { font-size: var(--text-sm); line-height: 20px; color: var(--ink); text-wrap: pretty; }
.voice-who { margin-top: var(--space-1); font-size: 11px; line-height: 16px; color: var(--ink-tertiary); }
.cue-cell { grid-column: span 3; display: flex; justify-content: flex-end; align-self: center; }
.facts-row.voices:not(:has(.voice)) .cue-cell { grid-column: 1 / -1; }
/* No quotes yet (production build): the band takes no space, only the scroll cue stays at the bottom edge */
.facts:not(:has(.voice)) { position: absolute; left: 0; right: 0; bottom: 0; }
.facts:not(:has(.voice)) > .rule { display: none; }
.facts-row.voices:not(:has(.voice)) { min-height: 0; }
.fact { grid-column: span 3; position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); color: var(--ink-secondary); }
.fact + .fact::before { content: ""; position: absolute; left: calc(var(--gap) / -2); top: 0; bottom: 0; width: 1px; background: var(--border); }
.fact.voice { display: block; height: auto; }
.fact.cue-cell { justify-content: flex-end; }
.fact-t { display: inline-block; }
.cue { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-tertiary); }
.cue-line { position: relative; width: 1px; height: 22px; background: var(--border-strong); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 8px; background: var(--ink); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-8px); } 70%, 100% { transform: translateY(22px); } }
.reduce .cue-line::after { animation: none; transform: translateY(7px); }

/* =========================================================================
   Sections: shared rhythm
   ========================================================================= */
.sec { position: relative; padding-top: 160px; }
.sec-body { margin-top: 72px; }
.stage { position: relative; }
.m-desk .sec-pin { padding-top: 0; }
.m-desk .sec-pin + .sec:not(.sec-pin) { padding-top: 48px; }
.m-desk .stage { height: 100vh; }
.m-desk .stage > .shell { height: 100%; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
.m-desk .stage-body { flex: 1; min-height: 0; margin-top: 0; }

/* ---------- 01 Das Problem ---------- */
.problem-body { align-content: center; padding-block: var(--space-12); }
.problem-body { position: relative; }
.statement { grid-column: 1 / span 11; position: relative; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--fs-statement); line-height: 1.04; letter-spacing: -0.035em; text-wrap: pretty; }
/* Both layers are split into word spans: WebKit measures split text slightly wider, so an unsplit base would wrap elsewhere */
.st-base { color: var(--ink-tertiary); }
.st-top { position: absolute; inset: 0; color: var(--ink); }
.st-top .w { opacity: 1; }
.problem-foot { grid-column: 1 / span 12; margin-top: var(--space-12); display: flex; justify-content: space-between; color: var(--ink-tertiary); }

/* ---------- 02 Jede Regel. Jede Verbindung. ---------- */
.guide-body { row-gap: var(--space-12); padding-top: var(--space-12); }
.guide-copy { grid-column: 1 / span 5; align-self: start; }
.guide-copy .lede { margin-top: var(--space-6); max-width: 26em; }
.ind { margin-top: var(--space-10); max-width: 400px; }
.ind > li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; height: 44px; }
.ind > li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--border); }
.ind > li:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--border); }
.ind .i-n { color: var(--ink-tertiary); }
.ind .i-t { font-weight: var(--weight-medium); }
.ind .i-r { color: var(--ink-tertiary); }
.ind .i-bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.reduce .ind .i-bar, html:not(.m-desk) .ind .i-bar { display: none; }
.fy { margin-top: var(--space-8); max-width: 26em; font-size: var(--text-sm); line-height: 20px; color: var(--ink-tertiary); }
.fy strong { font-weight: var(--weight-medium); color: var(--ink-secondary); }

.guide-stage { grid-column: 6 / span 7; position: relative; min-width: 0; }
.guide-col { display: none; }
.traps { display: grid; gap: var(--space-12); }
.trap { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.trap-lbl { grid-column: 1 / -1; color: var(--ink-tertiary); }
.gp {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  min-height: 300px; padding: 16px 20px 20px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-xs);
  overflow: hidden;
}
.gp-head { display: flex; justify-content: space-between; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--ink-tertiary); font-size: 11px; }
.gp-head b { font-weight: var(--weight-medium); color: var(--ink-secondary); }
.tb { display: block; flex: none; height: 5px; width: var(--w, 90%); border-radius: 2px; background: var(--bar); }
.tb.h { height: 8px; margin: 4px 0 6px; background: var(--bar-strong); }
.gp-pass { position: relative; margin: 4px -10px; padding: 8px 10px; font-size: var(--text-sm); line-height: 18px; color: var(--ink); }
.gp-pass > span { position: relative; }
.gp-pass .hl { position: absolute; inset: 0; border-radius: 2px; background: var(--accent-tint); box-shadow: inset 2px 0 0 var(--accent); transform-origin: 0 50%; }
.gp-pass sup { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.gp-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.gp-foot .gp-pass { font-size: var(--text-xs); line-height: 16px; margin-top: 0; }
.gp-gl { display: grid; grid-template-columns: 34% 1fr; column-gap: 10px; row-gap: 8px; align-items: center; }
.conn { display: none; }
.ga { grid-column: 1 / -1; display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }
.ga .mk { width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }
.ga-t { font-size: 17px; line-height: 26px; color: var(--ink); text-wrap: pretty; }
.ga-refs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }

/* Pinned layout: one trap on stage at a time, guide pages drifting behind */
.m-desk .guide-body { padding-top: 0; }
.m-desk .guide-copy { align-self: center; }
.m-desk .guide-stage { align-self: stretch; overflow: hidden; margin-right: calc(1px - var(--pad-in)); margin-bottom: -32px; }
.m-desk .guide-col { display: flex; gap: 28px; position: absolute; inset: 0; justify-content: center; opacity: 0.34; }
.m-desk .guide-col .gc { display: flex; flex-direction: column; gap: 28px; width: 188px; }
.m-desk .guide-col .gc:nth-child(2) { margin-top: 150px; }
.m-desk .guide-col .gc:nth-child(3) { margin-top: 60px; }
.gc .gp { min-height: 0; height: 252px; flex: none; box-shadow: none; border-color: var(--border); gap: 6px; padding: 12px 14px; }
.gc .gp-head { font-size: 10px; padding-bottom: 7px; margin-bottom: 4px; }
.m-desk .traps { position: absolute; top: 24px; bottom: 40px; left: 0; right: calc(var(--pad-in) - 1px); display: block; }
.m-desk .trap { position: absolute; left: 50%; top: 50%; width: 660px; height: 572px; display: block; transform: translate(-50%, -50%) scale(var(--k, 1)); }
.m-desk .trap-lbl { display: none; }
.m-desk .gp { position: absolute; width: 280px; height: 372px; min-height: 0; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.m-desk .gp.is-a { left: 0; top: 0; }
.m-desk .gp.is-b { left: 380px; top: 72px; }
.m-desk .conn { display: block; position: absolute; inset: 0; width: 660px; height: 572px; overflow: visible; pointer-events: none; }
.conn path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; }
.conn circle { fill: var(--accent); transform-box: fill-box; transform-origin: 50% 50%; }
.m-desk .ga { position: absolute; left: 0; right: 0; top: 476px; }

/* ---------- 03 So funktioniert es ---------- */
.tour-grid { align-items: start; }
.tour-steps { grid-column: 1 / span 4; padding-bottom: 12vh; }
.tour-intro .lede { margin-top: var(--space-6); }
.tstep { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.tstep-in { position: relative; }
.tstep-n { display: flex; align-items: center; gap: var(--space-3); }
.tstep-track { position: relative; width: var(--space-12); height: 1px; background: var(--border-strong); }
.tstep-bar { position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.m-desk) .tstep-bar { transition: transform 600ms var(--ease-out); }
html:not(.m-desk) .tstep.is-on .tstep-bar { transform: none; }
.tstep-n { color: var(--ink-tertiary); }
.tstep h3 { margin-top: var(--space-3); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-display-3); line-height: var(--leading-display-3); letter-spacing: var(--tracking-display-3); }
.tstep p.d { margin-top: var(--space-4); font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink-secondary); text-wrap: pretty; }
.tstep-meta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tstep .tstep-body { transition: opacity 400ms var(--ease-out); }
.m-desk .tstep:not(.is-on) .tstep-body { opacity: 0.38; }

.tour-app { grid-column: 5 / span 8; position: relative; align-self: stretch; }
.app-sticky { position: sticky; top: calc(50vh - var(--app-h, 600px) / 2 + var(--nav-h) / 2); }
.app-fit { position: relative; height: var(--app-h, 600px); }
.app {
  position: absolute; left: 0; top: 0;
  width: 820px; height: 600px;
  transform-origin: 0 0; transform: scale(var(--app-k, 1));
  display: grid; grid-template-columns: 48px minmax(0, 1fr);
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--sheet-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  font-size: 13px; line-height: 20px;
}
.app-cap { display: flex; justify-content: space-between; margin-top: var(--space-3); color: var(--ink-tertiary); }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; border-right: 1px solid var(--border); background: var(--surface); }
.app-rail .ri { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-sm); color: var(--ink-secondary); }
.app-rail .ri svg { width: 16px; height: 16px; }
.app-rail .ri.is-on { background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: var(--weight-semibold); }
.app-rail .ri.is-av { margin-top: auto; margin-bottom: 12px; width: 26px; height: 26px; border-radius: var(--radius-full); background: var(--surface-2); font-size: 11px; color: var(--ink-secondary); }
.ic { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.app-main { display: grid; grid-template-rows: 52px minmax(0, 1fr); min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-5); border-bottom: 1px solid var(--border); }
.app-top .t { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: var(--weight-semibold); line-height: 18px; }
.app-top .t svg { width: 13px; height: 13px; color: var(--ink-tertiary); }
.app-top .m { font-size: 12px; line-height: 16px; color: var(--ink-tertiary); }
.app-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-tertiary); }
.app-saved svg { width: 12px; height: 12px; }
.ok { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.app-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 0; }
.app-chat { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); }
.app-log { position: relative; flex: 1; overflow: hidden; }
.app-log-in { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 18px; padding: 20px 18px; }
.msg-u { align-self: flex-end; max-width: 250px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--surface-2); }
.msg-att { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border: 1px solid var(--border-strong); border-radius: var(--radius-xs); font-size: 11px; color: var(--ink-secondary); }
.fchip svg { width: 11px; height: 11px; }
.msg-p .au { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11px; line-height: 16px; font-weight: var(--weight-semibold); color: var(--ink-secondary); }
.msg-p .au .mk { width: 14px; height: 14px; color: var(--ink-secondary); }
.msg-p .ref { height: 17px; font-size: 10.5px; padding: 0 4px; vertical-align: 1px; }
.composer { margin: 0 14px 14px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); }
.composer .ph { min-height: 38px; color: var(--ink-tertiary); }
.composer-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-tertiary); }
.composer-row .att { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-secondary); }
.composer-row .att svg { width: 13px; height: 13px; }
.composer-row .hint { margin-left: auto; }
.send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); }
.send svg { width: 13px; height: 13px; }
.app-work { position: relative; display: grid; grid-template-rows: 44px minmax(0, 1fr) 34px; min-width: 0; }
.tabs { position: relative; display: flex; gap: var(--space-5); padding: 0 var(--space-5); border-bottom: 1px solid var(--border); }
.tab { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: var(--weight-medium); color: var(--ink-secondary); transition: color 300ms var(--ease-out); }
.tab.is-on { color: var(--ink); }
.tab .n { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 5px; border-radius: var(--radius-full); background: var(--surface-2); font-size: 10px; color: var(--ink-secondary); }
.tab-ind { position: absolute; left: 0; bottom: -1px; width: 100px; height: 2px; background: var(--accent); transform-origin: 0 50%; }
.panes { position: relative; min-height: 0; }
.pane { position: absolute; inset: 0; padding: 18px 20px; }
.pane + .pane { opacity: 0; visibility: hidden; }
.pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: 14px; }
.pane-head h4 { font-size: 16px; line-height: 22px; font-weight: var(--weight-semibold); letter-spacing: -0.01em; }
.pane-head p { font-size: 12px; line-height: 16px; color: var(--ink-tertiary); }
.pane .pp-btn.is-sm svg { width: 13px; height: 13px; }
.clarify { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 14px; border-radius: var(--radius-md); background: var(--surface); }
.clarify .l { font-size: 11px; line-height: 16px; color: var(--ink-tertiary); }
.clarify .q { font-size: 13px; }
.clarify .b { display: flex; gap: 6px; }
.mini-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: var(--weight-medium); color: var(--ink-secondary); }
.mini-btn.is-o { border: 1px solid var(--border-strong); color: var(--ink); }
.alist { border: 1px solid var(--border); border-radius: var(--radius-md); }
.alist > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 14px; align-items: center; column-gap: 8px; min-height: 62px; padding: 8px 14px; }
.alist > li + li { border-top: 1px solid var(--border); }
.alist .no { font-family: var(--font-mono); font-size: 11px; color: var(--ink-tertiary); }
.alist .tt { font-weight: var(--weight-semibold); font-size: 13.5px; }
.alist .mm { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alist .mm.is-open { color: var(--warning); }
.alist .mm svg { width: 11px; height: 11px; flex: none; }
.alist .chev { width: 12px; height: 12px; color: var(--ink-tertiary); }
.rlist { border-top: 1px solid var(--border); }
.rlist > li { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; align-items: center; column-gap: 12px; min-height: 52px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.rlist .tt { font-weight: var(--weight-medium); }
.rlist .mm { font-size: 11.5px; line-height: 16px; color: var(--ink-tertiary); }
.rlist .pp-status { font-size: 12px; }
.rlist .refs { display: flex; align-items: center; gap: 4px; justify-self: end; }
.xref { display: inline-flex; align-items: center; gap: 0; }
.xref i { display: block; width: 14px; height: 1.5px; background: var(--accent); }
.src-cap { margin-top: 14px; font-size: 12px; font-weight: var(--weight-semibold); color: var(--ink-secondary); }
.src { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 7px 0; }
.src .tb { width: var(--w); }
.src .bars { display: grid; gap: 5px; }
.dlist { border: 1px solid var(--border); border-radius: var(--radius-md); }
.dlist > li { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 14px; }
.dlist > li + li { border-top: 1px solid var(--border); }
.dlist .fi { width: 16px; height: 16px; color: var(--ink-tertiary); flex: none; }
.dlist .tt { font-weight: var(--weight-medium); }
.dlist .mm { font-size: 11.5px; line-height: 16px; color: var(--ink-tertiary); }
.dlist .x { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-tertiary); }
.callout { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--warning-bg); font-size: 12px; line-height: 17px; color: var(--ink-secondary); }
.callout strong { color: var(--warning); font-weight: var(--weight-semibold); }
.callout .ref { margin-left: auto; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.app-foot { display: flex; align-items: center; padding: 0 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--ink-tertiary); }

/* ---------- 04 What you get ---------- */
.track-head { align-items: end; row-gap: var(--space-5); }
.track-head .title { grid-column: 1 / span 6; }
.track-head .lede { grid-column: 8 / span 5; }
.track-win { margin-top: var(--space-12); }
.track { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); padding-inline: var(--pad-in); }
.dl {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
}
.dl-top { display: flex; justify-content: space-between; padding: 14px 18px; color: var(--ink-tertiary); border-bottom: 1px solid var(--border); }
.dl-mini { position: relative; flex: 1; min-height: 250px; padding: 22px; display: flex; align-items: center; justify-content: center; }
.dl-txt { padding: 18px 20px 20px; border-top: 1px solid var(--border); }
.dl-txt h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-lg); line-height: 26px; letter-spacing: -0.015em; }
.dl-txt p { margin-top: 6px; font-size: var(--text-base); line-height: 21px; color: var(--ink-secondary); text-wrap: pretty; }
.track-foot { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-6); padding-inline: var(--pad-in); color: var(--ink-tertiary); }
.prog { position: relative; flex: 1; height: 1px; background: var(--border-strong); }
.prog i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.track-foot, .reduce .track-foot { display: none; }
.m-desk .track-foot { display: flex; }
.m-desk .track-win { overflow: hidden; margin-inline: 1px; flex: 1; min-height: 0; display: flex; align-items: center; }
.m-desk .track { display: flex; width: max-content; height: min(468px, 100%); padding-inline: calc(var(--pad-in) - 1px); will-change: transform; }
.m-desk .dl { width: 452px; flex: none; height: 100%; }
.m-desk .dl-mini { min-height: 0; }

/* Miniatures */
.mini { width: 100%; max-width: 360px; font-size: 12px; line-height: 17px; }
.mini-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; column-gap: 12px; min-height: 40px; border-bottom: 1px solid var(--border); }
.mini-rows > li:first-child { border-top: 1px solid var(--border); }
.mini-rows .tt { font-weight: var(--weight-medium); font-size: 13px; }
.mini-rows .pp-status { font-size: 12px; }
.mini-rows .ref-m { justify-self: end; }
.mini-cap { margin-bottom: 10px; font-size: 11px; color: var(--ink-tertiary); display: flex; justify-content: space-between; }
.mini-quote { margin-top: 14px; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: start; }
.mini-quote .bars { display: grid; gap: 5px; padding-top: 4px; }
.paper { width: 208px; height: 236px; padding: 20px 20px; background: var(--surface-2); border-radius: 2px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 6px; }
.paper .pt { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 13px; line-height: 16px; letter-spacing: -0.01em; }
.paper .ps { font-size: 9px; line-height: 12px; color: var(--ink-tertiary); margin-bottom: 6px; }
.paper .tb { height: 4px; }
.paper .tbl { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--border-strong); }
.paper .tbl i { height: 14px; border-bottom: 1px solid var(--border); }
.paper .note { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--warning); }
.slide { width: 300px; }
.slide-main { aspect-ratio: 16 / 9; padding: 16px 18px; background: var(--surface-2); border-radius: 2px; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 108px; grid-template-rows: auto 1fr auto; column-gap: 14px; }
.slide-main .st { grid-column: 1 / -1; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 13px; line-height: 16px; letter-spacing: -0.01em; margin-bottom: 10px; }
.slide-main .bl { display: grid; gap: 7px; align-content: start; }
.slide-main .bl span { display: flex; align-items: center; gap: 6px; }
.slide-main .bl span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-tertiary); flex: none; }
.slide-main .dg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.slide-main .dg i { height: 28px; border: 1px solid var(--border-strong); border-radius: 3px; }
.slide-main .dg i:last-child { grid-column: 1 / -1; }
.slide-main .sf { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 8.5px; color: var(--ink-tertiary); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs i { flex: 1; aspect-ratio: 16 / 9; border-radius: 2px; background: var(--surface-2); opacity: 0.6; }
.thumbs i:first-child { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink-tertiary); }
.sheet-mini { width: 320px; border: 1px solid var(--border-strong); border-radius: 2px; overflow: hidden; background: var(--bg); }
.fx { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border-bottom: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 10px; color: var(--ink-tertiary); }
.fx b { font-weight: 500; color: var(--ink-secondary); padding-right: 8px; border-right: 1px solid var(--border); }
.grid-s { display: grid; grid-template-columns: 20px 1.6fr 1fr 1fr 0.8fr; font-size: 9.5px; }
.grid-s > span { height: 22px; display: flex; align-items: center; padding: 0 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--ink-secondary); white-space: nowrap; overflow: hidden; }
.grid-s > span.h { background: var(--surface); color: var(--ink-tertiary); justify-content: center; font-family: var(--font-mono); font-size: 9px; }
.grid-s > span.th { font-weight: var(--weight-semibold); color: var(--ink); }
.grid-s > span .tb { width: var(--w); height: 4px; }
.grid-s > span.sel { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- 05 Direct source lookup ---------- */
.source-proof { margin: var(--space-12) var(--pad-in) 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); border: 1px solid var(--sheet-border); overflow: hidden; }
.source-proof-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-8); border-bottom: 1px solid var(--border); }
.source-proof-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.source-answer, .source-evidence { padding: var(--space-8); }
.source-answer .label, .source-evidence > .label { color: var(--ink-tertiary); margin-bottom: var(--space-5); }
.source-answer h3 { font-family: var(--font-display); font-size: var(--text-display-3); line-height: var(--leading-display-3); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display-3); margin-bottom: var(--space-5); }
.source-answer > p:not(.label) { color: var(--ink-secondary); font-size: var(--text-lg); line-height: var(--leading-body); }
.source-answer .source-outcome { margin-top: var(--space-6); color: var(--ink); font-weight: var(--weight-medium); }
.source-evidence { background: var(--surface-tonal); }
.source-detail { border-top: 1px solid var(--border-strong); }
.source-detail:last-child { border-bottom: 1px solid var(--border-strong); }
.source-detail summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-3); align-items: center; padding-block: var(--space-5); cursor: pointer; font-weight: var(--weight-medium); list-style: none; }
.source-detail summary::-webkit-details-marker { display: none; }
.source-detail summary:focus-visible { outline: var(--focus-width) solid var(--focus-color); outline-offset: var(--focus-offset); }
.source-detail > div { padding-bottom: var(--space-5); color: var(--ink-secondary); line-height: var(--leading-body); }
.source-caption { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--ink-tertiary); }
.source-plus { font-size: var(--text-xl); font-weight: var(--weight-regular); }
.source-detail[open] .source-plus { transform: rotate(45deg); }
@media (max-width: 899px) {
  .source-proof-body { grid-template-columns: minmax(0, 1fr); }
  .source-proof-head, .source-answer, .source-evidence { padding: var(--space-5); }
  .source-proof-head { flex-wrap: wrap; }
}



/* ---------- 06 Angebot ---------- */
.offer-head, .gar-grid, .faq-grid { row-gap: var(--space-6); }
.offer-head .title { grid-column: 1 / span 6; }
.offer-head .lede { grid-column: 8 / span 5; align-self: end; }
.offer { position: relative; margin: var(--space-12) var(--pad-in) 0; overflow: hidden; background: var(--surface); border: 1px solid var(--sheet-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.o-row { position: relative; display: grid; grid-template-columns: 3fr 4fr 5fr; }
.o-row > .rule { top: 0; }
.o-row > :not(.rule) { padding: var(--space-4) var(--space-6) var(--space-5); }
.o-row > :nth-child(n+3) { border-left: 1px solid var(--border); }
.o-row .k { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); }
.o-row .v { font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink-secondary); text-wrap: pretty; }
.o-row .v.is-h { color: var(--ink); }
.o-row.is-head > :not(.rule) { padding-block: var(--space-6); }
.o-row .opt, .o-col .opt { display: block; font-family: var(--font-display); font-size: var(--text-xl); line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.02em; color: var(--ink); }
.o-row .sub, .o-col .sub { display: block; margin-top: var(--space-1); font-size: var(--text-base); color: var(--ink-secondary); }
.o-row .k-top { color: var(--ink-tertiary); }
.o-row .m-only { display: none; }
sup.fn { font-family: var(--font-mono); font-size: 10px; line-height: 0; color: var(--ink-tertiary); margin-left: 2px; }
.o-notes { position: relative; display: grid; grid-template-columns: 3fr 4fr 5fr; }
.o-notes > .rule { top: 0; }
.o-row .price, .o-col .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.o-row .price b, .o-col .price b { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 36px; line-height: 40px; letter-spacing: -0.03em; color: var(--ink); }
.o-row .price span, .o-col .price span { font-size: var(--text-sm); color: var(--ink-tertiary); }
.o-row .price-note { display: block; margin-top: var(--space-2); font-size: var(--text-sm); color: var(--ink-secondary); }
.o-row .price-cta, .o-col .price-cta { margin-top: var(--space-4); }
.o-note { padding: var(--space-5) var(--space-6) var(--space-6); font-size: var(--text-sm); line-height: 20px; color: var(--ink-secondary); }
.o-note b { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); font-weight: var(--weight-semibold); color: var(--ink); }
.o-note b .n { font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--ink-tertiary); }
.o-notes > :nth-child(3) { border-left: 1px solid var(--border); }
.o-notes > :nth-child(4) { border-left: 1px solid var(--border); }
/* Launch offer (28 Oct 2026): two columns, Partner Paul and the Enterprise features, each with its own list */
.offer.is-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o-col { display: flex; flex-direction: column; }
.o-col + .o-col { border-left: 1px solid var(--border); }
.o-col-head { padding: var(--space-6); border-bottom: 1px solid var(--border); }
.o-col .price-cta { display: inline-flex; }
.o-list { margin: 0; padding: var(--space-2) var(--space-6) var(--space-4); }
.o-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.o-item:first-child { border-top: 0; }
.o-item dt { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); }
.o-item dd { margin: 0; font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink); text-wrap: pretty; }
.o-item .badge { margin-left: var(--space-2); vertical-align: middle; }
.o-col-foot { margin-top: auto; padding: var(--space-4) var(--space-6) var(--space-6); border-top: 1px solid var(--border); font-weight: var(--weight-semibold); color: var(--ink); }
.founder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); margin: var(--space-8) var(--pad-in) 0; padding: var(--space-8); background: var(--surface-tonal); border-radius: var(--radius-lg); }
.founder-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.02em; color: var(--ink); }
.founder-copy p { margin-top: var(--space-3); font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink-secondary); max-width: 30em; }
.founder-terms ul { margin: 0; padding-left: var(--space-5); list-style: disc; font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink); }
.founder-terms li + li { margin-top: var(--space-2); }
.founder-date { margin: var(--space-4) 0; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-secondary); }
@media (max-width: 899px) {
  .offer.is-cols, .founder { grid-template-columns: minmax(0, 1fr); }
  .o-col + .o-col { border-left: 0; border-top: 1px solid var(--border); }
  .o-col-head, .o-list { padding-inline: var(--space-5); }
  .o-item { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .founder { padding: var(--space-6) var(--space-5); gap: var(--space-5); }
}
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding-inline: var(--pad-in); color: var(--ink-secondary); }

/* ---------- 06 Try it (Live-Demo) ---------- */
.gar-copy { grid-column: 1 / span 5; }
.gar-copy .lede { margin-top: var(--space-6); max-width: 27em; }
.gar-copy .bound { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border-strong); max-width: 27em; font-size: var(--text-base); line-height: 22px; color: var(--ink-secondary); }
.gar-sheet { grid-column: 7 / span 6; position: relative; padding: var(--space-6) 28px var(--space-6); background: var(--surface); border: 1px solid var(--sheet-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); }
.gar-sheet .top { display: flex; justify-content: space-between; color: var(--ink-secondary); }
.gar-sheet .top .x { color: var(--ink-tertiary); }
.gar-title { margin-top: var(--space-5); padding-bottom: var(--space-5); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-xl); line-height: 34px; letter-spacing: -0.02em; }
.clause { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 64px; column-gap: var(--space-4); padding: var(--space-3) 0 var(--space-4); }
.clause > .rule { top: 0; }
.clause .k { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); line-height: 24px; }
.clause ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.clause li { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--text-base); line-height: 24px; }
.clause li svg { width: 12px; height: 12px; flex: none; position: relative; top: 1px; }
.clause .ref-m { justify-self: end; line-height: 24px; }
.ring { fill: none; stroke: var(--ink-tertiary); stroke-width: 1.25; }
.sig { position: relative; margin-top: var(--space-4); padding-top: 72px; }
.sig .mk { position: absolute; left: -15px; top: 25.6px; width: 56px; height: 56px; color: var(--ink); }
.sig-who { padding-left: var(--space-5); }
.sig-line { position: relative; height: 1px; background: var(--ink-tertiary); transform-origin: 0 50%; }
.sig-who { display: flex; justify-content: space-between; margin-top: var(--space-2); color: var(--ink-tertiary); }
.sig-who b { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); }

/* ---------- 08 Fragen ---------- */
.faq-copy { grid-column: 1 / span 4; }
.faq-copy .lede { margin-top: var(--space-6); }
.faq { grid-column: 5 / span 8; border-top: 1px solid var(--border-strong); }
.faq > li { position: relative; border-bottom: 1px solid var(--border-strong); }
.faq-q { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: var(--space-3); padding: var(--space-5) 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.faq-q .n { color: var(--ink-tertiary); }
.faq-q .t { font-size: 17px; line-height: 26px; font-weight: var(--weight-medium); }
.faq-q .pm { position: relative; width: 14px; height: 14px; justify-self: end; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--ink-secondary); transition: transform 280ms var(--ease-out); }
.faq-q .pm::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq-q .pm::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.faq-q[aria-expanded="true"] .pm::after { transform: scaleY(0); }
.faq-q:hover .t { color: var(--ink); }
.faq-q:hover .pm::before, .faq-q:hover .pm::after { background: var(--ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px var(--space-6) 52px; font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink-secondary); text-wrap: pretty; max-width: 42em; }
.faq-a p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq > li.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- 11 Waitlist ---------- */
.wl-sheet { position: relative; margin: 0 1px; background: var(--surface-tonal); border-radius: var(--radius-xl); }
.wl-grid { padding-top: var(--space-16); row-gap: var(--space-10); }
.wl-copy { grid-column: 1 / span 7; }
.wl-copy .display { font-size: var(--fs-wl); line-height: 0.94; }
.wl-copy .lede { margin-top: var(--space-8); max-width: 26em; }
.wl-form { grid-column: 8 / span 5; }
.wl-cta { align-self: end; }
.f-row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: var(--space-4); align-items: baseline; padding: var(--space-3) 0 var(--space-4); border-top: 1px solid var(--border-strong); }
.f-row .k { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-tertiary); }
.f-row .opt { color: var(--ink-tertiary); }
.f-row .main { min-width: 0; }
fieldset.f-row { border-left: 0; border-right: 0; border-bottom: 0; margin: 0; min-width: 0; }
.input { display: block; width: 100%; height: var(--control-md); padding: 0; border: 0; border-bottom: 1px solid var(--border-control); border-radius: 0; background: transparent; font-size: var(--text-md); color: var(--ink); transition: border-color var(--duration-fast) var(--ease-standard); }
.input::placeholder { color: var(--ink-tertiary); opacity: 1; }
.input:hover { border-bottom-color: var(--ink-secondary); }
.input:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.f-q { font-size: var(--text-base); line-height: 24px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: var(--control-sm); padding: 0 var(--space-3); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-full); font-size: var(--text-sm); color: var(--ink-secondary); transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard); }
.chip:hover span { border-color: var(--ink-tertiary); color: var(--ink); }
.chip input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus-color); outline-offset: 2px; }
.f-submit { padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
.f-submit .note { margin-top: var(--space-3); font-size: var(--text-sm); line-height: 20px; color: var(--ink-tertiary); }
.f-submit .note a { color: var(--ink-secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.thanks { display: none; border-top: 1px solid var(--border-strong); padding-top: var(--space-4); }
.thanks .l { color: var(--ink-tertiary); }
.thanks .h { margin-top: var(--space-5); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-xl); line-height: 34px; letter-spacing: -0.02em; outline: none; }
.thanks .b { margin-top: var(--space-3); font-size: var(--text-md); line-height: var(--leading-body); color: var(--ink-secondary); max-width: 30em; }
.thanks .b strong { font-weight: var(--weight-medium); color: var(--ink); overflow-wrap: anywhere; }
.f-err { margin-top: var(--space-3); font-size: var(--text-sm); line-height: 20px; color: var(--danger, #f0704b); }
.f-err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-sheet.is-done form { display: none; }
.wl-sheet.is-done .thanks { display: block; }

.wl-base { position: relative; height: 200px; margin-top: var(--space-6); }
.wl-base > .rule.is-base { top: 184px; left: 140px; right: 0; background: var(--border-strong); }
.wl-path { position: absolute; left: -3px; top: 160px; width: 140px; height: 30px; overflow: visible; pointer-events: none; }
.wl-path path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: butt; stroke-dasharray: 1 2; }
.wl-mark { position: absolute; left: 62px; top: 28px; width: 144px; height: 144px; color: var(--ink); }
.wl-mark svg { width: 144px; height: 144px; }
.wl-end { position: absolute; right: var(--pad-in); top: 154px; color: var(--ink-tertiary); }
.reduce .wl-path path, html:not(.js) .wl-path path { stroke-dasharray: none; }

/* ---------- Footer ---------- */
.foot { padding-top: 0; padding-bottom: var(--space-6); }
.foot-row { position: relative; padding-top: var(--space-5); padding-bottom: var(--space-5); row-gap: var(--space-3); align-items: baseline; font-size: var(--text-sm); line-height: 20px; color: var(--ink-tertiary); }
.foot-row > .rule { top: 0; }
.foot-links { grid-column: 1 / span 3; display: flex; gap: var(--space-5); }
.foot-links a { color: var(--ink-secondary); transition: color var(--duration-fast) var(--ease-standard); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { grid-column: 4 / span 6; }
.foot-c { grid-column: 10 / span 3; justify-self: end; }
.foot-word { display: block; padding-inline: var(--pad-in); margin-top: var(--space-6); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 200px; line-height: 0.8; letter-spacing: -0.045em; white-space: nowrap; color: color-mix(in srgb, var(--ink-tertiary) 26%, var(--bg)); user-select: none; }
.foot-word span { display: inline-block; }

/* =========================================================================
   Below 900 px: stacked, no pinning, the path a thin line on the left edge
   ========================================================================= */
@media (max-width: 1263px) {
  .akte-sec { grid-template-columns: 76px minmax(0, 1fr) 76px 44px; }
  .akte-mline { right: 80px; }
  .hero-copy { grid-column: 1 / span 7; }
}
@media (min-width: 900px) { .hero-h1 .ln-i { width: max-content; } }
@media (max-width: 1099px) and (min-width: 900px) {
  :root { --fs-hero: 4.9vw; }
  .hero-copy { grid-column: 1 / span 6; }
  .akte { grid-column: 7 / span 6; padding-inline: 22px; }
  .akte-sec { grid-template-columns: 70px minmax(0, 1fr) 70px 40px; column-gap: 10px; }
  .akte-mline { right: 68px; }
  .fact .cue { display: none; }
}
@media (max-width: 899px) {
  .nav-now, .nav-links .pp-nav-link { display: none; }
  .nav-in { padding-inline: var(--pad-in); gap: var(--space-4); }
  .g12 > * { grid-column: 1 / -1 !important; }
  .hero { height: auto; min-height: 0; }
  .hero > .shell { height: auto; }
  .hero-grid { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .hero-h1 .ln { white-space: normal; }
  .akte { padding-inline: 18px; }
  .akte-sec { grid-template-columns: minmax(0, 1fr) auto 36px; row-gap: 2px; }
  .akte-lbl { grid-column: 1 / -1; }
  .akte-rows { grid-column: 1 / -1; }
  .akte-mline { display: none; }
  .akte-sec > .rule { right: 0; }
  .akte-run { white-space: normal; }
  .facts-row { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { grid-column: span 1 !important; min-height: 60px; padding-block: var(--space-3); }
  .fact:nth-child(odd)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border); }
  .fact .cue { display: none; }
  .sec { padding-top: 112px; }
  .sec-body, .problem-body { margin-top: var(--space-10); padding-block: 0; }
  .statement { font-size: var(--fs-statement); }
  .guide-body { padding-top: var(--space-10); }
  .trap { grid-template-columns: minmax(0, 1fr); }
  .gp { min-height: 0; }
  .gp .tb:nth-of-type(n+6) { display: none; }
  .tstep { min-height: 0; padding-top: var(--space-10); }
  .tour-app { margin-top: var(--space-10); }
  .app-sticky { position: relative; top: 0; }
  .app-fit { height: auto !important; }
  .app { position: relative; width: 100%; height: auto; transform: none; grid-template-columns: minmax(0, 1fr); }
  .app-rail, .app-chat { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-top { padding: 10px 16px; }
  .app-top .m, .app-saved { display: none; }
  .app-work { height: 500px; grid-template-rows: 44px minmax(0, 1fr) auto; }
  .tabs { gap: var(--space-4); padding: 0 16px; }
  .tab:nth-child(4) { display: none; }
  .pane { padding: 16px; }
  .clarify .b { display: none; }
  .rlist > li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .rlist .refs { grid-column: 1 / -1; justify-self: start; }
  .src-cap, .src { display: none; }
  .dlist .x { display: none; }
  .app-foot { padding: 8px 16px; line-height: 16px; }
  .app-cap { flex-direction: column; }
  .track-head .lede { margin-top: var(--space-2); }
  .track { grid-template-columns: minmax(0, 1fr); }
  .dl-mini { min-height: 240px; padding: 18px 12px; }
  .paper { transform: scale(0.92); }
  .slide, .sheet-mini { width: 100%; }
  .offer { margin-inline: var(--pad-in); }
  .o-row { grid-template-columns: minmax(0, 1fr); }
  .o-row.is-head { display: grid; }
  .o-row.is-head .k-top { display: none; }
  .o-row.is-head > .v + .v { border-top: 1px solid var(--border); }
  .o-row > :not(.rule) { padding: var(--space-3) var(--space-5); }
  .o-row > .k { padding-top: var(--space-4); padding-bottom: 0; }
  .o-row > :nth-child(n+3) { border-left: 0; }
  .o-row .m-only { display: block; margin-bottom: 2px; font-size: var(--text-xs); color: var(--ink-tertiary); }
  .o-notes { grid-template-columns: minmax(0, 1fr); }
  .o-notes > :nth-child(3), .o-notes > :nth-child(4) { border-left: 0; border-top: 1px solid var(--border); }
  .o-notes > :nth-child(2) { display: none; }
  .offer-foot { flex-direction: column; align-items: flex-start; }
  .gar-sheet { padding-inline: 18px; margin-top: var(--space-4); }
  .clause { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .faq-q { grid-template-columns: 28px minmax(0, 1fr) 16px; }
  .faq-a p { padding: 0 0 var(--space-5) 40px; }
  .wl-grid { padding-top: var(--space-10); }
  .f-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .f-row .main { grid-column: 1 / -1; grid-row: 2; }
  .input { font-size: var(--text-touch); }
  .f-submit .pp-btn { width: 100%; }
  .wl-base { height: 170px; margin-top: var(--space-8); }
  .wl-mark { left: 40px; top: 22px; width: 112px; height: 112px; }
  .wl-mark svg { width: 112px; height: 112px; }
  .wl-path { top: 111px; }
  .wl-base > .rule.is-base { top: 135px; left: 96px; }
  .wl-end { display: none; }
  .foot-row { row-gap: var(--space-2); }
  .foot-c { justify-self: start; }
}
@media (max-width: 599px) {
  .nav .pp-btn { height: var(--control-sm); padding: 0 var(--space-3); font-size: var(--text-sm); }
  .cta-row .pp-btn { flex: 1 1 auto; }
  .shead-r { display: none; }
  /* Language: on a phone only the other language shows, so the wordmark keeps its room; the tap area is larger than the letters */
  .lang-switch > [aria-current], .lang-switch > span { display: none; }
  .lang-switch a { position: relative; }
  .lang-switch a::after { content: ""; position: absolute; inset: -10px -8px; }
  .nav-links { gap: var(--space-3); }
}

/* =========================================================================
   Mobile pass (see MOBILE-REVIEW.md): a deliberate stacked layout below 900 px.
   Nothing in here reaches the desktop; every rule sits inside a max-width: 899px query.
   ========================================================================= */
@media (max-width: 899px) {
  /* Rhythm: the desktop chapter gaps (112 px + 48 px head + 40 px) read as empty screens on a phone */
  .sec { padding-top: var(--space-16); }
  .sec-body, .problem-body { margin-top: var(--space-8); }
  .hero-grid { padding-top: var(--space-10); padding-bottom: var(--space-10); }

  /* Nav: the only control on the phone must be a touch target */
  .nav .pp-btn { height: var(--control-md); padding: 0 var(--space-4); font-size: var(--text-sm); }

  /* Hero: the Akte rows may wrap instead of running into the status column */
  .akte-rows .it { white-space: normal; overflow-wrap: anywhere; }
  .akte-rows > li { padding-block: 2px; }
  /* Quote band: one column; the scroll cue cell and an empty band (production build) disappear */
  .facts-row.voices { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-2); }
  .facts-row.voices:not(:has(.voice)) { display: none; }
  .fact.voice { min-height: 0; padding-block: var(--space-4); }
  .fact::before { display: none !important; }
  .fact:nth-child(n+3) { border-top: 0; }
  .fact.voice + .fact.voice { border-top: 1px solid var(--border); }
  .fact.cue-cell { display: none; }


  /* 02 Der Guide: the index list duplicates the trap labels that follow it; the two guide pages
     of a trap sit side by side as compact excerpts (page head, two lines, the passage, two lines) */
  .ind { display: none; }
  .fy { margin-top: var(--space-6); }
  .guide-body { padding-top: var(--space-8); row-gap: var(--space-8); }
  .traps { gap: var(--space-10); }
  .trap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .trap-lbl { margin-bottom: -2px; }
  .gp { padding: 10px 12px 12px; gap: 5px; }
  .gp-head { flex-wrap: wrap; gap: 2px var(--space-2); padding-bottom: 8px; margin-bottom: 2px; }
  .gp > .tb { display: none; }
  .gp > .tb:nth-of-type(1), .gp > .tb:nth-of-type(2), .gp > .gp-pass + .tb, .gp > .gp-pass + .tb + .tb { display: block; }
  .gp-gl .tb:nth-of-type(n+5) { display: none; }
  .gp-gl { row-gap: 6px; }
  .gp-pass { margin: 4px -6px; padding: 6px 6px 6px 8px; }
  .gp-foot { margin-top: 2px; }
  .ga { padding: var(--space-4); }
  .ga-t { font-size: var(--text-md); line-height: var(--leading-body); }

  /* 03 So funktioniert es: the product picture shows the conversation and the work area stacked,
     so the lede (conversation left, workspace right) has a picture to point at */
  .tstep { padding-top: var(--space-8); }
  .tour-app { margin-top: var(--space-8); }
  .app-chat { display: flex; border-right: 0; border-bottom: 1px solid var(--border); }
  .app-log { flex: none; overflow: visible; }
  .app-log-in { position: static; gap: 14px; padding: 16px; }
  .msg-u { max-width: 86%; }
  .composer { display: none; }
  .app-work { height: auto; grid-template-rows: 44px auto auto; }
  .panes { min-height: 0; }
  .pane { position: static; }
  .pane:not([data-pane="2"]) { display: none; }
  .pane-head { flex-wrap: wrap; }
  .callout { flex-wrap: wrap; }
  .app-cap { gap: 2px; }

  /* 04 What you get: cards without the dead space around the miniatures */
  .track { gap: var(--space-3); }
  .dl-mini { min-height: 0; padding: 16px 14px; }
  .paper { transform: none; }
  .dl-txt { padding: 14px 16px 16px; }

  /* 05 Vergleich */

  /* 07 Angebot: two plans, one after the other, instead of five interleaved comparison rows.
     The rows keep their DOM (role=table) and are only re-ordered visually. */
  .offer { display: flex; flex-direction: column; }
  .o-row, .o-row.is-head { display: contents; }
  .o-row > .rule, .o-row > .k, .o-row .m-only { display: none; }
  .o-row > .v { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); }
  .o-row > .v::before { content: attr(data-k); display: block; margin-bottom: 2px; font-size: var(--text-xs); color: var(--ink-tertiary); }
  .o-row.is-head > .v { padding: var(--space-6) var(--space-5) var(--space-5); border-top: 0; }
  .o-row.is-head > .v:nth-child(4) { border-top: 1px solid var(--border-strong); margin-top: var(--space-2); }
  .o-row.is-head > .v::before { display: none; }
  .o-row:nth-child(1) > .v:nth-child(3) { order: 1; }
  .o-row:nth-child(2) > .v:nth-child(3) { order: 2; }
  .o-row:nth-child(3) > .v:nth-child(3) { order: 3; }
  .o-row:nth-child(4) > .v:nth-child(3) { order: 4; }
  .o-row:nth-child(5) > .v:nth-child(3) { order: 5; }
  .o-row:nth-child(1) > .v:nth-child(4) { order: 11; }
  .o-row:nth-child(2) > .v:nth-child(4) { order: 12; }
  .o-row:nth-child(3) > .v:nth-child(4) { order: 13; }
  .o-row:nth-child(4) > .v:nth-child(4) { order: 14; }
  .o-row:nth-child(5) > .v:nth-child(4) { order: 15; }
  .o-row .price-cta, .o-col .price-cta { width: 100%; }
  .offer-foot .pp-btn { width: 100%; }

  /* 09 Waitlist: chips are touch targets; the closing mark keeps its curve but less air */
  .chip span { height: var(--control-md); padding: 0 var(--space-4); }
  .wl-grid { row-gap: var(--space-8); }
  .wl-base { height: 150px; margin-top: var(--space-6); }

  /* Footer links as touch targets */
  .foot-links a { padding-block: var(--space-2); }
}
/* Tablet: the same stacked page with room for two columns where the content is paired */
@media (min-width: 600px) and (max-width: 899px) {
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .o-row > .v:nth-child(4) { border-left: 1px solid var(--border); }
  .o-row.is-head > .v:nth-child(4) { border-top: 0; margin-top: 0; }
  .o-row .price-cta, .offer-foot .pp-btn { width: auto; }
  .offer-foot { flex-direction: row; align-items: center; }
  .msg-u { max-width: 70%; }
}
/* Give the sample filenames their own row width. */
.akte-sec { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: var(--space-2); }
.akte-lbl { grid-column: 1 / -1; }
.akte-rows { grid-column: 1 / -1; }
.akte-rows > li { column-gap: var(--space-3); }
.akte-sec.is-last .akte-rows { grid-template-columns: minmax(0, 1fr) auto; }
.akte-sec.is-last .ref-m { display: none; }
.akte-sec > .rule { right: 0; }
.akte-mline { display: none; }
.email-subject { margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); font-size: var(--text-md); font-weight: var(--weight-medium); }
.email-attachments { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
@media (max-width: 399px) {
  .nav-in { gap: var(--space-2); padding-inline: var(--space-3); }
  .nav-links { gap: var(--space-2); }
  .theme-switch { margin-right: 0; }
  .nav .pp-logo { font-size: var(--text-base); }
  .nav .pp-btn { padding-inline: var(--space-3); }
}
/* The smallest phones: the mark alone carries the brand; its link keeps the name as label */
@media (max-width: 359px) {
  .nav .pp-logo > span { display: none; }
  /* The app's tab row must not widen the window past the screen */
  .tabs { min-width: 0; overflow: hidden; gap: var(--space-3); padding: 0 12px; }
  .tab { font-size: 12px; }
}
