/* NOX — the house. A night store seen through glass.
   The canvas (#stage) sits fixed behind everything; panels are readable on their own,
   so the page is complete when the canvas never draws (html.flat). */

:root {
  --bg: #05070a;
  --ink: #eef3f7;
  --dim: #93a1ad;
  --dim2: #5f6c77;
  --line: rgba(160, 200, 230, 0.14);
  --glass: rgba(8, 12, 17, 0.62);
  --holo: #8fd3ff;
  --sig: #e8552d; /* absence — used for nothing else */
  --ok: #7fe0b0;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16.5px/1.6 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--holo); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--holo); color: #041018; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ── stage ─────────────────────────────────────────────────────────────────── */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; pointer-events: none; }
html.flat #stage { display: none; }
body::before { /* the flat ground: a lit floor and a far glow, pure CSS */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% 110%, rgba(143, 211, 255, .10), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(143, 211, 255, .05), transparent 70%),
    var(--bg);
}

/* ── masthead ──────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gut); background: linear-gradient(rgba(5, 7, 10, .82), rgba(5, 7, 10, 0));
  backdrop-filter: blur(8px);
}
/* The wordmark stays TEXT. An assistant reading this page takes the company name straight
   out of it, and a studio selling machine legibility does not hand its own name to a
   machine as a picture. So the hologram is added in CSS, around real characters, and the
   DOM is not touched: no duplicated string for a pseudo-element to paint, nothing for a
   screen reader or a crawler to read twice. */
.mark {
  position: relative;
  /* 12px was too small to register and, worse, "Silence Studio" sat on --dim2: measured
     3.74:1 against the ground, which fails AA for text under 18.66px. The studio's name
     was the least legible text on a site that sells legibility. Now 15px on a phone,
     rising to 18px on a desktop — still a header mark, not a hero, but it is SEEN. */
  font: 600 clamp(15px, 1.4vw, 18px)/1 var(--mono);
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  /* Two shadows, not one: a tight bright halo that makes the glyph edge look lit, and a
     wide soft bloom that reads as light in the air around it. One shadow alone reads as a
     blur; this reads as a projector. The blue is --holo, the same light as the price
     timelines and the beam in the logo — never --sig, which means absence and nothing else. */
  text-shadow:
    0 0 8px rgba(143, 211, 255, .7),
    0 0 24px rgba(143, 211, 255, .38),
    0 0 54px rgba(143, 211, 255, .18);
  transition: text-shadow .45s ease;
}
/* "Silence Studio" is quieter than NOX but no longer hidden: --dim measures 7.63:1 where
   --dim2 measured 3.74:1. The hierarchy survives — one half is lit, the other is calm —
   and both are now actually readable. */
.mark span { color: var(--dim); text-shadow: 0 0 14px rgba(143, 211, 255, .22); }

.mark:hover, .mark:focus-visible {
  text-shadow:
    0 0 7px rgba(143, 211, 255, .8),
    0 0 26px rgba(143, 211, 255, .45);
}

/* One beam crossing the wordmark, the same gesture as .holo-line::after and the logo:
   light travelling through a projector. It is a rectangle sweeping OVER the letters, not
   the letters themselves animating — so the text never changes colour, never drops to
   transparent, and stays exactly as legible mid-sweep as at rest. */
.mark::after {
  content: ""; position: absolute; inset: -6px -10px; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(220, 244, 255, .55) 50%, transparent 58%);
  background-size: 260% 100%; background-position: 130% 0;
  mix-blend-mode: screen;
  /* ONCE. The projector warms up, the beam crosses the name, the name stays lit.
     This used to loop every 7s. A sticky header is on screen for the whole visit, so a
     permanent loop there is not a flourish — it competes with the hero, the scan box and
     the prices, and WCAG 2.2.2 wants a pause control for anything that moves by itself
     for more than five seconds. A logo with a pause button is absurd; a logo that greets
     you once and then holds still is not.
     A greeting repeated forever stops being a greeting. */
  animation: mark-sweep 1.5s cubic-bezier(.45, 0, .2, 1) .45s 1 both;
}
/* The visitor can always ask for it again — a hover is a request, not an interruption,
   so no rule and no attention budget is spent on it. Second keyframe name is not a
   duplicate for its own sake: re-running an animation that already finished needs a
   different name, or the browser ignores it. */
