/* lowercase marketing site. Every colour comes from these tokens. */
:root {
  --bg: #f3f4ef;
  --bg-soft: #eaece5;
  --card: #ffffff;
  --ink: #111318;
  --ink-2: #2a2e37;
  --muted: #555b69;
  --faint: #737a8a;
  --line: #e1e3dc;
  --line-strong: #cfd2ca;

  --green: #22c55e;
  --green-deep: #15803d;
  --green-soft: #dcfce7;
  --blue: #1d4ed8;
  --blue-bright: #3b82f6;
  --blue-soft: #dbeafe;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --node-grey: #e6e8e3;
  --dark: #0b0c10;
  --dark-2: #14161d;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(17 19 24 / 0.04), 0 8px 32px -12px rgb(17 19 24 / 0.12);
  --shadow-lg: 0 2px 4px rgb(17 19 24 / 0.04), 0 30px 60px -24px rgb(17 19 24 / 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); letter-spacing: -0.035em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); text-align: center; }
.section-sub { max-width: 620px; margin: 14px auto 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin-top: 18px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 700 0.95rem/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #052e14; box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 4px 14px -4px rgb(34 197 94 / 0.55); }
.btn-primary:hover { background: #2fd46b; box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 8px 22px -6px rgb(34 197 94 / 0.6); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 1.02rem; }
.text-link { font-weight: 700; color: var(--green-deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(243 244 239 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, box-shadow 200ms;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; }
.logo-word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.93rem; color: var(--ink-2);
  transition: background-color 160ms;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { background: var(--card); box-shadow: var(--shadow); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-login { font-weight: 600; font-size: 0.93rem; text-decoration: none; color: var(--ink-2); }
.link-login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-content: center; gap: 6px; background: var(--card); box-shadow: var(--shadow);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease); }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px));
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; gap: 2px;
}
.menu-panel a:not(.btn) { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.menu-panel a:not(.btn):hover { background: var(--bg); }
.menu-panel .btn { margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-white { background: var(--card); }
.divider { border-top: 1px solid var(--line); }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgb(17 19 24 / 0.04);
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 76px) 0 clamp(56px, 8vw, 96px); text-align: center; }
.pills {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); margin-bottom: 28px;
}
.pill {
  border: 0; background: transparent; font: 600 0.86rem/1 var(--font); color: var(--muted);
  padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 200ms, color 200ms;
}
.pill[aria-selected="true"] { background: var(--ink); color: #fff; }
.pill:not([aria-selected="true"]):hover { color: var(--ink); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.hero h1 { max-width: 820px; margin: 0 auto; }
.hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 14px; font-size: 0.86rem; color: var(--faint); }

.hero-card {
  margin-top: clamp(40px, 6vw, 64px); text-align: left;
  display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual {
  position: relative; min-height: 380px; padding: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgb(34 197 94 / 0.10), transparent 45%),
    radial-gradient(circle at 85% 90%, rgb(59 130 246 / 0.10), transparent 45%),
    linear-gradient(180deg, #f7f8f4, #eef0ea);
  border-right: 1px solid var(--line);
}
.hero-copy { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h2 { font-size: 1.45rem; }
.hero-copy > p { color: var(--muted); margin-top: 10px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 9px 0; border-top: 1px solid var(--line); }
.feature-list li:first-child { border-top: 0; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; }
.check svg { width: 12px; height: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 3px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); white-space: nowrap;
}
.badge-green { background: var(--green-soft); color: var(--green-deep); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }

/* panels that switch with tabs */
[role="tabpanel"][hidden] { display: none; }

/* ---------- issue tree mock ---------- */
.tree { position: relative; width: 100%; height: 100%; min-height: 320px; }
.tree svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tree .links path { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.tree .links path.lit { stroke: var(--blue-bright); }
.node {
  position: absolute; transform: translate(-50%, -50%);
  padding: 9px 14px; border-radius: 12px; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  background: var(--node-grey); color: var(--faint); border: 1px solid var(--line-strong);
}
.node.blue { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 18px -6px rgb(29 78 216 / 0.6); }
.node.root { background: var(--ink); color: #fff; border-color: var(--ink); }
.node .lock { display: inline-block; margin-right: 6px; opacity: 0.6; }
.float-card {
  position: absolute; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; font-size: 0.8rem; max-width: 220px; border: 1px solid var(--line);
}
.float-card strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 4px; }
.float-card.fact strong { color: var(--green-deep); }
.float-card.hint strong { color: var(--amber); }
.float-card .bar { height: 6px; border-radius: 6px; background: var(--bg-soft); margin-top: 6px; overflow: hidden; }
.float-card .bar i { display: block; height: 100%; background: var(--green); border-radius: 6px; }

/* gentle float for hero mock cards */
.js .bob { animation: bob 6s ease-in-out infinite; }
.js .bob.d2 { animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- demo (session mock) ---------- */
.demo-shell {
  margin-top: 44px; padding: clamp(12px, 2vw, 18px); border-radius: 30px;
  background: linear-gradient(180deg, #e2f5e7, #e7ece4); box-shadow: var(--shadow);
}
.browser { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-bar .addr { margin-left: 12px; flex: 1; max-width: 360px; height: 26px; border-radius: 8px; background: var(--bg); font-size: 0.75rem; color: var(--faint); display: flex; align-items: center; padding: 0 10px; }
.progress { height: 4px; background: var(--bg-soft); }
.progress i { display: block; height: 100%; width: 0; background: var(--green); }
.session { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 420px; }
.chat { padding: 22px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.8rem; color: var(--faint); font-weight: 600; margin-bottom: 4px; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.45; }
.msg.them { background: var(--bg); border-bottom-left-radius: 6px; }
.msg.you { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg.fact { background: var(--green-soft); color: #0b3d1f; border: 1px dashed rgb(21 128 61 / 0.35); }
.msg.fact b { display: block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.msg .who { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.6; margin-bottom: 2px; }
.session-tree { position: relative; padding: 16px; background: #fafbf8; }
.session-tree .tree { min-height: 380px; }
.side-label { position: absolute; top: 16px; left: 18px; font-size: 0.75rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; z-index: 1; }
.rubric { display: grid; gap: 10px; padding: 14px; background: var(--card); border-radius: 14px; border: 1px solid var(--line); font-size: 0.8rem; }
.rubric-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.stars { display: flex; gap: 3px; }
.stars i { width: 14px; height: 14px; border-radius: 4px; background: var(--bg-soft); }
.stars i.on { background: var(--green); }
.interviewer-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip { font-size: 0.75rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.tool-chip.on { background: var(--green-soft); border-color: transparent; color: var(--green-deep); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.demo-foot h3 { font-size: 1.05rem; }
.demo-foot p { color: var(--muted); font-size: 0.95rem; max-width: 520px; margin-top: 4px; }
.replay { border: 1px solid var(--line-strong); background: var(--card); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: transform 300ms var(--ease); }
.replay:hover { transform: rotate(-60deg); }
.replay svg { width: 18px; height: 18px; }

/* demo sequencing: items appear when .play is on the panel */
.js .seq { opacity: 0; transform: translateY(8px); }
.js .play .seq { animation: seq-in 500ms var(--ease) forwards; animation-delay: calc(var(--i) * 900ms); }
@keyframes seq-in { to { opacity: 1; transform: none; } }
.js .play .node.unlock { animation: unlock 600ms var(--ease) forwards; animation-delay: calc(var(--i) * 900ms); }
@keyframes unlock {
  0% { background: var(--node-grey); color: var(--faint); border-color: var(--line-strong); }
  60% { transform: translate(-50%, -50%) scale(1.08); }
  100% { background: var(--blue); color: #fff; border-color: var(--blue); transform: translate(-50%, -50%); box-shadow: 0 6px 18px -6px rgb(29 78 216 / 0.6); }
}
.js .play .links path.unlock { animation: link-lit 600ms forwards; animation-delay: calc(var(--i) * 900ms); }
@keyframes link-lit { to { stroke: var(--blue-bright); } }
.js .play .progress i { animation: grow 7s linear forwards; }
@keyframes grow { to { width: 100%; } }
html:not(.js) .node.unlock { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- tabs row ---------- */
.tabs-row { display: flex; justify-content: center; margin-top: 30px; }
.tabs-row .pills { margin: 0; flex-wrap: wrap; justify-content: center; border-radius: 22px; }

/* ---------- levels ---------- */
.levels-panel { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.levels-copy { padding: clamp(24px, 4vw, 40px); }
.levels-copy h3 { font-size: 1.25rem; }
.levels-copy > p { color: var(--muted); margin-top: 8px; }
.topic-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 22px; }
.topic-cols h4 { grid-column: 1 / -1; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-top: 14px; }
.topic-cols h4:first-child { margin-top: 0; }
.topic-cols span { font-size: 0.92rem; color: var(--ink-2); }
.levels-visual { background: linear-gradient(180deg, #f7f8f4, #eef0ea); border-left: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border-radius: 14px; border: 1px solid var(--line); font-weight: 700; font-size: 0.9rem; }
.rung .num { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-size: 0.82rem; }
.rung.done .num { background: var(--green); color: #052e14; }
.rung.now { border-color: var(--blue-bright); box-shadow: 0 0 0 3px var(--blue-soft); }
.rung.now .num { background: var(--blue); color: #fff; }
.rung.locked { color: var(--faint); }
.meter { height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: var(--green); }
.gate-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- research cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.r-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.r-visual { height: 190px; background: linear-gradient(180deg, #f7f8f4, #eef0ea); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 20px; }
.r-body { padding: 22px 24px 26px; }
.r-body h3 { font-size: 1.08rem; }
.r-body p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.mini { width: 100%; max-width: 240px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; font-size: 0.78rem; border: 1px solid var(--line); }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); gap: 8px; }
.mini-row:first-child { border-top: 0; }
.mini-title { font-weight: 700; margin-bottom: 6px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.spark i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--green); opacity: 0.85; }
.spark i.r { background: var(--blue-bright); }

/* ---------- tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.track { padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.track h3 { font-size: 1.4rem; margin-top: 14px; }
.track > p { color: var(--muted); margin-top: 10px; }
.track ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.track li { display: flex; gap: 12px; align-items: flex-start; }
.track li .check { margin-top: 2px; }
.track-dark { background: var(--dark); color: #f4f5f7; border-color: transparent; }
.track-dark > p, .track-dark li { color: #c3c8d4; }
.track-dark .check { background: rgb(34 197 94 / 0.18); color: var(--green); }
.track-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.track-dark .track-icon { background: rgb(59 130 246 / 0.18); color: #93b4ff; }
.track-icon svg { width: 24px; height: 24px; }
.track-plans { margin-top: 24px; font-size: 0.85rem; color: var(--faint); }
.track-dark .track-plans { color: #8a90a2; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.proof { padding: 26px; }
.proof h3 { font-size: 1.02rem; }
.proof p { color: var(--muted); margin-top: 8px; font-size: 0.94rem; }
.proof .big { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 6px; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-size: 0.75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 100%, rgb(34 197 94 / 0.28), transparent),
    radial-gradient(ellipse 45% 55% at 0% 0%, rgb(29 78 216 / 0.30), transparent),
    var(--dark);
  border-bottom: 1px solid #1a1d26;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: #c3c8d4; margin: 16px auto 32px; max-width: 520px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #c3c8d4; padding-top: 72px; overflow: hidden; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark rect { fill: #20242f; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 280px; font-size: 0.92rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a90a2; margin-bottom: 4px; font-weight: 700; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-base { margin-top: 56px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #262936; font-size: 0.85rem; color: #8a90a2; }
.wordmark {
  font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; text-align: center;
  font-size: clamp(4.5rem, 21vw, 17rem); color: transparent;
  -webkit-text-stroke: 1px #2b2f3c; margin-bottom: -0.12em; user-select: none;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- methodology ---------- */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; counter-reset: step; }
.loop-step { padding: 22px; position: relative; }
.loop-step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }
.loop-step h3 { font-size: 1.02rem; margin-top: 14px; }
.loop-step p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.principles { display: grid; gap: 20px; margin-top: 44px; }
.principle { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 28px; padding: clamp(24px, 3.5vw, 36px); }
.principle .idx { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--green-deep); }
.principle h3 { font-size: 1.3rem; }
.principle .research p, .principle .applied p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }
.principle .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.principle .applied { background: var(--bg); border-radius: var(--radius-sm); padding: 20px; }
.principle .applied .label { color: var(--green-deep); }
.principle .reading { margin-top: 12px; font-size: 0.82rem; color: var(--faint); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 40px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-soft); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; }
.compare td.us { background: rgb(34 197 94 / 0.06); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.sources { columns: 2; column-gap: 40px; margin-top: 28px; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
.sources li { margin-bottom: 8px; break-inside: avoid; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--dark); color: #f4f5f7; box-shadow: 0 30px 60px -24px rgb(11 12 16 / 0.5); }
.plan .ribbon { position: absolute; top: 18px; right: 18px; }
.plan h2 { font-size: 1.25rem; }
.plan .duration { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.plan.featured .duration, .plan.featured .plan-desc, .plan.featured li { color: #c3c8d4; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price b { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--faint); font-size: 0.9rem; }
.per { font-size: 0.85rem; color: var(--faint); margin-top: 6px; }
.plan-desc { color: var(--muted); margin-top: 16px; font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; font-size: 0.94rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .check { width: 20px; height: 20px; margin-top: 2px; }
.plan li.no { color: var(--faint); }
.plan li.no .check { background: var(--bg-soft); color: var(--faint); }
.plan.featured .check { background: rgb(34 197 94 / 0.18); color: var(--green); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured .btn-ghost { background: transparent; color: #fff; border-color: #3a3f4f; }
.plan-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.compare .yes { color: var(--green-deep); font-weight: 700; }
.compare .no-cell { color: var(--faint); }
.finish { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); }
.finish h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.finish p { color: var(--muted); margin-top: 14px; }
.timeline { display: grid; gap: 12px; }
.tl-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; font-size: 0.9rem; }
.tl-row b { font-size: 0.85rem; }
.tl-bar { height: 34px; border-radius: 10px; background: var(--bg); position: relative; overflow: hidden; }
.tl-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 10px; display: flex; align-items: center; padding-left: 12px; font-style: normal; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.tl-bar i.s1 { background: var(--green-soft); color: var(--green-deep); }
.tl-bar i.s2 { background: var(--blue-soft); color: var(--blue); }
.tl-bar i.s3 { background: var(--ink); color: #fff; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card h2 { font-size: 1.2rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; }
.post-card .meta { margin-top: auto; padding-top: 8px; font-size: 0.83rem; color: var(--faint); }
.tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-deep); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
.post-head { padding-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 14px; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.post-head .meta { color: var(--faint); font-size: 0.9rem; }
.back { font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.prose { padding-top: 32px; padding-bottom: 24px; font-size: 1.07rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); color: var(--muted); font-style: italic; }
.prose .callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 0.98rem; }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; overflow-x: auto; font-size: 0.88rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.post-cta { padding-bottom: clamp(56px, 8vw, 96px); }
.post-cta .card { padding: 28px; display: grid; gap: 10px; justify-items: start; }
.post-cta h2 { font-size: 1.3rem; }
.post-cta p { color: var(--muted); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-card, .levels-panel { grid-template-columns: 1fr; }
  .hero-visual { border-right: 0; border-bottom: 1px solid var(--line); }
  .levels-visual { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3, .proof-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .loop { grid-template-columns: 1fr 1fr; }
  .principle { grid-template-columns: 1fr; gap: 14px; }
  .finish { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav, .header-actions { display: none; }
  .menu { display: block; }
  .session { grid-template-columns: 1fr; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .tracks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .proof-grid, .post-grid, .loop, .grid-2 { grid-template-columns: 1fr; }
  .topic-cols { grid-template-columns: 1fr; }
  .sources { columns: 1; }
  .hero-visual { min-height: 360px; padding: 16px; }
  .hero-visual .tree { min-height: 328px; }
  .hero-visual .float-card.d2 { display: none; }
  .hero-visual .float-card { left: 0 !important; right: 0; bottom: 0 !important; max-width: none; }
  .node { font-size: 0.72rem; padding: 7px 10px; }
  .float-card { max-width: 170px; font-size: 0.72rem; }
  .hero-ctas .btn { width: 100%; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
  .demo-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .seq { opacity: 1; transform: none; }
  .js .bob { animation: none; }
}
