/* ============================================================
   EUREKA — living health intelligence landing
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: "BrunoAceSC";
  src: url("assets/fonts/BrunoAceSC-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  /* brand accent — the logo glow, constant across time */
  --amber:  oklch(0.85 0.15 80);
  --orange: oklch(0.72 0.19 50);
  --red:    oklch(0.60 0.22 28);
  --accent-grad: linear-gradient(135deg, var(--amber), var(--orange) 48%, var(--red));

  /* emphasis + interactive states: neutral, no hue */
  --accent-soft: oklch(0.94 0 0);

  /* text */
  --text:  oklch(0.95 0.012 70);
  --muted: oklch(0.72 0.018 60);
  --faint: oklch(0.54 0.018 50);
  --line:  oklch(0.42 0.02 50 / 0.26);
  --card:  transparent;
  --card-2: transparent;

  /* TIME-OF-DAY palette (overridden per data-time) */
  --bg-0: #120a0c;      /* outer */
  --bg-1: #1c0f10;      /* mid */
  --glow-a: oklch(0.45 0.16 42 / 0.55);
  --glow-b: oklch(0.30 0.10 30 / 0.0);
  --glow-x: 50%;
  --glow-y: 28%;
  --star: oklch(0.9 0.05 70);
  --star-alpha: 0.9;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 72px);
}

/* ---- TIME PALETTES ---- */
html[data-time="dawn"] {
  --bg-0: #0d0b14; --bg-1: #1e1320;
  --glow-a: oklch(0.5 0.12 30 / 0.32); --glow-b: oklch(0.4 0.12 320 / 0);
  --glow-x: 70%; --glow-y: 78%; --star: oklch(0.9 0.04 50); --star-alpha: 0.35;
}
html[data-time="day"] {
  --bg-0: #0a1016; --bg-1: #101e2a;
  --glow-a: oklch(0.55 0.07 230 / 0.28); --glow-b: oklch(0.5 0.06 200 / 0);
  --glow-x: 50%; --glow-y: 10%; --star: oklch(0.85 0.02 220); --star-alpha: 0.12;
}
html[data-time="dusk"] {
  --bg-0: #120a0c; --bg-1: #200f0e;
  --glow-a: oklch(0.48 0.15 45 / 0.4); --glow-b: oklch(0.3 0.1 25 / 0);
  --glow-x: 50%; --glow-y: 24%; --star: oklch(0.9 0.05 70); --star-alpha: 0.4;
}
html[data-time="night"] {
  --bg-0: #07080e; --bg-1: #0c0e18;
  --glow-a: oklch(0.3 0.08 265 / 0.34); --glow-b: oklch(0.25 0.05 280 / 0);
  --glow-x: 50%; --glow-y: 28%; --star: oklch(0.92 0.03 250); --star-alpha: 0.6;
}

/* ============================================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
em { font-style: italic; font-weight: 400; color: oklch(0.99 0 0); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ LIVING BACKGROUND ============ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at var(--glow-x) var(--glow-y), var(--bg-1), var(--bg-0) 60%);
  transition: background 1.4s ease;
}
.bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(46% 38% at var(--glow-x) var(--glow-y), var(--glow-a), var(--glow-b) 72%);
  transition: background 1.4s ease;
  mix-blend-mode: screen;
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(135% 125% at 50% 38%, transparent 62%, rgba(0,0,0,0.42));
}
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-grain { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Schibsted Grotesk", sans-serif; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .35s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn-lg { font-size: 16px; padding: 14px 26px; }
.btn-solid {
  color: oklch(0.22 0.02 55); background: oklch(0.95 0.012 78);
  box-shadow: none;
}
.btn-solid:hover { transform: translateY(-1px); background: oklch(1 0 0); }
.btn-ghost {
  color: var(--text); background: oklch(1 0 0 / 0.03); border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: oklch(0.7 0.12 55 / 0.6); color: #fff; background: oklch(1 0 0 / 0.06); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut); gap: 24px;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.12 0.015 40 / 0.7); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-word {
  font-family: "BrunoAceSC", "Schibsted Grotesk", sans-serif; font-weight: 400; letter-spacing: 0;
  font-size: 19px; padding-left: 0; color: var(--text);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14.5px; color: var(--muted); font-weight: 500; position: relative; padding: 4px 0;
  transition: color .25s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent-soft); transition: width .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ============ HERO ============ */
.hero { padding: clamp(120px, 18vh, 200px) var(--gut) 60px; position: relative; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.live-chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 13px; color: var(--muted); padding: 7px 15px; border-radius: 100px;
  border: 1px solid var(--line); background: oklch(1 0 0 / 0.03); margin-bottom: 26px;
  font-weight: 500; max-width: 100%;
}
.live-greeting { color: var(--text); }
.live-sep { color: var(--faint); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
  box-shadow: 0 0 8px 0 oklch(0.95 0 0 / 0.4); animation: pulse 3.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.35 } }

