/* ============================================================
   Torok — a Levy Strategies company
   Light editorial page (Levy lineage: navy + emerald + Newsreader)
   with ONE dark object: the console.
   Display: Newsreader · UI: Hanken Grotesk · Data: IBM Plex Mono
   ============================================================ */

:root {
  /* page palette — inherited from Levy Strategies */
  --bg:        #EDF1F7;
  --surface:   #FFFFFF;
  --surface-2: #F6F8FB;
  --ink:       #0E1A30;
  --ink-soft:  #2C3A52;
  --body:      #4A586E;
  --muted:     #8A95A6;
  --line:      #DCE2EC;
  --line-soft: #E7ECF3;

  --emerald:    #1E9E57;   /* Levy green → in Torok, the agent's voice */
  --emerald-d:  #16864A;
  --emerald-ink:#0C6B3A;
  --violet:     #6C5CE7;   /* background flourish only */

  /* console — the single dark material on the page */
  --con-bg:    #0B1120;
  --con-bg-2:  #131C31;
  --con-line:  #223049;
  --con-ink:   #E4EAF4;
  --con-body:  #93A3BD;
  --con-muted: #5E7093;
  --con-green: #4ADE80;   /* agent / positive delta, lifted for dark ground */
  --con-amber: #E8A33D;   /* flags, warnings, wasted spend */
  --con-red:   #F0736A;

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* metrics */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14,26,48,.04), 0 2px 8px rgba(14,26,48,.04);
  --shadow:    0 10px 30px -12px rgba(14,26,48,.16), 0 2px 8px rgba(14,26,48,.05);
  --shadow-lg: 0 40px 80px -32px rgba(14,26,48,.28);
  --shadow-con: 0 50px 90px -40px rgba(11,17,32,.55), 0 12px 30px -12px rgba(11,17,32,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- background field ---------- */
.bg-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; }
.orb--emerald {
  width: 50vw; height: 50vw; top: -14vw; right: -8vw;
  background: radial-gradient(circle at 30% 30%, rgba(30,158,87,.40), rgba(30,158,87,0) 65%);
}
.orb--violet {
  width: 42vw; height: 42vw; top: -2vw; right: 8vw;
  background: radial-gradient(circle at 50% 50%, rgba(108,92,231,.24), rgba(108,92,231,0) 62%);
}
.grain {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- brand: wordmark + blinking prompt caret ---------- */
.brand { display: inline-flex; align-items: center; gap: .34em; }
.brand__word {
  font-family: var(--sans); font-weight: 700; color: var(--ink);
  font-size: 1.16rem; letter-spacing: .17em; line-height: 1;
}
.brand__caret {
  width: .5em; height: 1.05em; background: var(--emerald); border-radius: 1px;
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .12; } }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .72em; --pad-x: 1.25em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: var(--pad-y) var(--pad-x); border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease),
                              box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { font-size: 1.02rem; --pad-y: .92em; --pad-x: 1.6em; }
.btn--block { width: 100%; }
.btn--solid {
  background: var(--emerald); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(30,158,87,.55);
}
.btn--solid:hover { background: var(--emerald-d); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(30,158,87,.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(237,241,247,.78);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.15rem; height: 76px; }
.nav__lineage {
  font-family: var(--mono); font-size: .68rem; color: var(--muted);
  letter-spacing: .02em; padding-left: 1.15rem; border-left: 1px solid var(--line);
  white-space: nowrap;
}
.nav__lineage strong { font-weight: 500; color: var(--ink-soft); }
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: .2em 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--emerald); transition: width .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: .35rem; }
.nav__menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__menu span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- shared section heads ---------- */
.section-kicker {
  display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-ink); margin-bottom: 1.1rem;
}
.section-title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.16; letter-spacing: -.008em;
}
.section-title em { color: var(--emerald); font-style: italic; }
.section-intro { margin-top: 1rem; font-size: 1.02rem; color: var(--body); max-width: 58ch; }
.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

/* ============================================================
   HERO — headline, then the console
   ============================================================ */
