/* ===========================================================
   RadTalk — trust on the call · coming-soon
   THE RAD FAMILY DESIGN SYSTEM v1.0 — "Refuse in Code, Made Visible"
   calm slate · mint goes · indigo connects · amber is the line
   nothing crosses without a human.
   (Voice lane: the line is ported into the live conversation.)
   =========================================================== */

:root {
  /* ---- NEUTRALS: the Deep Slate ramp ---- */
  --slate-950: #07090D;
  --slate-900: #0B0F14;   /* APP BASE */
  --slate-850: #0E131A;
  --slate-800: #11161F;
  --slate-750: #151B25;
  --slate-700: #1A2230;
  --hairline:  #232C3A;
  --hairline-strong: #303B4D;

  /* ---- INK ---- */
  --ink:       #E8EEF6;
  --ink-dim:   #9DAAB8;
  --ink-faint: #5E6B7A;
  --ink-ghost: #3A4453;

  /* ---- THE THREE MEANINGS ---- */
  /* GO / safe / allowed / reversible */
  --mint:       #5EE6B0;
  --mint-deep:  #2BB789;
  --mint-ink:   #04130D;
  --mint-glow:  rgba(94, 230, 176, 0.16);
  --mint-line:  rgba(94, 230, 176, 0.30);

  /* HELD / refused-in-code / human-only / the line (THE SCARCE ACCENT) */
  --amber:      #F2C46B;
  --amber-deep: #D49A2E;
  --amber-ink:  #1B1304;
  --amber-glow: rgba(242, 196, 107, 0.18);
  --amber-line: rgba(242, 196, 107, 0.42);

  /* BRAND / family / links / connective tissue */
  --indigo:      #8B9BFF;
  --indigo-deep: #6470E8;
  --indigo-ink:  #0A0E1F;
  --indigo-glow: rgba(139, 155, 255, 0.16);
  --indigo-line: rgba(139, 155, 255, 0.30);

  /* DANGER — true destructive only. Use almost never. */
  --rose:      #FF7A88;
  --rose-glow: rgba(255, 122, 136, 0.16);

  /* ---- THE ONE SIGNATURE GRADIENT ---- */
  --grad-family: linear-gradient(110deg, var(--mint) 0%, var(--indigo) 100%);
  --grad-held:   linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);

  /* ---- RADII ---- */
  --r-sm: 10px;   --r-md: 14px;   --r-lg: 18px;   --r-xl: 24px;   --r-pill: 999px;

  /* ---- ELEVATION ---- */
  --e-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 1px 2px rgba(0,0,0,.4);
  --e-2: 0 1px 0 rgba(255,255,255,.05) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  --e-3: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -24px rgba(0,0,0,.7);
  --e-glow-amber: 0 0 0 1px var(--amber-line), 0 0 40px -8px var(--amber-glow);
  --e-glow-mint:  0 0 0 1px var(--mint-line),  0 0 40px -8px var(--mint-glow);

  /* ---- MOTION ---- */
  --ease-go:      cubic-bezier(.22,.61,.36,1);    /* GO — confident ease-out */
  --ease-stop:    cubic-bezier(.7,0,.84,0);       /* STOP — sharp arrest at the line */
  --ease-release: cubic-bezier(.34,1.56,.64,1);   /* RELEASE — spring forward on approval */
  --t-fast: .14s;  --t-base: .28s;  --t-slow: .55s;  --t-freeze: .9s;

  /* ---- TYPE ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-display: clamp(2.6rem, 6vw, 4.4rem);
  --fs-h2: clamp(1.8rem, 3.6vw, 2.7rem);
  --fs-h3: 1.3rem;
  --fs-lede: clamp(1.05rem, 2.2vw, 1.35rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-eyebrow: .75rem;
  --fs-mono: .8125rem;

  /* ---- SPACING (8px base) ---- */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  /* ---- LAYOUT ---- */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--slate-900);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: "cv11" 1, "ss01" 1;   /* single-story a, stylistic curves — premium tells */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* faint film grain — kills dark-UI banding, adds the "expensive" texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Ambient canvas (shared family signature) ---- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--indigo-glow) 1px, transparent 1px),
    linear-gradient(90deg, var(--indigo-glow) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; top: -22%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 720px; max-width: 100vw; z-index: 0; pointer-events: none;
  filter: blur(46px);
  background: radial-gradient(circle, var(--indigo-glow), transparent 60%);
  animation: glow-drift 18s ease-in-out infinite;
}
@keyframes glow-drift {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%     { transform: translateX(-50%) translateY(20px); opacity: .8; }
}