.hero-title {
  font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 26px;
  text-wrap: balance;
}
.hero-title em { color: var(--accent-soft); font-weight: 500; }
.hero-moment {
  max-width: 34em;
  margin: 0 0 12px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.48;
  color: var(--text);
  text-wrap: pretty;
}
.hero-moment span {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--accent-soft);
}
.hero-built-for {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 600;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 30em;
  margin-bottom: 32px; line-height: 1.6; text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint); font-weight: 500;
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* App echo */
.hero-app {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 24px 10px;
  background: transparent; border: none; box-shadow: none;
}
.echo-demo-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.62);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.echo-demo-toggle:hover {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.82);
}
.echo-demo-toggle:active {
  transform: scale(.96);
}
.echo-demo-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.echo-demo-icon-play {
  display: none;
}
.hero-app.is-paused .echo-demo-icon-pause {
  display: none;
}
.hero-app.is-paused .echo-demo-icon-play {
  display: block;
}
.think-demo.is-paused .echo-demo-icon-pause {
  display: none;
}
.think-demo.is-paused .echo-demo-icon-play {
  display: block;
}
.hero-app.is-paused .brandmark-svg,
.hero-app.is-paused .brandmark-svg *,
.think-demo.is-paused .brandmark-svg,
.think-demo.is-paused .brandmark-svg *,
.hero-app.is-paused .echo-result-chip::before {
  animation-play-state: paused !important;
}
.hero-orb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 220px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: max-height .7s cubic-bezier(.22,.61,.36,1), opacity .45s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.hero-app.is-chatting .hero-orb-stage {
  max-height: 0;
  opacity: 0;
  transform: translateY(-18px) scale(.82);
  pointer-events: none;
}
.orb { width: 128px; height: 128px; margin: 6px auto 4px; filter: drop-shadow(0 0 18px oklch(0.7 0.16 50 / 0.32)); }
.orb-sm { width: 92px; height: 92px; }
.orb-greeting {
  font-family: "Newsreader", serif; font-style: normal; font-size: 30px;
  color: var(--text); margin: 8px 0 24px; text-align: center; white-space: nowrap;
}
.echo-chat {
  width: min(100%, 560px);
  height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  overflow-anchor: none;
  transform: translateY(14px);
  scroll-behavior: smooth;
  transition: height .7s cubic-bezier(.22,.61,.36,1), max-height .7s cubic-bezier(.22,.61,.36,1), opacity .45s ease .08s, transform .7s cubic-bezier(.22,.61,.36,1);
}
.hero-app.is-chatting .echo-chat {
  height: 320px;
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 14px;
}
.echo-thread {
  --echo-thread-bottom-gutter: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow-anchor: none;
}
.echo-thread::before {
  content: "";
  flex: 1 1 auto;
  min-height: 0;
}
.echo-thread-spacer {
  width: 100%;
  height: var(--echo-thread-bottom-gutter);
  flex: 0 0 var(--echo-thread-bottom-gutter);
  pointer-events: none;
}
.echo-msg {
  max-width: 88%;
  padding: 10px 14px;
  color: rgba(232,224,224,0.82);
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.echo-msg.is-past {
  opacity: .28;
  transform: scale(.985);
}
.echo-thought {
  align-self: flex-start;
  width: min(88%, 430px);
  padding: 2px 2px 4px;
  color: rgba(208,208,208,0.68);
  font-size: 12px;
  line-height: 1.45;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.echo-thought.is-past {
  opacity: .24;
  transform: scale(.985);
}
.echo-thought.is-complete {
  opacity: .78;
}
.echo-thought-head {
  position: relative;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  border-radius: 8px;
  padding: 3px 8px 3px 2px;
  color: rgba(232,229,218,0.78);
  font-size: 13px;
  font-weight: 800;
}
.echo-thought-mark {
  width: 20px;
  height: 20px;
  flex: none;
  filter: drop-shadow(0 0 8px rgba(247,122,32,0.28));
}
.echo-thought-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 27px;
}
.echo-thought-row {
  display: flex;
  gap: 8px;
  opacity: .34;
  transform: translateY(4px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1), color .55s ease;
}
.echo-thought-row.is-active {
  opacity: .86;
  transform: translateY(0);
  color: rgba(255,255,255,0.72);
}
.echo-thought-row.is-done {
  opacity: .58;
}
.echo-thought-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.echo-thought-copy em {
  color: rgba(255,139,83,0.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
}
.echo-thought-dot {
  width: 3px;
  height: 3px;
  flex: none;
  margin-top: .68em;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background .45s ease, box-shadow .45s ease;
}
.echo-thought-row.is-active .echo-thought-dot {
  background: rgba(255,139,83,0.86);
  box-shadow: 0 0 9px rgba(255,112,67,0.48);
}
.echo-msg-user {
  align-self: flex-end;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-right-radius: 4px;
}
.echo-msg-eureka {
  align-self: flex-start;
  padding-left: 2px;
  padding-right: 2px;
  color: rgba(208,208,208,0.84);
  background: transparent;
  border-bottom-left-radius: 4px;
}
.echo-msg-eureka.is-streaming::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.16em;
  background: rgba(255,139,83,0.88);
  box-shadow: 0 0 10px rgba(255,112,67,0.42);
  animation: response-caret .78s steps(1, end) infinite;
}
.echo-result-chip {
  align-self: flex-start;
  max-width: 88%;
  position: relative;
  padding: 5px 0 5px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,232,219,0.68);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.echo-result-chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  background: rgba(255,139,83,0.68);
  box-shadow: 0 0 10px rgba(255,112,67,0.34);
  animation: result-line-in .56s cubic-bezier(.22,.61,.36,1) forwards;
}
.echo-result-chip.is-past {
  opacity: .28;
  transform: scale(.985);
}
.echo-time-marker {
  align-self: flex-start;
  color: rgba(255,255,255,0.34);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 2px 2px 0;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.echo-time-marker.is-past {
  opacity: .25;
  transform: scale(.985);
}
@keyframes result-line-in {
  to { transform: translateY(-50%) scaleX(1); }
}
.echo-input {
  display: grid;
  grid-template-columns: 36px 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  width: min(100%, 560px);
  min-height: 50px;
  padding: 4px 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 0 0 1px rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.46);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-app > .echo-input,
.hero-app > .echo-chat,
.hero-app > .echo-demo-progress {
  width: min(100%, 640px);
}
.hero-app > .echo-input {
  grid-template-columns: 36px 30px minmax(0, 1fr) 36px;
  column-gap: 4px;
}
.echo-plus {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  color: rgba(255,255,255,0.56);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}
.echo-mic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  color: rgba(255,255,255,0.56);
  transform: translateX(-10px);
}
.echo-mic svg {
  width: 20px;
  height: 20px;
}
.echo-placeholder {
  min-width: 0;
  display: block;
  align-self: center;
  color: rgba(255,255,255,0.24);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: color .22s ease;
}
.echo-placeholder.is-typing {
  color: rgba(224,224,224,0.88);
}
.echo-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: #e53935;
  color: #fff;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .32s ease;
}
.echo-input.is-sending .echo-send {
  transform: scale(.9);
  opacity: .72;
}
.echo-send svg {
  width: 16px;
  height: 16px;
}
.echo-demo-progress {
  width: min(100%, 560px);
  height: 24px;
  display: flex;
  align-items: center;
  padding: 9px 2px 0;
}
.echo-demo-scrub {
  --scrub-progress: 0%;
  width: 100%;
  height: 14px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.echo-demo-scrub::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,139,83,0.72) var(--scrub-progress), rgba(255,255,255,0.12) var(--scrub-progress));
}
.echo-demo-scrub::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.echo-demo-scrub::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255,139,83,0.72);
}
.echo-demo-scrub::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -5px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 4px rgba(229,57,53,0.12), 0 0 14px rgba(255,112,67,0.32);
  appearance: none;
  -webkit-appearance: none;
}
.echo-demo-scrub::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 4px rgba(229,57,53,0.12), 0 0 14px rgba(255,112,67,0.32);
}
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--faint), transparent); }

/* ============ STRIP MARQUEE ============ */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; margin-top: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track {
  display: inline-flex; align-items: center; gap: 30px; white-space: nowrap;
  font-family: "Newsreader", serif; font-style: normal; font-size: 26px; color: var(--muted);
  animation: marquee 26s linear infinite; will-change: transform;
}
.strip-track span:not(.strip-dot) { opacity: 0.8; }
.strip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(94px, 14vh, 168px) var(--gut); max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: 68px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11.5px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--faint); display: inline-block; margin-bottom: 24px;
  font-weight: 500; white-space: nowrap;
}
.section-title {
  font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance;
}
.section-title em { color: var(--accent-soft); font-weight: 500; }
.section-lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); margin-top: 18px; line-height: 1.62; text-wrap: pretty; }

/* ============ MODES ============ */
.modes-stage { display: grid; grid-template-columns: 270px 1fr; gap: 40px; }
.modes-rail { display: flex; flex-direction: column; gap: 2px; }
.mode-btn {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 14px; border-radius: 12px; border: 1px solid transparent;
  background: transparent; cursor: pointer; color: var(--muted);
  font-family: inherit; transition: background .3s, color .3s;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.active { background: oklch(1 0 0 / 0.028); color: var(--text); }
.mode-btn-glyph {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  color: var(--faint); transition: color .3s;
}
.mode-btn-glyph svg { width: 22px; height: 22px; stroke-width: 1.3; }
.mode-btn.active .mode-btn-glyph { color: var(--accent-soft); }
.mode-btn-text { display: flex; flex-direction: column; min-width: 0; }
.mode-btn-name { font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.mode-btn-mini { font-size: 12.5px; color: var(--faint); white-space: nowrap; }

.modes-panel {
  border: none; border-left: 1px solid var(--line); border-radius: 0; padding: 6px 0 6px 44px;
  background: transparent; position: relative; min-height: 320px;
}
.modes-panel-left { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; position: relative; }
.modes-glyph {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  color: var(--accent-soft);
}
.modes-glyph svg { width: 38px; height: 38px; stroke-width: 1.2; }
.modes-name { font-family: "Newsreader", serif; font-size: 30px; font-weight: 500; }
.modes-tag { color: var(--faint); font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em; }
.modes-desc { font-size: 18px; color: var(--text); line-height: 1.62; max-width: 52ch; margin-bottom: 28px; position: relative; }
.modes-sample {
  border-left: 1px solid var(--line); padding: 2px 0 2px 22px; position: relative; margin-top: 6px;
}
.sample-label {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 7px;
}
.sample-bubble { font-family: "Newsreader", serif; font-style: normal; font-size: 21px; color: var(--text); line-height: 1.5; }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 52px; }
.feature-card {
  padding: 38px 0 10px; border-top: 1px solid var(--line); position: relative;
}
.feature-ico {
  display: inline-flex; align-items: center; margin-bottom: 24px; color: var(--accent-soft);
}
.feature-ico svg { width: 27px; height: 27px; stroke-width: 1.2; }
.feature-card h3 { font-family: "Newsreader", serif; font-size: 23px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }
.feature-card p { font-size: 15.5px; color: var(--muted); line-height: 1.62; }
.feature-card .feature-tag {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint); margin-top: 20px; display: block;
}

