/* Rputasi — Nyaris Benar
   Identitas 2026-11-04: putih, charcoal, hijau terbatas, Instrument Sans. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #242824;
  --muted: #656b65;
  --line: #e2e5df;
  --soft: #f5f6f3;
  --accent: #344d3d;
  --accent-soft: #eef1ec;
  --accent-line: #cfd8cf;
  --measure: 66ch;
  --pad: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { left: 12px; }

/* ---------- chrome ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 var(--pad);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }

.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  line-height: 1;
}
.wordmark span { color: var(--accent); }

.top-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.progress {
  display: flex;
  gap: 4px;
}
.progress[hidden] { display: none; }
.progress-bar {
  width: 30px;
  height: 2px;
  background: var(--line);
  transition: background .25s ease;
}
.progress-bar.is-done { background: var(--ink); }
.progress-bar.is-now { background: var(--accent); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot p { max-width: 52ch; }
.foot a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.foot a:hover { text-decoration-color: var(--ink); }

.noscript {
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
}

.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;
}

/* ---------- shared ---------- */

#app { outline: none; }

.stage {
  width: min(100% - (var(--pad) * 2), 1080px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) 0 clamp(64px, 10vw, 120px);
}
.stage.is-game { width: min(100% - (var(--pad) * 2), 780px); }

.screen { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-size: clamp(56px, 10.5vw, 118px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.055em;
}
h1 .quiet { color: var(--muted); }

h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
}