.ribbon, .nav, main, .footer { position: relative; z-index: 1; }

h1, h2, h3 { margin: 0 0 0.4em; }
h1 { font-size: var(--fs-display); font-weight: 850; letter-spacing: -.025em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1rem; }
a { color: var(--indigo); text-decoration: none; }
em { color: var(--mint); font-style: normal; font-weight: 700; }

.grad {
  background: var(--grad-family);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.code-voice {
  font-family: var(--font-mono);
  letter-spacing: -.01em;
  font-variant-ligatures: none;
}
.inline-mono {
  font-family: var(--font-mono); font-size: .85em; color: var(--amber);
  background: var(--amber-glow); border: 1px solid var(--amber-line);
  padding: 1px 6px; border-radius: 6px; letter-spacing: -.01em;
}
.t-mint { color: var(--mint); }
.t-amber { color: var(--amber); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- shared "wow" primitives: Valve · refuse-chip ---------- */
@keyframes valve-pulse {
  0%,100% { opacity: .55; box-shadow: var(--e-glow-amber); }
  50%     { opacity: 1;   box-shadow: 0 0 0 1px var(--amber), 0 0 56px -6px var(--amber-glow); }
}
@keyframes line-ignite { from { opacity: .25; } to { opacity: 1; } }

.valve {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--amber); box-shadow: var(--e-glow-amber);
  position: relative; flex: none;
}
.valve::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%;
  background: var(--amber); opacity: .5;
}
.valve.is-held { animation: valve-pulse 1.1s var(--ease-go) infinite; }

.refuse-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  color: var(--amber); border: 1px solid var(--amber-line);
  background: var(--amber-glow); border-radius: var(--r-pill);
  padding: 7px 14px; letter-spacing: -.01em; text-align: left; line-height: 1.4;
}

/* ---------- Ribbon (honesty, always visible) ---------- */
.ribbon {
  background: var(--slate-950);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: -.01em;
  color: var(--ink-dim);
  padding: 8px 16px;
}
.ribbon strong { color: var(--amber); font-weight: 500; }
.ribbon__zap { margin-right: 7px; filter: drop-shadow(0 0 8px var(--indigo)); }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; max-width: var(--maxw); margin: 0 auto;
  padding: 20px var(--gutter);
}
.brand { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; font-weight: 850; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand__mark { font-size: 1.1rem; filter: drop-shadow(0 0 8px var(--indigo)); }
.brand__accent { color: var(--indigo); }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: var(--fs-sm); }
.nav__links a { text-decoration: none; color: var(--ink-dim); font-weight: 500; transition: color var(--t-fast) var(--ease-go); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--grad-family); color: var(--indigo-ink) !important; padding: 9px 17px;
  border-radius: var(--r-pill); font-weight: 700;
  transition: transform var(--t-fast) var(--ease-go), filter var(--t-fast) var(--ease-go);
}
.nav__cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
@media (max-width: 760px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r-md); padding: 13px 22px;
  transition: transform var(--t-fast) var(--ease-go), filter var(--t-fast) var(--ease-go),
              border-color var(--t-fast) var(--ease-go), color var(--t-fast) var(--ease-go);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-family); color: var(--indigo-ink); box-shadow: var(--e-1); }
