/* ============================================================
   looptrace·explained — sage mist + ink + crimson tick.
   Same family as the looptrace app: crimson marks ONLY the
   currently-executing thing, so the eye follows execution.
   All animation is CSS-only; scenes get .is-playing from app.js
   (IntersectionObserver) and degrade to static, fully-legible
   final states without it or under prefers-reduced-motion.
   ============================================================ */

:root {
  --bg:      #E3EAE0;   /* sage mist */
  --panel:   #F4F7F2;
  --panel2:  #EAEFE7;
  --ink:     #16171A;
  --muted:   #445747;   /* deep sage, AA on bg */
  --line:    #C2CEC0;
  --accent:  #C42847;   /* crimson */
  --accent-ink: #FFFFFF;
  --accent-dim: rgba(196, 40, 71, 0.12);
  --ok:      #2F6C46;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1080px;
  --shadow: 0 14px 34px -22px rgba(22, 23, 26, 0.35);
}

:root[data-theme="dark"] {
  --bg:      #101211;
  --panel:   #191E1B;
  --panel2:  #141816;
  --ink:     #D9E4D6;
  --muted:   #9DB2A0;
  --line:    #2C342E;
  --accent:  #E8506B;
  --accent-ink: #16171A;
  --accent-dim: rgba(232, 80, 107, 0.16);
  --ok:      #6FBE8C;
  --shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg:      #101211;
    --panel:   #191E1B;
    --panel2:  #141816;
    --ink:     #D9E4D6;
    --muted:   #9DB2A0;
    --line:    #2C342E;
    --accent:  #E8506B;
    --accent-ink: #16171A;
    --accent-dim: rgba(232, 80, 107, 0.16);
    --ok:      #6FBE8C;
    --shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
code {
  font-family: var(--mono); font-size: 0.92em;
  background: var(--panel2); padding: 0.08em 0.35em; border-radius: 5px;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mono-run { font-family: var(--mono); font-weight: 600; }

/* ---------- a11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 50;
}
.skip-link:focus { left: 0; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: var(--panel); color: var(--ink);
  text-decoration: none; transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--big { font-size: 18px; padding: 16px 30px; }

/* ---------- hero ---------- */
.hero { padding: 26px 0 44px; border-bottom: 1px solid var(--line); }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; color: var(--ink); }
.brand__dot { fill: var(--accent); }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand__suffix { color: var(--muted); font-weight: 600; }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(26px, 4.2vw, 40px); max-width: 24ch; }
.lede { margin-top: 16px; max-width: 62ch; color: var(--muted); font-size: 17px; }
.lede strong { color: var(--ink); }
.hero__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  border: 1px solid var(--line); background: var(--panel);
  padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
}

/* ---------- hero racetrack dial ---------- */
.dial { margin: 0; }
.dial__svg { width: 100%; height: auto; display: block; }
.dial__track {
  fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round;
  opacity: 0.9;
}
.dial__station { fill: var(--bg); stroke: var(--ink); stroke-width: 3.5; }
.dial__label {
  font-family: var(--mono); font-size: 17px; font-weight: 600;
  fill: var(--muted);
}
.dial__dot { fill: var(--accent); }
.dial__dot--moving { display: none; }