.mark:hover::after, .mark:focus-visible::after {
  animation: mark-sweep-again 1.5s cubic-bezier(.45, 0, .2, 1) 1 both;
}
@keyframes mark-sweep {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}
@keyframes mark-sweep-again {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}
/* No sweep at all, and the name is already lit without it: the glow is the resting
   state, not the payoff of an animation. */
@media (prefers-reduced-motion: reduce) {
  .mark::after, .mark:hover::after, .mark:focus-visible::after { display: none; animation: none; }
}
.top nav { margin-left: auto; display: flex; gap: 18px; font: 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover, .top nav a.lang { color: var(--ink); }

/* ── aisle ─────────────────────────────────────────────────────────────────── */
.aisle { position: relative; z-index: 1; }
.stop {
  min-height: 100vh; display: flex; align-items: center;
  padding-block: 12vh; padding-inline: var(--gut);
}
.stop:nth-child(even) { justify-content: flex-end; }
.panel {
  width: min(560px, 100%); padding: clamp(22px, 3vw, 34px);
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(143, 211, 255, .03) inset, 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.kicker { margin: 0 0 14px; font: 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--holo); }
h1, h2 { margin: 0; font-weight: 640; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.02; }
h1 .l2 { display: block; color: var(--holo); text-shadow: 0 0 28px rgba(143, 211, 255, .35); }
h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.12; }
.body { color: var(--dim); margin: 16px 0 0; max-width: 52ch; }
.sub { color: var(--ink); margin: 18px 0 0; font-size: 18px; max-width: 46ch; }
.slogan { margin: 14px 0 0; font: 12px/1.4 var(--mono); letter-spacing: .08em; color: var(--dim2); }
.entry-title { margin: 22px 0 0; color: var(--dim); font-size: 15px; }
.stop:first-child { min-height: calc(100vh - 56px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px;
  background: var(--holo); color: #041018; font-weight: 640; text-decoration: none;
  box-shadow: 0 0 30px -6px rgba(143, 211, 255, .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 0 40px -4px rgba(143, 211, 255, .8); }
.cta.ghost { background: transparent; color: var(--holo); border: 1px solid rgba(143, 211, 255, .45); box-shadow: none; padding: 11px 16px; font-size: 14.5px; }
.cta-book { color: var(--holo); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(143, 211, 255, .35); padding-bottom: 2px; }
.cta-book:hover { border-bottom-color: var(--holo); }
.stop:first-child .hint { margin: 18px 0 0; }
.hint { font: 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }

/* stop 1 — the answer with a missing slot */
.answer { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; counter-reset: a; }
.answer li {
  counter-increment: a; display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); color: rgba(143, 211, 255, .55); font-family: var(--mono); letter-spacing: -.1em;
}
.answer li::before { content: counter(a); color: var(--dim2); letter-spacing: 0; font-size: 12px; }
.answer li.you { border-style: dashed; border-color: rgba(232, 85, 45, .6); color: var(--sig); letter-spacing: 0; }

/* stop 2 — the scan */
.scan { margin-top: 22px; }
.scan label { display: block; font: 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.scan-row { display: flex; gap: 8px; }
.scan input {
  flex: 1; min-width: 0; font: 16px/1.2 var(--mono); color: var(--ink); background: rgba(0, 0, 0, .45);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.scan input:focus { border-color: var(--holo); outline: none; box-shadow: 0 0 0 3px rgba(143, 211, 255, .18); }
.scan button {
  font: 640 15px/1 var(--sans); padding: 0 20px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--holo); color: #041018;
}
.scan button[disabled] { opacity: .6; cursor: progress; }
#scan-status { display: block; min-height: 1.4em; margin-top: 10px; font: 13px/1.4 var(--mono); color: var(--dim); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 15px; }
.checks .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--dim2); flex: none; }
.checks li[data-pass="true"] .dot { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 12px var(--ok); }
.checks li[data-pass="false"] { border-color: rgba(232, 85, 45, .35); color: var(--dim); }
.checks li[data-pass="false"] .dot { border-color: var(--sig); }
.checks li[data-pass="null"] { color: var(--dim); }
.checks li[data-pass="null"] .dot { border-style: dashed; }
.after { margin: 14px 0 0; color: var(--dim); font-size: 15px; }
.after p { margin: 0; }
.after-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px !important; }
.after-price { font: 640 20px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }

/* stop 4 — proof: anonymous totals, no names */
.proof { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.proof li { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; align-content: start; }
.p-val { font: 600 clamp(26px, 4vw, 38px)/1 var(--sans); color: var(--holo); font-variant-numeric: tabular-nums; }
.proof li:last-child .p-val { color: var(--sig); }
.p-note { font-size: 13.5px; line-height: 1.35; color: var(--dim); }

/* stop 5 — the shelf: package cards as projected vitrines. Same light as the holograms in the
   aisle behind: a projector glow from below, faint scanlines, one travelling pulse on the line. */
.offers { display: grid; gap: 12px; margin-top: 22px; }
.offer {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: 14px;
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(143, 211, 255, .10), transparent 60%),
    linear-gradient(180deg, rgba(10, 16, 23, .72), rgba(4, 7, 10, .72));
}
/* scanlines: static texture, never animated */
.offer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(143, 211, 255, .035) 0 1px, transparent 1px 3px);
}
/* the projection edge along the top */
.offer::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 211, 255, .7), transparent);
  box-shadow: 0 0 12px rgba(143, 211, 255, .55);
}
.offer h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.for { margin: 6px 0 0; color: var(--dim); font-size: 14px; line-height: 1.45; }
.price { margin: 14px 0 0; font: 640 30px/1 var(--sans); color: var(--holo); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-shadow: 0 0 22px rgba(143, 211, 255, .35); }
.terms { margin: 6px 0 0; font: 11.5px/1.45 var(--mono); color: var(--dim2); }
.o-body { margin: 12px 0 10px; color: var(--dim); font-size: 14.5px; }
.offer.lead { border-color: rgba(143, 211, 255, .5); }
.offer.lead::before { left: 0; right: 0; }
.offer.lead::after { background: repeating-linear-gradient(180deg, rgba(143, 211, 255, .055) 0 1px, transparent 1px 3px); }
.badge { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 4px 9px; border-radius: 999px; font: 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #041018; background: var(--holo); }
.includes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; align-content: start; gap: 7px; font-size: 14px; color: var(--ink); }
.includes li { display: flex; gap: 8px; }
.includes li::before { content: "✓"; color: var(--holo); flex: none; }

/* the hologram line: what happens, and when */
.holo {
  margin: 16px 0 4px; padding: 30px 12px 8px; border-radius: 10px;
  border: 1px solid rgba(143, 211, 255, .12);
  background: linear-gradient(180deg, rgba(143, 211, 255, .05), rgba(143, 211, 255, 0) 70%);
}
.holo-line { position: relative; list-style: none; margin: 0 4px; padding: 0; height: 34px; }
.holo-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(143, 211, 255, .15), rgba(143, 211, 255, .75) 12%, rgba(143, 211, 255, .75) 88%, rgba(143, 211, 255, .15));
  box-shadow: 0 0 10px rgba(143, 211, 255, .6);
}
/* one pulse travels the line, like light moving through the projector */
.holo-line::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 22%; height: 4px; transform: translate(-100%, -50%);
  background: linear-gradient(90deg, transparent, rgba(220, 244, 255, .95), transparent);
  filter: blur(1px); animation: holo-pulse 5.5s linear infinite;
}
.offer:nth-child(2) .holo-line::after { animation-delay: -1.8s; }
.offer:nth-child(3) .holo-line::after { animation-delay: -3.6s; }
@keyframes holo-pulse { to { transform: translate(560%, -50%); } }