.btn--allow { background: var(--mint); color: var(--mint-ink); box-shadow: var(--e-1); }
.btn--ghost { background: var(--slate-750); border-color: var(--hairline); color: var(--ink); }
.btn--ghost:hover { border-color: var(--hairline-strong); color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--indigo); margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .zap { filter: drop-shadow(0 0 8px var(--indigo)); }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) var(--s8);
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: var(--s7); align-items: center;
}
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; gap: var(--s6); } }
.hero__copy { padding-top: 4px; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-dim); max-width: 46ch; }
.lede strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s5) 0 var(--s4); }
.hero__chip { margin: var(--s5) 0 0; }
.hero__microtrust { font-size: var(--fs-sm); color: var(--ink-faint); max-width: 50ch; margin-top: var(--s5); }
.hero__microtrust strong { color: var(--ink-dim); }

/* ---------- THE CALL (the hero centerpiece / crown-jewel demo) ---------- */
.call {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, var(--indigo-glow), transparent 70%),
    linear-gradient(180deg, var(--slate-750), var(--slate-850));
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s5);
  box-shadow: var(--e-3);
  scroll-margin-top: 80px;
}
.call__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.call__header h2 { font-size: var(--fs-h3); margin: 0; letter-spacing: -.01em; }
.call__sub { font-size: var(--fs-sm); color: var(--ink-dim); margin: 12px 0 18px; }
.call__sub strong { font-weight: 700; }

.synthetic-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; color: var(--ink-dim);
  background: var(--slate-950); border: 1px solid var(--hairline);
  padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap;
  letter-spacing: -.01em;
}
.synthetic-badge > span[aria-hidden] { color: var(--mint); font-size: .7em; }
.synthetic-badge--sm { font-size: .7rem; }

/* the call console (the receipt/code-well frame language) */
.console {
  background: var(--slate-950); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--slate-850), var(--slate-900));
  position: relative;
}
.console__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); flex: none; }
.console__who { font-size: .72rem; color: var(--ink-faint); }
/* THE LINE — a luminous amber bar that ignites across the call on a refusal */
.console__line {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--amber-deep), var(--amber), transparent);
  box-shadow: 0 0 16px var(--amber-glow);
  opacity: 0; transform: scaleX(.2); transform-origin: center;
  transition: opacity var(--t-base) var(--ease-go);
}
.console.is-held .console__dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.console.is-held .console__line { opacity: 1; animation: line-ignite .4s var(--ease-stop) forwards; transform: scaleX(1); }

.transcript {
  padding: 16px 14px; min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: .88rem;
}
.transcript:empty::after {
  content: "tap a line below, or press play — every word is fabricated";
  color: var(--ink-faint); font-family: var(--font-mono); font-size: .76rem; letter-spacing: -.01em;
}

/* call turns */
.turn { max-width: 88%; opacity: 0; animation: turn-in var(--t-base) var(--ease-go) forwards; }
@keyframes turn-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.turn__who { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; display: flex; align-items: center; gap: 7px; }
.turn__bubble { border-radius: var(--r-md); padding: 10px 13px; line-height: 1.45; border: 1px solid var(--hairline); }

/* caller = untrusted input */
.turn--caller { align-self: flex-start; }
.turn--caller .turn__who { color: var(--ink-faint); }
.turn--caller .turn__bubble { background: var(--slate-800); color: var(--ink); }
.tag-untrusted {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .02em;
  color: var(--ink-faint); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 1px 7px; text-transform: none;
}

/* agent allowed = mint */
.turn--agent { align-self: flex-end; text-align: right; }
.turn--agent .turn__who { color: var(--mint); justify-content: flex-end; }
.turn--agent .turn__bubble { background: var(--slate-800); border-left: 2px solid var(--mint-line); color: var(--ink); text-align: left; }

/* agent refusal = held / amber, with a hard arrest */
.turn--refuse { align-self: flex-end; text-align: right; }
.turn--refuse .turn__who { color: var(--amber); justify-content: flex-end; }
.turn--refuse .turn__bubble {
  background: var(--slate-800); border-left: 2px solid var(--amber); color: var(--ink); text-align: left;
  box-shadow: var(--e-glow-amber);
}