@supports (offset-path: path("M 0 0 H 10")) {
  .dial__dot--static { display: none; }
  .dial__dot--moving {
    display: block;
    offset-path: path("M 300 60 H 470 A 70 70 0 0 1 540 130 V 190 A 70 70 0 0 1 470 260 H 130 A 70 70 0 0 1 60 190 V 130 A 70 70 0 0 1 130 60 H 300");
    offset-rotate: 0deg;
    animation: orbit 9s linear infinite;
  }
}
@keyframes orbit {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

.dial__caption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- scenes ---------- */
.scene { padding: 58px 0; border-bottom: 1px solid var(--line); }
.kicker {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.scene h2 { font-size: clamp(22px, 3.2vw, 30px); max-width: 30ch; }
.scene__lede { margin-top: 12px; max-width: 66ch; color: var(--muted); font-size: 16.5px; }
.scene__lede strong, .scene__why strong { color: var(--ink); }
.scene__foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.scene__why { max-width: 62ch; color: var(--muted); font-size: 15.5px; }

.duo {
  margin-top: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px;
  align-items: start;
}
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* ---------- code block ---------- */
.code {
  margin: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; overflow-x: auto;
  box-shadow: var(--shadow);
}
.code code {
  background: none; padding: 0; font-size: 14.5px; line-height: 1.6;
  font-family: var(--mono); color: var(--ink); white-space: pre;
}

/* ---------- console panel ---------- */
.console {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.console__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.console__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.console__list {
  margin: 0; padding: 14px 16px; list-style: none;
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  counter-reset: cline;
  font-variant-numeric: tabular-nums;
}
.console__list li {
  counter-increment: cline;
  padding: 4px 0; display: flex; gap: 14px; align-items: baseline;
}
.console__list li::before {
  content: counter(cline);
  color: var(--muted); opacity: 0.75; font-size: 12px; min-width: 1.4em; text-align: right;
}
.verified {
  padding: 12px 16px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ok); font-weight: 600;
}

/* trap scene: lines type in when playing */
@keyframes lineIn {
  0% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: none; }
}
.scene--trap.is-playing .console__list li { animation: lineIn 0.45s ease-out both; }
.scene--trap.is-playing .console__list li:nth-child(1) { animation-delay: 0.3s; }
.scene--trap.is-playing .console__list li:nth-child(2) { animation-delay: 1.2s; }
.scene--trap.is-playing .console__list li:nth-child(3) { animation-delay: 2.2s; }
.scene--trap.is-playing .console__list li:nth-child(4) { animation-delay: 3.2s; }
.scene--trap.is-playing .verified { animation: lineIn 0.6s ease-out both 4.1s; }

/* ---------- scene 2: one turn of the loop ---------- */
.turn {
  margin-top: 26px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.turn__phases {
  margin: 0 0 18px; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.phase {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: var(--panel2);
}
.phase__num {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700;
}

.turn__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 900px) { .turn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .turn__grid { grid-template-columns: 1fr; } }

.lane {
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px; min-height: 190px;
}
.lane__title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 10px; font-weight: 700;
}
.lane__body { display: flex; flex-direction: column; gap: 8px; }
.lane__body--stack { flex-direction: column; justify-content: flex-end; min-height: 130px; }
.lane__empty { font-size: 12.5px; color: var(--muted); font-style: italic; opacity: 0.85; }

.frame, .chip {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  border-radius: 7px; padding: 7px 10px;
  border: 1.5px solid var(--ink); background: var(--panel); color: var(--ink);
}
.chip--micro { border-style: dashed; }
.chip--macro { border-style: solid; border-color: var(--muted); color: var(--muted); }

/* base (static / reduced-motion / pre-JS) state = turn complete:
   stack + queues empty, console shows the full proven order */
.scene--turn .frame,
.scene--turn .chip { opacity: 0; pointer-events: none; }
.scene--turn .lane__empty { opacity: 0.85; }

/* playing: run the 14s turn on a loop */
.scene--turn.is-playing .frame--script  { animation: turnScript 14s linear infinite; }
.scene--turn.is-playing .frame--then    { animation: turnThen 14s linear infinite; }
.scene--turn.is-playing .frame--timeout { animation: turnTimeout 14s linear infinite; }
.scene--turn.is-playing .lane--micro .chip--micro { animation: turnMicroChip 14s linear infinite; }
.scene--turn.is-playing .lane--macro .chip--macro { animation: turnMacroChip 14s linear infinite; }
.scene--turn.is-playing .lane__empty { animation: turnEmpty 14s linear infinite; }
.scene--turn.is-playing .console__list--turn li:nth-child(1) { animation: turnLine1 14s linear infinite; }
.scene--turn.is-playing .console__list--turn li:nth-child(2) { animation: turnLine2 14s linear infinite; }
.scene--turn.is-playing .console__list--turn li:nth-child(3) { animation: turnLine3 14s linear infinite; }
.scene--turn.is-playing .console__list--turn li:nth-child(4) { animation: turnLine4 14s linear infinite; }
.scene--turn.is-playing .tcap--1 { animation: capOne 14s linear infinite; }
.scene--turn.is-playing .tcap--2 { animation: capTwo 14s linear infinite; }
.scene--turn.is-playing .tcap--3 { animation: capThree 14s linear infinite; }
.scene--turn.is-playing .phase--1 { animation: phaseOne 14s linear infinite; }
.scene--turn.is-playing .phase--2 { animation: phaseTwo 14s linear infinite; }
.scene--turn.is-playing .phase--3 { animation: phaseThree 14s linear infinite; }

@keyframes turnScript {
  0% { opacity: 0; transform: translateY(8px); }
  3%, 36% { opacity: 1; transform: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
  39%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes turnThen {
  0%, 45% { opacity: 0; transform: translateY(8px); }
  47%, 55% { opacity: 1; transform: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
  58%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes turnTimeout {
  0%, 66% { opacity: 0; transform: translateY(8px); }
  68%, 77% { opacity: 1; transform: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
  80%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes turnMicroChip {
  0%, 18% { opacity: 0; transform: translateX(-10px); }
  21%, 40% { opacity: 1; transform: none; }
  42%, 44% { opacity: 1; border-color: var(--accent); color: var(--accent); }
  48%, 100% { opacity: 0; transform: translateX(14px); }
}
@keyframes turnMacroChip {
  0%, 10% { opacity: 0; transform: translateX(-10px); }
  13%, 62% { opacity: 1; transform: none; }
  64%, 66% { opacity: 1; border-color: var(--accent); color: var(--accent); }
  70%, 100% { opacity: 0; transform: translateX(14px); }
}
@keyframes turnEmpty {
  0%, 83% { opacity: 0; }
  88%, 100% { opacity: 0.85; }
}
@keyframes turnLine1 { 0%, 5% { opacity: 0; } 8%, 100% { opacity: 1; } }
@keyframes turnLine2 { 0%, 27% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes turnLine3 { 0%, 49% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes turnLine4 { 0%, 71% { opacity: 0; } 74%, 100% { opacity: 1; } }
@keyframes capOne   { 0%, 38% { opacity: 1; } 42%, 100% { opacity: 0.45; } }
@keyframes capTwo   { 0%, 40% { opacity: 0.45; } 43%, 58% { opacity: 1; } 62%, 100% { opacity: 0.45; } }
@keyframes capThree { 0%, 62% { opacity: 0.45; } 65%, 82% { opacity: 1; } 86%, 100% { opacity: 0.45; } }
@keyframes phaseOne {
  0%, 38% { border-color: var(--accent); color: var(--ink); background: var(--accent-dim); }
  42%, 100% { border-color: var(--line); color: var(--muted); background: var(--panel2); }
}
@keyframes phaseTwo {
  0%, 40% { border-color: var(--line); color: var(--muted); background: var(--panel2); }
  43%, 58% { border-color: var(--accent); color: var(--ink); background: var(--accent-dim); }
  62%, 100% { border-color: var(--line); color: var(--muted); background: var(--panel2); }
}
@keyframes phaseThree {
  0%, 62% { border-color: var(--line); color: var(--muted); background: var(--panel2); }
  65%, 82% { border-color: var(--accent); color: var(--ink); background: var(--accent-dim); }
  86%, 100% { border-color: var(--line); color: var(--muted); background: var(--panel2); }
}

.turn__captions { margin-top: 18px; display: grid; gap: 8px; }
.tcap { font-size: 14.5px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--line); max-width: 78ch; }
.tcap strong { color: var(--ink); }
.lane--console .console__list { background: none; padding: 0; }

/* ---------- scene 3: drain ---------- */
.drainviz {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.drainviz__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.drainviz__tag {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  min-width: 92px;
}
.dchip small { font-weight: 500; opacity: 0.8; }
.console__list--drain { border-top: 1px dashed var(--line); padding-top: 12px; }

@keyframes chipRun {
  35%, 65% { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
}
.scene--drain.is-playing .dchip--1 { animation: chipRun 1s ease both 0.4s; }
.scene--drain.is-playing .dchip--2 { animation: chipRun 1s ease both 1.5s; }
.scene--drain.is-playing .dchip--3 { animation: chipRun 1s ease both 2.6s; }
.scene--drain.is-playing .dchip--4 { animation: chipRun 1s ease both 3.7s; }
.scene--drain.is-playing .dchip--2 { opacity: 1; }
.scene--drain.is-playing .console__list--drain li { animation: lineIn 0.45s ease-out both; }
.scene--drain.is-playing .console__list--drain li:nth-child(1) { animation-delay: 0.7s; }
.scene--drain.is-playing .console__list--drain li:nth-child(2) { animation-delay: 1.8s; }
.scene--drain.is-playing .console__list--drain li:nth-child(3) { animation-delay: 2.9s; }
.scene--drain.is-playing .console__list--drain li:nth-child(4) { animation-delay: 4.0s; }

/* ---------- scene 4: await ---------- */
.awaitviz {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.steps { margin: 0; padding: 0 0 0 0; list-style: none; display: grid; gap: 9px; counter-reset: astep; }
.step {
  counter-increment: astep;
  display: flex; gap: 12px; align-items: baseline;
  font-size: 14.5px; color: var(--muted);
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--panel2);
}
.step::before {
  content: counter(astep);
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg); position: relative; top: 2px;
}
.step strong { color: var(--ink); }
.console__list--await { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }

@keyframes stepHi {
  0% { border-color: var(--line); background: var(--panel2); }
  30%, 70% { border-color: var(--accent); background: var(--accent-dim); color: var(--ink); }
  100% { border-color: var(--line); background: var(--panel2); }
}
.scene--await.is-playing .step--1 { animation: stepHi 1.3s ease both 0.3s; }
.scene--await.is-playing .step--2 { animation: stepHi 1.3s ease both 1.6s; }
.scene--await.is-playing .step--3 { animation: stepHi 1.3s ease both 2.9s; }
.scene--await.is-playing .step--4 { animation: stepHi 1.3s ease both 4.2s; }
.scene--await.is-playing .console__list--await li { animation: lineIn 0.45s ease-out both; }
.scene--await.is-playing .console__list--await li:nth-child(1) { animation-delay: 0.7s; }
.scene--await.is-playing .console__list--await li:nth-child(2) { animation-delay: 3.3s; }
.scene--await.is-playing .console__list--await li:nth-child(3) { animation-delay: 4.6s; }

/* ---------- scene 5: proof pipeline ---------- */
.proof {
  margin-top: 26px;
  display: grid; grid-template-columns: auto auto auto auto auto;
  gap: 14px; align-items: center; justify-content: start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  overflow-x: auto;
}
@media (max-width: 820px) {
  .proof { grid-template-columns: 1fr; justify-items: start; }
  .proof__arrows { display: none; }
}
.proof__node {
  font-family: var(--mono); font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--panel2); padding: 10px 14px; color: var(--ink);
  line-height: 1.45;
}
.proof__node small { font-weight: 500; color: var(--muted); font-size: 12px; }
.proof__node--ok  { border-color: var(--ok); }
.proof__node--cut { border-color: var(--accent); }
.proof__mid, .proof__out { display: grid; gap: 12px; }
.proof__svg { width: 130px; height: 90px; display: block; }
.proof__wire {
  fill: none; stroke: var(--muted); stroke-width: 2.5;
  stroke-dasharray: 7 6;
}
.scene--proof.is-playing .proof__wire { animation: wireFlow 1.4s linear infinite; }
@keyframes wireFlow { to { stroke-dashoffset: -26; } }
.proof__eq {
  font-family: var(--mono); font-size: 26px; font-weight: 800; color: var(--accent);
  padding: 6px 10px; border: 2px solid var(--accent); border-radius: var(--radius-sm);
}
.scene--proof.is-playing .proof__eq { animation: eqPulse 1.4s ease-in-out infinite; }
@keyframes eqPulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-dim); } 50% { box-shadow: 0 0 0 7px var(--accent-dim); } }
.scene--proof .scene__why { margin-top: 20px; }

/* ---------- scene 6: privacy ---------- */
.duo--privacy { align-items: center; }
.wallviz { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.wallviz__svg { width: 100%; height: auto; display: block; }
.wallviz__box { fill: var(--panel2); stroke: var(--ink); stroke-width: 2.5; }
.wallviz__cloud { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 6 6; }
.wallviz__wall { fill: var(--ink); }
.wallviz__text { font-family: var(--sans); font-weight: 700; font-size: 17px; fill: var(--ink); }
.wallviz__sub { font-family: var(--sans); font-size: 12.5px; fill: var(--muted); }
.wallviz__sub--mono { font-family: var(--mono); font-weight: 700; }
.wallviz__req {
  fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 154;
}
.wallviz__x line { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.wallviz__x { transform-origin: 322px 100px; }
.scene--privacy.is-playing .wallviz__req { animation: reqTry 3.5s ease-in-out infinite; }
.scene--privacy.is-playing .wallviz__x { animation: xPop 3.5s ease-in-out infinite; }
@keyframes reqTry {
  0% { stroke-dashoffset: 154; opacity: 0.4; }
  35% { stroke-dashoffset: 0; opacity: 1; }
  75% { stroke-dashoffset: 0; opacity: 1; }
  95%, 100% { stroke-dashoffset: 154; opacity: 0; }
}
@keyframes xPop {
  0%, 30% { opacity: 0; transform: scale(0.6); }
  40%, 80% { opacity: 1; transform: scale(1); }
  95%, 100% { opacity: 0; }
}
.wallviz__cap { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.privacy__list { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.privacy__list strong { color: var(--ink); }

/* ---------- features ---------- */
.cards {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--muted); }
.card h3 { font-size: 16.5px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.scene--cta { text-align: center; background: var(--panel2); }
.cta__wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta__mark { width: 52px; height: 52px; color: var(--ink); }
.cta__lede { max-width: 52ch; }
.cta__small { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq {
  margin-top: 14px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 18px;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 15px 0;
  list-style-position: inside;
}
.faq[open] summary { border-bottom: 1px dashed var(--line); }
.faq p { padding: 14px 0 16px; color: var(--muted); font-size: 15px; max-width: 74ch; }

/* ---------- footer ---------- */
.footer { padding: 34px 0 50px; }
.footer__links { font-size: 14.5px; font-weight: 600; }
.footer__disclaimer { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 92ch; line-height: 1.6; }

/* ---------- reduced motion: static, legible final states ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .dial__dot--moving { display: none !important; }
  .dial__dot--static { display: block !important; }
  .replay { display: none; }
}

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .hero__actions, .replay, .btn, .skip-link { display: none !important; }
  .scene { border: none; padding: 18px 0; }
  .scene--turn .frame, .scene--turn .chip { display: none; }
}