/* ============ USE CASES ============ */
.uses-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.uses-rail { display: flex; flex-direction: column; gap: 2px; }
.use-btn {
  display: flex; align-items: center; gap: 14px; padding: 15px 14px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--muted);
  font-family: inherit; text-align: left; transition: background .3s, color .3s; width: 100%;
}
.use-btn:hover { color: var(--text); }
.use-btn.active { background: oklch(1 0 0 / 0.028); color: var(--text); }
.use-btn-num {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 12.5px; color: var(--faint);
  width: 24px; flex: none;
}
.use-btn.active .use-btn-num { color: var(--accent-soft); }
.use-btn-label { font-weight: 600; font-size: 16px; }
.uses-detail {
  border: none; border-left: 1px solid var(--line); border-radius: 0; padding: 6px 0 6px 44px;
  background: transparent; min-height: 360px;
}
.use-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.use-detail-emoji { font-size: 30px; }
.use-detail-title { font-family: "Newsreader", serif; font-size: 30px; font-weight: 500; }
.use-detail-who { color: var(--faint); font-size: 13.5px; font-weight: 500; margin-bottom: 24px; letter-spacing: 0.03em; }
.use-detail-desc { font-size: 17.5px; color: var(--muted); line-height: 1.62; margin-bottom: 28px; max-width: 56ch; }
.use-chat { display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.chat-row { display: flex; }
.chat-row.me { justify-content: flex-end; }
.bubble {
  padding: 12px 17px; border-radius: 18px; font-size: 15px; line-height: 1.5; max-width: 85%;
}
.bubble.me {
  background: oklch(0.78 0.06 58 / 0.15); color: var(--text); border: 1px solid oklch(0.72 0.06 58 / 0.28);
  border-bottom-right-radius: 5px;
}
.bubble.ai {
  background: oklch(1 0 0 / 0.022); border: 1px solid var(--line); color: var(--text);
  border-bottom-left-radius: 5px;
}

/* ============ PHILOSOPHY ============ */
.philosophy { max-width: 980px; }
.manifesto { display: flex; flex-direction: column; gap: 4px; }
.belief {
  font-family: "Newsreader", serif; font-size: clamp(25px, 3.3vw, 40px); font-weight: 300;
  line-height: 1.34; color: oklch(0.9 0.012 75); padding: 28px 0; letter-spacing: -0.012em;
  border-bottom: 1px solid var(--line); text-wrap: balance;
}
.belief b { font-weight: 500; font-style: normal; color: var(--accent-soft); }
.manifesto-sign {
  font-family: "Schibsted Grotesk", sans-serif; letter-spacing: 0.1em; color: var(--muted);
  margin-top: 30px; font-size: 14px;
}

/* ============ FOUNDERS ============ */
.founder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.founder-card {
  border: none; border-radius: 0; overflow: visible; background: transparent;
}
.founder-photo {
  aspect-ratio: 4/4.3; position: relative; overflow: hidden; border-radius: 4px;
  background: oklch(0.20 0.014 45 / 0.5); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 22px;
}
.founder-photo span {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint); border: 1px dashed var(--line);
  padding: 6px 12px; border-radius: 6px; background: oklch(0.15 0.01 40 / 0.5);
}
.founder-body { padding: 0; }
.founder-name { font-family: "Newsreader", serif; font-size: 21px; font-weight: 500; }
.founder-role { color: var(--faint); font-size: 13px; font-weight: 500; margin-bottom: 14px; letter-spacing: 0.03em; }
.founder-bio { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ============ WAITLIST ============ */
.waitlist { display: flex; justify-content: center; }
.waitlist-card {
  width: 100%; max-width: 660px; text-align: center; padding: 24px 20px;
  border: none; border-radius: 0; background: transparent; box-shadow: none;
  position: relative; overflow: visible;
}
.orb-sm { position: relative; margin: 0 auto 18px; }
.waitlist-title { font-family: "Newsreader", serif; font-size: clamp(34px, 5vw, 52px); font-weight: 400; position: relative; }
.waitlist-title em { color: var(--accent-soft); font-weight: 500; }
.waitlist-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 16px auto 30px; line-height: 1.6; position: relative; }
.waitlist-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; }
.waitlist-input {
  flex: 1; padding: 14px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: oklch(0.15 0.01 35 / 0.7); color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color .25s;
}
.waitlist-input::placeholder { color: var(--faint); }
.waitlist-input:focus { outline: none; border-color: oklch(0.6 0.13 50 / 0.6); }
.waitlist-note { margin-top: 16px; font-size: 13px; color: var(--faint); position: relative; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 60px var(--gut) 30px; margin-top: 40px; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  gap: 50px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand-word { font-size: 22px; }
.footer-tag { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 26em; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-h {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 7px;
}
.footer-col a { font-size: 13.5px; color: var(--muted); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer-bot {
  max-width: var(--maxw); margin: 24px auto 0; display: flex; justify-content: space-between;
  font-size: 13px; color: var(--faint); flex-wrap: wrap; gap: 12px;
}
.footer-live { font-family: "Schibsted Grotesk", sans-serif; letter-spacing: 0.12em; }

/* ============ ENV CONTROL ============ */
.env-control { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.env-toggle {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: oklch(0.14 0.015 40 / 0.8); backdrop-filter: blur(16px);
  color: var(--text); font-family: "Schibsted Grotesk", sans-serif; font-size: 12.5px; letter-spacing: 0.08em;
  cursor: pointer; transition: border-color .25s; box-shadow: 0 10px 30px -12px #000;
}
.env-toggle:hover { border-color: oklch(0.6 0.12 50 / 0.5); }
.env-toggle-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 12px 1px var(--orange); }
.env-panel {
  position: absolute; right: 0; bottom: 56px; width: 290px; padding: 20px;
  border-radius: 20px; border: 1px solid var(--line);
  background: oklch(0.14 0.015 40 / 0.92); backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px -30px #000; animation: popin .3s ease;
}
@keyframes popin { from { opacity: 0; transform: translateY(8px); } }
.env-row { margin-bottom: 16px; }
.env-row-label {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 9px;
}
.env-seg { display: flex; gap: 5px; background: oklch(0.1 0.01 40 / 0.7); padding: 4px; border-radius: 12px; }
.env-seg button {
  flex: 1; padding: 8px 4px; border: none; border-radius: 9px; background: transparent;
  color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: background .25s, color .25s;
}
.env-seg button:hover { color: var(--text); }
.env-seg button.active { background: oklch(0.78 0.06 58 / 0.18); color: var(--text); font-weight: 600; }
.env-note { font-size: 12px; color: var(--faint); line-height: 1.5; margin-top: 4px; }

/* ============ REVEAL ============ */
[data-reveal] { opacity: 1; }

/* ============================================================
   REAL CONTENT — Eureka Engine narrative
   ============================================================ */
/* prose */
.prose { max-width: 64ch; }
.prose.wide { max-width: 72ch; }
.prose p { font-size: 17.5px; color: var(--muted); line-height: 1.72; margin-bottom: 22px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--accent-soft); font-style: normal; }
.prose .big { color: var(--text); font-weight: 500; font-size: 19px; }

.section.tight { padding-top: clamp(60px, 9vh, 104px); padding-bottom: clamp(60px, 9vh, 104px); }
.section-head.wide { max-width: 880px; }
.kicker { font-family: "Newsreader", serif; font-style: normal; color: var(--accent-soft); font-size: clamp(20px, 2.3vw, 27px); line-height: 1.5; margin-top: 26px; max-width: 24ch; font-weight: 400; }

/* hero badge + proof */
.badge {
  display: inline-block; line-height: 1.7;
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line);
  padding: 9px 17px; border-radius: 16px; margin-bottom: 24px; max-width: 100%;
}
.badge b { color: var(--accent-soft); font-weight: 600; white-space: nowrap; }
.badge-from { white-space: nowrap; }
.badge-sep { color: var(--faint); }
.proof { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 4px; }
.proof span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); padding: 7px 13px; border-radius: 100px; white-space: nowrap; }

/* scenarios litany */
.scenarios { display: flex; flex-direction: column; margin: 0 0 44px; }
.scenario {
  padding: 26px 0; border-top: 1px solid var(--line);
  font-family: "Newsreader", serif; font-weight: 300; font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5; color: oklch(0.88 0.012 70); text-wrap: pretty; max-width: 60ch;
}
.scenario:last-child { border-bottom: 1px solid var(--line); }
.scenario b { font-style: normal; font-weight: 500; color: var(--accent-soft); }