/* the refusal receipt (code-well: keys indigo, held values amber) */
.receipt {
  align-self: flex-end; max-width: 100%;
  margin-top: 2px; background: var(--slate-900); border: 1px solid var(--amber-line);
  border-radius: var(--r-md); padding: 11px 13px; text-align: left;
  font-family: var(--font-mono); font-size: .72rem; line-height: 1.7; letter-spacing: -.01em;
  box-shadow: var(--e-glow-amber);
  opacity: 0; animation: turn-in var(--t-base) var(--ease-go) .12s forwards;
}
.receipt__title { color: var(--ink-faint); display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.receipt .k { color: var(--indigo); }
.receipt .v-held { color: var(--amber); }
.receipt .v-go { color: var(--mint); }

/* warm-transfer line */
.turn--transfer { align-self: center; text-align: center; max-width: 100%; }
.turn--transfer .turn__bubble {
  background: transparent; border: 1px dashed var(--mint-line); color: var(--mint);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: -.01em;
}

/* try-row chips */
.try__label { font-size: .68rem; color: var(--ink-faint); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.try { display: flex; flex-wrap: wrap; gap: 8px; }
.try-chip {
  font: inherit; font-size: .8rem; cursor: pointer; text-align: left;
  background: var(--slate-800); border: 1px solid var(--hairline); color: var(--ink);
  border-radius: var(--r-pill); padding: 8px 13px;
  transition: transform var(--t-fast) var(--ease-go), border-color var(--t-fast) var(--ease-go), background var(--t-fast) var(--ease-go);
}
.try-chip:hover { transform: translateY(-1px); border-color: var(--hairline-strong); }
.try-chip__kind {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em; text-transform: uppercase;
  margin-right: 7px;
}
.try-chip--allow .try-chip__kind { color: var(--mint); }
.try-chip--refuse .try-chip__kind { color: var(--amber); }
.try-chip--refuse { border-color: var(--amber-line); }
.try-chip--refuse:hover { background: var(--amber-glow); }
.try-chip--allow:hover { background: var(--mint-glow); }
@media (prefers-reduced-motion: reduce) { .try-chip { transition: none; } }

.call__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.call__footnote { font-size: .74rem; color: var(--ink-faint); margin: 12px 0 0; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px,10vw,110px) var(--gutter) var(--s6); text-align: center; }
.section-head .eyebrow { display: inline-flex; }
.section-sub { color: var(--ink-dim); max-width: 64ch; margin: 0 auto; font-size: var(--fs-lede); line-height: 1.5; }
.section-sub strong { color: var(--ink); }

/* ---------- Never List ---------- */
.never { border-top: 1px solid var(--hairline); }
.never__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4);
}
@media (max-width: 1000px) { .never__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .never__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .never__grid { grid-template-columns: 1fr; } }
.never-card {
  background: linear-gradient(180deg, var(--slate-750), var(--slate-800));
  border: 1px solid var(--hairline); border-left: 2px solid var(--amber-line);
  border-radius: var(--r-lg); padding: var(--s5);
  position: relative; overflow: hidden;
  box-shadow: var(--e-2);
  transition: transform var(--t-fast) var(--ease-go), border-color var(--t-fast) var(--ease-go), box-shadow var(--t-base) var(--ease-go);
}
.never-card:hover { transform: translateY(-3px); border-color: var(--hairline-strong); border-left-color: var(--amber-line); }
.never-card.is-lit { box-shadow: var(--e-2), var(--e-glow-amber); border-left-color: var(--amber); }
.never-card__no {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-glow); color: var(--amber); font-weight: 800; margin-bottom: 14px;
  border: 1px solid var(--amber-line);
}
.never-card h3 { font-size: 1.02rem; }
.never-card p { font-size: .86rem; color: var(--ink-dim); margin: 0; line-height: 1.5; }

/* ---------- How it holds ---------- */
.how { border-top: 1px solid var(--hairline); }
.how__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4);
}
@media (max-width: 900px) { .how__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .how__grid { grid-template-columns: 1fr; } }
.how-card {
  background: var(--slate-800); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--e-1);
  transition: transform var(--t-fast) var(--ease-go), border-color var(--t-fast) var(--ease-go);
}
.how-card:hover { transform: translateY(-3px); border-color: var(--hairline-strong); }
.how-card__n { color: var(--indigo); font-size: .8rem; font-weight: 700; }
.how-card h3 { font-size: 1.04rem; margin-top: 8px; }
.how-card p { font-size: .88rem; color: var(--ink-dim); margin: 0; line-height: 1.5; }
.how__honesty { max-width: var(--maxw); margin: var(--s6) auto 0; padding: 0 var(--gutter); text-align: center; }