.holo-line .range {
  position: absolute; top: 50%; left: var(--from); width: calc(var(--to) - var(--from)); height: 6px;
  transform: translateY(-50%); border-radius: 3px; background: rgba(143, 211, 255, .22);
  box-shadow: 0 0 14px rgba(143, 211, 255, .35) inset;
}
.holo-line .tick {
  position: absolute; top: 50%; left: var(--at); width: 1px; height: 10px; transform: translate(-50%, -50%);
  background: rgba(143, 211, 255, .6);
}
.tl-mark { position: absolute; width: 0; height: 0; top: 50%; left: var(--at); transform: translateX(-50%); }
.tl-mark .m-dot {
  position: absolute; left: 50%; top: 0; width: 11px; height: 11px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #05070a; border: 2px solid var(--holo); box-shadow: 0 0 12px rgba(143, 211, 255, .8);
}
.tl-mark.k-audit .m-dot { background: var(--holo); }
.tl-mark.k-fix .m-dot { border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); width: 9px; height: 9px; }
/* a store visit is a small vitrine: a square with a lit top */
.tl-mark.k-store .m-dot { border-radius: 2px; width: 12px; height: 12px; background: linear-gradient(180deg, var(--holo) 35%, #05070a 35%); }
.tl-mark.k-workshop .m-dot { box-shadow: 0 0 0 3px #05070a, 0 0 0 4px var(--holo), 0 0 14px rgba(143, 211, 255, .8); }
.tl-mark .m-label {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--ink);
}
.tl-mark.p-top .m-label { bottom: 12px; }
.tl-mark.p-bottom .m-label { top: 12px; color: var(--dim); }
.tl-mark.e-start .m-label { left: -5px; transform: none; }
.tl-mark.e-end .m-label { left: auto; right: -5px; transform: none; }
.holo-span { display: flex; justify-content: space-between; margin: 10px 0 0; font: 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }

/* custom: no fixed timeline, so no line — a dashed outline and one action */
.offer.slim {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: 12px; padding: 16px 18px; border-style: dashed; background: rgba(0, 0, 0, .25);
}
.offer.slim::before { display: none; }
.offer.slim h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer.slim .price { margin: 0; font-size: 18px; text-shadow: none; }
.offer.slim .o-body { margin: 6px 0 0; max-width: 62ch; }
.slim-text { flex: 1 1 320px; }

/* On wide screens the shelf is one wide panel with three tags side by side: stacked, it was
   taller than the viewport and its title slid under the clock (1440×900 capture). */
@media (min-width: 1100px) {
  .stop[data-stop="5"] { justify-content: center; }
  .stop[data-stop="5"] .panel { width: min(1180px, 100%); }
  .stop[data-stop="5"] .offers { grid-template-columns: repeat(3, 1fr); }
  .stop[data-stop="5"] .offer:not(.slim) { display: flex; flex-direction: column; }
  .stop[data-stop="5"] .includes { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .holo-line::after { display: none; }
}

/* stop 6 — book the call */
.who { margin: 14px 0 0; font: 12px/1.5 var(--mono); color: var(--dim2); }
.booking { margin-top: 20px; }
.booking .cta[hidden] { display: none; }
.cal-inline { min-height: 440px; border-radius: 12px; overflow: auto; color: var(--dim); font: 13px/1.4 var(--mono); }
.cal-inline[hidden] { display: none; }
.stop[data-stop="6"] .panel:has(.cal-inline:not([hidden])) { width: min(1000px, 100%); }
.or { margin: 16px 0 0; color: var(--dim); font-size: 14px; }
.or a { color: var(--holo); }

/* the booking bar: one fixed call to action between the first and the last stop */
.bookbar {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 55; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px;
  border: 1px solid rgba(143, 211, 255, .35); background: rgba(5, 7, 10, .86); backdrop-filter: blur(12px);
  color: var(--ink); text-decoration: none; white-space: nowrap; box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .9);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.bookbar[hidden] { display: flex; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); }
.bb-price { font: 12px/1 var(--mono); color: var(--dim); }
.bb-cta { padding: 9px 14px; border-radius: 999px; background: var(--holo); color: #041018; font-weight: 640; font-size: 14px; }

/* stop 6 — FAQ */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 560; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--dim2); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--dim); font-size: 15px; }