.hero { padding-top: clamp(104px, 12vh, 140px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6;
}
.hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(2.1rem, 4.5vw, 3.6rem); line-height: 1.08; letter-spacing: -.018em;
  text-wrap: balance;
}
.hero__title em { color: var(--emerald); font-style: italic; }
.hero__sub {
  margin-top: 1.4rem; font-size: clamp(1.04rem, 1.35vw, 1.18rem); color: var(--ink-soft);
  max-width: 62ch; line-height: 1.55; text-wrap: balance;
}
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__note {
  margin-top: 1.5rem; font-size: .95rem; color: var(--body);
  display: flex; align-items: center; justify-content: center; gap: .6em; text-align: center;
}
.hero__note::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 0 4px rgba(30,158,87,.16);
}

/* ---------- the console ---------- */
.console-wrap { margin-top: clamp(2.6rem, 4.5vw, 3.6rem); }
.console {
  background: var(--con-bg);
  border: 1px solid var(--con-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-con);
  overflow: hidden;
  font-size: 15px;
}
.console__chrome {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.15rem;
  background: var(--con-bg-2);
  border-bottom: 1px solid var(--con-line);
}
.console__dots { display: inline-flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2C3B57; }
.console__title {
  font-family: var(--mono); font-size: .76rem; color: var(--con-muted); letter-spacing: .02em;
}
.console__conn {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: .7rem; color: var(--con-body);
  padding: .3em .7em; border: 1px solid var(--con-line); border-radius: 100px;
}
.console__conn-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--con-green);
  box-shadow: 0 0 0 3px rgba(74,222,128,.14);
}

.console__thread {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  min-height: 420px;
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* — user turn — */
.turn--user {
  display: flex; gap: .85rem; align-items: flex-start;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--con-line);
}
.turn--user .turn__caret {
  font-family: var(--mono); color: var(--con-green); font-weight: 600;
  line-height: 1.5; flex: 0 0 auto;
}
.turn--user .turn__text {
  font-family: var(--sans); font-size: 1.06rem; font-weight: 500; color: var(--con-ink);
  line-height: 1.5;
}
.cursor { display: inline-block; width: .55em; height: 1.05em; background: var(--con-green);
  vertical-align: text-bottom; margin-left: .12em; border-radius: 1px; animation: blink 1.15s steps(1) infinite; }

/* — agent trace — */
.trace { display: flex; flex-direction: column; gap: .5rem; }
.trace__line {
  display: flex; align-items: flex-start; gap: .65rem; line-height: 1.5;
  font-family: var(--mono); font-size: .78rem; color: var(--con-muted); letter-spacing: .01em;
}
/* tick/spinner ride the FIRST line when the trace text wraps, not the block's centre */
.trace__line .tick { color: var(--con-green); flex: 0 0 auto; }
.trace__line .spin {
  flex: 0 0 auto; margin-top: .3em; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--con-line); border-top-color: var(--con-green);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.trace__line b { font-weight: 500; color: var(--con-body); }

/* — agent answer — */
.answer { display: flex; flex-direction: column; gap: 1.15rem; }
.answer__lead {
  font-family: var(--sans); font-size: 1rem; color: var(--con-ink); line-height: 1.6;
}
.answer__lead strong { color: #fff; font-weight: 600; }

/* data table */
.dtable { width: 100%; overflow-x: auto; }
.dtable table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .8rem; white-space: nowrap; }
.dtable th {
  text-align: left; font-weight: 500; color: var(--con-muted);
  text-transform: uppercase; letter-spacing: .09em; font-size: .66rem;
  padding: 0 1rem .6rem 0; border-bottom: 1px solid var(--con-line);
}
.dtable td { padding: .6rem 1rem .6rem 0; color: var(--con-body); border-bottom: 1px solid rgba(34,48,73,.5); }
.dtable tr:last-child td { border-bottom: none; }
.dtable td:first-child { color: var(--con-ink); }
.dtable .num { text-align: right; padding-right: 0; }
.dtable th.num { text-align: right; padding-right: 0; }
.good { color: var(--con-green); }
.warn { color: var(--con-amber); }
.bad  { color: var(--con-red); }
.dim  { color: var(--con-muted); }

/* flag list (the UTM audit) */
.flags { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.flags li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .8rem;
  font-family: var(--mono); font-size: .8rem; color: var(--con-body);
  padding-bottom: .55rem; border-bottom: 1px solid rgba(34,48,73,.5);
}
.flags li:last-child { border-bottom: none; }
.flags .flag__mark { color: var(--con-amber); }
.flags .flag__fix { color: var(--con-green); }
.flags .flag__count { color: var(--con-muted); font-size: .72rem; white-space: nowrap; }
.flags s { color: var(--con-red); text-decoration-color: rgba(240,115,106,.5); }