/* ---------- Forms / Waitlist ---------- */
.waitlist { border-top: 1px solid var(--hairline); }
.waitlist__inner {
  max-width: 680px; margin: 0 auto; padding: clamp(64px,10vw,110px) var(--gutter) clamp(72px,11vw,120px); text-align: center;
}
.form { margin-top: var(--s5); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--slate-950); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 12px 14px; transition: border-color var(--t-fast) var(--ease-go), box-shadow var(--t-fast) var(--ease-go);
}
.field input::placeholder { color: var(--ink-ghost); }
.field input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-glow); }
.form--inline { display: flex; gap: 10px; justify-content: center; margin-top: var(--s5); }
.field--inline { margin: 0; flex: 1; max-width: 340px; }
@media (max-width: 520px) { .form--inline { flex-direction: column; align-items: stretch; } .field--inline { max-width: none; } }
.form__legal { font-size: .76rem; color: var(--ink-faint); margin: var(--s3) 0 0; line-height: 1.5; }
.form__legal--center { text-align: center; }
.form__status {
  margin-top: var(--s3); font-size: .88rem; font-weight: 600; color: var(--mint);
  background: var(--mint-glow); border: 1px solid var(--mint-line);
  border-radius: var(--r-md); padding: 11px 13px;
}
.form__status--center { text-align: center; }
.form__status.is-error { color: var(--amber); background: var(--amber-glow); border-color: var(--amber-line); }

/* ---------- Footer (family lockup) ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  max-width: var(--maxw); margin: 0 auto; padding: var(--s8) var(--gutter) var(--s9); text-align: center;
}
.footer__brand { display: inline-flex; align-items: baseline; gap: 5px; font-weight: 850; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: var(--s5); }
.footer__brand .brand__mark { filter: drop-shadow(0 0 8px var(--indigo)); }
.footer__disclaimer p { margin: 3px 0; font-size: .94rem; color: var(--ink-dim); }
.footer__disclaimer strong { color: var(--ink); }

/* the family row — the literal "one valve, every surface" */
.footer__family {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 5px;
  font-family: var(--font-mono); font-size: var(--fs-mono); margin: var(--s6) auto var(--s5);
  letter-spacing: -.01em;
}
.footer__family a { color: var(--indigo); }
.footer__family a:hover { color: var(--ink); }
.footer__family .sep { color: var(--ink-ghost); }
.footer__family .here { color: var(--ink); font-weight: 700; }

.footer__fine {
  font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint);
  max-width: 78ch; margin: 0 auto; line-height: 1.7; letter-spacing: -.01em;
}
.footer__copy {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: .78rem; color: var(--ink-faint); margin-top: var(--s5);
}

/* ---- Motion safety: meaning survives without animation ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .bg-glow { animation: none; }
  /* HELD still reads via the static amber line + glow */
  .console.is-held .console__line { opacity: 1; }
  .valve.is-held { box-shadow: var(--e-glow-amber); }
}

/* ===========================================================
   #reality — the canonical, code-backed Never List panel.
   "The machine that won't listen." The live /reality.txt rendered with the
   Amber Line treatment: a 3px left seam per line — mint for the reversible
   work it WILL do (Allow / Trust), amber for every line that's a human's call
   (Disallow / Human / Verify / Hold / Distrust / Quarantine / Ratchet / Voices).
   Reuses the existing JetBrains Mono console tokens — no new palette.
   =========================================================== */
.reality { border-top: 1px solid var(--hairline); }

/* The two-word proud sign-off, amber mono. (kit primitive, defined locally
   since amber-line.tokens.css is not bundled on this surface.) */
.rad-on-purpose {
  font-family: var(--font-mono); color: var(--amber); font-weight: 700;
  letter-spacing: -.01em;
}

