/* MODE3 · Protocol 0 (v6)
   Vanilla CSS. Day-cycle colours (--bg / --text) are interpolated by app.js.
   The hero is the chaos-to-order flip; the body is left-column beats with the
   lava-stone bracelet on the right (desktop) and the state-line spine in the
   left gutter, both drawn on a fixed canvas behind the content. */

:root {
  --black: #0b0d10;
  --offwhite: #ede9e3;
  --teal: #9fe6d3;
  --amber: #ffd400;
  --violet: #ba40ee;

  /* day-cycle, set per frame by JS; defaults = dawn */
  --bg: #f1f2f0;
  --text: #0b0d10;
  --hair: rgba(11, 13, 16, 0.16);
  --dim: rgba(11, 13, 16, 0.55);

  --t-display: clamp(2rem, 6.4vw, 4.4rem);
  --t-head: clamp(1.5rem, 4vw, 3rem);
  --t-body: clamp(0.95rem, 1.4vw, 1.125rem);
  --t-micro: 0.6875rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
img, svg { max-width: 100%; }
h1, h2, p { overflow-wrap: break-word; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
.t-num { font-variant-numeric: tabular-nums; }
.sep { opacity: 0.5; padding: 0 0.1em; }

/* the signature canvas (spine + bracelet), behind all content */
#sigCv { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* no-JS static bracelet outline (the canvas is JS only) */
.bracelet-static { display: none; width: 180px; height: 180px; margin: 2.5rem 0 0; }
.bracelet-static circle { fill: none; stroke: var(--text); stroke-width: 1.2; opacity: 0.5; }
.no-js .bracelet-static { display: block; }

/* ---------- HERO · the state flip ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  background: var(--black);
  color: var(--offwhite);
  overflow: hidden;
  cursor: pointer;
  outline: none;
}
#heroCv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-static { position: absolute; left: 0; right: 0; top: 46%; height: 12vh; transform: translateY(-50%); display: none; }
.no-js .hero-static { display: block; }
.no-js #heroCv { display: none; }
.hero-ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; padding: 1.9rem 2.2rem; font-size: var(--t-micro); letter-spacing: 0.3em; color: rgba(237, 233, 227, 0.5); }
.mute { pointer-events: auto; cursor: pointer; background: none; border: none; font-family: inherit; font-size: var(--t-micro); letter-spacing: 0.24em; color: rgba(237, 233, 227, 0.45); padding: 0.4rem; }
.mute:hover, .mute:focus-visible { color: var(--teal); }
.hero-center { position: relative; text-align: center; padding: 0 8vw 13vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; }
.hero-t { transition: opacity 0.8s ease; position: absolute; left: 0; right: 0; bottom: 13vh; padding: 0 8vw; }
.hero-t.hide { opacity: 0; pointer-events: none; }
.hero-h1 { font-weight: 500; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-shadow: 0 2px 34px rgba(11, 13, 16, 0.95); }
.hero-sub { margin: 1.25rem 0 0; font-size: clamp(0.85rem, 1.5vw, 1rem); letter-spacing: 0.04em; color: rgba(237, 233, 227, 0.72); text-shadow: 0 2px 22px rgba(11, 13, 16, 0.95); }
.hero-hint { margin: 1.6rem 0 0; font-size: var(--t-micro); letter-spacing: 0.3em; color: var(--teal); opacity: 0.62; transition: opacity 0.6s ease; }
.hero-hint.pulse { animation: heroPulse 2.6s ease-in-out infinite; }
.hero-scroll, .hero-nojs-cue { pointer-events: auto; display: inline-block; margin-top: 1.6rem; font-size: var(--t-micro); letter-spacing: 0.3em; color: var(--teal); text-decoration: none; }
.hero-scroll::after, .hero-nojs-cue::after { content: ""; display: block; width: 1px; height: 22px; margin: 0.6rem auto 0; background: var(--teal); opacity: 0.55; }
.hero-nojs-cue { display: none; }
.no-js .hero-nojs-cue { display: inline-block; }
.no-js #heroHint { display: none; }
@keyframes heroPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.hero-hint { font-weight: 600; }

/* explicit, unmistakable tap target: a core dot with two expanding rings, shown
   the moment the visitor reaches the chaotic hero; hidden once it resolves */
.hero-tap {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease; opacity: 1;
}
.hero-resolved .hero-tap { opacity: 0; }
.no-js .hero-tap { display: none; }
.hero-tap-core { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px 2px rgba(159, 230, 211, 0.7); }
.hero-tap-ring { position: absolute; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; animation: heroRipple 2.2s ease-out infinite; }
.hero-tap-ring.r2 { animation-delay: 1.1s; }
@keyframes heroRipple { 0% { width: 22px; height: 22px; opacity: 0.85; } 100% { width: 84px; height: 84px; opacity: 0; } }

/* ---------- BEATS · left-column day sections ---------- */
.beat {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  /* left padding clears the animated spine line in the gutter at every phase */
  padding: 4rem 6vw 4rem clamp(3.75rem, 9vw, 9rem);
}
.beat-in { width: 100%; max-width: 40rem; }
@media (max-width: 899px) {
  /* keep the lower-right bracelet clear of the centred text on small screens */
  .beat { padding-bottom: 24vh; }
}
@media (min-width: 900px) {
  .beat { padding-right: 44vw; }
  .beat-in { max-width: 34rem; }
}
/* content-light beats flow at their own height instead of forcing a full screen,
   so the dark half does not open up long empty stretches */
.beat--flow { min-height: auto; padding-top: 4rem; padding-bottom: 4rem; }
@media (max-width: 899px) { .beat--flow { padding-bottom: 4.5rem; } }

.kicker { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: #1f6f5c; margin: 0 0 1.4rem; }
.is-dark .kicker { color: var(--teal); }
.kicker.tag-teal { color: #1c5b4d; }
.is-dark .kicker.tag-teal { color: var(--teal); }
.stamp { font-size: 0.75rem; letter-spacing: 0.18em; margin: 0 0 1rem; opacity: 0.55; font-variant-numeric: tabular-nums; }
.h2 { font-weight: 500; font-size: var(--t-head); line-height: 1.06; letter-spacing: -0.012em; margin: 0; max-width: 17ch; text-wrap: balance; }
.h2--xl { font-size: var(--t-display); line-height: 1.02; max-width: 14ch; }
.sub { margin: 1.4rem 0 0; font-size: var(--t-body); line-height: 1.6; max-width: 34ch; opacity: 0.72; }
.scent-char { margin: 1rem 0 0; font-size: var(--t-body); font-style: italic; font-weight: 500; opacity: 0.92; max-width: 30ch; }
.micro-note { font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--dim); margin: 1.25rem 0 0; }
.kit-built { margin: 2rem 0 0; font-size: var(--t-head); font-weight: 600; line-height: 1.12; max-width: 16ch; text-wrap: balance; }
.mirror-clock { font-size: var(--t-micro); letter-spacing: 0.02em; color: var(--dim); margin: 1.5rem 0 0; }
.mirror-clock[hidden] { display: none; }

/* reveal on scroll (translateY + opacity, like the reference) */
/* a clean rise plus fade, more pronounced so a line clearly registers as arriving;
   ease-out curve, no bounce, no overshoot */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.cta {
  display: inline-block; margin-top: 1.75rem;
  font-family: inherit; font-size: var(--t-micro); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: var(--text); background: transparent; border: 1px solid var(--text);
  padding: 0.95rem 1.7rem; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cta-primary { background: var(--teal); border-color: var(--teal); color: var(--black); }
.cta-primary:hover, .cta-primary:focus-visible { background: #bdf0e3; border-color: #bdf0e3; color: var(--black); }
.cta:focus-visible, .scent-card:focus-visible, .cue:focus-visible, .hero-scroll:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.cue { display: inline-block; margin-top: 1.75rem; font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.cue::after { content: ""; display: block; width: 1px; height: 18px; margin: 0.5rem 0 0; background: var(--teal); opacity: 0.7; }

/* ---------- scent memory cards ---------- */
.scent-cards { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0 0; width: 100%; max-width: 30rem; }
.scent-card {
  font-family: inherit; font-size: var(--t-body); font-weight: 500; text-align: left;
  color: var(--text); background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--hair); padding: 1rem 1.1rem; cursor: pointer; outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.scent-card:hover { border-color: var(--teal); }
.scent-card:focus { outline: none; } /* never the browser default blue on a chosen card */
.scent-card.selected { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); box-shadow: 0 0 0 1px var(--teal); }
.scent-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.scent-reveal { margin-top: 2rem; max-width: 40rem; }
.js .scent-reveal { display: none; }
.js .scent-reveal.shown { display: block; }
/* layered reveal: the hit largest, then the chosen line, then the small read, then the bridge */
.scent-hit { font-size: var(--t-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 1.6rem; max-width: 18ch; text-wrap: balance; }
.scent-line { font-size: var(--t-head); font-weight: 500; line-height: 1.12; margin: 0 0 1.6rem; max-width: 22ch; color: #1c5b4d; min-height: 1.1em; text-wrap: balance; }
.is-dark .scent-line { color: var(--teal); }
.scent-line:empty { display: none; }
.scent-small { font-size: var(--t-body); line-height: 1.6; opacity: 0.74; margin: 0 0 1.1rem; max-width: 38ch; }
.scent-bridge { font-size: var(--t-head); font-weight: 500; line-height: 1.14; letter-spacing: -0.01em; margin: 1.6rem 0 0; max-width: 22ch; text-wrap: balance; }

/* ---------- field report card ---------- */
.report { border: 1px solid var(--hair); border-radius: 4px; max-width: 540px; padding: 2rem 1.9rem; background: color-mix(in srgb, var(--text) 5%, transparent); margin-top: 2rem; }
.is-dark .report { background: rgba(20, 23, 27, 0.45); }
.rk { font-size: var(--t-micro); letter-spacing: 0.26em; color: #1f6f5c; margin: 0 0 0.4rem; }
.is-dark .rk { color: var(--teal); }
.rlive { font-size: 0.625rem; letter-spacing: 0.2em; opacity: 0.45; margin: 0 0 1.2rem; }
.row { display: flex; justify-content: space-between; gap: 18px; padding: 0.85rem 0; border-top: 0.5px solid var(--hair); font-size: 0.875rem; }
.row span:first-child { opacity: 0.55; }
.row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.verdict { margin: 1.5rem 0 0; font-size: 1.0625rem; line-height: 1.5; min-height: 1.2em; text-wrap: balance; }

/* ---------- price ---------- */
.price-num { font-size: var(--t-head); font-weight: 600; margin: 1.25rem 0 0.4rem; font-variant-numeric: tabular-nums; }
.price-anchor { font-size: var(--t-body); opacity: 0.82; margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- calm close + footer ---------- */
.calm-close { min-height: 72vh; }
.trust-strip { display: flex; gap: 0.6rem; flex-wrap: wrap; font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.1em; color: var(--dim); margin: 1.5rem 0 0; }
.footer.beat { min-height: auto; padding-top: 3rem; padding-bottom: 3.5rem; justify-content: flex-start; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.footer-links a { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.08em; color: var(--text); text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-mark { font-size: var(--t-micro); color: var(--dim); margin: 0; letter-spacing: 0.04em; }

/* ---------- fixed HUD ---------- */
/* reads on cream and on dark: brand text colour (AA against the live bg) on a
   faint same-as-bg chip, so it never relies on a fragile blend mode */
.hud-clock { position: fixed; top: 0.6rem; right: 0.6rem; z-index: 40; text-align: right; line-height: 1.05; pointer-events: none; color: var(--text); padding: 0.32rem 0.5rem; border-radius: 5px; background: color-mix(in srgb, var(--bg) 68%, transparent); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.clock-time { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.clock-label { display: block; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.22em; opacity: 0.7; }

.day-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: var(--hair); pointer-events: none; }
.day-bar-fill { height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); will-change: transform; }
.day-marker { position: absolute; top: 0; left: 0; width: 2px; height: 7px; background: var(--teal); box-shadow: 0 0 6px 1px color-mix(in srgb, var(--teal) 60%, transparent); transform: translateX(0); will-change: transform; }

/* ---------- field-report popups (lower-left, hold until dismissed) ---------- */
.report-popups { position: fixed; left: 0.75rem; bottom: 0.75rem; z-index: 45; width: min(15rem, calc(100vw - 1.5rem)); pointer-events: none; }
.rp-card {
  pointer-events: auto; cursor: pointer; outline: none;
  display: flex; gap: 0.75rem; align-items: flex-start; justify-content: space-between;
  font-size: 0.8125rem; line-height: 1.42; font-weight: 500; letter-spacing: 0.01em;
  color: #ede9e3; background: rgba(11, 13, 16, 0.94);
  border: 1px solid rgba(159, 230, 211, 0.45); border-left: 3px solid var(--teal);
  border-radius: 3px; padding: 0.9rem 0.95rem;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.rp-card.in { opacity: 1; transform: none; }
.rp-card.out { opacity: 0; transform: translateY(6px); }
.rp-text { flex: 1; min-width: 0; }
.rp-x { flex: none; font-family: inherit; background: none; border: none; cursor: pointer; font-size: 1.1rem; line-height: 1; color: rgba(237, 233, 227, 0.55); padding: 0.15rem 0.1rem 0.15rem 0.5rem; margin: -0.15rem -0.1rem -0.15rem 0; }
.rp-x:hover, .rp-x:focus-visible { color: var(--teal); }
.rp-x:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- offer reveal (press and hold to open; never a paywall) ---------- */
.offer-gate { display: none; margin: 0 0 2.5rem; flex-direction: column; align-items: flex-start; }
.js .offer-gate { display: flex; }
.offer-gate.opened { display: none; }
.hold-ring {
  position: relative; width: 116px; height: 116px; margin: 1.1rem 0 0;
  border: none; background: none; padding: 0; cursor: pointer; outline: none;
  -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none; -webkit-user-select: none;
}
.hold-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.hr-track { fill: none; stroke: var(--hair); stroke-width: 4; }
.hr-prog { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 0.08s linear; }
.hold-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.2em; color: var(--text); }
.hold-ring:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 50%; }
.skip-link { display: inline-block; margin: 1.1rem 0 0; background: none; border: none; font-family: inherit; font-size: var(--t-micro); letter-spacing: 0.08em; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0.4rem 0; }
.skip-link:hover, .skip-link:focus-visible { color: var(--text); }
.price-locked { transition: opacity 0.8s ease, filter 0.8s ease; }
.price-locked.locked { opacity: 0.12; filter: blur(4px); pointer-events: none; user-select: none; }
.price-state { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #1c5b4d; margin: 0 0 1.25rem; }
.is-dark .price-state { color: var(--teal); }
.price-state[hidden] { display: none; }

/* ---------- state-test stations (restored v5 engines: readiness / hold the dot / the sigh) ---------- */
.station { margin: 2.4rem 0 0; max-width: 30rem; }
.st-label { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 1rem; }
.station--prime .st-label { color: #1c5b4d; }
.is-dark .station--prime .st-label { color: var(--teal); }
.station--perform .st-label { color: #574600; }
.is-dark .station--perform .st-label { color: var(--amber); }
.station--unwind .st-label { color: #601a82; }
.is-dark .station--unwind .st-label { color: #cf7af2; }

.st-intro { font-size: var(--t-body); line-height: 1.55; opacity: 0.8; margin: 0 0 1.4rem; max-width: 34ch; }
.st-nojs { font-size: var(--t-body); opacity: 0.7; margin: 0; }
.js .st-nojs { display: none; }

/* progressive enhancement: hide the interactive scaffolding when JS is off */
.no-js .s1-panel, .no-js .s1-rounds, .no-js .s2-setup, .no-js .s3-setup, .no-js .st-readout { display: none; }
.s2-arena[hidden], .s3-stage[hidden], .st-readout[hidden] { display: none; }

/* shared result block */
.st-readout { margin: 1.6rem 0 0; }
.metric-line { font-size: var(--t-body); margin: 0 0 0.4rem; }
.metric-line .mv { font-weight: 600; font-variant-numeric: tabular-nums; }
.metric-line.breakdown { font-variant-numeric: tabular-nums; opacity: 0.85; font-size: var(--t-micro); letter-spacing: 0.06em; }
.st-verdict { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; margin: 0.9rem 0 0; max-width: 26ch; text-wrap: balance; }
.note-drift { font-size: var(--t-micro); color: var(--dim); margin: 0.75rem 0 0; max-width: 40ch; line-height: 1.5; }

/* shared skip control */
.st-skip { display: inline-block; margin: 1rem 0 0; background: none; border: none; font-family: inherit; font-size: var(--t-micro); letter-spacing: 0.08em; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0.5rem 0; }
.is-dark .st-skip { color: rgba(237, 233, 227, 0.5); }
.st-skip:hover, .st-skip:focus-visible { color: var(--text); }

/* PRIME · readiness reaction panel */
.s1-panel {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 200px; border: 1px solid var(--hair); border-radius: 4px;
  background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text);
  cursor: pointer; outline: none; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color 0.06s linear, border-color 0.16s ease;
}
.s1-panel:hover { border-color: var(--teal); }
.s1-panel:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.s1-panel.is-go { background: var(--teal); border-color: var(--teal); color: var(--black); }
.s1-panel.is-early { background: color-mix(in srgb, var(--violet) 22%, transparent); }
.s1-panel-text { font-size: var(--t-body); font-weight: 600; letter-spacing: 0.04em; padding: 1rem; }
.s1-rounds { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.1rem; }
.dot-slot { width: 9px; height: 9px; border: 1px solid var(--hair); border-radius: 50%; }
.dot-slot.done { background: var(--teal); border-color: var(--teal); }

/* PERFORM · catch the pulse (full-screen arena: dot up top, tap zone in the thumb zone) */
.s2-setup .cta { margin-right: 1rem; }
.s2-lock { overflow: hidden; }
.s2-arena[hidden] { display: none; }
.s2-arena.active {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column;
}
.s2-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem 0.4rem; flex: none; }
.s2-phase { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.2em; color: var(--dim); }
.s2-live { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; color: #574600; font-variant-numeric: tabular-nums; }
.is-dark .s2-live { color: var(--amber); }
.s2-field { position: relative; flex: 1 1 auto; overflow: hidden; }
.s2-pills { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pill { position: absolute; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em; background: rgba(20, 24, 28, 0.92); color: #ede9e3; border: 1px solid rgba(237, 233, 227, 0.18); padding: 0.4rem 0.6rem; border-radius: 2px; max-width: 60%; z-index: 4; }
.is-dark .pill { background: rgba(40, 44, 52, 0.94); }
.s2-dot {
  position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); z-index: 3; will-change: transform; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11, 13, 16, 0.2) inset;
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}
.s2-dot.pulse { background: #d6fff2; box-shadow: 0 0 0 7px color-mix(in srgb, var(--teal) 28%, transparent), 0 0 24px 5px color-mix(in srgb, var(--teal) 55%, transparent); }
.s2-timebar { width: 100%; height: 2px; background: var(--hair); flex: none; }
.s2-timefill { display: block; height: 100%; width: 0%; background: var(--teal); transition: width 0.3s ease; }
.s2-tapzone {
  flex: none; min-height: 128px; border: none; border-top: 1px solid var(--hair);
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text);
  font-family: inherit; font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.s2-tapzone.hit { background: var(--teal); color: var(--black); }
.s2-tapzone.miss { background: color-mix(in srgb, var(--violet) 22%, transparent); }
.s2-tapzone:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.s2-field.loaded::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 40% at 32% 58%, color-mix(in srgb, var(--amber) 9%, transparent), transparent 70%); }

/* PERFORM load · iOS-style banner notifications (generic recognizable icons, no
   trademarked logos). Several can stack at once. */
.s2-msgs { position: absolute; top: 0; left: 0; right: 0; z-index: 6; pointer-events: none; padding: 0.55rem 0.5rem 0; display: flex; flex-direction: column; gap: 0.45rem; }
.s2-note {
  display: flex; gap: 0.6rem; align-items: center; width: calc(100% - 0.2rem); max-width: 22rem; margin: 0 auto;
  background: rgba(248, 248, 250, 0.97); color: #14171b; border-radius: 15px; padding: 0.5rem 0.7rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transform: translateY(-150%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.s2-note.in { transform: translateY(0); opacity: 1; }
.s2-note-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.08rem; }
.s2-note-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.s2-note-name { font-size: 0.8125rem; font-weight: 700; }
.s2-note-time { font-size: 0.625rem; color: rgba(20, 23, 27, 0.5); flex: none; }
.s2-note-prev { font-size: 0.78rem; color: rgba(20, 23, 27, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* app icons: a coloured rounded square with a simple white glyph; a red badge */
.s2-ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #888; }
.s2-ic::before, .s2-ic::after { content: ""; position: absolute; }
.s2-ic--msg { background: #34c759; }
.s2-ic--msg::before { left: 7px; top: 8px; width: 18px; height: 13px; background: #fff; border-radius: 7px; }
.s2-ic--msg::after { left: 10px; bottom: 5px; width: 6px; height: 6px; background: #fff; border-radius: 0 0 0 6px; transform: rotate(8deg); }
.s2-ic--social { background: #1f7aec; }
.s2-ic--social::before { left: 9px; top: 9px; width: 14px; height: 14px; background: #fff; border-radius: 3px; }
.s2-ic--photos { background: #ffd23a; }
.s2-ic--photos::before { left: 8px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#ff5a5f, #ffd23a, #34c759, #1f7aec, #ba40ee, #ff5a5f); }
.s2-ic--mail { background: #2a9bff; }
.s2-ic--mail::before { left: 6px; top: 9px; width: 20px; height: 14px; background: #fff; border-radius: 2px; }
.s2-ic--mail::after { left: 6px; top: 9px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 8px solid #2a9bff; }
.s2-ic--cal { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.s2-ic--cal::before { left: 0; top: 0; right: 0; width: 100%; height: 9px; background: #ff3b30; border-radius: 8px 8px 0 0; }
.s2-ic--cal::after { left: 7px; bottom: 5px; width: 18px; height: 11px; background: repeating-linear-gradient(90deg, rgba(0,0,0,0.42) 0 3px, transparent 3px 6px); }
.s2-ic--alarm { background: #1c1c1e; }
.s2-ic--alarm::before { left: 7px; top: 7px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; }
.s2-ic--alarm::after { left: 15px; top: 11px; width: 2px; height: 7px; background: #fff; border-radius: 1px; }
.s2-badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff3b30; color: #fff; font-size: 0.6rem; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 1.5px rgba(248, 248, 250, 0.97); }

/* alarm banner extras */
.s2-note--alarm .s2-alarm-row { display: flex; gap: 0.4rem; margin-top: 0.25rem; }
.s2-alarm-btn { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 10px; background: rgba(20, 23, 27, 0.1); color: #14171b; }
.s2-alarm-btn.stop { background: #ff3b30; color: #fff; }
.s2-note.shake { animation: s2Shake 0.4s ease-in-out 0s 3; }
@keyframes s2Shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* low-battery banner */
.s2-batt-ic { position: relative; flex: none; width: 30px; height: 16px; border: 1.5px solid #14171b; border-radius: 3px; }
.s2-batt-ic::after { content: ""; position: absolute; right: -4px; top: 4px; width: 3px; height: 6px; background: #14171b; border-radius: 0 2px 2px 0; }
.s2-batt-ic span { position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; width: 22%; background: #ff3b30; border-radius: 1px; }

/* PERFORM load · real film-style subtitle (white text, thin dark outline, cinema look) */
.s2-sub {
  position: absolute; left: 0; right: 0; bottom: 9%; z-index: 5; pointer-events: none;
  width: 86%; max-width: 30rem; margin-inline: auto; text-align: center;
  color: #ffffff; font-size: 1.05rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em;
  text-shadow: 0 0 1px #000, 0 0 1px #000, 1px 1px 2px rgba(0,0,0,0.95), -1px 1px 2px rgba(0,0,0,0.95), 1px -1px 2px rgba(0,0,0,0.95), -1px -1px 2px rgba(0,0,0,0.95);
  opacity: 0; transition: opacity 0.3s ease;
}
.s2-sub.in { opacity: 1; }
.s2-sub:empty { display: none; }

/* shared redo control (consistent across PRIME, PERFORM, UNWIND) */
.st-redo { display: inline-block; margin: 1.1rem 0 0; font-family: inherit; font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); background: transparent; border: 1px solid var(--hair); border-radius: 3px; padding: 0.6rem 1.05rem; cursor: pointer; }
.st-redo:hover, .st-redo:focus-visible { border-color: var(--teal); }
.st-redo:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-redo[hidden] { display: none; }
.no-js .st-redo { display: none; }

/* UNWIND · the sigh */
.s3-stage { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: 2rem 0; min-height: 300px; justify-content: center; }
/* reserve room for the circle at full scale (70px * 2.75) so it never covers the cue */
.s3-circle-wrap { height: 220px; display: flex; align-items: center; justify-content: center; }
.s3-circle { width: 70px; height: 70px; border-radius: 50%; background: color-mix(in srgb, var(--violet) 26%, transparent); border: 1.5px solid #cf7af2; transform: scale(1); }
.s3-cue { font-size: var(--t-head); font-weight: 500; margin: 0; min-height: 1.4em; text-align: center; }
.s3-answer { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 1.25rem; }
.s3-answer .felt-on { border-color: #cf7af2; color: #cf7af2; }

/* ---------- product showcase (static, the real objects) ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin: 2.5rem 0 0; width: 100%; max-width: 60rem; }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.product { border: 1px solid var(--hair); border-radius: 6px; padding: 1.05rem; background: color-mix(in srgb, var(--text) 4%, transparent); }
.is-dark .product { background: rgba(20, 23, 27, 0.4); }
.product-img { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #f3f1ec; margin: 0 0 1.05rem; }
.product-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-tag { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 0.4rem; }
.product-tag.tag-teal { color: #1c5b4d; }
.is-dark .product-tag.tag-teal { color: var(--teal); }
.product-tag.tag-amber { color: #574600; }
.is-dark .product-tag.tag-amber { color: var(--amber); }
.product-tag.tag-violet { color: #601a82; }
.is-dark .product-tag.tag-violet { color: #cf7af2; }
.product-name { font-size: 1.0625rem; font-weight: 600; margin: 0 0 0.5rem; }
.product-copy { font-size: 0.875rem; line-height: 1.5; opacity: 0.72; margin: 0; max-width: 32ch; }

/* ---------- readout no-data line ---------- */
.report-skip { font-size: var(--t-body); margin: 1rem 0 0; padding-top: 0.85rem; border-top: 0.5px solid var(--hair); opacity: 0.92; }
.report-skip[hidden], #r-detail[hidden] { display: none; }

/* ---------- recognition moments ---------- */
.moments { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 36rem; }
.moment { display: grid; grid-template-columns: minmax(4.5rem, max-content) 1fr; gap: 0.4rem 1.1rem; align-items: baseline; padding: 0 0 1rem; border-bottom: 1px solid var(--hair); }
.moment:last-child { border-bottom: none; padding-bottom: 0; }
.moment-time { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.moment-line { font-size: var(--t-body); line-height: 1.4; }
.moment--prime .moment-time { color: #1c5b4d; }
.is-dark .moment--prime .moment-time { color: var(--teal); }
.moment--perform .moment-time { color: #574600; }
.is-dark .moment--perform .moment-time { color: var(--amber); }
.moment--unwind .moment-time { color: #601a82; }
.is-dark .moment--unwind .moment-time { color: #cf7af2; }

/* ---------- why it works (collapsible deep layer) ---------- */
.why { margin: 1.8rem 0 0; border-top: 1px solid var(--hair); max-width: 40rem; }
.why-summary { cursor: pointer; list-style: none; padding: 1rem 0; font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); display: flex; align-items: center; }
.why-summary::-webkit-details-marker { display: none; }
.why-summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; font-weight: 400; line-height: 1; opacity: 0.6; }
.why[open] .why-summary::after { content: "-"; }
.why-summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.why-body { padding: 0.2rem 0 0.6rem; }
.why-item { font-size: 0.9375rem; line-height: 1.55; margin: 0 0 0.9rem; opacity: 0.84; max-width: 40ch; }
.why-item:last-child { margin-bottom: 0; }
.why-h { font-weight: 600; opacity: 1; }

/* ---------- what MODE3 is not ---------- */
.not-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; max-width: 38rem; }
.not-list li { font-size: var(--t-body); line-height: 1.45; padding-left: 1.1rem; position: relative; }
.not-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 1px; background: var(--text); opacity: 0.55; }
.not-h { font-weight: 600; }

/* ---------- readout to app bridge (the companion app mock) ---------- */
.app-bridge-line { font-size: var(--t-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 1.8rem; max-width: 20ch; text-wrap: balance; }
/* placeholder frames for real screenshots the user will supply (no fabricated UI) */
.shot { width: 100%; max-width: 20rem; }
.shot-frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 16px;
  border: 1px dashed color-mix(in srgb, var(--text) 38%, transparent);
  background: color-mix(in srgb, var(--text) 5%, transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
}
.is-dark .shot-frame { border-color: rgba(237, 233, 227, 0.32); background: rgba(20, 23, 27, 0.4); }
.shot-frame--wide { aspect-ratio: 4 / 3; max-width: 20rem; }
.shot-tag { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); opacity: 0.85; }
.shot-note { font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--dim); }
.shot-cap { font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--dim); margin: 1rem 0 0; }

/* ---------- reviews from the future ---------- */
.future-notes { margin: 2rem 0 0; max-width: 32rem; display: flex; flex-direction: column; gap: 1rem; }
.future-note { font-size: 0.9375rem; font-style: italic; line-height: 1.5; opacity: 0.68; margin: 0; }
.future-date { font-style: normal; font-weight: 700; letter-spacing: 0.04em; opacity: 0.9; margin-right: 0.3rem; }

/* ---------- founder beat ---------- */
.founder-copy { max-width: 38rem; }
.founder-copy p { font-size: var(--t-body); line-height: 1.6; margin: 0 0 1rem; opacity: 0.86; }
.founder-copy p:last-child { margin-bottom: 0; }
.founder-sign { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 1.4rem 0 0; }

/* ---------- price: exclusivity, what you join, after ---------- */
.price-excl { font-size: var(--t-body); font-weight: 600; margin: 0 0 1rem; max-width: 30ch; }
.join-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; max-width: 34rem; }
.join-list li { font-size: 0.9375rem; line-height: 1.45; padding-left: 1.15rem; position: relative; opacity: 0.92; }
.join-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.join-h { font-weight: 600; }
.price-after { font-size: var(--t-body); margin: 1.25rem 0 0; opacity: 0.85; }

/* ---------- plain lists (notice, built-for, the huddle) ---------- */
.plain-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; max-width: 38rem; }
.plain-list li { font-size: var(--t-body); line-height: 1.4; padding-left: 1.15rem; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 1px; background: var(--text); opacity: 0.55; }
.system-line { font-size: var(--t-head); font-weight: 500; line-height: 1.14; letter-spacing: -0.01em; margin: 0 0 1.8rem; max-width: 22ch; text-wrap: balance; }
.notfor-k { margin-top: 2rem; }
.notfor-line { font-size: var(--t-body); font-weight: 500; margin: 1rem 0 0; max-width: 30ch; }

/* ---------- founders count slot ---------- */
.founder-count { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #1c5b4d; margin: 0 0 1.1rem; }
.is-dark .founder-count { color: var(--teal); }

/* ---------- close, tinted by the weak state from the verdict ---------- */
.calm-close { position: relative; }
.close--prime { border-top: 2px solid color-mix(in srgb, var(--teal) 70%, transparent); }
.close--perform { border-top: 2px solid color-mix(in srgb, var(--amber) 70%, transparent); }
.close--unwind { border-top: 2px solid color-mix(in srgb, #cf7af2 80%, transparent); }
.close--hold { border-top: 2px solid color-mix(in srgb, var(--teal) 55%, transparent); }
/* the "A calm decision" element always reads calm: a dimmed UNWIND violet, never
   the amber/teal of the weak-state tint that sits behind it as the top border */
.calm-close .h2 { color: color-mix(in srgb, #cf7af2 52%, var(--text)); }

/* ---------- cold open (real local time, holds until dismissed) ---------- */
.co-lock { overflow: hidden; }
.cold-open {
  position: fixed; inset: 0; z-index: 80; background: var(--black); color: var(--offwhite);
  display: flex; align-items: center; justify-content: flex-start;
  padding: 6vh clamp(1.6rem, 8vw, 6rem); opacity: 0; transition: opacity 0.6s ease;
}
.cold-open.in { opacity: 1; }
.co-in { max-width: 30rem; }
.co-time { font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal); margin: 0 0 1.6rem; font-variant-numeric: tabular-nums; }
.co-moment { font-size: var(--t-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 1rem; }
.co-state { font-size: var(--t-body); line-height: 1.55; color: rgba(237, 233, 227, 0.78); margin: 0 0 2rem; max-width: 30ch; }
.co-go { margin: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-hint { animation: none; opacity: 0.7; }
  .rp-card { transition: none; transform: none; }
  .cta, .price-locked, .s1-panel, .s2-dot, .s2-tapzone, .hr-prog, .cold-open, .s2-timefill, .s2-note, .s2-sub, .hero-tap { transition: none; }
  .hero-hint, .hero-hint.pulse { animation: none; opacity: 0.7; }
  .s2-note.shake { animation: none; }
  .hero-tap-ring { animation: none; opacity: 0.6; }
}
