/* Stone and blueprint: one ground, one ink, one accent. Square corners, round buttons. */
:root {
  --bg: #dfdedb;
  --surface: #d3d2ce;
  --surface-2: #c6c5c0;
  --ink: #26251e;
  --muted: #5f5d55;
  --accent: #2b59ff;
  --warm: #ff8a1f;
  --volt: #dcff3d;
  --night: #0e0f13;
  --accent-ink: #ffffff;
  --paper: #f4f3f0;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --m: clamp(20px, 2.4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.4 "Clash Grotesk", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1; }
h3 { font-weight: 500; font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }
strong, b { font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: inherit; font-weight: 500; font-size: 1.0625rem; line-height: 1; text-decoration: none; cursor: pointer; transition: transform 0.18s var(--ease), background-color 0.18s; }
.btn:hover { background: #1f47dd; }
.btn:active { transform: scale(0.97); }
.btn.ink { background: var(--ink); color: var(--bg); }
.btn.ink:hover { background: #000; }
.btn.quiet { background: var(--surface-2); color: var(--ink); }
.btn.quiet:hover { background: #b9b8b2; }
.btn.light { background: var(--accent-ink); color: var(--accent); }
.field { min-height: 52px; width: 100%; padding: 0 16px; border: 0; background: var(--paper); color: var(--ink); font: inherit; }
.field::placeholder { color: var(--muted); }

/* ---------- top bar ---------- */
.nav { position: absolute; top: 0; right: 0; z-index: 30; display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; padding: 24px var(--m); font-size: 0.9375rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--m); }
.bar .name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.125rem; text-decoration: none; letter-spacing: -0.01em; }
.bar .name .shield { width: 26px; height: 26px; color: var(--accent); --knock: #fff; }
.brandmark { position: absolute; top: 20px; left: 22px; z-index: 5; display: block; color: var(--accent-ink); --knock: var(--accent); transition: transform 0.18s var(--ease); }
.brandmark:hover { transform: translateY(-2px); }
.brandmark .shield { width: 44px; height: 44px; display: block; }

/* ---------- split stage ---------- */
.split { display: grid; grid-template-columns: 47fr 53fr; }
.stage { position: sticky; top: 0; height: 100svh; padding: 20px 0 20px 20px; z-index: 2; }
.stage-inner { position: relative; height: 100%; overflow: hidden; background: var(--accent); color: var(--accent-ink); }
.col { min-width: 0; padding: 0 var(--m) 0 clamp(32px, 5vw, 72px); }
.col > section { padding: clamp(72px, 9vw, 130px) 0 0; }
.measure { max-width: 46ch; }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px !important; padding-bottom: 28vh; }
.hero .lead { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; max-width: 24ch; margin-bottom: 28px; }
.wordmark-box { position: absolute; left: 0; right: 0; top: 0; height: 100svh; z-index: 20; }
.wordmark-box > * { pointer-events: auto; }
.wordmark { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; padding: 0 var(--m); text-align: right; font-weight: 400; font-size: clamp(64px, 11.2vw, 210px); letter-spacing: -0.045em; line-height: 0.86; white-space: nowrap; }
/* One name crossing two grounds: ink over the stone, and a white copy of the same letters over the blue stage. */
.wordmark::before { content: attr(data-t); position: absolute; inset: 0; padding: 0 var(--m); text-align: right; color: var(--accent-ink); clip-path: inset(-20% 53% -20% 0); }
.hero-wrap { position: relative; }

/* 3D parcel */
.scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1100px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.parcel { --w: clamp(150px, 20vw, 290px); --d: calc(var(--w) * 0.8); --hd: calc(var(--d) / 2); --hw: calc(var(--w) / 2); --hh: calc(var(--w) * 0.4); position: relative; width: var(--w); height: calc(var(--w) * 0.8); transform-style: preserve-3d; transform: translateY(var(--py, 0px)) rotateX(var(--rx, -24deg)) rotateY(var(--ry, 34deg)); will-change: transform; }
.face { position: absolute; left: 50%; top: 50%; backface-visibility: hidden; }
.f-front, .f-back { width: 100%; height: 100%; }
.f-front { background: #ecebe7; transform: translate(-50%, -50%) translateZ(var(--hd)); }
.f-back { background: #b9b8b2; transform: translate(-50%, -50%) rotateY(180deg) translateZ(var(--hd)); }
.f-left, .f-right { width: var(--d); height: 100%; background: #cfcec9; }
.f-right { transform: translate(-50%, -50%) rotateY(90deg) translateZ(var(--hw)); }
.f-left { transform: translate(-50%, -50%) rotateY(-90deg) translateZ(var(--hw)); background: #c2c1bb; }
.f-top, .f-bottom { width: 100%; height: var(--d); background: #f6f5f2; }
.f-top { transform: translate(-50%, -50%) rotateX(90deg) translateZ(var(--hh)); }
.f-bottom { transform: translate(-50%, -50%) rotateX(-90deg) translateZ(var(--hh)); background: #a9a8a2; }
.tape { position: absolute; background: var(--ink); }
.f-top .tape { left: 44%; width: 12%; top: 0; bottom: 0; }
.f-front .tape { left: 44%; width: 12%; top: 0; height: 22%; }
.label { position: absolute; left: 6%; bottom: 9%; width: 54%; padding: 6% 6% 5%; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.2; }
.label b { display: block; font-size: 1.15em; letter-spacing: -0.01em; }
.label svg { display: block; width: 100%; height: auto; margin-top: 8%; }
.ticks { position: absolute; left: 66%; bottom: 10%; display: grid; gap: 5px; font-size: 13px; line-height: 1.1; color: var(--ink); }
.ticks span { display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.ticks i { width: 0.9em; height: 0.9em; background: var(--accent); border-radius: 50%; display: inline-block; }
.stamp { position: absolute; right: 6%; top: 8%; width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 13px; line-height: 1; transform: rotate(-9deg) scale(1.7); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.45s var(--ease); }
.stamp b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -0.04em; font-weight: 400; }
[data-state="how2"] .ticks span, [data-state="how3"] .ticks span, [data-state="try"] .ticks span { opacity: 1; transform: none; }
[data-state="how2"] .ticks span:nth-child(2), [data-state="how3"] .ticks span:nth-child(2) { transition-delay: 0.12s; }
[data-state="how2"] .ticks span:nth-child(3), [data-state="how3"] .ticks span:nth-child(3) { transition-delay: 0.24s; }
[data-state="how3"] .stamp, [data-state="try"].pass .stamp { opacity: 1; transform: rotate(-9deg) scale(1); }
[data-state="try"].fail .ticks span:nth-child(3) { opacity: 0.25; }

/* fragments shown on the stage */
.frag { position: absolute; left: 7%; right: 7%; bottom: 6%; background: var(--paper); color: var(--ink); padding: 16px 18px; font-size: 0.9375rem; opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.frag table { width: 100%; border-collapse: collapse; }
.frag td { padding: 5px 0; }
.frag td:last-child { text-align: right; }
.frag .ok { color: var(--accent); font-weight: 500; }
[data-state="how1"] .frag.orders, [data-state="how3"] .frag.badge-demo, [data-state="try"] .frag.live { opacity: 1; transform: none; }
.frag.badge-demo { left: auto; right: 7%; width: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.frag.live { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.frag.live output { font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -0.05em; line-height: 0.9; font-weight: 400; }
.shield { width: 20px; height: 20px; flex: none; }

.inline-frag { display: none; margin-top: 20px; background: var(--paper); color: var(--ink); padding: 14px 16px; font-size: 1rem; max-width: 420px; }
.inline-frag table { width: 100%; border-collapse: collapse; }
.inline-frag td { padding: 5px 0; }
.inline-frag td:last-child { text-align: right; color: var(--accent); font-weight: 500; }
.inline-frag.row { align-items: center; gap: 10px; font-weight: 500; color: var(--accent); }
.inline-frag.row span { color: var(--ink); }
.inline-frag ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.inline-frag li { display: flex; align-items: center; gap: 8px; }
.inline-frag li i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--accent); }

/* photo stage */
.stage.photos .stage-inner { background: var(--ink); }
.stage.photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 6s linear; filter: grayscale(1) contrast(1.05); }
.stage.photos[data-state="measures"] img[data-for="measures"],
.stage.photos[data-state="shops"] img[data-for="shops"],
.stage.photos[data-state="price"] img[data-for="price"],
.stage.photos[data-state="faq"] img[data-for="faq"] { opacity: 1; transform: scale(1); }
.caption { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-size: var(--step-small); z-index: 2; }

/* how it works */
.how .statement { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; color: var(--muted); transition: color 0.3s; }
.how .statement.on { color: var(--ink); }
.how .statement p:first-child { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem); letter-spacing: -0.02em; line-height: 1.08; max-width: 18ch; margin-bottom: 14px; }
.how .statement p + p { max-width: 38ch; }

/* what we check */
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; margin-top: 40px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.kinds ul { list-style: none; margin: 0; padding: 0; }
.kinds li:first-child { color: var(--muted); }

/* try it */
.try { background: var(--surface); margin: clamp(72px, 9vw, 130px) calc(-1 * var(--m)) 0 calc(-1 * clamp(32px, 5vw, 72px)); padding: clamp(48px, 6vw, 84px) var(--m) clamp(48px, 6vw, 84px) clamp(32px, 5vw, 72px) !important; }
.try .sliders { display: grid; gap: 22px; margin-top: 32px; max-width: 46ch; }
.try label { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.try label output { font-variant-numeric: tabular-nums; font-weight: 500; }
.try input[type="range"] { grid-column: 1 / -1; width: 100%; height: 32px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.try .result { margin-top: 28px; font-size: var(--step-lead); line-height: 1.2; max-width: 30ch; min-height: 2.4em; }
.try .result b { font-weight: 500; }

/* shops list */
.rows { list-style: none; margin: 40px 0 0; padding: 0; }
.rows li { padding: 16px 0; color: var(--muted); transition: color 0.25s; }
.rows li.on, .rows li:hover, .rows li:focus-within { color: var(--ink); }
.rows .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: var(--step-lead); letter-spacing: -0.01em; text-decoration: none; }
.rows .head span:last-child { font-variant-numeric: tabular-nums; }
.rows .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.rows .more > div { overflow: hidden; font-size: 1rem; max-width: 40ch; }
.rows li.on .more, .rows li:focus-within .more { grid-template-rows: 1fr; }
.rows .more p { padding-top: 8px; }

/* pricing */
.menu { margin-top: 40px; display: grid; gap: 44px; }
.menu .item { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; font-size: var(--step-lead); letter-spacing: -0.01em; margin-top: 18px; }
.menu .item span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu .desc { max-width: 36ch; margin-top: 4px; }

/* faq */
.faq .answers { margin-top: 40px; display: grid; gap: 20px; max-width: 52ch; line-height: 1.5; }

/* cta, full width */
.cta { background: var(--accent); color: var(--accent-ink); margin-top: clamp(96px, 11vw, 160px); min-height: 88svh; display: grid; grid-template-columns: 5fr 5fr; gap: 40px; align-items: end; padding: clamp(40px, 6vw, 90px) var(--m); }
.cta h2 { font-size: clamp(3.25rem, 7vw, 7rem); line-height: 0.92; letter-spacing: -0.045em; max-width: 8ch; }
.cta .after { margin-top: 20px; max-width: 34ch; }
.dialog { align-self: center; justify-self: center; width: min(100%, 440px); background: var(--paper); color: var(--ink); padding: 28px; box-shadow: 0 30px 60px -20px rgba(10, 20, 60, 0.55); }
.dialog h3 { margin-bottom: 6px; }
.dialog form { display: grid; gap: 14px; margin-top: 20px; }
.dialog .field { background: #fff; outline: 2px solid var(--surface); }
.dialog .btn { width: 100%; min-height: 52px; }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end; padding: 22vh var(--m) 28px; font-size: 0.9375rem; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot > :last-child { text-align: right; }
.credits { padding: 0 var(--m) 28px; max-width: 60ch; }

/* entrances */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].in { opacity: 1; transform: none; }

/* ---------- profile ---------- */
.gradeface { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 44px); }
.gradeface .num { font-size: clamp(9rem, 24vw, 26rem); letter-spacing: -0.07em; line-height: 0.78; font-weight: 400; }
.gradeface .num small { font-size: 0.2em; letter-spacing: -0.02em; margin-left: 0.2em; }
.gradeface .state { font-size: var(--step-lead); line-height: 1.15; max-width: 16ch; }
.stage.off .stage-inner { background: var(--surface-2); color: var(--ink); }
.profile h1 { font-weight: 400; font-size: var(--step-head); letter-spacing: -0.035em; line-height: 0.98; }
.host { display: inline-block; margin-top: 18px; padding: 8px 14px; background: var(--ink); color: var(--bg); font-weight: 500; letter-spacing: 0; word-break: break-all; }
.record { width: 100%; border-collapse: collapse; margin-top: 28px; }
.record td { padding: 14px 0; vertical-align: baseline; }
.record tr + tr td { border-top: 2px solid var(--surface); }
.record td:last-child { text-align: right; white-space: nowrap; font-size: var(--step-lead); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.record td:last-child span { font-size: var(--step-small); color: var(--muted); margin-left: 6px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.tile { display: block; text-decoration: none; background: var(--surface); transition: transform 0.25s var(--ease), background-color 0.2s; }
.tile:hover { transform: translateY(-4px); background: var(--surface-2); }
.tile img, .tile .ph { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font-size: 3rem; letter-spacing: -0.04em; color: var(--muted); }
.tile span { display: block; padding: 12px 14px 14px; font-weight: 500; }

/* ---------- dashboard (an app screen: quiet panels, plain tables) ---------- */
.app { max-width: 1120px; margin: 0 auto; padding: 8px var(--m) 80px; }
.app h1 { font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.app-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; margin-top: 28px; align-items: start; }
.panel { background: var(--paper); padding: clamp(20px, 2.4vw, 32px); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 500; margin-bottom: 14px; }
.scoreline { display: flex; align-items: flex-end; gap: 20px; margin: 4px 0 8px; }
.scoreline .num { font-size: clamp(5rem, 9vw, 8rem); letter-spacing: -0.06em; line-height: 0.8; }
.pill { display: inline-block; padding: 6px 12px; font-weight: 500; font-size: 0.9375rem; }
.pill.ok { background: var(--accent); color: var(--accent-ink); }
.pill.wait { background: var(--surface-2); }
.pill.no { background: var(--ink); color: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats .n { font-size: 2.75rem; letter-spacing: -0.04em; line-height: 1; }
pre.snippet { margin: 14px 0; padding: 14px; background: var(--ink); color: var(--bg); font: 0.875rem/1.45 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.checks label { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--accent); }
.num-field { width: 96px; min-height: 44px; padding: 0 12px; border: 0; background: var(--bg); font: inherit; }
.panel ul { margin: 8px 0 0; padding-left: 1.1em; }
.note { max-width: 62ch; margin: 80px auto; padding: 0 var(--m); }
.note h1 { font-weight: 400; font-size: var(--step-head); letter-spacing: -0.035em; line-height: 1; margin-bottom: 16px; }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .split { display: block; }
  /* On a phone nothing is pinned over the text: the parcel opens the page and each step carries its own fragment. */
  .stage { position: relative; height: 46svh; padding: 12px 12px 0; }
  .stage.photos { height: 54svh; }
  .stage .frag { display: none; }
  .inline-frag { display: block; }
  .inline-frag.row { display: inline-flex; }
  .how .statement { color: var(--ink); }
  .col { padding: 0 20px; }
  .col .bar { padding-left: 0; padding-right: 0; }
  .nav { padding: 20px 24px; z-index: 40; color: var(--accent-ink); }
  .brandmark { top: 14px; left: 16px; }
  .brandmark .shield { width: 38px; height: 38px; }
  .nav a:not(.btn):not(.keep) { display: none; }
  .nav .btn { background: var(--accent-ink); color: var(--accent); }
  .hero { min-height: 0; padding-top: 0 !important; padding-bottom: 40px; display: block; }
  .wordmark-box { position: static; height: auto; }
  .wordmark { position: static; text-align: left; padding: 0; font-size: 15.5vw; margin: 18px 0 18px; }
  .wordmark::before { display: none; }
  .parcel { --w: clamp(130px, 40vw, 200px); }
  .how .statement { min-height: 0; padding: 36px 0 0; }
  .kinds { grid-template-columns: 1fr 1fr; font-size: 1.0625rem; gap: 32px 20px; }
  .try { margin-left: -20px; margin-right: -20px; padding-left: 20px !important; padding-right: 20px !important; }
  .cta { grid-template-columns: 1fr; align-items: start; min-height: 0; padding: 56px 20px; }
  .cta h2 { font-size: 13vw; }
  .foot { grid-template-columns: 1fr; padding: 16vh 20px 20px; gap: 8px; }
  .foot > :last-child { text-align: left; }
  .foot nav { flex-wrap: wrap; gap: 8px 20px; }
  .credits { padding: 0 20px 24px; }
  .gradeface .num { font-size: 40vw; }
  .app-grid { grid-template-columns: 1fr; }
  .frag { font-size: 0.875rem; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Without motion the stage shows its finished state: every fragment at once. */
  .frag, .ticks span { opacity: 1; transform: none; transition: none; }
  .stamp { opacity: 1; transform: rotate(-9deg); transition: none; }
  .frag.live { bottom: auto; top: 6%; }
  .frag.badge-demo { bottom: auto; top: calc(6% + 120px); }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .stage.photos img { transition: opacity 0.2s; transform: none; }
  .btn, .tile { transition: none; }
}

/* ---------- the 3D scene (home page opening) ----------
   Night ground, cardboard parcels, and two signal colours taken from opposite sides of the wheel:
   blue for kept promises, amber for late ones. */
.scene3d { background: var(--night); color: var(--paper); position: relative; }
.scene3d canvas { display: none; }
.scene3d .topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--m); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .shield { width: 30px; height: 30px; color: var(--accent); --knock: #fff; }
.topbar nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 0.9375rem; }
.topbar nav a { text-decoration: none; }
.topbar nav a:not(.btn):hover { text-decoration: underline; }
.topbar .btn { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.line:hover { background: var(--paper); color: var(--night); box-shadow: none; }
.beats { padding: 0 var(--m); }
.beat { max-width: 40rem; padding: clamp(48px, 9vh, 96px) 0; }
.beat h1 { font-weight: 400; font-size: clamp(3rem, 2rem + 5.2vw, 7rem); letter-spacing: -0.045em; line-height: 0.92; margin-bottom: 24px; }
.beat h2 { font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem); letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 20px; }
.beat .lead { font-size: var(--step-lead); line-height: 1.25; max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--step-lead); letter-spacing: -0.01em; }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { width: 0.8em; height: 0.8em; flex: none; display: block; }
i.w-ok, rect.w-ok { background: var(--accent); fill: var(--accent); }
i.w-late, rect.w-late { background: var(--warm); fill: var(--warm); }
i.w-fail, rect.w-fail { background: #5b5e6b; fill: #5b5e6b; }
.scene3d .sliders { display: grid; gap: 16px; max-width: 26rem; }
.scene3d .sliders label { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.scene3d .sliders output { font-variant-numeric: tabular-nums; font-weight: 500; }
.scene3d input[type="range"] { grid-column: 1 / -1; width: 100%; height: 32px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.scene3d .result { margin-top: 18px; font-size: var(--step-lead); line-height: 1.2; }
.scene3d .result b { font-weight: 500; }
.rail { display: none; }
.still { padding: 0 var(--m) clamp(48px, 8vh, 96px); max-width: 44rem; }
.wall { display: block; width: 100%; height: auto; }

/* With WebGL running, the section becomes one pinned screen that the scroll plays through. */
.scene3d.gl { height: 440vh; }
.scene3d.gl .pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene3d.gl canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.scene3d.gl .still { display: none; }
.scene3d.gl .topbar { position: absolute; left: 0; right: 0; top: 0; }
.scene3d.gl .beats { position: absolute; inset: 0; padding: 0; pointer-events: none; }
.scene3d.gl .beat { position: absolute; left: var(--m); bottom: clamp(40px, 9vh, 96px); width: min(40rem, 46vw); padding: 0; opacity: 0; visibility: hidden; transform: translateY(26px); }
.scene3d.gl.ready .beat { transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s 0.45s; }
.scene3d.gl[data-beat="0"] .beat[data-b="0"], .scene3d.gl[data-beat="1"] .beat[data-b="1"], .scene3d.gl[data-beat="2"] .beat[data-b="2"], .scene3d.gl[data-beat="3"] .beat[data-b="3"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.scene3d.gl.ready[data-beat="0"] .beat[data-b="0"], .scene3d.gl.ready[data-beat="1"] .beat[data-b="1"], .scene3d.gl.ready[data-beat="2"] .beat[data-b="2"], .scene3d.gl.ready[data-beat="3"] .beat[data-b="3"] { transition: opacity 0.45s var(--ease) 0.15s, transform 0.55s var(--ease) 0.15s, visibility 0s; }
/* The scroll shown as a parcel's tracking line. */
.scene3d.gl .rail { display: grid; grid-template-rows: repeat(4, 1fr); position: absolute; right: var(--m); top: 22vh; height: 56vh; margin: 0; padding: 0 22px 0 0; list-style: none; text-align: right; font-size: var(--step-small); color: #a9acb8; }
.scene3d.gl .rail::before { content: ""; position: absolute; right: 5px; top: 0; bottom: 0; width: 2px; background: #2a2c36; }
.scene3d.gl .rail li { align-self: start; line-height: 1; transition: color 0.3s; }
.scene3d.gl[data-beat="0"] .rail li:nth-child(1), .scene3d.gl[data-beat="1"] .rail li:nth-child(2), .scene3d.gl[data-beat="2"] .rail li:nth-child(3), .scene3d.gl[data-beat="3"] .rail li:nth-child(4) { color: var(--paper); }
.scene3d.gl .rail .dot { position: absolute; right: 0; top: calc(var(--p, 0) * 78%); width: 12px; height: 10px; background: var(--accent); }

.signoff { margin: 0; padding: 12vh var(--m) 0; font-size: clamp(64px, 17.5vw, 330px); letter-spacing: -0.055em; line-height: 0.8; white-space: nowrap; overflow: hidden; color: var(--ink); }
.foot { padding-top: 6vh !important; }

/* order walls on shop pages */
.wallbox { margin-top: 22px; max-width: 30rem; }
.wallbox .legend { font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.stage .wallbox rect.w-ok { fill: #ffffff; }
.stage .wallbox i.w-ok { background: #ffffff; }
.stage .wallbox rect.w-fail, .stage .wallbox i.w-fail { fill: var(--night); background: var(--night); }
.wallbox.onpaper { margin: 6px 0 22px; }
.wallbox.onpaper rect.w-fail, .wallbox.onpaper i.w-fail { fill: var(--ink); background: var(--ink); }

@media (max-width: 860px) {
  .topbar nav a:not(.btn) { display: none; }
  .scene3d.gl { height: 400vh; }
  .scene3d.gl .beat { left: 20px; right: 20px; width: auto; bottom: 28px; }
  .scene3d.gl .rail { display: none; }
  .beat h1 { font-size: clamp(2.75rem, 12.5vw, 4rem); }
  .beat h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .scene3d .sliders { gap: 8px; }
  .scene3d input[type="range"] { height: 26px; }
  .gradeface .num { font-size: 34vw; }
}

/* ---------- three colours, three jobs ----------
   Blue builds the page and marks promises kept. Amber only ever means "late".
   Volt, the split-complement of the blue, is saved for the win: a passing grade and the one main action. */
.btn.volt { background: var(--volt); color: var(--night); }
.btn.volt:hover { background: #e9ff7a; }
.scene3d.pass[data-beat="3"] .result b { color: var(--volt); }
.scene3d.gl .rail .dot { background: var(--volt); }

.band { padding: clamp(88px, 11vw, 170px) var(--m) 0; }
.band.night { background: var(--night); color: var(--paper); padding-bottom: clamp(88px, 11vw, 170px); }
.band .grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px clamp(24px, 4vw, 64px); align-items: start; }
.band h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 0.98; max-width: 14ch; position: sticky; top: 28px; }
.band .body { min-width: 0; }

/* the 100 points */
.weights { display: flex; gap: 4px; height: clamp(72px, 9vw, 120px); }
.weights span { display: flex; align-items: flex-end; padding: 10px 12px; background: #23252f; color: var(--paper); font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1; min-width: 0; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease); }
.weights span.on { background: var(--accent); transform: translateY(-8px); }
.measures { list-style: none; margin: 28px 0 0; padding: 0; }
.measures li { display: grid; grid-template-columns: 4.2ch 1fr; gap: 20px; align-items: baseline; padding: 18px 0; color: #a9acb8; cursor: default; transition: color 0.25s; }
.measures li b { font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.measures li strong { color: var(--paper); }
.measures li.on { color: var(--paper); }
.measures li.on b { color: var(--accent); }
.measures span { max-width: 46ch; }
.gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 80px); }
.gates b { display: block; font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 6rem); letter-spacing: -0.05em; line-height: 0.85; }
.gates div:first-child b { color: var(--volt); }
.gates span { display: block; margin-top: 12px; font-size: var(--step-small); color: #a9acb8; max-width: 18ch; }

/* shops */
.shoplist { list-style: none; margin: 0; padding: 0; }
.shoplist a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: 24px; align-items: center; padding: 22px 20px; margin: 0 -20px; text-decoration: none; transition: background-color 0.2s, transform 0.25s var(--ease); }
.shoplist a:hover, .shoplist a:focus-visible { background: var(--paper); transform: translateX(6px); }
.shoplist .who b { display: block; font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.05; }
.shoplist .who span { display: block; margin-top: 6px; font-size: var(--step-small); }
.shoplist .mini .wall { max-height: 64px; width: auto; max-width: 100%; }
.shoplist .mini rect.w-fail { fill: var(--ink); }
.shoplist .g { font-size: clamp(3rem, 2rem + 4vw, 6rem); letter-spacing: -0.06em; line-height: 0.8; font-variant-numeric: tabular-nums; }
.empty { max-width: 44ch; }
.empty .lead { font-size: var(--step-lead); line-height: 1.2; margin-bottom: 10px; }

.band .menu { margin-top: 0; display: block; max-width: 44rem; }
.band .menu .item:first-child { margin-top: 0; }
.band .menu .item { margin-top: 30px; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); }
.band .answers { margin-top: 0; columns: 2; column-gap: 48px; max-width: none; display: block; }
.band .answers p { break-inside: avoid; margin: 0 0 20px; }

/* closing action: the one full field of volt */
.cta { background: var(--volt); color: var(--night); }
.cta .dialog { box-shadow: 0 30px 60px -24px rgba(14, 15, 19, 0.5); }
footer.night { background: var(--night); color: var(--paper); margin-top: 0; }
footer.night .signoff { color: var(--paper); padding-top: 10vh; }
footer.night .foot { color: #a9acb8; }
footer.night .foot a { color: var(--paper); }

/* shop pages */
.gradeface .state { display: inline-block; align-self: flex-start; background: var(--volt); color: var(--night); padding: 8px 14px; font-size: 1.0625rem; font-weight: 500; max-width: none; }
.stage.off .gradeface .state { background: var(--ink); color: var(--bg); }
.pill.ok { background: var(--volt); color: var(--night); }

@media (max-width: 860px) {
  .band { padding: 72px 20px 0; }
  .band.night { padding-bottom: 72px; }
  .band .grid { grid-template-columns: 1fr; gap: 28px; }
  .band h2 { position: static; max-width: none; }
  .gates { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .weights span { padding: 8px 6px; font-size: 1rem; }
  .shoplist a { padding: 18px 12px; margin: 0 -12px; gap: 16px; }
  .band .answers { columns: 1; }
  .measures li { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .weights span, .shoplist a { transition: none; transform: none !important; }
}

@media (max-width: 600px) {
  .shoplist a { grid-template-columns: 1fr auto; }
  .shoplist .mini { display: none; }
}

/* ---------- shop profile: the grade and its orbit ----------
   A night hero that stays put while the record slides over it like a sheet of paper. */
.orbit { position: sticky; top: 0; height: 100svh; min-height: 560px; background: var(--night); color: var(--paper); z-index: 0; }
.orbit .pin { position: relative; height: 100%; overflow: hidden; touch-action: pan-y; }
.orbit canvas { display: none; }
.orbit .topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--m); }
.orbit .checked { font-size: 0.9375rem; color: #a9acb8; }
.orbit .flat { position: absolute; right: var(--m); top: 12vh; width: min(48vw, 40rem); text-align: right; }
.orbit .flat .num { font-size: clamp(9rem, 26vw, 26rem); letter-spacing: -0.07em; line-height: 0.8; font-weight: 500; color: var(--volt); }
.orbit .flat .wallbox { margin: 28px 0 0 auto; max-width: 22rem; }
.orbit .flat .wallbox rect.w-fail { fill: #5b5e6b; }
.orbit .hud { position: absolute; left: var(--m); right: var(--m); bottom: clamp(24px, 5vh, 48px); z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; pointer-events: none; }
.orbit .hud a, .orbit .hud button { pointer-events: auto; }
.orbit .id { max-width: min(46vw, 40rem); }
.orbit .state { display: inline-block; background: var(--volt); color: var(--night); padding: 8px 14px; font-size: 1.0625rem; font-weight: 500; }
.orbit.off .state { background: var(--paper); }
.orbit h1 { font-weight: 400; font-size: clamp(2.75rem, 1.6rem + 5vw, 6.5rem); letter-spacing: -0.045em; line-height: 0.92; margin: 18px 0 22px; overflow-wrap: anywhere; }
.orbit .where { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.orbit .host { margin: 0; background: #23252f; color: var(--paper); padding: 13px 16px; line-height: 1.35; }
.orbit .key { text-align: right; max-width: 22rem; }
.orbit .key .out { font-size: var(--step-lead); letter-spacing: -0.01em; color: var(--volt); margin-bottom: 14px; }
.orbit .key ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; justify-items: end; }
.orbit .key button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; margin-right: -12px; border: 0; background: none; color: #a9acb8; font: inherit; font-size: 1.0625rem; cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.orbit .key button b { color: var(--paper); font-variant-numeric: tabular-nums; }
.orbit .key button i { width: 0.75em; height: 0.75em; display: block; }
.orbit .key button:hover, .orbit .key button:focus-visible, .orbit .key button[aria-pressed="true"] { color: var(--paper); background: #23252f; }
.orbit .hint { margin-top: 14px; font-size: var(--step-small); color: #a9acb8; }
.orbit .drag { display: none; }
.orbit .sweep { display: none; }
.orbit.off { position: relative; height: auto; min-height: 78svh; }
.orbit.off .flat .num { color: #5b5e6b; }
.orbit.off .key { max-width: 26rem; }

.orbit.gl canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.orbit.gl.dragging canvas { cursor: grabbing; }
.orbit.gl .flat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.orbit.gl .drag { display: inline; color: var(--paper); }
.orbit.gl.turned .drag { display: none; }
/* One pass of a checking line as the parcels take their colours. */
.orbit.gl .sweep { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--volt); z-index: 3; opacity: 0; pointer-events: none; }
.orbit.gl.ready .sweep { animation: sweep 1.5s 1.2s cubic-bezier(0.5, 0, 0.3, 1) both; }
@keyframes sweep { 0% { transform: translateY(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(100svh); opacity: 0; } }
.js .orbit.gl .hud > * { opacity: 0; transform: translateY(22px); }
.js .orbit.gl.ready .hud > * { opacity: 1; transform: none; transition: opacity 0.7s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s; }
.js .orbit.gl.ready .hud > .key { transition-delay: 1.9s; }

.sheet { position: relative; z-index: 2; background: var(--bg); }
.sheet .practice { margin: 0; padding: 14px var(--m); background: var(--warm); color: var(--night); }
.claim { padding: clamp(72px, 10vw, 150px) var(--m) 0; font-size: clamp(2.5rem, 1.2rem + 6.4vw, 8rem); letter-spacing: -0.05em; line-height: 0.93; }
.claim p:first-child { color: var(--muted); }
.claim em { font-style: normal; color: var(--accent); font-variant-numeric: tabular-nums; }
.claim em.late { color: #c25e00; }
.claim em.fail { color: var(--ink); }

.meters { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 3vw, 40px); }
.meters .top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; }
.meters .top b { font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); letter-spacing: -0.045em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.meter { height: 14px; margin: 12px 0 8px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--v, 0)); }
.js .meters li[data-rise] .meter i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 80ms + 0.15s); }
.js .meters li[data-rise].in .meter i { transform: scaleX(var(--v, 0)); }
.meters .sub { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small); color: var(--muted); }
.meters .none .top b { color: var(--muted); }
.meters .none .meter { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, transparent 6px 12px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.facts b { display: block; font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.5rem); letter-spacing: -0.05em; line-height: 0.88; }
.facts span { display: block; margin-top: 12px; font-size: var(--step-small); color: var(--muted); max-width: 22ch; }

.days { margin: 0; }
.days svg { display: block; width: 100%; height: auto; overflow: visible; }
.days .d-tick { fill: var(--surface-2); }
.days rect.w-fail { fill: var(--ink); }
.js [data-rise] .days rect[style] { transform-box: fill-box; transform: translateY(-60px); opacity: 0; transition: transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.25s; transition-delay: calc(var(--d) * 12ms + var(--k) * 45ms + 0.2s); }
.js [data-rise].in .days rect[style] { transform: none; opacity: 1; }
.days figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.sheet .tiles { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.sheet .lead { font-size: var(--step-lead); line-height: 1.3; }
.sheet .lead .host { margin: 0; padding: 2px 10px; }
.sheet footer.night { margin-top: clamp(88px, 11vw, 170px); }

@media (max-width: 860px) {
  .orbit .hud { flex-direction: column-reverse; align-items: stretch; gap: 18px; left: 20px; right: 20px; bottom: 22px; }
  .orbit .id { max-width: none; }
  .orbit h1 { font-size: clamp(2.5rem, 11.5vw, 4rem); margin: 12px 0 14px; }
  .orbit .key { text-align: left; max-width: none; }
  .orbit .key .out, .orbit .hint { display: none; }
  .orbit .key ul { display: flex; flex-wrap: wrap; gap: 0 4px; justify-items: start; }
  .orbit .key button { margin: 0 0 0 -8px; padding: 0 8px; font-size: 0.9375rem; min-height: 44px; }
  .orbit .flat { position: static; width: auto; text-align: left; padding: 84px 20px 0; }
  .orbit .flat .num { font-size: 38vw; }
  .orbit .flat .wallbox { margin: 20px 0 0; max-width: 16rem; }
  .orbit:not(.gl) { position: relative; height: auto; }
  .orbit:not(.gl) .hud { position: static; padding: 28px 20px 32px; }
  .claim { padding: 64px 20px 0; }
  .sheet .practice { padding: 12px 20px; }
  .sheet .tiles { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .meters li[data-rise] .meter i { transform: scaleX(var(--v, 0)); transition: none; }
  .js [data-rise] .days rect[style] { transform: none; opacity: 1; transition: none; }
}

/* profile colour fields: the sums on blue, the calendar on night */
.sheet .claim { padding-bottom: clamp(72px, 10vw, 150px); }
.band.blue { background: var(--accent); color: var(--accent-ink); padding-bottom: clamp(88px, 11vw, 170px); }
.band.blue .meter { background: #1f47dd; height: 18px; }
.band.blue .meter i { background: var(--accent-ink); }
.band.blue .meters .sub, .band.blue .facts span, .band.blue .muted { color: #d5deff; }
.band.blue .meters .none .top b { color: #d5deff; }
.band.blue .meters .none .meter { background: repeating-linear-gradient(135deg, #1f47dd 0 6px, transparent 6px 12px); }
.band.blue .facts b { color: var(--volt); }
.band.wide h2 { position: static; max-width: none; margin-bottom: clamp(32px, 5vw, 72px); font-size: clamp(2.5rem, 1.2rem + 6.4vw, 8rem); letter-spacing: -0.05em; line-height: 0.93; }
.band.night .days .d-tick { fill: #2a2c36; }
.band.night .days rect.w-fail { fill: #5b5e6b; }
.band.night .days figcaption { color: #a9acb8; }

/* the scoring rules, drawn */
.meters li { display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 12vw, 170px); gap: clamp(16px, 2.4vw, 36px); align-items: end; }
.curve { display: block; width: 100%; height: auto; overflow: visible; }
.curve .axis { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.35; }
.curve .rule { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 400; }
.curve .drop { stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3 4; opacity: 0.6; }
.curve circle { fill: var(--volt); }
.js .meters li[data-rise] .curve .rule { stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) calc(var(--i, 0) * 80ms + 0.2s); }
.js .meters li[data-rise].in .curve .rule { stroke-dashoffset: 0; }
.js .meters li[data-rise] .curve circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--i, 0) * 80ms + 1.1s); }
.js .meters li[data-rise].in .curve circle { transform: none; }
.sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.12em 0.28em; margin-top: clamp(40px, 5vw, 72px); font-size: clamp(1.75rem, 1.1rem + 2.6vw, 4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sum i { font-style: normal; opacity: 0.55; }
.sum b { font-weight: 500; color: var(--volt); font-size: 1.5em; line-height: 0.8; }
@media (max-width: 600px) { .meters li { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .js .meters li[data-rise] .curve .rule { stroke-dashoffset: 0; transition: none; }
  .js .meters li[data-rise] .curve circle { transform: none; transition: none; }
}

/* home: each measure carries its scoring rule as a small graph */
.measures li { grid-template-columns: 4.2ch minmax(0, 1fr) clamp(96px, 11vw, 150px); }
.measures .curve { align-self: center; opacity: 0.5; transition: opacity 0.25s, color 0.25s; }
.measures li.on .curve { opacity: 1; color: var(--accent); }
@media (max-width: 600px) { .measures li { grid-template-columns: 4.2ch minmax(0, 1fr); } .measures .curve { display: none; } }

/* ---------- message pages: night, a pendulum wave, and the words ---------- */
.msg { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--night); color: var(--paper); overflow: hidden; }
.msg .topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--m); }
canvas.wave { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 62%; cursor: pointer; }
.msg main { position: relative; z-index: 2; margin-top: auto; padding: 0 var(--m) clamp(20px, 3vh, 36px); max-width: 60rem; }
.msg h1 { font-weight: 400; font-size: clamp(3rem, 1.6rem + 6.4vw, 8rem); letter-spacing: -0.05em; line-height: 0.92; margin-bottom: 22px; }
.msg .lead { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.msg .hint { position: relative; z-index: 2; padding: 0 var(--m) 26px; font-size: var(--step-small); color: #a9acb8; max-width: 60ch; }

/* ---------- dashboard: the owner's own orbit, then the working panels ---------- */
.orbit.dash { position: relative; height: 74svh; min-height: 540px; }
.orbit .state.off { background: var(--paper); }
.orbit .flat .num.off { color: var(--paper); }
.orbit.dash .host { background: none; padding: 0; color: #a9acb8; }
.orbit.dash .where .btn { min-height: 44px; }
.orbit.wait .hint { max-width: 40ch; font-size: var(--step-body); margin-top: 6px; }
.orbit.wait canvas.wave { display: block; height: 70%; }
.js .orbit.wait .hud > * { opacity: 1; transform: none; }
.dashsheet .app-grid { margin: 0; padding: clamp(40px, 5vw, 72px) var(--m) 0; grid-template-columns: 1fr 1fr; align-items: stretch; }
.dashsheet .panel + .panel { margin-top: 0; }
.dashsheet .panel h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 18px; }
.panel .big { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); letter-spacing: -0.05em; line-height: 0.9; margin-bottom: 14px; }
.panel.night { background: var(--night); color: var(--paper); }
.panel.night .small { color: #a9acb8; }
.panel.night .stats .n { font-size: clamp(3.5rem, 2rem + 5vw, 7rem); letter-spacing: -0.06em; line-height: 0.85; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.panel.night .stats > div:first-child .n { color: var(--volt); }
.panel.win { background: var(--volt); color: var(--night); }
.badge-look { margin: 4px 0 20px; padding: 28px 20px; background: var(--bg); display: grid; place-items: center; }
.panel.win .badge-look { background: var(--night); }
.badge-look .chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--accent); color: #fff; font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; }
.badge-look .chip .shield { width: 22px; height: 22px; color: #fff; --knock: var(--accent); }
.badge-look .chip b { font-weight: 500; background: var(--volt); color: var(--night); padding: 3px 8px; }
.dashsheet .checks { margin-top: 8px; }
@media (max-width: 860px) {
  .msg .topbar { padding: 20px; }
  .msg main { padding: 0 20px 18px; }
  .msg .hint { padding: 0 20px 22px; }
  .dashsheet .app-grid { grid-template-columns: 1fr; padding: 28px 20px 0; }
  .orbit.dash { height: auto; min-height: 0; }
  .orbit.dash.gl, .orbit.dash.wait { height: 86svh; min-height: 560px; }
}

.panel .actions { margin-top: 18px; gap: 10px; }
.paste { margin-top: 16px; font-size: var(--step-small); }
.paste summary { cursor: pointer; color: var(--muted); }