/* the callout — the "so what" of every answer */
.callout {
  border-left: 2px solid var(--con-green);
  background: linear-gradient(90deg, rgba(74,222,128,.07), rgba(74,222,128,0));
  padding: .95rem 1.1rem;
  border-radius: 0 8px 8px 0;
}
.callout p { font-family: var(--sans); font-size: .98rem; color: var(--con-ink); line-height: 1.6; }
.callout strong { color: #fff; font-weight: 600; }
.callout .money { font-family: var(--mono); font-weight: 500; color: var(--con-green); }

/* step-in motion for each rendered block */
.blk { opacity: 0; transform: translateY(8px); animation: blkIn .45s var(--ease) forwards; }
@keyframes blkIn { to { opacity: 1; transform: none; } }

/* ---------- chips ---------- */
.chips {
  margin-top: 1.15rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: .55rem; justify-content: center;
}
.chips__label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-right: .3rem;
}
.chip {
  font-family: var(--sans); font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: .55em 1.05em; cursor: pointer;
  transition: border-color .22s var(--ease), color .22s var(--ease),
              background .22s var(--ease), transform .22s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip.is-active {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

/* ============================================================
   CONNECTORS
   ============================================================ */
.connect { padding-block: clamp(52px, 7vw, 84px); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); }
.sources {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem;
}
.source {
  display: flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.15rem .8rem; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.source:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.source__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(30,158,87,.14);
}
.source__name { font-family: var(--mono); font-size: .84rem; font-weight: 500; color: var(--ink); }
.sources__note {
  margin-top: 1.8rem; text-align: center; font-size: 1rem; color: var(--body);
  max-width: 68ch; margin-inline: auto;
}
.sources__note em { font-style: italic; color: var(--ink); }

/* ============================================================
   HOW — numbered because it genuinely is a sequence
   ============================================================ */
.how { padding-block: clamp(48px, 6vw, 76px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 clamp(1rem, 2vw, 1.8rem); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem;
  width: 1px; background: var(--line);
}
.step__n {
  display: block; font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; color: var(--emerald); margin-bottom: 1rem;
}
.step h3 { font-family: var(--sans); font-size: 1.14rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; letter-spacing: -.01em; }
.step p { font-size: .97rem; color: var(--body); }

/* ============================================================
   ASK — the prompt library
   ============================================================ */
.ask { padding-block: clamp(48px, 6vw, 76px); }
.ask__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.4rem); }
.ask__col {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.ask__h {
  font-family: var(--serif); font-weight: 400; font-size: 1.32rem; color: var(--ink);
  padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line);
  letter-spacing: -.005em;
}
.ask__h em { color: var(--emerald); font-style: italic; }
.prompts { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.prompts li {
  position: relative; padding-left: 1.5rem;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 300; font-style: italic;
  color: var(--ink-soft); line-height: 1.5;
}
.prompts li::before {
  content: "›"; position: absolute; left: 0; top: -.05em;
  font-family: var(--mono); font-style: normal; font-size: 1rem; color: var(--emerald);
}
.ask__note {
  margin-top: 2rem; text-align: center; font-size: 1rem; color: var(--body);
  max-width: 62ch; margin-inline: auto;
}

/* ============================================================
   TRUST
   ============================================================ */
.trust { padding-block: clamp(40px, 5vw, 60px); }
.trust__card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 28px;
  padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start;
}
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; }
.trust__item h3 {
  font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: var(--ink);
  margin-bottom: .4rem; padding-top: .9rem; border-top: 1px solid var(--line);
}
.trust__item p { font-size: .97rem; color: var(--body); }

/* ============================================================
   LINEAGE
   ============================================================ */