.reality__wrap {
  max-width: 880px; margin: 0 auto; padding: 0 var(--gutter) clamp(56px,9vw,96px);
}

/* the file frame — same code-well language as the call console */
.reality__bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 11px 15px; border: 1px solid var(--hairline); border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(180deg, var(--slate-850), var(--slate-900));
}
.reality__path { font-size: .76rem; color: var(--ink-dim); }
.reality__legend {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: .68rem; color: var(--ink-faint);
}
.reality__swatch { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.reality__swatch--go { background: var(--mint); box-shadow: 0 0 8px var(--mint-glow); margin-left: 6px; }
.reality__swatch--held { background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); margin-left: 12px; }

/* the rendered document */
.reality__doc {
  background: var(--slate-950); border: 1px solid var(--hairline);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 18px 18px 18px 4px; overflow-x: auto;
  font-family: var(--font-mono); font-size: .8rem; line-height: 1.5;
  letter-spacing: -.01em;
  box-shadow: var(--e-2);
}
.reality__fallback { color: var(--ink-dim); padding: 8px 16px; }
.reality__fallback a { color: var(--amber); }

/* every line carries a 3px left seam — THE amber line, per row */
.reality__line {
  padding: 1px 14px 1px 13px;
  border-left: 3px solid transparent;
  white-space: pre-wrap; word-break: break-word;
}
.reality__line--blank { height: .5em; padding: 0; }

/* GO — mint seam: the reversible work it will do / what it trusts */
.reality__line[data-state="go"] { border-left-color: var(--mint); background: var(--mint-glow); }
.reality__line[data-state="go"] .reality__key { color: var(--mint); font-weight: 700; }

/* HELD — amber seam: a human's call. The scarce, load-bearing color. */
.reality__line[data-state="held"] { border-left-color: var(--amber); background: var(--amber-glow); }
.reality__line[data-state="held"] .reality__key { color: var(--amber); font-weight: 700; }

/* META — Agent / Posture / Valve / Family / Honesty / Discovery / Ledger / The Amber Line */
.reality__line[data-state="meta"] { border-left-color: var(--indigo-line); }
.reality__line[data-state="meta"] .reality__key { color: var(--indigo); font-weight: 700; }

/* comments — the prose that frames the file */
.reality__line[data-state="comment"] { color: var(--ink-faint); border-left-color: var(--hairline); }

.reality__val { color: var(--ink-dim); }
.reality__line[data-state="go"] .reality__val,
.reality__line[data-state="held"] .reality__val { color: var(--ink); }
.reality__tag { color: var(--ink-faint); }

/* caption row: view raw · The Amber Line badge · the synthetic ledger line */
.reality__caption {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 16px;
}
.reality__raw { color: var(--ink-dim); font-size: .76rem; }
.reality__raw:hover { color: var(--amber); }
.reality__the-line {
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-go), filter var(--t-fast) var(--ease-go);
}
.reality__the-line:hover { border-color: var(--amber); filter: brightness(1.06); }

.reality__ledger {
  font-size: .74rem; color: var(--ink-dim); line-height: 1.5;
  display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
}
.reality__ledger-num {
  color: var(--amber); font-weight: 700; font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.reality__ledger-label { color: var(--ink-faint); }

/* the Whisper sign-off under the file */
.reality__sign {
  max-width: 70ch; margin: 22px auto 0; text-align: center;
  font-size: .82rem; color: var(--ink-dim); line-height: 1.7; letter-spacing: -.01em;
}
.reality__sign .t-amber { color: var(--amber); }

/* footer reality + the-line line */
.footer__reality {
  font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint);
  max-width: 78ch; margin: var(--s5) auto 0; line-height: 1.7; letter-spacing: -.01em;
}
.footer__reality a { color: var(--indigo); }
.footer__reality a:hover { color: var(--ink); }
.footer__reality .sep { color: var(--ink-ghost); margin: 0 6px; }
.footer__reality .rad-on-purpose { color: var(--amber); }

/* Motion safety: the seams are static color, so meaning already survives. */
@media (prefers-reduced-motion: reduce) {
  .reality__line { transition: none !important; }
}