/* big centered statement / pull-quote */
.statement {
  font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(30px, 4.8vw, 60px);
  line-height: 1.1; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance;
}
.statement.center { margin: 0 auto; text-align: center; max-width: 20ch; }
.statement em { color: var(--accent-soft); font-style: normal; }
.statement-note { font-size: 15px; color: var(--faint); margin-top: 26px; letter-spacing: 0.02em; }
.statement-note.center { text-align: center; }

/* answers grid */
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.answer {
  border: 1px solid var(--line); border-radius: 18px; border-top-left-radius: 5px;
  padding: 24px 26px; font-family: "Newsreader", serif; font-style: normal;
  font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--text);
  background: oklch(1 0 0 / 0.016);
}
.answer::before {
  content: "Eureka"; font-family: "Schibsted Grotesk", sans-serif; font-style: normal;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint);
  display: block; margin-bottom: 13px;
}

/* superset equation */
.superset { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 13px; margin: 4px 0 8px; }
.sup-node {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 13.5px; letter-spacing: 0.03em;
  color: var(--text); border: 1px solid var(--line); padding: 12px 17px; border-radius: 11px;
}
.sup-node.lead { color: var(--accent-soft); border-color: oklch(0.7 0.08 55 / 0.4); }
.sup-op { color: var(--faint); font-size: 17px; font-family: "Newsreader", serif; }

/* numbered flow */
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 8px; }
.flow-step { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.flow-num { font-family: "Schibsted Grotesk", sans-serif; font-size: 12.5px; color: var(--accent-soft); flex: none; padding-top: 3px; width: 24px; }
.flow-text { font-size: 16px; color: var(--muted); line-height: 1.58; }
.flow-text b { color: var(--text); font-weight: 600; }

/* see it think */
.think-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.think-story-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(0 0 0 / 0.16);
}
.think-story-tab {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .28s var(--ease-out), border-color .28s var(--ease-out), color .25s;
}
.think-story-tab:hover {
  color: var(--text);
  background: oklch(1 0 0 / 0.026);
}
.think-story-tab.active {
  color: var(--text);
  border-color: oklch(0.72 0.07 55 / 0.34);
  background: oklch(0.72 0.07 55 / 0.12);
}
.think-story-tab span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.think-story-tab b {
  display: none;
}
.think-story-tab em {
  display: none;
}
.think-story-tab.active span {
  color: var(--text);
}
.think-demo-main {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 34px);
  background: oklch(1 0 0 / 0.025);
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.think-case-kicker {
  display: block;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.think-demo-head h3 {
  font-family: "Newsreader", serif;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--text);
  text-wrap: balance;
}
.think-demo-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 42ch;
}
.think-demo-stage {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-items: stretch;
  gap: 14px;
}
.think-demo-toggle {
  top: 10px;
  right: max(10px, calc((100% - 560px) / 2 + 10px));
}
.think-demo-chat {
  width: min(100%, 560px);
  height: clamp(330px, 39vw, 390px);
  max-height: none;
  opacity: 1;
  overflow: hidden auto;
  position: relative;
  z-index: 1;
  contain: paint;
  clip-path: inset(0);
  transform: none;
  margin: 0;
  padding: 0 2px;
  scroll-behavior: smooth;
}
.think-demo-input {
  width: min(100%, 560px);
  grid-template-columns: 36px 30px minmax(0, 1fr) 36px;
  column-gap: 4px;
  position: relative;
  z-index: 2;
}
.think-demo-progress {
  width: min(100%, 560px);
  padding-top: 2px;
}
.think-demo .echo-msg {
  font-size: 13.5px;
}
.think-demo .echo-thought {
  width: min(92%, 440px);
}
.think-caught {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.55;
}
.think-caught b {
  color: var(--muted);
  font-weight: 600;
}
@keyframes response-caret {
  50% { opacity: 0; }
}
.annot-label { font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; display: block; }
.annot-list { display: flex; flex-direction: column; }
.annot { padding: 17px 0; border-top: 1px solid var(--line); }
.annot:first-of-type { border-top: none; padding-top: 0; }
.annot h4 { font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 7px; font-weight: 600; }
.annot p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* two questions toggle */
.qtabs { display: inline-flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 44px; flex-wrap: wrap; }
.qtab { padding: 11px 22px; border-radius: 100px; background: transparent; border: none; color: var(--muted); font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.qtab:hover { color: var(--text); }
.qtab.active { background: oklch(0.78 0.06 58 / 0.16); color: var(--text); }
.qpanel { display: none; }
.qpanel.active { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.qpunch { font-family: "Newsreader", serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.qpunch em { color: var(--accent-soft); font-style: normal; }
.qpunch .sub { display: block; font-size: 15px; font-family: "Schibsted Grotesk", sans-serif; color: var(--faint); margin-top: 18px; line-height: 1.6; }

/* handles grid (reuses feature-grid via .handles) */
.handles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 52px; }
.handle { padding: 32px 0 10px; border-top: 1px solid var(--line); }
.handle h3 { font-family: "Schibsted Grotesk", sans-serif; font-size: 16.5px; font-weight: 600; color: oklch(0.97 0 0); margin-bottom: 9px; letter-spacing: -0.005em; line-height: 1.3; }
.handle p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* memory states */
.mem-states { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 40px; }
.mem-chip { font-family: "Schibsted Grotesk", sans-serif; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); }
.mem-chip.hot { color: var(--accent-soft); border-color: oklch(0.7 0.08 55 / 0.4); }
.inset {
  border-left: 1px solid var(--line); padding: 4px 0 4px 24px; margin-top: 36px; max-width: 60ch;
}
.inset .annot-label { margin-bottom: 12px; }
.inset p { font-family: "Newsreader", serif; font-style: normal; font-size: clamp(19px, 2vw, 24px); color: var(--text); line-height: 1.5; }

/* checks */
.checks { display: flex; flex-direction: column; max-width: 800px; }
.check { display: flex; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); font-size: 16.5px; color: var(--text); line-height: 1.5; }
.check em { color: var(--faint); font-family: "Schibsted Grotesk", sans-serif; font-style: normal; font-size: 12.5px; flex: none; padding-top: 3px; width: 20px; }
.verdicts { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 40px; }
.verdict { font-family: "Newsreader", serif; font-style: normal; font-size: 18px; color: var(--text); border: 1px solid var(--line); padding: 11px 19px; border-radius: 100px; }

/* why — bets */
.bets { display: flex; flex-direction: column; margin-top: 8px; }
.bet { display: grid; grid-template-columns: 78px 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); }
.bet-num { font-family: "Newsreader", serif; font-size: 42px; color: var(--faint); line-height: 0.9; }
.bet h3 { font-family: "Newsreader", serif; font-size: clamp(23px, 2.9vw, 32px); font-weight: 500; margin-bottom: 16px; letter-spacing: -0.01em; }
.bet h3 em { color: var(--accent-soft); font-style: normal; }
.bet p { font-size: 16px; color: var(--muted); line-height: 1.66; max-width: 64ch; margin-bottom: 13px; }
.bet p:last-child { margin-bottom: 0; }
.bet p b { color: var(--text); font-weight: 600; }

/* why — blocks */
.why-block { max-width: 820px; padding-top: 72px; }
.why-block > h3 { font-family: "Newsreader", serif; font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 26px; text-wrap: balance; line-height: 1.12; }
.why-block > h3 em { color: var(--accent-soft); font-style: normal; }
.aud-list { display: flex; flex-direction: column; margin: 26px 0 0; }
.aud { padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); line-height: 1.55; }
.aud:last-child { border-bottom: 1px solid var(--line); }
.aud b { color: var(--text); font-weight: 600; }

/* promise */
.promise-litany { font-family: "Newsreader", serif; font-style: normal; font-weight: 300; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.62; color: var(--muted); max-width: 54ch; margin: 0 0 36px; text-wrap: pretty; }
.promise-litany b { color: var(--accent-soft); font-weight: 400; font-style: normal; }
.promise-final { font-family: "Newsreader", serif; font-size: clamp(28px, 4.2vw, 50px); font-weight: 400; letter-spacing: -0.018em; text-wrap: balance; line-height: 1.1; margin-top: 8px; }
.promise-final em { color: var(--accent-soft); font-style: normal; }

