:root {
  --ink: #f3f0e8;
  --muted: #a7aaa5;
  --paper: #111513;
  --panel: #171c19;
  --line: #39413c;
  --acid: #c7f36b;
  --amber: #efb865;
  --red: #e87a69;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 4rem 4rem; }
a { color: inherit; }
.masthead, main, footer { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.masthead { min-height: 5.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--line); }
.masthead > * { min-width: 0; overflow-wrap: anywhere; }
.wordmark { color: var(--ink); text-decoration: none; font-size: .77rem; font-weight: 750; letter-spacing: .14em; }
.wordmark span, .watermark, .eyebrow, .mono { color: var(--muted); }
.watermark { margin: 0; font: 700 .67rem/1 var(--sans); letter-spacing: .12em; padding: .55rem .7rem; border: 1px solid var(--line); }
.hero { padding: clamp(4rem, 10vw, 8rem) 0 4rem; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 950px; font-size: clamp(3.5rem, 9vw, 8rem); line-height: .87; }
h1 em { color: var(--acid); font-weight: 400; }
.lede { max-width: 700px; margin: 2.5rem 0; font: 1.25rem/1.55 var(--serif); }
.boundary { display: grid; grid-template-columns: 1fr auto 2fr; gap: 1rem; align-items: center; max-width: 800px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.boundary span:nth-child(2) { color: var(--acid); font-size: 1.5rem; }
.console { padding: 3rem 0 5rem; }
.modes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
button, select { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 99px; font: 650 .72rem/1 var(--sans); letter-spacing: .04em; }
button { padding: .65rem .9rem; cursor: pointer; }
button:hover, button:focus-visible, button.active { color: var(--paper); background: var(--acid); border-color: var(--acid); outline: none; }
.case-picker { min-width: 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; font-size: .75rem; color: var(--muted); }
select { min-width: 0; width: min(100%, 38rem); max-width: 100%; padding: .6rem 2rem .6rem .85rem; border-radius: 0; background: var(--panel); }
.receipt { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--acid); padding: clamp(1.25rem, 4vw, 3rem); }
.receipt-head, .section-heading { display: flex; align-items: start; justify-content: space-between; gap: 2rem; }
.receipt h2, .ledger h2, .emergence h2, .port h2 { font-size: clamp(2rem, 5vw, 4.5rem); line-height: .98; }
.result { margin: 0; padding: .6rem .75rem; border: 1px solid currentColor; color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.receipt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.receipt-grid > div { min-height: 8.5rem; padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.receipt-grid > div:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.receipt-grid .decision { grid-column: 1 / -1; border-left: 0; padding-left: 0; min-height: auto; }
dt { color: var(--acid); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: .75rem 0 0; color: #d1d3ce; font: 1rem/1.5 var(--serif); overflow-wrap: anywhere; }
.does-not-claim { margin: 1.25rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.does-not-claim strong { color: var(--red); margin-right: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.no-script { margin: 1rem 0 0; padding: 1rem; color: var(--ink); border: 1px solid var(--amber); font: .85rem/1.5 var(--sans); }
.ledger { padding: 5rem 0 0; }
.section-heading { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mono { max-width: 22rem; font: .65rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; text-align: right; }
.trace { list-style: none; margin: 0; padding: 0; }
.trace li { display: grid; grid-template-columns: 6rem minmax(11rem, .75fr) 2fr; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.trace .tick, .trace .kind { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.trace .tick { color: var(--muted); }
.trace .kind { color: var(--acid); font-weight: 700; }
.trace .summary { color: #c3c6c1; font: .9rem/1.45 var(--serif); }
.trace li.adverse .kind { color: var(--red); text-decoration: line-through; text-decoration-thickness: 1px; }
.emergence, .port { padding: clamp(4rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.emergence > p:not(.eyebrow), .port > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font: 1.05rem/1.65 var(--serif); }
.state-row { display: flex; justify-content: space-between; gap: 2rem; max-width: 720px; margin-top: 2rem; padding: 1rem 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.state-row strong { color: var(--amber); }
.rpg { font-size: .85rem !important; color: var(--ink) !important; border-left: 2px solid var(--acid); padding-left: 1rem; }
footer { padding: 2rem 0 4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 720px) {
  .watermark { font-size: .55rem; }
  .case-picker { flex-direction: column; align-items: stretch; }
  .case-picker select { width: 100%; }
  .boundary { grid-template-columns: 1fr auto; }
  .boundary span:last-child { grid-column: 1 / -1; }
  .receipt-head, .section-heading { display: block; }
  .result { display: inline-block; margin-top: 1rem; }
  .receipt-grid { grid-template-columns: 1fr; }
  .receipt-grid > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .receipt-grid .decision { grid-column: 1; }
  .mono { text-align: left; margin-top: 1rem; }
  .trace li { grid-template-columns: 3.5rem 1fr; gap: .75rem; }
  .trace .summary { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --ink: #111; --muted: #555; --paper: #fff; --panel: #fff; --line: #aaa; --acid: #315600; --amber: #6d4900; --red: #8c251c; }
  @page { size: A4; margin: 12mm; }
  body::before, .modes, .case-picker, .port, footer { display: none !important; }
  .masthead, main { width: 100%; }
  .masthead { min-height: 12mm; }
  .hero { padding: 10mm 0 7mm; }
  h1 { font-size: 30pt; line-height: .95; }
  .lede { margin: 5mm 0; font-size: 12pt; }
  .console { padding: 7mm 0 0; }
  .receipt { padding: 6mm; break-inside: avoid; }
  .receipt h2 { font-size: 18pt; }
  .receipt-grid > div { min-height: auto; padding-block: 3mm; }
  .ledger { padding-top: 8mm; }
  .ledger h2, .emergence h2 { font-size: 18pt; }
  .trace li { grid-template-columns: 15mm 42mm 1fr; padding: 2.5mm 0; break-inside: avoid; }
  .trace .summary { font-size: 8pt; }
  .emergence { padding: 8mm 0 0; break-before: auto; }
}

.claim-line { margin: 0.75rem 0 1rem; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.claim-line strong { color: var(--acid); }
.digest-panel, .limits-panel, .howto { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.digest-panel h3, .limits-panel h3 { margin: 0 0 0.75rem; font: 650 0.8rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.digest-grid { display: grid; gap: 0.75rem; margin: 0; }
.digest-grid dt { color: var(--muted); font-size: 0.72rem; }
.digest-grid dd { margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.limitation-list { margin: 0; padding-left: 1.1rem; color: var(--amber); }
.limitation-list li { margin: 0.25rem 0; }
.source-picker { margin-bottom: 1.25rem; }
.howto { padding: 2rem 0 3rem; }
.howto a { color: var(--acid); }

/* === First-screen money product 2026-09-26 (try-one hero) === */
.product-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; border-bottom: 1px solid var(--line); }
.pitch { max-width: 42rem; font-size: clamp(1.65rem, 3.6vw, 2.55rem); line-height: 1.15; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 400; margin: 0; }
.pitch-de { max-width: 40rem; margin: 1rem 0 0; color: var(--muted); font: 1rem/1.5 var(--serif); }
.eyebrow.acid { color: var(--acid); }
.try-one { display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: end; margin-top: 2.25rem; padding: 1.35rem 1.4rem; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--acid); }
.try-one h2 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.35rem, 2.8vw, 1.85rem); line-height: 1.15; }
.try-one-lede { margin: 0; color: var(--muted); font: 0.95rem/1.5 var(--serif); max-width: 36rem; }
.try-one-lede strong { color: var(--ink); }
.try-one-actions { display: flex; flex-direction: column; gap: 0.6rem; min-width: 12rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.1rem; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; color: var(--ink); background: transparent; }
.btn.primary { background: var(--acid); color: var(--paper); border-color: var(--acid); }
.btn.primary:hover, .btn.primary:focus-visible { filter: brightness(1.05); outline: none; }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: var(--acid); color: var(--acid); outline: none; }
.boundary-compact { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; }
.boundary-compact span:nth-child(2) { color: var(--acid); font-size: 1.1rem; }
.watermark-observed { color: var(--acid); border-color: var(--acid); }
.watermark-simulated { color: var(--amber); border-color: var(--amber); }
.watermark-unknown { color: var(--red); border-color: var(--red); }
.result-pass { color: var(--acid); }
.result-fail { color: var(--red); }
.lab-chrome { opacity: 0.85; }
.below-fold { opacity: 0.9; }
.product-source { margin-top: 0.5rem; }
.console { padding-top: 2rem; }
@media (max-width: 720px) {
  .try-one { grid-template-columns: 1fr; }
  .try-one-actions { flex-direction: row; flex-wrap: wrap; }
  .pitch { font-size: clamp(1.45rem, 6.5vw, 2rem); }
}
@media print {
  .try-one-actions, .lab-chrome, .btn { display: none !important; }
  .product-hero { padding: 8mm 0 5mm; }
  .pitch { font-size: 16pt; }
}

/* === New Bot gap-fill 2026-09-26 (transfer GO leftovers only) === */
.disqualifier {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--amber);
  font: 0.9rem/1.45 var(--serif);
}
.proof-strip {
  margin: 0 0 1rem;
  color: var(--muted);
  font: 0.72rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.02em;
}
.proof-strip code { color: var(--acid); }
.product-instance { position: relative; overflow: hidden; }
.product-instance.is-building { border-top-color: var(--amber); }
.product-instance.is-ready { border-top-color: var(--acid); }
.instance-chrome {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: -0.25rem 0 1rem; min-height: 1.6rem;
}
.cube-row { display: inline-flex; flex-wrap: wrap; gap: 3px; max-width: min(100%, 28rem); }
.cube-row .cube {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.05rem; height: 1.25rem;
  border: 1px solid var(--line); background: #0d110f;
  color: var(--acid); font: 700 0.55rem/1 ui-monospace, monospace;
}
.cube-row .cube.flicker { border-color: var(--amber); color: var(--amber); animation: cube-flicker 0.12s steps(2) infinite; }
.cube-row .cube.settled { border-color: var(--acid); color: var(--acid); }
.flicker-label {
  color: var(--muted); font: 650 0.62rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.2s ease;
}
.product-instance.is-building .flicker-label { opacity: 1; color: var(--amber); }
.product-instance.is-ready .flicker-label { opacity: 0; }
@keyframes cube-flicker {
  0% { opacity: 1; }
  50% { opacity: 0.35; }
  100% { opacity: 1; }
}
.reveal-grid > div {
  /* Artifact-in-View: fields visible in static HTML; no opacity gate */
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cube-row .cube.flicker { animation: none; }
}

.lab-panel {
  margin-top: 1.75rem; padding: 0.85rem 1rem; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 0.8rem;
}
.lab-panel > summary {
  cursor: pointer; list-style: none; font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.lab-panel > summary::-webkit-details-marker { display: none; }
.lab-panel > summary::before { content: "+ "; color: var(--acid); }
.lab-panel[open] > summary::before { content: "− "; }
.lab-panel[open] { margin-bottom: 1rem; }
.lab-panel .modes { margin-top: 1.25rem; }
.lab-panel .ledger { padding-top: 2rem; }

.value-blocks { padding: 3rem 0 1rem; border-top: 1px solid var(--line); }
.value-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 0.5rem;
}
.value-grid article {
  padding: 1.15rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--acid);
}
.value-grid h3 {
  margin: 0 0 0.55rem; font: 700 0.78rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acid);
}
.value-grid p { margin: 0; color: var(--muted); font: 0.95rem/1.5 var(--serif); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.cta-band {
  margin: 2rem 0; padding: 1.5rem 1.4rem; border: 1px solid var(--line); background: var(--panel);
  display: grid; gap: 0.75rem;
}
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.cta-band p { margin: 0; color: var(--muted); font: 0.95rem/1.5 var(--serif); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.35rem; }

.faq { padding: 2rem 0 1rem; border-top: 1px solid var(--line); }
.faq h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer; font: 650 0.95rem/1.35 var(--sans); color: var(--ink);
}
.faq details p { margin: 0.65rem 0 0.2rem; color: var(--muted); font: 0.95rem/1.5 var(--serif); max-width: 40rem; }
.faq code { color: var(--acid); font-size: 0.85em; }

@media (max-width: 720px) {
  .value-grid { grid-template-columns: 1fr; }
  .instance-chrome { flex-direction: column; align-items: flex-start; }
}
@media print {
  .lab-panel, .cta-band, .faq, .instance-chrome, .value-blocks { display: none !important; }
}

/* === Transferzettel v2 polish 2026-09-26 (A3/A4/A5/A7) === */
.watermark-load-error { color: var(--amber); border-color: var(--amber); }
.claim-line strong#claim-class { font-size: 1.05rem; letter-spacing: 0.06em; }
.product-hero { padding: clamp(1.75rem, 4vw, 3rem) 0 1.5rem; }
.try-one { margin-top: 1.35rem; padding: 1rem 1.15rem; }
.console { padding: 1.25rem 0 3rem; }
.receipt { padding: clamp(1.1rem, 3vw, 2.25rem); }
.disqualifier { margin-top: 0.85rem; font-size: 0.85rem; }
.pitch-de { margin-top: 0.65rem; font-size: 0.95rem; }
.boundary-compact { margin-top: 1rem; }
.lab-panel { margin-top: 1.25rem; }
@media (max-width: 420px) {
  .product-hero { padding-top: 1.25rem; padding-bottom: 1rem; }
  .try-one h2 { font-size: 1.2rem; }
  .pitch { font-size: clamp(1.3rem, 6vw, 1.7rem); }
}

/* === Claude v2 artifact-in-view 2026-09-26 === */
.instance-chrome, .cube-row, .flicker-label { display: none !important; }
.load-error-note { margin: 0.85rem 0 0; color: var(--muted); font: 0.72rem/1.5 var(--sans); }
.load-error-note code { color: var(--amber); }
.value-blocks, .faq { display: none !important; } /* brochure rollback safety */

/* === A4 fold construction: card head (title+PASS+claimClass) in first desktop viewport === */
.masthead { min-height: 3.75rem; }
.product-hero { padding: clamp(1.1rem, 2.8vw, 2rem) 0 1rem; }
.pitch { font-size: clamp(1.45rem, 3.1vw, 2.15rem); line-height: 1.12; }
.pitch-de { margin-top: 0.45rem; font-size: 0.9rem; line-height: 1.4; }
.disqualifier { margin-top: 0.65rem; padding-top: 0.55rem; font-size: 0.82rem; }
.try-one { margin-top: 1rem; padding: 0.85rem 1rem; }
.try-one h2 { margin: 0.2rem 0 0.35rem; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.try-one-lede { font-size: 0.88rem; }
.boundary-compact { margin-top: 0.75rem; }
.console { padding: 0.85rem 0 2.5rem; }
.receipt { padding: clamp(0.95rem, 2.5vw, 1.75rem); }
.receipt h2 { font-size: clamp(1.55rem, 3.6vw, 2.75rem); }
.claim-line { margin: 0.45rem 0 0.65rem; }
.proof-strip { margin: 0 0 0.65rem; }
@media (min-width: 1100px) and (min-height: 800px) {
  /* desktop fold budget: keep claimClass bottom <= ~880px at 900vh */
  .product-hero { padding-top: 1.1rem; padding-bottom: 0.85rem; }
  .try-one { margin-top: 0.85rem; }
}
/* === A4 fold compact 2026-09-26 === */
.masthead { min-height: 3.75rem; }
.product-hero { padding: clamp(1.1rem, 3vw, 2rem) 0 1rem; }
.pitch { font-size: clamp(1.35rem, 2.8vw, 2.05rem); line-height: 1.18; }
.pitch-de { margin-top: 0.45rem; font-size: 0.9rem; }
.disqualifier { margin-top: 0.55rem; padding-top: 0.55rem; font-size: 0.8rem; }
.try-one { margin-top: 0.9rem; padding: 0.75rem 0.95rem; gap: 0.85rem; }
.try-one h2 { margin: 0.2rem 0 0.35rem; font-size: clamp(1.05rem, 2.2vw, 1.45rem); }
.try-one-lede { font-size: 0.88rem; }
.boundary-compact { margin-top: 0.75rem; font-size: 0.7rem; }
.console { padding: 0.85rem 0 2.5rem; }
.receipt { padding: clamp(0.95rem, 2.5vw, 1.75rem); }
.receipt h2 { font-size: clamp(1.55rem, 3.5vw, 2.75rem); }
.claim-line { margin: 0.45rem 0 0.55rem; }
.proof-strip { margin: 0 0 0.65rem; }
@media (max-height: 920px) { .try-one-lede, .disqualifier { display: none; } }
@media (max-width: 720px) { .pitch-de, .try-one-lede, .boundary-compact { display: none; } }