.lineage { padding-block: clamp(48px, 6vw, 76px); }
.lineage__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.lineage__lead {
  margin-top: 1.5rem; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.12rem, 1.7vw, 1.36rem); line-height: 1.5; color: var(--ink-soft);
}
.lineage__lead strong { font-weight: 500; color: var(--ink); }
.lineage__copy > p { margin-top: 1.1rem; font-size: 1.02rem; color: var(--body); }
.lineage__link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.5rem;
  font-family: var(--mono); font-size: .86rem; font-weight: 500; color: var(--emerald-ink);
  padding-bottom: .2em; border-bottom: 1px solid rgba(30,158,87,.3);
  transition: border-color .25s var(--ease);
}
.lineage__link:hover { border-bottom-color: var(--emerald); }
.lineage__link:hover .arrow { transform: translateX(4px); }
.lineage__link .arrow { transition: transform .25s var(--ease); }

.lineage__stats { display: grid; gap: 1.5rem; }
.lstat { padding-top: 1.3rem; border-top: 1px solid var(--line); }
.lstat:first-child { padding-top: 0; border-top: none; }
.lstat__num {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; letter-spacing: -.015em;
}
.lstat__label { margin-top: .4rem; font-family: var(--mono); font-size: .76rem; color: var(--muted); letter-spacing: .02em; }

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist { padding-block: clamp(44px, 5vw, 68px); }
.waitlist__card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 28px;
  padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow);
}
.waitlist__copy { padding-right: clamp(32px, 4.5vw, 56px); }
.waitlist__list { list-style: none; margin-top: 1.8rem; display: grid; gap: .9rem; }
.waitlist__list li { position: relative; padding-left: 1.9rem; font-size: 1.04rem; color: var(--ink-soft); }
.waitlist__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 700;
  width: 1.3rem; height: 1.3rem; display: grid; place-items: center;
}
.waitlist__form { padding-left: clamp(32px, 4.5vw, 56px); border-left: 1px solid var(--line); }

/* honeypot — off-screen for humans, tempting for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .45rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .85em 1em; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A95A6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1em center; padding-right: 2.6em;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--emerald); background: #fff;
  box-shadow: 0 0 0 4px rgba(30,158,87,.12);
}
.field input:user-invalid, .field select:user-invalid { border-color: #d9544e; }
.form__fineprint { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }
.form__status { margin-top: .8rem; font-size: .95rem; text-align: center; min-height: 1.2em; }
.form__status.is-ok { color: var(--emerald-ink); }
.form__status.is-err { color: #c5453f; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 80px); padding-bottom: 2rem; margin-top: clamp(40px, 6vw, 80px); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.brand--footer { margin-bottom: 1.1rem; }
.footer__brand p { font-size: .97rem; color: var(--body); max-width: 34ch; }
.footer__levy {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.3rem;
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  opacity: .75; transition: opacity .25s var(--ease);
}
.footer__levy:hover { opacity: 1; }
.footer__levy img { height: 16px; width: auto; }
.footer__h { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer__col a { display: block; font-size: .98rem; color: var(--ink-soft); margin-bottom: .7rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--emerald-ink); }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 60px); padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
}

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--d, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .blk { opacity: 1 !important; transform: none !important; animation: none !important; }
  .brand__caret, .cursor { animation: none !important; }
  .trace__line .spin { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 1.4rem; }
  .nav__lineage { display: none; }
}
@media (max-width: 960px) {
  .sources { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(3)::before { display: none; }
  .ask__cols { grid-template-columns: 1fr; }
  .trust__card { grid-template-columns: 1fr; }
  .lineage__inner { grid-template-columns: 1fr; }
  .lineage__stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .lstat { padding-top: 0; border-top: none; }
  .waitlist__card { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 36px); padding: clamp(28px, 6vw, 44px); }
  .waitlist__copy { padding-right: 0; }
  .waitlist__form { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: clamp(28px, 6vw, 36px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; margin-left: auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(237,241,247,.97); backdrop-filter: blur(16px);
    padding: .5rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav.is-open .nav__cta { display: inline-flex; margin: 1rem var(--gutter) 0; }
  .console__thread { min-height: 380px; }
  .console__title { display: none; }
  .console__conn { margin-left: auto; }
  .sources { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { padding-inline: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
  .step:first-child { padding-top: 0; border-top: none; }
  .step::before { display: none !important; }
  .trust__grid { grid-template-columns: 1fr; }
  .lineage__stats { grid-template-columns: 1fr; }
  .lstat { padding-top: 1.3rem; border-top: 1px solid var(--line); }
  .lstat:first-child { padding-top: 0; border-top: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 460px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { justify-content: flex-start; }
  .brand__word { font-size: 1.05rem; }
}