/* ── the clock ─────────────────────────────────────────────────────────────── */
/* Desktop: top-right under the masthead, where no panel ever sits. Phones: bottom bar. */
.hud {
  position: fixed; right: var(--gut); top: 64px; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; max-width: min(360px, calc(100vw - 2 * var(--gut)));
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 7, 10, .78);
  backdrop-filter: blur(10px); color: var(--dim); font: 12px/1.35 var(--mono); text-align: left; cursor: pointer;
}
.hud-val { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hud-suf { flex-basis: 100%; color: var(--sig); }
.explain {
  max-width: min(460px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 16px;
  background: #0a0f15; color: var(--ink); padding: 22px;
}
.explain::backdrop { background: rgba(0, 0, 0, .6); }
.explain h2 { font-size: 20px; }
.explain p { color: var(--dim); }
.explain button { font: inherit; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }

/* ── footer ────────────────────────────────────────────────────────────────── */
.foot {
  position: relative; z-index: 1; padding: 48px var(--gut) 110px; border-top: 1px solid var(--line);
  background: rgba(5, 7, 10, .9); color: var(--dim2); font-size: 13px;
}
.foot-row, .foot-legal { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-row { justify-content: space-between; }
.foot a { color: var(--dim); }
.foot-legal { margin-top: 14px; }
.foot-tag { margin-top: 18px; font: 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ── legal pages ───────────────────────────────────────────────────────────── */
.legal-main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-block: 40px 60px; padding-inline: var(--gut); }
.legal-main h1 { font-size: clamp(30px, 4.6vw, 44px); }
.legal-main h2 { font-size: 20px; margin-top: 34px; }
.legal-main p, .legal-main li { color: var(--dim); }
.legal-main .updated { font: 12px/1 var(--mono); color: var(--dim2); margin-top: 12px; }
.legal-main dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.legal-main dt { color: var(--dim2); }
.legal-main dd { margin: 0; color: var(--ink); }

/* ── small screens ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .top nav { gap: 14px; }
  .top nav a:first-child { display: none; }
  .stop, .stop:nth-child(even) { justify-content: center; align-items: flex-end; min-height: auto; padding-block: 56vh 8vh; }
  .stop:first-child { padding-block: 28vh 8vh; }
  .scan-row { flex-direction: column; }
  .scan button { padding: 14px; }
  /* A small pill in the corner: a full-width bar covered the text being read. */
  .hud { top: auto; left: auto; right: var(--gut); bottom: max(12px, env(safe-area-inset-bottom)); padding: 7px 11px; border-radius: 999px; }
  /* The bar takes the bottom edge; the clock pill steps up above it. */
  html:has(.bookbar:not([hidden])) .hud { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 58px); }
  .bookbar { left: var(--gut); right: var(--gut); transform: none; justify-content: space-between; }
  .bookbar[hidden] { transform: translateY(16px); }
  .proof { grid-template-columns: 1fr 1fr; }
  .mark span { display: none; }
  .hud-pre, .hud-suf { display: none; }
  .hud-val::before { content: "◷ "; color: var(--holo); }
}

/* ── no 3D: the flat house ─────────────────────────────────────────────────── */
html.flat .stop, html.flat .stop:nth-child(even) { min-height: auto; padding-block: 8vh; justify-content: center; }
html.flat .stop:first-child { min-height: 80vh; }

/* The ad's message beat: once the phone has shown five answers and an empty slot, the
   headline's second line — the finding — lights in the one accent colour, which means
   absence and nothing else. The text is readable before and after; only emphasis changes. */
.stop:first-child h1 .l2, .stop:first-child .slogan { transition: text-shadow 1.2s ease, color 1.2s ease; }
html.ad-message .stop:first-child h1 .l2 { text-shadow: 0 0 42px rgba(232, 85, 45, .9), 0 0 14px rgba(232, 85, 45, .75), 0 0 2px rgba(255, 140, 100, .9); }
html.ad-message .stop:first-child .slogan { color: var(--ink, #e9eef3); }

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