h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover:not([disabled]) { background: var(--soft); }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn[disabled] {
  cursor: not-allowed;
  border-color: var(--line);
  color: #7d837d;
  background: var(--soft);
}
.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}
.btn-primary:hover:not([disabled]) { background: #2a4032; border-color: #2a4032; }
.btn-quiet {
  border-color: transparent;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  min-height: 36px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.btn-quiet:hover { background: transparent; color: var(--ink); text-decoration-color: var(--ink); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--ink); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 30px;
}

/* ---------- intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 210px);
}
.intro-copy { min-width: 0; }
.intro h1 { margin-bottom: 26px; }
.intro .lede { margin-bottom: 34px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 38px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.steps li { display: flex; flex-direction: column; gap: 6px; }
.step-n {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .1em;
}
.step-t { font-size: 14px; line-height: 1.4; }

.doors-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 16px 40px 17px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.door:hover { border-color: var(--ink); background: var(--soft); }
.door strong { font-size: 15px; font-weight: 500; }
.door span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.door .arrow {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.intro-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-art img {
  width: min(100%, 440px);
  filter: contrast(1.02);
}
.art-caption {
  position: absolute;
  right: 0;
  bottom: -6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}

.privacy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- round header ---------- */

.round-head { margin-bottom: 34px; }
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.round-head h2 { margin-bottom: 18px; }

.situation {
  max-width: var(--measure);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
}

.facts {
  margin-top: 26px;
  padding: 2px 0;
  border-top: 1px solid var(--line);
}
.facts-title {
  padding: 14px 0 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fact {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.fact dt { color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.fact dd { margin: 0; }

/* ---------- context cards ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.section-head h3 { font-size: 19px; }
.counter {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.counter strong { color: var(--ink); font-weight: 500; }

.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.card:hover { border-color: #b9c0b8; background: #fbfcfa; }
.card[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.card-tag {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card[aria-pressed="true"] .card-tag { color: var(--accent); }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.card-body { color: var(--muted); font-size: 13px; line-height: 1.45; }
.card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 11px;
  line-height: 1;
}
.card[aria-pressed="true"] .card-check {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

.hint-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- draft ---------- */

.draft-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: 22px;
}
.ai-line {
  display: flex;
  gap: 12px;
  max-width: 48ch;
}
.ai-mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .04em;
}
.ai-line p { padding-top: 2px; font-size: 14px; line-height: 1.45; }
.ai-line .ai-name {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tokens {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}
.tokens-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-align: right;
  line-height: 1.3;
}
.token-row { display: flex; gap: 4px; }
.token {
  width: 13px;
  height: 13px;
  border: 1px solid var(--accent);
  background: var(--accent);
  transition: background .18s ease;
}
.token.is-spent { background: transparent; border-color: var(--line); }

.doc {
  border: 1px solid var(--line);
  background: var(--paper);
}

.context-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
}
.context-strip-label {
  margin-right: 4px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
}
.chip {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
}
.doc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.doc-bar .unsent { display: flex; align-items: center; gap: 7px; }
.doc-bar .unsent::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.doc-body { padding: 8px 0; }

.para {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 132px 15px 22px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  font-size: 16px;
  line-height: 1.62;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.para + .para { border-top: 1px solid #eef0eb; }
.para:hover:not([disabled]) { background: #fafbf8; }
.para:focus-visible { outline-offset: -3px; }
.para-text { display: block; }
.para-hint {
  position: absolute;
  top: 19px;
  right: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.para:hover:not([disabled]) .para-hint { color: var(--accent); }
.para[disabled] { cursor: default; }
.para[aria-disabled="true"] { cursor: default; }

.para.is-clean {
  border-left-color: var(--line);
  background: #fcfcfa;
}
.para.is-clean .para-hint { color: var(--muted); }
.para.is-flagged {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}
.para.is-flagged .para-hint { color: var(--accent); }

.note {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--accent-line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  animation: rise .25s ease both;
}
.note-label {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.doc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.attention-out {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: var(--soft);
  font-size: 14px;
  line-height: 1.5;
  animation: rise .3s ease both;
}

/* ---------- decision ---------- */

.decision-lede {
  max-width: var(--measure);
  margin-top: 12px;
  color: var(--muted);
}

.decision-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}
.decision {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.decision:hover { border-color: #b9c0b8; background: #fbfcfa; }
.decision[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.decision-n {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  padding-top: 3px;
}
.decision[aria-pressed="true"] .decision-n { color: var(--accent); }
.decision strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.35; }
.decision span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- debrief ---------- */

.verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 24px 26px;
  border: 1px solid var(--ink);
}
.verdict-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.verdict-stamp {
  font-size: clamp(23px, 3.2vw, 31px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.verdict-note {
  max-width: 34ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.debrief-block { margin-top: 34px; }
.debrief-context { margin: 18px 0 0; }
.debrief-note { margin-top: 8px; }
.debrief-block > h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.debrief-block > h3 .count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
}

.evidence {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.evidence:first-of-type { padding-top: 0; }
.evidence:last-of-type { border-bottom: 0; }
.evidence-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 6px;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.evidence blockquote {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.evidence blockquote::before { content: "“"; color: var(--muted); }
.evidence blockquote::after { content: "”"; color: var(--muted); }
.evidence strong { display: block; margin-bottom: 3px; font-size: 14px; font-weight: 500; }
.evidence p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.evidence .principle {
  margin-top: 7px;
  color: var(--ink);
  font-size: 13px;
}
.evidence .principle span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 6px;
}

.checks {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.checks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.checks .mark { color: var(--accent); }
.checks .mark.waste { color: #a3a8a2; }

.decision-review {
  max-width: var(--measure);
  font-size: 15px;
  line-height: 1.6;
}
.decision-review strong { font-weight: 500; }

.all-clear {
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- end ---------- */

.end-hero { margin-bottom: 46px; }
.end-hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  margin-bottom: 18px;
}
.end-hero .lede { max-width: 42ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.end-note {
  margin-top: -18px;
  margin-bottom: 34px;
}
.stat { padding: 20px 18px 22px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-n {
  display: block;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-t {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.pattern {
  max-width: var(--measure);
  margin-bottom: 40px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
}
.pattern strong { font-weight: 500; }

.workcard {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 26px 28px 28px;
  margin-bottom: 28px;
}
.workcard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.workcard-head .wordmark { font-size: 15px; }
.workcard-head span { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.workcard h3 { max-width: 26ch; margin-bottom: 10px; font-size: 24px; }
.workcard-meta {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.workcard .checklist {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.workcard .checklist li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
  font-size: 13px;
  line-height: 1.45;
}
.workcard .checklist .box {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border: 1px solid var(--accent);
}
.template {
  padding: 14px 16px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.template b {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.cta {
  padding: 30px 30px 32px;
  background: var(--soft);
  border-left: 2px solid var(--accent);
}
.cta h3 { max-width: 46ch; margin-bottom: 10px; font-size: 26px; }
.cta p { max-width: 52ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cta .actions { margin-top: 20px; }
.cta .small { margin-top: 14px; max-width: 60ch; }

@media (min-width: 900px) {
  .cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 56px;
  }
  .cta h3,
  .cta p { grid-column: 1; }
  .cta .actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
  .cta .small { grid-column: 1 / -1; }
}

.restart {
  margin-top: 26px;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 8px;
  }
  .intro-art {
    order: -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }
  .intro-art img { width: min(58vw, 260px); }
  .art-caption { position: static; }
  .intro-copy { padding-top: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { min-height: 56px; }
  .top-label { display: none; }
  .progress-bar { width: 22px; }
  .stage { padding-top: 34px; }
  .steps { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .steps li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; gap: 8px; }
  .doors { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .context-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .context-strip-label { flex-basis: 100%; margin-bottom: 2px; }
  .draft-head { flex-direction: column; }
  .tokens { align-self: flex-start; }
  .tokens-label { white-space: nowrap; }
  .tokens-label br { display: none; }
  .doc-bar { padding: 10px 16px; }
  .para { padding: 14px 16px; font-size: 15px; }
  .para-hint { display: none; }
  .doc-foot { padding: 12px 16px; }
  .verdict { padding: 20px 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 16px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .workcard { padding: 22px 18px 22px; }
  .cta { padding: 24px 20px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .btn { width: 100%; }
  .actions .btn-quiet { width: auto; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .top, .foot, .card-actions, .restart, .cta .actions { display: none; }
  .stage { width: 100%; padding: 0; }
  .workcard { break-inside: avoid; }
}