/* team — pillars / practice / makers / flywheel */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 8px; }
.pillar { padding: 34px 0 8px; border-top: 1px solid var(--line); }
.pillar h4 { font-family: "Schibsted Grotesk", sans-serif; font-size: 16.5px; font-weight: 600; color: oklch(0.97 0 0); margin-bottom: 11px; letter-spacing: -0.005em; line-height: 1.3; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

.practice { display: flex; flex-direction: column; max-width: 860px; margin-top: 8px; }
.practice-item { padding: 24px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); line-height: 1.62; }
.practice-item b { color: var(--text); font-weight: 600; }

.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 8px; }
.maker { padding: 34px 0 8px; border-top: 1px solid var(--line); }
.maker-name { font-family: "Schibsted Grotesk", sans-serif; font-size: 14px; letter-spacing: 0.05em; color: var(--accent-soft); margin-bottom: 12px; font-weight: 600; }
.maker p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

.flywheel { display: flex; flex-wrap: wrap; gap: 11px 14px; align-items: center; margin-top: 44px; font-family: "Schibsted Grotesk", sans-serif; font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); }
.flywheel b { color: var(--accent-soft); font-weight: 600; }
.flywheel-arrow { color: var(--faint); font-size: 15px; }

@media (max-width: 1080px) {
  .answers { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .think-story-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .think-demo-main { grid-template-columns: 1fr; }
  .qpanel.active { grid-template-columns: 1fr; gap: 28px; }
  .handles { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .pillars, .makers { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .think-demo-main { border-radius: 18px; padding: 20px; }
  .think-story-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding: 4px;
    border-radius: 14px;
  }
  .think-story-tab {
    min-height: 40px;
    border-radius: 10px;
  }
  .think-demo-chat {
    position: relative;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    height: auto;
    overscroll-behavior: contain;
  }
  .think-demo-thread {
    display: block;
    min-height: 0;
  }
  .think-demo-thread::before {
    content: none;
  }
  .think-demo-thread > .echo-msg,
  .think-demo-thread > .echo-thought,
  .think-demo-thread > .echo-result-chip,
  .think-demo-thread > .echo-time-marker {
    display: block;
    margin-bottom: 12px;
  }
  .think-demo-thread > .echo-msg-user {
    margin-left: auto;
  }
  .think-demo-thread > .echo-msg-eureka,
  .think-demo-thread > .echo-thought,
  .think-demo-thread > .echo-result-chip,
  .think-demo-thread > .echo-time-marker {
    margin-right: auto;
  }
  .think-demo-thread > .echo-thread-spacer {
    margin-bottom: 0;
  }
  .think-demo-stage {
    height: clamp(430px, 68svh, 540px);
    min-height: 430px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    align-items: stretch;
    justify-items: center;
  }
  .think-demo-input {
    position: relative;
    grid-row: 2;
    width: 100%;
    height: auto;
    min-height: 50px;
    max-height: none;
    box-sizing: border-box;
    overflow: visible;
  }
  .think-demo-progress {
    position: relative;
    grid-row: 3;
    width: 100%;
  }
  .handles { grid-template-columns: 1fr; }
  .bet { grid-template-columns: 1fr; gap: 12px; }
  .bet-num { font-size: 34px; }
  .superset { gap: 9px; }
}
/* ============ REVEAL (end) ============ */

/* ============================================================
   DOCS SHELL — sticky topbar + left sidebar TOC + content
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 13px var(--gut);
  border-bottom: 1px solid transparent; transition: background .35s, border-color .35s;
}
.topbar.scrolled {
  background: oklch(0.11 0.015 40 / 0.74); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.topbar-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 8px 0 oklch(0.95 0 0 / 0.4); }

.docs { display: flex; max-width: 1380px; margin: 0 auto; padding: 0 var(--gut); }
.sidebar {
  width: 236px; flex: none; position: sticky; top: 76px; align-self: flex-start;
  max-height: calc(100vh - 92px); overflow-y: auto; padding: 32px 26px 50px 0;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.side-group { margin-bottom: 26px; }
.side-label {
  font-family: "Schibsted Grotesk", sans-serif; font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint); padding: 0 0 10px 16px;
}
.side-link {
  display: block; padding: 7px 16px; font-size: 14px; color: var(--muted);
  border-left: 1px solid var(--line); transition: color .2s, border-color .2s;
  border-radius: 10px;
  text-wrap: pretty;
}
.side-link:hover { color: var(--text); border-left-color: var(--muted); }
.side-link.active {
  color: var(--accent-soft);
  border-left-color: transparent;
  background: oklch(1 0 0 / 0.035);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.055);
  font-weight: 600;
}

.content { flex: 1; min-width: 0; border-left: 1px solid var(--line); padding-left: clamp(28px, 4.2vw, 66px); }
.content .section {
  max-width: none; margin: 0; padding-left: 0; padding-right: 0;
  padding-top: clamp(70px, 10vh, 116px); padding-bottom: clamp(70px, 10vh, 116px);
  scroll-margin-top: 78px;
}
.content .hero { padding: 46px 0 72px; scroll-margin-top: 78px; }
.content .hero-inner { max-width: none; align-items: center; }
@media (min-width: 861px) {
  .content .hero-app {
    align-self: center;
    height: auto;
    min-height: initial;
    padding-top: clamp(8px, 2vh, 24px);
    padding-bottom: 24px;
    box-sizing: border-box;
  }
  .content .hero-app.is-chatting .echo-chat {
    --hero-chat-lift: clamp(120px, 12vh, 204px);
    flex: 0 0 auto;
    height: calc(clamp(387px, 46.8vh, 558px) + var(--hero-chat-lift));
    max-height: calc(clamp(387px, 46.8vh, 558px) + var(--hero-chat-lift));
    margin-top: calc(-1 * var(--hero-chat-lift));
  }
  .content .hero-app.is-chatting .echo-thread {
    justify-content: flex-start;
    padding-top: clamp(18px, 4vh, 58px);
  }
}

.mobilenav { display: none; }

@media (max-width: 1023px) {
  .docs { display: block; }
  .sidebar { display: none; }
  .content { border-left: none; padding-left: 0; }
  .mobilenav {
    display: flex; align-items: center; gap: 12px;
    position: sticky; top: 53px; z-index: 45; padding: 10px var(--gut);
    background: oklch(0.11 0.015 40 / 0.85); backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--line);
  }
  .mobilenav-label { font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); flex: none; }
  #jumpSelect {
    flex: 1; background: oklch(1 0 0 / 0.03); color: var(--text); border: 1px solid var(--line);
    border-radius: 10px; padding: 9px 12px; font-family: inherit; font-size: 14px; cursor: pointer;
  }
  #jumpSelect option { background: #1a1010; color: #fff; }
}

/* ============================================================
   DRAFT-2 ADDITIONS — links, domains, disciplines
   ============================================================ */
/* inline content links */
.prose a, .aud a {
  color: var(--accent-soft); text-decoration: none;
  border-bottom: 1px solid oklch(0.72 0.06 58 / 0.4);
  transition: color .2s, border-color .2s;
}
.prose a:hover, .aud a:hover { color: var(--text); border-bottom-color: var(--text); }
.badge a { color: inherit; text-decoration: none; }
.badge a b { transition: color .2s; }
.badge a:hover b { color: var(--text); }
.maker-name a { color: inherit; text-decoration: none; }
.maker-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col a[target] { transition: color .2s; }

/* sub-heading inside sections */
.sub-h {
  font-family: "Newsreader", serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 500;
  letter-spacing: -0.012em; margin-bottom: 16px; line-height: 1.2;
}
.sub-h em { color: var(--accent-soft); font-style: normal; }

/* domains — "the whole loop" */
.domains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; margin-top: 4px; }
.domain { padding: 18px 0; border-top: 1px solid var(--line); }
.domain-k { font-family: "Schibsted Grotesk", sans-serif; font-size: 16px; font-weight: 600; color: oklch(0.97 0 0); display: block; margin-bottom: 7px; letter-spacing: -0.005em; }
.domain-v { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* discipline slideshow */
.discipline-showcase {
  max-width: 920px;
  margin-top: 34px;
  touch-action: pan-y;
  user-select: none;
}
.discipline-showcase:focus-visible {
  outline: 1px solid oklch(0.78 0.08 58 / 0.45);
  outline-offset: 8px;
  border-radius: 10px;
}
.discipline-stage {
  position: relative;
  aspect-ratio: 16 / 8.8;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid oklch(1 0 0 / 0.09);
  background: oklch(0.075 0.010 58 / 0.88);
}
.discipline-slides,
.discipline-slide,
.discipline-slide-media {
  position: absolute;
}
.discipline-slides { inset: 0; }
.discipline-slide {
  inset: 0 10%;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid oklch(1 0 0 / 0.09);
  box-shadow: 0 28px 70px -48px oklch(0.72 0.15 42 / 0.72);
  transition: opacity .48s var(--ease-out), transform .62s var(--ease-out), filter .62s var(--ease-out);
  transform: translateX(0) scale(0.82);
  filter: saturate(0.76) brightness(0.78);
  z-index: 0;
  cursor: pointer;
}
.discipline-slide.active {
  opacity: 1;
  pointer-events: none;
  transform: translateX(0) scale(1);
  filter: none;
  z-index: 3;
  cursor: default;
}
.discipline-slide.prev,
.discipline-slide.next {
  opacity: 0.34;
  pointer-events: auto;
  z-index: 1;
}
.discipline-slide.prev { transform: translateX(-58%) scale(0.88); }
.discipline-slide.next { transform: translateX(58%) scale(0.88); }
.discipline-slide.prev:hover,
.discipline-slide.next:hover {
  opacity: 0.48;
  filter: saturate(0.88) brightness(0.86);
}
.discipline-slide-media {
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 40%, oklch(0.62 0.13 42 / 0.24), transparent 22%),
    radial-gradient(circle at 30% 80%, oklch(0.38 0.11 28 / 0.18), transparent 36%),
    linear-gradient(135deg, oklch(0.16 0.012 62), oklch(0.055 0.010 55) 72%);
}
.discipline-slide-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.055 0.010 55 / 0.88), transparent 34%, transparent 60%, oklch(0.055 0.010 55 / 0.72)),
    linear-gradient(0deg, oklch(0.055 0.010 55 / 0.92), transparent 42%);
  z-index: 1;
  pointer-events: none;
}
.discipline-slide-media::after {
  content: "";
  position: absolute;
  inset: -10% -30%;
  background: linear-gradient(100deg, transparent 42%, oklch(0.8 0.10 58 / 0.13), transparent 58%);
  transform: translateX(-58%);
  animation: discipline-glide 7s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
.discipline-slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.discipline-slide-meta {
  position: absolute;
  left: clamp(22px, 4vw, 44px);
  right: clamp(22px, 4vw, 44px);
  bottom: clamp(22px, 4vw, 42px);
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .48s var(--ease-out);
}
.discipline-slide.active .discipline-slide-meta {
  opacity: 1;
  transform: translateY(0);
}
.discipline-slide-meta span {
  display: block;
  margin-bottom: 10px;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.discipline-slide-meta h3 {
  max-width: 12ch;
  font-family: "Newsreader", serif;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 0.92;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
}
.discipline-controls {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.discipline-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.discipline-arrow:hover {
  color: var(--text);
  border-color: oklch(0.78 0.08 58 / 0.36);
  background: oklch(1 0 0 / 0.035);
}
.discipline-arrow:active { transform: scale(0.96); }
.discipline-progress {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.discipline-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-grad);
  transition: width .42s var(--ease-out);
}
.discipline-count {
  display: flex;
  gap: 7px;
  align-items: baseline;
  justify-content: end;
  min-width: 76px;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.discipline-count em {
  color: var(--faint);
  font-style: normal;
}

@keyframes discipline-glide {
  0%, 62%, 100% { transform: translateX(-58%); opacity: 0; }
  32% { transform: translateX(58%); opacity: 1; }
}

@media (max-width: 1023px) {
  .domains { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .discipline-stage { aspect-ratio: 4 / 5; min-height: 430px; }
  .discipline-slide { inset: 0 7%; }
  .discipline-slide.prev { transform: translateX(-66%) scale(0.86); }
  .discipline-slide.next { transform: translateX(66%) scale(0.86); }
  .discipline-controls { grid-template-columns: auto auto minmax(80px, 1fr) auto; }
  .discipline-progress { grid-column: 1 / -1; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .discipline-slide,
  .discipline-slide-media::after,
  .discipline-progress span { transition: none; animation: none; }
}

/* ============================================================
   MODERNIZE v2 — quiet palette, less line-noise, paginated
   ============================================================ */
:root {
  --text:  oklch(0.95 0.010 70);
  --muted: oklch(0.70 0.014 65);
  --faint: oklch(0.50 0.014 60);
  --line:  oklch(0.72 0.02 60 / 0.11);
  --accent-soft: oklch(0.94 0 0);
}
body { background: #0d0c0e; }
.bg { position: fixed; inset: 0; z-index: -1; background: #0d0c0e; overflow: hidden; }
.bg-base { position: absolute; inset: 0; background: radial-gradient(92% 56% at 50% -8%, #1a1620, #0d0c0e 58%); }
.bg-aura { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34% 24% at 50% -2%, oklch(0.6 0.11 55 / 0.13), transparent 72%); }
.bg-glow, .bg-vignette, .bg-canvas, .bg-grain { display: none !important; }

/* topbar: always solid + quiet */
.topbar { background: oklch(0.13 0.008 60 / 0.82); backdrop-filter: blur(18px) saturate(1.1); border-bottom: 1px solid var(--line); }

/* ---- strip the ledger lines ---- */
.scenario, .domain, .flow-step, .check, .practice-item, .pillar, .handle, .maker, .bet, .aud, .annot, .feature-card {
  border-top: none !important; border-bottom: none !important;
}
.scenarios { display: flex; flex-direction: column; gap: 4px; margin-bottom: 48px; }
.scenario { padding: 13px 0; max-width: 62ch; }
.aud-list { margin-top: 22px; }
.aud { padding: 9px 0; }
.flow-step { padding: 13px 0; }
.checks { gap: 2px; }
.check { padding: 13px 0; }
.practice { gap: 4px; }
.practice-item { padding: 15px 0; }
.bet { padding: 30px 0; }
.bets { gap: 8px; }
.domain { padding: 0; }
.domains { gap: 16px; }
.handle { padding: 0; }
.handles { gap: 16px; }
.domain, .handle {
  border: 1px solid var(--line) !important; border-radius: 18px;
  padding: clamp(22px, 2.4vw, 30px); background: oklch(1 0 0 / 0.022);
}
.domain:hover, .handle:hover { border-color: oklch(0.82 0.02 60 / 0.26); background: oklch(1 0 0 / 0.045); }
.pillar { padding: 0; }
.pillars { gap: 38px 48px; }
.maker { padding: 0; }
.makers { gap: 36px 48px; }
.annot { padding: 16px 0; }
.annot:first-of-type { padding-top: 0; }

/* ---- demote the pills ---- */
.badge { border: none; padding: 0; border-radius: 0; line-height: 1.6; }
.proof { flex-direction: column; align-items: flex-start; gap: 14px; }
.proof span { border: none; padding: 0; font-size: 13px; color: var(--faint); }
.mem-chip { border: none; background: oklch(1 0 0 / 0.05); color: var(--muted); }
.mem-chip.hot { border: none; background: oklch(1 0 0 / 0.08); color: var(--accent-soft); }
.answer { border: none; background: oklch(1 0 0 / 0.038); }
.qtabs { border-color: var(--line); }

/* verdicts → quiet serif lines, not pills */
.verdicts { flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 34px; }
.verdict { border: none; padding: 0; font-size: clamp(20px, 2.3vw, 26px); color: var(--text); }

/* labels quieter */
.eyebrow { letter-spacing: 0.16em; }
.statement-note { color: var(--faint); }

/* sidebar lighter */
.side-link { border-left-color: transparent; }
.side-link:hover { border-left-color: var(--line); }
.side-link.active { border-left-color: var(--accent-soft); }

/* ---- pagination ---- */
.content .section, .content .hero { padding-bottom: 10px; }
.content .section:first-of-type { }
.pager {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 36px; padding: 32px 0 90px; border-top: 1px solid var(--line);
}
.pager a { display: flex; flex-direction: column; gap: 7px; max-width: 48%; text-decoration: none; }
.pager-next { margin-left: auto; text-align: right; align-items: flex-end; }
.pager-dir { font-family: "Schibsted Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.pager-name { font-family: "Newsreader", serif; font-size: clamp(19px, 2.2vw, 23px); color: var(--text); line-height: 1.2; transition: color .2s; }
.pager a:hover .pager-name { color: var(--accent-soft); }

/* retired chrome */
.env-control, .scroll-hint { display: none !important; }

/* ============================================================
   BRAND "ENGINE"
   ============================================================ */
.brand-engine { margin-left: 0.55em; color: var(--text); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  * { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .modes-stage { grid-template-columns: 1fr; }
  .modes-rail { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .mode-btn { flex: none; min-width: 175px; }
  .uses-layout { grid-template-columns: 1fr; }
  .uses-rail { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .use-btn { flex: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-app { order: -1; width: min(100%, 640px); max-width: 640px; margin: 0 auto; }
}

/* ============================================================
   EVIDENCE CARDS — live contributor data (native Eureka style)
   ============================================================ */
.evi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 4px; }
.evi-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px;
  background: oklch(1 0 0 / 0.018);
}
.evi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.evi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  position: relative; overflow: hidden;
  font-family: "Newsreader", serif; font-size: 20px; color: var(--text);
  background: radial-gradient(120% 120% at 30% 25%, oklch(0.34 0.03 60), oklch(0.22 0.02 55));
  border: 1px solid var(--line);
}
.evi-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.evi-id { display: flex; flex-direction: column; gap: 3px; }
.evi-name { font-family: "Newsreader", serif; font-size: 21px; font-weight: 500; line-height: 1; color: var(--text); }
.evi-role { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.evi-stats { display: flex; gap: 30px; margin-bottom: 22px; flex-wrap: wrap; }
.evi-stat-num { font-family: "Newsreader", serif; font-size: 30px; font-weight: 400; line-height: 1; color: var(--text); }
.evi-stat-lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 8px; display: block; }
.evi-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.evi-topic { font-size: 12px; color: var(--muted); background: oklch(1 0 0 / 0.045); padding: 5px 11px; border-radius: 100px; white-space: nowrap; }
.evi-active { font-size: 12px; color: var(--faint); }
.evi-source { font-size: 14.5px; color: var(--muted); margin-top: 22px; line-height: 1.6; max-width: 60ch; }
.evi-source a { color: var(--accent-soft); border-bottom: 1px solid oklch(0.72 0.06 58 / 0.4); }
.evi-source a:hover { color: var(--text); border-bottom-color: var(--text); }
@media (max-width: 760px) { .evi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VISIBLE EMPHASIS — refined italic (emphasis words only)
   ============================================================ */
.hero-title em, .section-title em, .waitlist-title em, .statement em,
.promise-final em, .bet h3 em, .why-block h3 em, .qpunch em, .sub-h em {
  font-style: italic; font-weight: 400; color: oklch(0.99 0 0);
}
/* body emphasis: italic for em, bold kept for inline terms */
.prose em { font-style: italic; font-weight: 400; color: oklch(0.99 0 0); }
.scenario b, .promise-litany b { font-weight: 600; color: oklch(0.99 0 0); }

/* ============================================================
   MOTION SYSTEM
   ============================================================ */
:root {
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.1,1);
  --ease-spring: cubic-bezier(.34,1.25,.4,1);
}

/* reading progress (subtle, neutral) */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60;
  background: oklch(0.95 0 0 / 0.55); transition: width .12s linear; pointer-events: none;
}

/* hero orb: breathing glow around the app BrandMark */
.orb { filter: drop-shadow(0 0 20px oklch(0.7 0.18 50 / 0.32)); animation: breathe 6.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1);     filter: drop-shadow(0 0 16px oklch(0.7 0.18 50 / 0.28)); }
  50%      { transform: scale(1.035); filter: drop-shadow(0 0 30px oklch(0.72 0.18 52 / 0.5)); }
}
.orb .brandmark-svg { overflow: visible; }

/* sliding sidebar active indicator */
.sidebar nav { position: relative; }
.side-indicator {
  position: absolute; left: 0; width: 2px; border-radius: 2px; background: var(--accent-soft);
  opacity: 0; transition: transform .42s var(--ease-out), height .42s var(--ease-out), opacity .3s;
  pointer-events: none;
}
.side-link.active { border-left-color: transparent; }

/* pager arrow nudge */
.pager a { transition: transform .32s var(--ease-out), opacity .3s; }
.pager-prev:hover { transform: translateX(-5px); }
.pager-next:hover { transform: translateX(5px); }

/* tabs spring */
.qtab { transition: background .3s var(--ease-out), color .25s, transform .35s var(--ease-spring); }
.qtab:active { transform: scale(.96); }

/* item hover brighten */
.handle h3, .domain-k, .pillar h4, .maker-name { transition: color .3s var(--ease-out); }
.handle:hover h3, .domain:hover .domain-k, .pillar:hover h4 { color: #fff; }
.evi-card { transition: transform .4s var(--ease-out), border-color .4s; }
.evi-card:hover { transform: translateY(-4px); border-color: oklch(0.8 0.02 60 / 0.28); }

/* magnetic buttons get no transition on transform (JS-driven), keep others */
.btn.magnetic { transition: background .3s, box-shadow .3s, color .25s; }

/* WAAPI handles reveals; ensure base state is always visible (no stuck-hidden) */
[data-anim] { opacity: 1; }
.reveal-hidden { opacity: 0; }

/* ---- ambient field (the living background the whole site sits in) ---- */
.bg-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* sidebar footer — anchors the empty bottom of the rail */
.sidebar { display: flex; flex-direction: column; }
.side-foot { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.side-foot-mark { font-family: "Schibsted Grotesk", sans-serif; font-weight: 700; letter-spacing: 0.18em; font-size: 13px; color: var(--text); }
.side-foot-tag { font-size: 12px; color: var(--faint); line-height: 1.6; max-width: 22ch; }
.side-foot-cta { font-size: 12.5px; color: var(--accent-soft); font-weight: 600; transition: color .2s; }
.side-foot-cta:hover { color: var(--text); }
.side-indicator { display: none; }

/* ============================================================
   INDEPENDENT SCROLL PANES — sidebar & content scroll separately
   ============================================================ */
html { height: 100%; }
body { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.topbar { position: relative; flex: none; }
.docs { flex: 1 1 auto; min-height: 0; width: 100%; overflow: hidden; }
.sidebar {
  position: static; top: auto; max-height: none; align-self: stretch;
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: 40px;
}
.content { height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-right: clamp(14px, 1.8vw, 36px); }
.pager a { max-width: 46%; }
.pager-name { overflow-wrap: anywhere; }
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.content .footer { margin-top: 60px; padding-left: 0; padding-right: 0; }
@media (max-width: 1023px) {
  body { display: block; height: auto; overflow: visible; }
  .docs { display: block; overflow: visible; }
  .sidebar { display: none; }
  .content { height: auto; overflow: visible; }
  .mobilenav { position: sticky; top: 0; }
}

/* ---- micro-interactions: per-element hover responses ---- */
.scenario { transition: transform .4s var(--ease-out), color .3s; }
.scenario:hover { transform: translateX(8px); }
.scenario:hover b { color: #fff; }
.answer { transition: transform .4s var(--ease-out), background .35s; }
.answer:hover { transform: translateY(-3px); background: oklch(1 0 0 / 0.06); }
.domain, .handle, .pillar, .maker { transition: transform .4s var(--ease-out), color .3s; }
.domain:hover, .handle:hover, .pillar:hover, .maker:hover { transform: translateY(-3px); }
.check { transition: transform .4s var(--ease-out), color .3s; }
.check:hover { transform: translateX(7px); color: #fff; }
.check:hover em { color: var(--accent-soft); }
.aud { transition: transform .4s var(--ease-out), color .3s; }
.aud:hover { transform: translateX(7px); }
.aud:hover b { color: #fff; }
.practice-item { transition: transform .4s var(--ease-out), color .3s; }
.practice-item:hover { transform: translateX(7px); }
.verdict { transition: transform .35s var(--ease-out), color .3s; }
.verdict:hover { transform: translateX(6px); color: #fff; }
.flow-step { transition: transform .4s var(--ease-out); }
.flow-step:hover { transform: translateX(6px); }
.mem-chip { transition: transform .45s var(--ease-spring), background .35s, color .3s; }
.mem-chip:hover { transform: translateY(-3px); }
.sup-node { transition: transform .45s var(--ease-spring), border-color .3s, color .3s; }
.sup-node:hover { transform: translateY(-3px); color: #fff; }
.side-link { transition: color .25s, border-left-color .25s, padding-left .3s var(--ease-out), background .25s, box-shadow .25s; }
.side-link:hover { padding-left: 21px; }
.side-link[href="#how-eureka-thinks"] {
  position: relative;
  color: var(--orange);
}
.side-link[href="#how-eureka-thinks"]:hover {
  color: var(--orange);
}
.waitlist-input { transition: border-color .3s, background .3s, box-shadow .35s var(--ease-out); }
.waitlist-input:focus { box-shadow: 0 0 0 3px oklch(1 0 0 / 0.05); }
.think-demo-main { transition: border-color .35s, background .35s; }
.think-demo-main:hover { border-color: oklch(0.82 0.02 60 / 0.26); background: oklch(1 0 0 / 0.04); }

/* ============================================================
   SLIDESHOW — animated cards, one idea at a time
   ============================================================ */
.slideshow { position: relative; }
.slides { position: relative; min-height: 300px; }
.slide {
  display: none;
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(30px, 4vw, 52px);
  background: oklch(1 0 0 / 0.025); flex-direction: column; justify-content: center;
  min-height: 230px;
}
.slide.active { display: flex; }
.slide-tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 20px; }
.slide-text { font-family: "Newsreader", serif; font-size: clamp(21px, 2.7vw, 31px); font-weight: 400; line-height: 1.42; color: var(--text); text-wrap: pretty; }

.ss-progress { height: 2px; background: oklch(1 0 0 / 0.08); border-radius: 2px; margin: 26px 0 0; overflow: hidden; }
.ss-progress-fill { height: 100%; width: 0; background: oklch(0.92 0 0 / 0.6); border-radius: 2px; }

.ss-controls { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.ss-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
  flex: none;
  transition: border-color .25s, background .25s, transform .3s var(--ease-spring);
}
.ss-arrow svg,
.ss-play svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ss-arrow:hover { border-color: var(--accent-soft); background: oklch(1 0 0 / 0.05); }
.ss-arrow:active { transform: scale(.9); }
.ss-play {
  height: 42px;
  width: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.025);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
  display: grid;
  place-items: center;
  transition: border-color .25s, background .25s, transform .3s var(--ease-spring);
}
.ss-play:hover {
  border-color: var(--accent-soft);
  background: oklch(1 0 0 / 0.05);
}
.ss-play:active {
  transform: scale(.96);
}
.ss-play-play {
  display: none;
}
.ss-play-pause,
.ss-play-play {
  place-items: center;
}
.ss-play-pause {
  display: grid;
}
.slideshow.is-paused .ss-play-pause {
  display: none;
}
.slideshow.is-paused .ss-play-play {
  display: grid;
}
.ss-dots { display: flex; gap: 8px; align-items: center; flex: 1; }
.ss-dot {
  height: 6px; width: 6px; border-radius: 100px; border: none; padding: 0; cursor: pointer;
  background: oklch(1 0 0 / 0.2); transition: width .45s var(--ease-out), background .3s;
}
.ss-dot:hover { background: oklch(1 0 0 / 0.4); }
.ss-dot.active { width: 30px; background: var(--accent-soft); }
.ss-counter { font-size: 13px; color: var(--faint); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; flex: none; }

/* ============================================================
   COVERFLOW — 3D card deck (loops endlessly, click to bring forward)
   ============================================================ */
.coverflow-wrap { margin-top: 6px; }
.coverflow { position: relative; height: clamp(360px, 46vh, 440px); perspective: 1600px; }
.cf-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-card {
  position: absolute; top: 50%; left: 50%; width: min(440px, 76vw);
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 38px);
  background: #131313; cursor: pointer; backface-visibility: hidden;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out), border-color .4s, background .4s;
  will-change: transform, opacity;
  box-shadow: 0 30px 80px -30px #000;
}
.cf-card.active { background: #1c1c1c; border-color: oklch(0.82 0.02 60 / 0.34); cursor: default; }
.cf-num { font-size: 11px; letter-spacing: 0.2em; color: var(--faint); display: block; margin-bottom: 14px; }
.cf-title { font-family: "Schibsted Grotesk", sans-serif; font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.25; }
.cf-desc { font-size: 15px; color: var(--muted); line-height: 1.6; }
.cf-card:not(.active) .cf-desc { color: var(--faint); }

/* mobile refinements (touch targets, fit) */
@media (max-width: 768px) {
  .ss-controls { gap: 10px; }
  .ss-arrow { width: 46px; height: 46px; }
  .ss-play { width: 46px; height: 46px; padding: 0; }
  .ss-dots { gap: 6px; }
  .ss-dot { height: 8px; }
  .qtab { padding: 12px 18px; }
  .pager-name { font-size: 17px; }
  .hero { padding-top: 104px; }
  .evi-stats { gap: 20px; }
  .mobilenav { gap: 10px; }
}

/* custom mobile "jump to" dropdown */
.mjump { position: relative; flex: 1; }
.mjump-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line); background: oklch(1 0 0 / 0.04); color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: border-color .2s; }
.mjump-btn:hover { border-color: var(--accent-soft); }
.mjump-chev { width: 18px; height: 18px; color: var(--faint); transition: transform .3s var(--ease-out); flex: none; }
.mjump.open .mjump-chev { transform: rotate(180deg); }
.mjump-panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; max-height: 64vh; overflow-y: auto; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: oklch(0.12 0.012 60 / 0.97); backdrop-filter: blur(22px); box-shadow: 0 30px 70px -24px #000; animation: mjpop .22s var(--ease-out); }
@keyframes mjpop { from { opacity: 0; transform: translateY(-6px); } }
.mjump-item { display: block; width: 100%; text-align: left; padding: 12px 14px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-family: inherit; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.mjump-item:hover { background: oklch(1 0 0 / 0.05); color: var(--text); }
.mjump-item.active { color: var(--accent-soft); background: oklch(0.78 0.06 58 / 0.12); font-weight: 600; }
.mjump-item-featured {
  position: relative;
  color: var(--orange);
}
.mjump-item-featured:hover,
.mjump-item-featured.active {
  color: var(--orange);
  background: transparent;
}

@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .hero-app .echo-chat .echo-thought-mark .brandmark-svg > circle {
    display: none;
  }
  .echo-thread {
    --echo-thread-bottom-gutter: 76px;
  }
  .think-demo-thread {
    --echo-thread-bottom-gutter: 24px;
  }
  .brand-word { font-size: 15px; letter-spacing: 0; padding-left: 0; }
  .brand-engine { display: none; }
  .footer-brand .brand-word { font-size: clamp(17px, 5.4vw, 22px); }
  .footer-brand .brand-engine { display: inline; }
  .topbar { gap: 10px; padding: 12px 16px; }
  .topbar .btn-solid, .topbar .btn-ghost { font-size: 12.5px; padding: 9px 14px; }
  .mobilenav { padding: 10px 16px; }
  .qtabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 5px;
    border-radius: 22px;
    margin-bottom: 34px;
  }
  .qtab {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 17px;
    font-size: 14px;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .feature-grid, .founder-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .waitlist-form { flex-direction: column; }
  .waitlist-card { padding: 40px 24px; }
  .modes-panel, .uses-detail { padding: 26px; }
  .env-control { right: 14px; bottom: 14px; }
  .hero-meta { font-size: 12px; }
}
