/* ============== Reattend Landing — Design Tokens ============== */
:root {
  --bg: oklch(0.985 0.005 80);
  --bg-2: oklch(0.97 0.008 80);
  --bg-paper: oklch(0.992 0.004 80);
  --ink: oklch(0.18 0.012 270);
  --ink-2: oklch(0.32 0.012 270);
  --ink-3: oklch(0.52 0.012 270);
  --ink-4: oklch(0.72 0.008 270);
  --rule: oklch(0.88 0.008 270);
  --rule-2: oklch(0.93 0.006 270);

  --accent: oklch(0.45 0.18 280);
  --accent-2: oklch(0.55 0.20 285);
  --accent-soft: oklch(0.92 0.04 285);
  --amber: oklch(0.82 0.13 75);
  --amber-deep: oklch(0.68 0.15 60);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, oklch(0.4 0.01 270 / 0.03) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 80%, oklch(0.4 0.01 270 / 0.025) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 60%, oklch(0.4 0.01 270 / 0.02) 50%, transparent 51%);
  background-size: 220px 220px, 180px 180px, 140px 140px;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* ============ Type ============ */
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.label .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 0 3px oklch(0.45 0.18 280 / 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px oklch(0.45 0.18 280 / 0.15); }
  50%     { box-shadow: 0 0 0 6px oklch(0.45 0.18 280 / 0.05); }
}

p { color: var(--ink-2); margin: 0; }
a { color: inherit; text-decoration: none; }

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  z-index: 2;
}
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ============ Top Bar ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: oklch(0.985 0.005 80 / 0.78);
  border-bottom: 1px solid var(--rule-2);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-logo {
  height: 24px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 26px; height: 26px;
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.nav-item:hover { background: var(--bg-2); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 oklch(0.18 0.012 270 / 0.08), 0 4px 14px oklch(0.18 0.012 270 / 0.18);
}
.btn-primary:hover { background: oklch(0.12 0.01 270); box-shadow: 0 1px 0 oklch(0.18 0.012 270 / 0.1), 0 8px 24px oklch(0.18 0.012 270 / 0.22); }
.btn-secondary {
  background: var(--bg-paper);
  border-color: var(--rule);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink-3); background: var(--bg); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }

/* Outlined button — white background, crisp black border, dark text.
   The Sign in pair to the filled .btn-primary "Try for free" CTA. */
.btn-outline, .btn-amber-edge {
  background: var(--bg-paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  transition: background .18s, color .18s, transform .15s, box-shadow .2s;
}
.btn-outline:hover, .btn-amber-edge:hover {
  background: var(--ink);
  color: var(--bg-paper);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px oklch(0.18 0.012 270 / 0.4);
}
.btn-outline:active, .btn-amber-edge:active {
  transform: translateY(0);
}

/* fill-in animation for buttons */
.btn-primary, .btn-secondary, .btn-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before, .btn-secondary::before, .btn-dark::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-primary::before { background: var(--accent); }
.btn-secondary::before { background: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark::before { background: var(--accent); }

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-dark:hover::before {
  width: 320px; height: 320px;
}
.btn-secondary:hover { color: var(--bg); border-color: var(--ink); }
.btn-dark:hover { color: var(--bg); }
.btn-primary:hover { color: var(--bg); }

/* shine sweep on buttons */
.btn-primary::after, .btn-dark::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.18), transparent);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.btn-primary:hover::after, .btn-dark:hover::after {
  left: 130%;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad) clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 24px 0 64px;
  padding-bottom: 16px;
}
.hero h1 .em {
  display: inline-block;
  padding-bottom: 0.12em;
}
.hero h1 .em {
  font-style: italic;
  color: var(--accent);
}
.hero p.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .check {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: oklch(0.78 0.13 145); position: relative;
}
.hero-meta .check::after {
  content: ""; position: absolute; left: 4px; top: 6px; width: 4px; height: 2px;
  border-left: 1.5px solid white; border-bottom: 1.5px solid white; transform: rotate(-45deg);
}

/* ============ Brain stage ============ */
.brain-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-left: auto;
}
.brain-stage canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.brain-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 52% 52%, oklch(0.92 0.04 285 / 0.5), transparent 55%),
    radial-gradient(circle at 70% 30%, oklch(0.95 0.05 75 / 0.25), transparent 50%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}
.brain-tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: var(--bg-paper);
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.5s, transform 0.5s;
}
.brain-tick.in { opacity: 1; transform: translateY(0); }
.brain-tick.tl { top: 6%; left: 4%; }
.brain-tick.tr { top: 6%; right: 4%; color: var(--accent); border-color: oklch(0.45 0.18 280 / 0.3); }
.brain-tick.bl { bottom: 6%; left: 4%; }
.brain-tick.br { bottom: 6%; right: 4%; }

.brain-callout {
  position: absolute;
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 10px 30px oklch(0.18 0.012 270 / 0.08);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 220px;
  z-index: 3;
}
.brain-callout.in { opacity: 1; transform: translateY(0) scale(1); }
.brain-callout .ic {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 6px; flex-shrink: 0;
  box-shadow: 0 0 0 3px oklch(0.45 0.18 280 / 0.15);
}
.brain-callout.amber .ic { background: var(--amber-deep); box-shadow: 0 0 0 3px oklch(0.68 0.15 60 / 0.15); }
.brain-callout.green .ic { background: oklch(0.7 0.15 145); box-shadow: 0 0 0 3px oklch(0.7 0.15 145 / 0.15); }
.brain-callout strong { display:block; font-size: 12px; color: var(--ink); margin-bottom: 1px; font-weight: 500; }
.brain-callout span.q { color: var(--ink-3); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.brain-callout .line {
  position: absolute;
  background: var(--rule);
  height: 1px;
  z-index: -1;
}
.bc-1 { top: 18%; left: -4%; }
.bc-2 { top: 44%; right: -4%; }
.bc-3 { bottom: 18%; left: 6%; }

/* ============ Hero Visual (knowledge graph stage) ============ */
.graph-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.graph-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, oklch(0.92 0.04 285 / 0.35), transparent 60%),
    radial-gradient(circle at 80% 30%, oklch(0.95 0.05 75 / 0.3), transparent 50%);
  filter: blur(20px);
  pointer-events: none;
}
.graph-frame {
  position: absolute; inset: 0;
  border: 1px solid var(--rule-2);
  border-radius: 24px;
  pointer-events: none;
}
.graph-tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: var(--bg-paper);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.graph-tick.tl { top: 14px; left: 14px; }
.graph-tick.tr { top: 14px; right: 14px; color: var(--accent); border-color: oklch(0.45 0.18 280 / 0.3); }
.graph-tick.bl { bottom: 14px; left: 14px; }
.graph-tick.br { bottom: 14px; right: 14px; }

/* floating callouts on graph */
.callout {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 28px oklch(0.18 0.012 270 / 0.06);
  opacity: 0;
  animation: floatIn 0.8s ease-out forwards;
}
.callout .ic {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.callout.amber .ic { background: var(--amber-deep); }
.callout.green .ic { background: oklch(0.7 0.15 145); }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.callout-1 { top: 18%; left: -8%; animation-delay: 0.6s; }
.callout-2 { top: 38%; right: -6%; animation-delay: 1.2s; }
.callout-3 { bottom: 14%; left: 6%; animation-delay: 1.8s; }

/* ============ Section header ============ */
.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
@media (max-width: 720px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.sec-head h2 .em { font-style: italic; color: var(--accent); }
.sec-head .label-col {
  position: sticky;
  top: 100px;
}

/* ============ Logo Marquee ============ */
.marquee-section {
  padding: 60px var(--pad);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  background: var(--bg-paper);
}
.marquee-head {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
  animation: scroll 40s linear infinite;
  padding-right: 80px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.logo-item {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.logo-item:hover { opacity: 1; color: var(--ink); }
.logo-item .glyph {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--ink-3);
  opacity: 0.5;
}
.logo-item.alt .glyph { border-radius: 50%; }
.logo-item.alt2 .glyph { transform: rotate(45deg); }

/* ============ Thesis ============ */
.thesis {
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-2);
}
.thesis-body {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 24ch;
  color: var(--ink);
}
.thesis-body .quiet { color: var(--ink-3); }
.thesis-body .em { font-style: italic; color: var(--accent); }
.thesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .thesis-grid { grid-template-columns: 1fr; gap: 40px; } }

.thesis-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.stat {
  background: var(--bg-paper);
  padding: 28px 24px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-num .em { color: var(--accent); font-style: italic; }
.stat-lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.stat-desc { font-size: 13px; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }

/* ============ The Loop (cards) ============ */
.loop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .loop-cards { grid-template-columns: 1fr; } }

.lcard {
  position: relative;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px 28px 32px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  min-height: 460px;
}
.lcard:hover {
  transform: translateY(-4px);
  border-color: var(--ink-4);
  box-shadow: 0 24px 60px -20px oklch(0.18 0.012 270 / 0.18);
}
.lcard-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.lcard-num .pip {
  display: flex; gap: 4px;
}
.lcard-num .pip i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--rule); display: block;
}
.lcard-num .pip i.on { background: var(--accent); }

.lcard-visual {
  height: 200px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.lcard h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.lcard p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* Capture card visual: stacked papers */
.viz-capture { display: flex; align-items: center; justify-content: center; }
.viz-capture .stack {
  position: relative; width: 160px; height: 130px;
}
.paper {
  position: absolute; inset: 0;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 6px 18px oklch(0.18 0.012 270 / 0.05);
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  transform-origin: bottom center;
  animation: paperFloat 4s ease-in-out infinite;
}
.paper i {
  display: block; height: 4px; border-radius: 2px; background: var(--rule);
}
.paper i:nth-child(1) { width: 80%; background: var(--ink-4); height: 5px; }
.paper i:nth-child(2) { width: 100%; }
.paper i:nth-child(3) { width: 70%; }
.paper i:nth-child(4) { width: 90%; }
.paper:nth-child(1) { transform: rotate(-8deg) translate(-18px, 6px); animation-delay: 0s; }
.paper:nth-child(2) { transform: rotate(2deg) translate(0, 0); animation-delay: 0.3s; z-index: 2; }
.paper:nth-child(3) { transform: rotate(7deg) translate(16px, -4px); animation-delay: 0.6s; }
@keyframes paperFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

/* Connect card visual: tiny graph */
.viz-connect { padding: 14px; }
.mini-graph { width: 100%; height: 100%; }

/* Recall card visual: search */
.viz-recall { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.search-box {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.search-box .caret {
  display: inline-block; width: 1.5px; height: 12px;
  background: var(--accent); animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.recall-result {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink);
  opacity: 0;
  animation: slideUp 0.5s ease-out forwards;
}
.recall-result .meta {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.recall-result.r1 { animation-delay: 0.2s; }
.recall-result.r2 { animation-delay: 0.5s; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ How It Works ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
}
@media (max-width: 900px) {
  .step { grid-template-columns: 60px 1fr; }
  .step-visual { grid-column: 1 / -1; margin-top: 16px; }
}
.step-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
  font-style: italic;
}
.step-body h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  max-width: 18ch;
}
.step-body p { font-size: 15.5px; max-width: 42ch; }

.step-visual {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

/* Step 1 visual: drag-drop sources */
.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.src-chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 10px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2);
}
.src-chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.src-chip.amber .dot { background: var(--amber-deep); }
.src-chip.green .dot { background: oklch(0.7 0.15 145); }
.src-chip.pink .dot  { background: oklch(0.7 0.15 0); }

.dropzone {
  margin-top: 14px;
  border: 1.5px dashed oklch(0.45 0.18 280 / 0.4);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  background: oklch(0.45 0.18 280 / 0.04);
  position: relative;
}
.dropzone .file {
  position: absolute;
  font-size: 10px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--ink-2);
  animation: dropAnim 4s ease-in-out infinite;
}
.dropzone .file.f1 { top: -12px; left: 12%; animation-delay: 0s; }
.dropzone .file.f2 { top: -12px; left: 50%; animation-delay: 1s; }
.dropzone .file.f3 { top: -12px; right: 12%; animation-delay: 2s; }
@keyframes dropAnim {
  0% { transform: translateY(-8px); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* Step 2 visual: classification */
.classify { display: flex; flex-direction: column; gap: 10px; }
.clf-row {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink-2);
}
.clf-row .arrow { color: var(--ink-4); }
.clf-row .tag {
  margin-left: auto;
  padding: 3px 8px;
  background: oklch(0.45 0.18 280 / 0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 10px;
}
.clf-row .tag.amber { background: oklch(0.78 0.13 75 / 0.18); color: var(--amber-deep); }
.clf-row .tag.green { background: oklch(0.78 0.13 145 / 0.18); color: oklch(0.5 0.13 145); }

/* Step 3 visual: time scrubber */
.scrubber {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.scrub-q {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  background: var(--bg-2);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.scrub-q .em { color: var(--accent); }
.timeline {
  position: relative;
  height: 40px;
  background:
    linear-gradient(to right, var(--rule) 1px, transparent 1px) 0 0/10% 100% repeat-x;
  border-bottom: 1px solid var(--rule);
}
.timeline-events {
  position: absolute; inset: 8px 0;
  display: flex;
}
.te {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); position: absolute; top: 4px;
  box-shadow: 0 0 0 4px oklch(0.45 0.18 280 / 0.1);
}
.te.amber { background: var(--amber-deep); box-shadow: 0 0 0 4px oklch(0.68 0.15 60 / 0.1); }
.scrub-handle {
  position: absolute; top: -6px; bottom: -6px; width: 2px;
  background: var(--ink); left: 60%;
  animation: scrubMove 6s ease-in-out infinite alternate;
}
.scrub-handle::before {
  content: ""; position: absolute; top: 0; left: -4px;
  width: 10px; height: 10px; background: var(--ink); border-radius: 50%;
}
@keyframes scrubMove {
  0% { left: 12%; }
  100% { left: 88%; }
}
.scrub-labels {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ Recall demo (the "live sandbox") ============ */
.demo-section { padding: clamp(80px, 10vw, 140px) var(--pad); }
.demo-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 480px;
}
@media (max-width: 900px) { .demo-card { grid-template-columns: 1fr; } }

.demo-side {
  background: var(--bg-2);
  padding: 24px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 900px) { .demo-side { border-right: 0; border-bottom: 1px solid var(--rule); } }
.demo-side h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0;
}
.demo-q {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 12px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.demo-q:hover { border-color: var(--ink-4); color: var(--ink); }
.demo-q.active { border-color: var(--accent); color: var(--accent); background: oklch(0.45 0.18 280 / 0.04); }

.demo-main {
  padding: 28px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.demo-prompt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.demo-prompt .you { color: var(--accent); }
.demo-answer h4 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.demo-answer p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.demo-cite {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.cite {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 5px 9px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 5px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.cite .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cite.amber .dot { background: var(--amber-deep); }

/* ============ Compliance / Security ============ */
.compliance {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.compliance .label { color: oklch(0.78 0.008 270); }
.compliance .label .dot { background: var(--amber); box-shadow: 0 0 0 3px oklch(0.82 0.13 75 / 0.2); }
.compliance h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
  max-width: 22ch;
}
.compliance h2 .em { font-style: italic; color: var(--amber); }
.compliance p { color: oklch(0.78 0.008 270); max-width: 56ch; }
.badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 40px;
}
@media (max-width: 720px) { .badges { grid-template-columns: repeat(2, 1fr); } }
.badge {
  border: 1px solid oklch(0.35 0.012 270);
  border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.badge .b-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
}
.badge .b-desc {
  font-family: var(--mono);
  font-size: 10.5px;
  color: oklch(0.65 0.008 270);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ Testimonial ============ */
.testimonial-section { padding: clamp(80px, 10vw, 140px) var(--pad); }
.tsm-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0 auto 40px;
  text-align: center;
}
.tsm-quote .em { color: var(--accent); font-style: italic; }
.tsm-attr {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ CTA ============ */
.cta-section {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, oklch(0.45 0.18 280 / 0.08), transparent 50%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-section h2 .em { color: var(--accent); font-style: italic; }
.cta-section p { max-width: 56ch; margin: 0 auto 36px; font-size: 17px; }
.cta-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--rule);
  padding: 48px var(--pad) 32px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin: 0 0 14px;
}
.footer-col a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-brand p { font-size: 13px; max-width: 32ch; margin-top: 12px; }
.footer-bottom {
  max-width: var(--maxw); margin: 32px auto 0;
  border-top: 1px solid var(--rule-2);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Counter (number ticker) ============ */
.counter { display: inline-block; }

/* ============ Integrations ============ */
.integrations {
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  overflow: hidden;
}
.tools-marquee {
  margin-top: 56px;
  display: flex; flex-direction: column; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.tools-row {
  display: flex; gap: 12px;
  flex-shrink: 0;
  width: max-content;
}
.tools-row.r1 { animation: scroll 50s linear infinite; }
.tools-row.r2 { animation: scrollRev 60s linear infinite; }
.tools-row.r3 { animation: scroll 70s linear infinite; }
@keyframes scrollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tool-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tool-chip:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px oklch(0.18 0.012 270 / 0.06);
}
.tool-chip .icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.tool-chip .icon.gmail { background: oklch(0.92 0.07 30); color: oklch(0.5 0.18 30); }
.tool-chip .icon.slack { background: oklch(0.92 0.06 320); color: oklch(0.5 0.18 320); }
.tool-chip .icon.notion { background: oklch(0.95 0.005 270); color: oklch(0.18 0.01 270); }
.tool-chip .icon.cal { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.linear { background: oklch(0.92 0.06 290); color: oklch(0.5 0.18 290); }
.tool-chip .icon.gh { background: oklch(0.95 0.005 270); color: oklch(0.18 0.01 270); }
.tool-chip .icon.fig { background: oklch(0.92 0.07 30); color: oklch(0.5 0.18 30); }
.tool-chip .icon.jira { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.zoom { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.drive { background: oklch(0.92 0.07 145); color: oklch(0.5 0.15 145); }
.tool-chip .icon.salesforce { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.hubspot { background: oklch(0.92 0.07 30); color: oklch(0.5 0.18 30); }
.tool-chip .icon.confluence { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.intercom { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.zendesk { background: oklch(0.92 0.07 145); color: oklch(0.5 0.15 145); }
.tool-chip .icon.dropbox { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.outlook { background: oklch(0.92 0.07 240); color: oklch(0.5 0.18 240); }
.tool-chip .icon.teams { background: oklch(0.92 0.07 290); color: oklch(0.5 0.18 290); }
.tool-chip .icon.asana { background: oklch(0.92 0.07 30); color: oklch(0.5 0.18 30); }
.tool-chip .icon.monday { background: oklch(0.92 0.07 30); color: oklch(0.5 0.18 30); }

.integ-stats {
  margin-top: 48px;
  display: flex; gap: 56px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.integ-stats strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-weight: 400;
  margin-right: 8px;
  letter-spacing: -0.015em;
  text-transform: none;
}

/* ============ Chrome extension ============ */
.chrome-section {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.chrome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .chrome-grid { grid-template-columns: 1fr; } }
.chrome-copy h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 36px;
  padding-bottom: 6px;
}
.chrome-copy h2 .em { color: var(--accent); font-style: italic; }
.chrome-copy p { font-size: 16px; max-width: 50ch; margin-bottom: 24px; }

.chrome-features {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 28px;
}
.chrome-feat {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-2);
}
.chrome-feat:last-child { border-bottom: 1px solid var(--rule-2); }
.chrome-feat .ic {
  width: 28px; height: 28px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
}
.chrome-feat strong { display: block; font-size: 14px; margin-bottom: 2px; font-weight: 500; }
.chrome-feat span { font-size: 13.5px; color: var(--ink-3); }

/* Browser mock */
.browser-mock {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px oklch(0.18 0.012 270 / 0.18);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.browser-bar .lights { display: flex; gap: 6px; }
.browser-bar .lights i {
  width: 11px; height: 11px; border-radius: 50%; display: block;
  background: oklch(0.85 0.04 30); border: 1px solid oklch(0.75 0.03 30);
}
.browser-bar .lights i:nth-child(2) { background: oklch(0.88 0.08 80); border-color: oklch(0.78 0.06 80); }
.browser-bar .lights i:nth-child(3) { background: oklch(0.85 0.08 145); border-color: oklch(0.75 0.06 145); }
.browser-url {
  flex: 1;
  padding: 5px 10px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.browser-ext {
  width: 26px; height: 26px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg-paper);
  position: relative;
  display: grid; place-items: center;
}
.browser-ext::after {
  content: ""; position: absolute; top: -2px; right: -2px;
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  border: 2px solid var(--bg-paper);
  animation: pulse 2s ease-in-out infinite;
}
.browser-ext svg { width: 14px; height: 14px; }
.browser-content {
  position: relative;
  padding: 24px;
  background: var(--bg-paper);
  min-height: 280px;
}
/* fake page content */
.fake-line { height: 8px; background: var(--rule-2); border-radius: 4px; margin-bottom: 8px; }
.fake-line.short { width: 40%; }
.fake-line.med { width: 70%; }
.fake-line.long { width: 90%; }
.fake-h { height: 14px; width: 50%; background: var(--rule); border-radius: 4px; margin-bottom: 14px; }

/* extension popover */
.ext-popover {
  position: absolute;
  top: 8px; right: 16px;
  width: 240px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 16px 40px oklch(0.18 0.012 270 / 0.15);
  padding: 14px;
  font-size: 12px;
  animation: popIn 0.5s ease-out 0.4s backwards;
}
.ext-popover::before {
  content: ""; position: absolute; top: -6px; right: 24px;
  width: 10px; height: 10px;
  background: var(--bg-paper);
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  transform: rotate(45deg);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ext-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--rule-2);
}
.ext-head .live { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.7 0.15 145); animation: pulse 2s infinite; }
.ext-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0;
  font-size: 12px;
}
.ext-row .nm { color: var(--ink); }
.toggle {
  width: 28px; height: 16px; background: var(--rule);
  border-radius: 999px; position: relative;
  transition: background 0.2s;
}
.toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 12px; height: 12px; background: white; border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.2);
}
.toggle.on { background: var(--accent); }
.toggle.on::after { left: 14px; }
.ext-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-2);
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-3);
  display: flex; justify-content: space-between;
}
.ext-foot .saved { color: oklch(0.55 0.15 145); }

/* observed banner sliding in */
.observed-banner {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: oklch(0.45 0.18 280 / 0.06);
  border: 1px solid oklch(0.45 0.18 280 / 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--accent);
  animation: slideUpDelay 0.5s ease-out 1.2s backwards;
}
@keyframes slideUpDelay {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.observed-banner .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

/* ============ Rabbit LLM ============ */
.rabbit-section {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.rabbit-section .label { color: oklch(0.78 0.008 270); }
.rabbit-section .label .dot { background: var(--amber); box-shadow: 0 0 0 3px oklch(0.82 0.13 75 / 0.2); }
.rabbit-section h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 16px 0 24px;
}
.rabbit-section h2 .em { color: var(--amber); font-style: italic; }
.rabbit-section p.lede { color: oklch(0.78 0.008 270); max-width: 56ch; font-size: 17px; }

.rabbit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-top: 64px;
}
@media (max-width: 900px) { .rabbit-grid { grid-template-columns: 1fr; gap: 40px; } }

.rabbit-specs { display: flex; flex-direction: column; gap: 0; }
.spec-row {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 18px 0;
  border-bottom: 1px solid oklch(0.32 0.012 270);
  font-family: var(--mono); font-size: 12px;
}
.spec-row:first-child { border-top: 1px solid oklch(0.32 0.012 270); }
.spec-row .k { color: oklch(0.65 0.008 270); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10.5px; }
.spec-row .v {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  color: var(--bg);
  letter-spacing: -0.01em;
}
.spec-row .v .acc { color: var(--amber); }

/* Rabbit visual: model panel */
.rabbit-panel {
  background: oklch(0.22 0.012 270);
  border: 1px solid oklch(0.32 0.012 270);
  border-radius: 16px;
  padding: 24px;
  font-family: var(--mono);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.rabbit-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid oklch(0.32 0.012 270);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.65 0.008 270);
}
.rabbit-panel-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: oklch(0.78 0.13 145);
}
.rabbit-panel-head .live i {
  width: 6px; height: 6px; border-radius: 50%; background: oklch(0.78 0.13 145);
  animation: pulse 1.6s infinite;
}
.rabbit-stream {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 11.5px;
  color: oklch(0.85 0.008 270);
  min-height: 220px;
}
.stream-line {
  display: flex; gap: 10px;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}
.stream-line .ts { color: oklch(0.55 0.008 270); width: 56px; flex-shrink: 0; }
.stream-line .tag {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  flex-shrink: 0;
}
.stream-line .tag.in { background: oklch(0.55 0.20 285 / 0.2); color: var(--amber); }
.stream-line .tag.out { background: oklch(0.78 0.13 145 / 0.2); color: oklch(0.78 0.13 145); }
.stream-line .tag.idx { background: oklch(0.32 0.012 270); color: oklch(0.78 0.008 270); }
@keyframes fadeIn { to { opacity: 1; } }

/* ============ Ambient recall ============ */
.ambient-section {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.ambient-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .ambient-grid { grid-template-columns: 1fr; } }

.ambient-doc {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 32px;
  font-family: 'Geist', sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  box-shadow: 0 24px 60px -20px oklch(0.18 0.012 270 / 0.12);
  position: relative;
}
.ambient-doc .doc-head {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule-2);
  display: flex; justify-content: space-between;
}
.flagged {
  position: relative;
  background: oklch(0.95 0.05 75 / 0.6);
  padding: 1px 4px;
  border-radius: 3px;
  cursor: help;
  border-bottom: 2px solid var(--amber-deep);
}
.suggestion {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  font-family: 'Geist', sans-serif;
  width: 280px;
  box-shadow: 0 16px 40px oklch(0.18 0.012 270 / 0.18);
  z-index: 10;
  animation: slideUp 0.5s ease-out;
}
.suggestion .s-tag {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.suggestion .s-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.5s infinite;
}
.suggestion strong { color: var(--ink); }
.suggestion .src {
  margin-top: 8px;
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-3);
}
.suggestion-1 {
  position: relative;
  margin-top: 24px;
  margin-left: 0;
  top: auto;
  right: auto;
  display: block;
}
@media (max-width: 1100px) { .suggestion-1 { top: auto; right: auto; } }

/* ============ Pricing redesign ============ */
.pricing-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 1100px) { .pricing-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid-v2 { grid-template-columns: 1fr; } }

.pcard {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.2s;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--ink-4); box-shadow: 0 16px 40px -16px oklch(0.18 0.012 270 / 0.14); }
.pcard .tier {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.pcard .price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 14px;
}
.pcard .price .num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pcard .price .unit {
  font-size: 13px;
  color: var(--ink-3);
}
.pcard p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pcard.dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pcard.dark .tier { color: oklch(0.65 0.008 270); }
.pcard.dark .price .num { color: var(--bg); }
.pcard.dark .price .unit { color: oklch(0.65 0.008 270); }
.pcard.dark p { color: oklch(0.78 0.008 270); }

.pricing-foot {
  margin-top: 24px;
  font-family: var(--mono); font-size: 12px;
}
.pricing-foot a {
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.pricing-foot a:hover { border-color: var(--ink); }
.pricing-foot a .arrow { transition: transform 0.2s; }
.pricing-foot a:hover .arrow { transform: translateX(3px); }

/* ============ FAQ ============ */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.faq-q .plus {
  font-family: var(--sans);
  font-size: 22px;
  color: var(--ink-3);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s, opacity 0.3s;
  opacity: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
}
.faq-item.open .faq-a {
  max-height: 240px;
  margin-top: 14px;
  opacity: 1;
}

/* ============ Footer expanded ============ */
.footer-grid {
  grid-template-columns: 2fr repeat(4, 1fr) !important;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr !important; } }
.footer-brand .ent-tag {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 7px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  vertical-align: 4px;
}

/* Topbar brand chip + word */
.topbar .brand { gap: 8px; font-size: 0; }
.topbar .brand-word {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.topbar .ent-tag {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 7px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  vertical-align: 4px;
  line-height: 1;
}


/* ============ Problem Statement + Cost of Forgetting ============ */
.problem-section {
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.problem-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
@media (max-width: 900px) { .problem-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .problem-stats { grid-template-columns: 1fr; } }
.pstat { display: flex; flex-direction: column; gap: 10px; }
.pstat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pstat-num .em { color: var(--accent); font-style: italic; font-size: 0.6em; margin-left: 2px; }
.pstat-lbl {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 32ch;
}
.pstat-src {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Calculator panel */
.cof-panel {
  margin-top: 72px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px oklch(0.18 0.012 270 / 0.12);
}
.cof-head {
  padding: 24px 32px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cof-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.cof-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.68 0.15 60);
  box-shadow: 0 0 0 3px oklch(0.68 0.15 60 / 0.15);
}
.cof-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.cof-title .em { color: var(--accent); font-style: italic; }
.cof-disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  max-width: 28ch;
  text-align: right;
}

.cof-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
@media (max-width: 900px) { .cof-body { grid-template-columns: 1fr; } }
.cof-inputs {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .cof-inputs { border-right: none; border-bottom: 1px solid var(--rule); }
}
.cof-input { display: flex; flex-direction: column; gap: 8px; }
.cof-input label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cof-row { display: flex; align-items: center; gap: 16px; }
.cof-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--rule-2);
  outline: none;
}
.cof-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
}
.cof-row input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
}
.cof-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  min-width: 64px;
  text-align: right;
}

.cof-output {
  padding: 32px;
  background: oklch(0.985 0.005 270);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cof-out-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}
.cof-out-lbl { font-size: 13px; color: var(--ink-2); max-width: 28ch; line-height: 1.4; }
.cof-out-val {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.cof-out-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
}
.cof-total-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cof-total-val {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.cof-bar {
  height: 6px;
  background: var(--rule-2);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.cof-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, oklch(0.68 0.15 60), var(--accent));
  width: 0%;
  transition: width 0.4s ease;
}
.cof-comp {
  font-size: 13px;
  color: var(--ink-2);
  font-style: italic;
}
.cof-comp strong { color: var(--ink); font-style: normal; font-weight: 500; }

/* ============ Rabbit signals grid ============ */
.signals-grid {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bg);
}
.signals-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.signals-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.signals-list span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  background: oklch(0.99 0.002 270);
}

/* ============ Ambient diagrams (Linear-style) ============ */
.ambient-diagrams {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 760px) { .ambient-diagrams { grid-template-columns: 1fr; } }
.adia {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
}
.adia-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.adia-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 4px 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  flex-shrink: 0;
}
.adia-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin-bottom: 4px;
}
.adia-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.adia-viz {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: oklch(0.985 0.005 270);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--rule-2);
  min-height: 180px;
}

/* Diagram 1: Contradiction */
.dia-contradict {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  align-items: center;
  gap: 12px;
}
.dia-doc {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dia-doc .dl {
  height: 8px;
  background: var(--rule-2);
  border-radius: 2px;
}
.dia-doc .dl.long { width: 100%; }
.dia-doc .dl.med { width: 70%; }
.dia-doc .dl.short {
  width: auto;
  height: auto;
  background: oklch(0.68 0.15 60 / 0.15);
  color: oklch(0.45 0.12 60);
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px dashed oklch(0.68 0.15 60);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.dia-arrow svg { width: 100%; height: 30px; }
.dia-card {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: 0 4px 16px -8px oklch(0.45 0.18 280 / 0.3);
}
.dc-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
}
.dc-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.45 0.18 280 / 0.2);
}
.dc-body { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.dc-body strong { color: var(--ink); font-weight: 500; }

/* Diagram 2: Duplicate timeline */
.dia-timeline {
  width: 100%;
  position: relative;
  padding: 30px 10px;
}
.tl-axis {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--rule);
}
.tl-event {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 33%;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
}
.tl-event i {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}
.tl-event.dim i { background: var(--ink-3); width: 8px; height: 8px; }
.tl-event.dim span { color: var(--ink-3); }
.tl-event.e3 i {
  background: var(--accent);
  box-shadow: 0 0 0 5px oklch(0.45 0.18 280 / 0.18);
}
.tl-event.e3 span { color: var(--accent); font-weight: 500; }
.tl-link {
  position: absolute;
  top: calc(50% - 1px);
  left: 16%;
  width: 68%;
  height: 30px;
  border-top: 1.5px dashed var(--accent);
  border-radius: 50% 50% 0 0;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Diagram 3: Policy rings */
.dia-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ring-grid {
  position: relative;
  width: 140px; height: 140px;
  flex-shrink: 0;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--rule);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring.r1 { width: 60px; height: 60px; border-color: var(--accent); border-style: solid; opacity: 0.4; }
.ring.r2 { width: 100px; height: 100px; border-color: oklch(0.78 0.005 270); }
.ring.r3 { width: 140px; height: 140px; border-color: oklch(0.78 0.005 270); }
.ring-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.ring-lbls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ring-lbls .rl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--rule);
  display: inline-flex; align-items: center; gap: 6px;
}
.ring-lbls .rl::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Diagram 4: Owner graph */
.dia-owner {
  width: 100%;
  position: relative;
  padding: 10px;
}
.own-graph {
  position: relative;
  width: 100%;
  height: 160px;
}
.own-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.own-node {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.own-node span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}
.own-node.dim { opacity: 0.5; }
.own-node.dim span { background: var(--ink-3); }
.own-node b { font-weight: 500; }
.own-node.n1 { top: 10%; left: 5%; border-color: var(--accent); border-width: 1.5px; }
.own-node.n2 { top: 10%; right: 5%; }
.own-node.n3 { bottom: 10%; right: 5%; }
.own-node.center {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.own-node.center span { background: oklch(0.68 0.15 60); }

/* Ambient doc row (the existing draft + suggestion) */
.ambient-doc-row { margin-top: 48px; max-width: 720px; }


/* ============ Tool chips with real brand icons ============ */
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 450;
  flex-shrink: 0;
}
.tool-chip .tc-icon {
  width: 18px; height: 18px;
  object-fit: contain;
  display: block;
}
.tool-chip .tc-name {
  font-family: var(--sans, 'Inter', system-ui, sans-serif);
}

/* ============ Chrome browser mock — fixed layout ============ */
.browser-mock {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: var(--bg);
  box-shadow: 0 24px 60px -24px oklch(0.18 0.012 270 / 0.18);
  overflow: hidden;
  /* clip popovers inside */
}
.browser-content {
  position: relative;
  padding: 0;
  background: var(--bg-paper);
  height: 460px;
  overflow: hidden;
}
.browser-page {
  padding: 28px 32px;
  position: relative;
  z-index: 1;
}

/* Ext popover repositioned, stays inside browser */
.ext-popover {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 240px;
  z-index: 5;
}
.ext-popover .ext-row { padding: 6px 0; }
.ext-foot {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-2);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ext-foot .saved {
  color: oklch(0.55 0.15 145);
  font-weight: 500;
}

/* "Ask anywhere" command-K bar */
.ask-anywhere {
  position: absolute;
  left: 32px;
  width: 280px;
  bottom: 220px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 12px 32px -12px oklch(0.45 0.18 280 / 0.25);
  z-index: 4;
  animation: aaSlide 0.6s ease-out 1.2s backwards;
}
@keyframes aaSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aa-kbd {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding: 3px 7px;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: oklch(0.985 0.005 270);
  flex-shrink: 0;
}
.aa-q {
  flex: 1;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}
.aa-spinner {
  width: 12px; height: 12px;
  border: 2px solid var(--rule);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: aaSpin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes aaSpin { to { transform: rotate(360deg); } }

/* Answer card from ask-anywhere */
.ask-answer {
  position: absolute;
  left: 32px;
  width: 280px;
  bottom: 18px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: 0 16px 40px -12px oklch(0.45 0.18 280 / 0.3);
  z-index: 4;
  animation: aaSlide 0.6s ease-out 2.0s backwards;
}
.ask-answer .aa-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.ask-answer .aa-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.45 0.18 280 / 0.2);
}
.ask-answer p {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.ask-answer p strong { font-weight: 500; color: var(--accent); }
.ask-answer .aa-cites {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ask-answer .aa-cites span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-3);
  background: oklch(0.99 0.002 270);
}

/* Inline kbd */
.kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: oklch(0.985 0.005 270);
  color: var(--ink);
  vertical-align: 1px;
}

@media (max-width: 1100px) {
  .browser-content { height: auto; min-height: 480px; }
  .ext-popover {
    position: relative;
    top: auto; right: auto;
    margin: 16px;
    width: auto;
  }
  .ask-anywhere, .ask-answer {
    position: relative;
    left: auto; right: auto; bottom: auto; width: auto;
    margin: 12px 16px;
  }
}

/* ============ Testimonial — bigger, framed, intentional ============ */
.testimonial-section {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.testimonial-section .wrap {
  max-width: 1100px;
}
.tsm-frame {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(48px, 6vw, 96px) clamp(40px, 6vw, 100px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 760px) {
  .tsm-frame { grid-template-columns: 1fr; gap: 24px; padding: 40px 28px; }
}
.tsm-mark {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.5;
  color: var(--accent);
  font-style: italic;
  align-self: flex-start;
  margin-top: 0.5em;
  opacity: 0.4;
}
.tsm-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  max-width: none;
  margin: 0;
  text-align: left;
  color: var(--ink);
}
.tsm-quote .em { color: var(--accent); font-style: italic; }
.tsm-attr {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tsm-attr::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--ink-3);
}
.tsm-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--rule-2);
  padding-left: clamp(20px, 3vw, 40px);
}
@media (max-width: 760px) {
  .tsm-side { border-left: none; border-top: 1px solid var(--rule-2); padding-left: 0; padding-top: 20px; align-items: flex-start; }
}
.tsm-side .tsm-stat {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  font-style: italic;
}
.tsm-side .tsm-stat-lbl {
  font-size: 10px;
  color: var(--ink-3);
}

/* ============ Override hero brain stage for memory graph ============ */
.brain-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05 / 1;
  margin-left: auto;
}

/* ============ Memory Flow Hero ============ */
.flow-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 0 auto;
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: 22% 1fr 36%;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 0;
  min-height: 480px;
}
.flow-bg {
  position: absolute;
  inset: -10% -8% -10% -8%;
  background:
    radial-gradient(ellipse 38% 42% at 50% 50%, oklch(0.95 0.05 285 / 0.4), transparent 70%),
    radial-gradient(ellipse 30% 30% at 78% 30%, oklch(0.96 0.05 80 / 0.3), transparent 70%),
    radial-gradient(ellipse 28% 28% at 78% 75%, oklch(0.96 0.04 145 / 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.flow-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.fl-anim {
  stroke-dasharray: 4 6;
  animation: flLineDash 3s linear infinite;
}
@keyframes flLineDash { to { stroke-dashoffset: -50; } }
.fl-anim-out {
  stroke-dasharray: 4 6;
  animation: flLineDash 3s linear infinite reverse;
}

/* LEFT: App ingestion grid */
.flow-apps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-self: center;
}
.flow-apps-label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.flow-app {
  aspect-ratio: 1;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22%;
  box-shadow: 0 4px 12px -4px oklch(0.18 0.012 270 / 0.06);
  opacity: 0;
  transform: translateY(8px);
  animation: flAppIn 0.5s ease-out forwards;
  animation-delay: var(--d, 0s);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  font-size: 0;
}
.flow-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px oklch(0.18 0.012 270 / 0.18);
}
.flow-app img,
.flow-app svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.flow-app-more {
  aspect-ratio: 1;
  background: oklch(0.96 0.005 270);
  border: 1px dashed var(--rule);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
  opacity: 0;
  animation: flAppIn 0.5s ease-out 0.6s forwards;
}
@keyframes flAppIn { to { opacity: 1; transform: translateY(0); } }

/* CENTER: Memory core - now part of grid, centered in middle column */
.flow-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  align-self: center;
  justify-self: center;
}
.flow-core-rings {
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  pointer-events: none;
}
.flow-core-rings .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid oklch(0.55 0.20 280 / 0.18);
  animation: ringPulse 4s ease-out infinite;
}
.ring.r1 { animation-delay: 0s; }
.ring.r2 { animation-delay: 1.3s; inset: 8%; }
.ring.r3 { animation-delay: 2.6s; inset: 16%; }
@keyframes ringPulse {
  0% { opacity: 0; transform: scale(0.85); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.25); }
}
.flow-core-disc {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, oklch(0.32 0.02 280) 0%, oklch(0.18 0.012 270) 60%, oklch(0.12 0.01 270) 100%);
  box-shadow:
    0 24px 60px -12px oklch(0.45 0.18 280 / 0.45),
    inset 0 1px 0 oklch(1 0 0 / 0.1),
    inset 0 0 0 1px oklch(1 0 0 / 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: oklch(0.95 0.005 270);
  text-align: center;
  z-index: 2;
}
.core-stat .cs-num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.core-stat .cs-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.7 0.02 270);
  margin-top: 4px;
}
.core-divider {
  width: 60%;
  height: 1px;
  background: oklch(1 0 0 / 0.12);
  margin: 14px 0 10px;
}
.core-stats-row {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
}
.core-stats-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.core-stats-row .csr-n {
  font-size: 12px;
  color: oklch(0.78 0.16 65);
  font-weight: 500;
  line-height: 1;
}
.core-stats-row .csr-l {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 270);
  margin-top: 3px;
}
.core-pulse {
  position: absolute;
  bottom: 18px;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: oklch(0.78 0.16 65);
  animation: corePulse 1.4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}
.flow-core-label {
  position: absolute;
  bottom: -28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  white-space: nowrap;
}

/* RIGHT: Output cards */
.flow-output {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  align-self: center;
}
.flow-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 11px 13px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  box-shadow: 0 14px 32px -12px oklch(0.18 0.012 270 / 0.18);
  opacity: 0;
  transform: translateX(8px);
  animation: flCardIn 0.6s ease-out forwards;
}
.flow-card.oc-1 { animation-delay: 1.2s; }
.flow-card.oc-2 { animation-delay: 1.6s; border-color: oklch(0.78 0.16 65 / 0.4); background: oklch(0.99 0.012 80); }
.flow-card.oc-3 { animation-delay: 2.0s; }
@keyframes flCardIn { to { opacity: 1; transform: translateX(0); } }

.oc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.oc-icon {
  background: oklch(0.18 0.012 270);
  color: oklch(0.95 0.005 270);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  flex-shrink: 0;
}
.oc-q {
  color: var(--ink-2);
  font-size: 12px;
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.3;
}
.oc-answer {
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 8px;
  font-size: 12px;
}
.oc-answer strong { color: var(--accent); font-weight: 500; }
.oc-answer-sm {
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.4;
}
.oc-cites {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.oc-cite {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.oc-amb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.50 0.16 60);
  margin-bottom: 6px;
  font-weight: 500;
}
.oc-amb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.78 0.16 65);
  box-shadow: 0 0 0 3px oklch(0.78 0.16 65 / 0.2);
  animation: ledPulse 1.6s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.oc-amb-body {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.oc-amb-body strong { font-weight: 500; }
.oc-flag {
  background: oklch(0.96 0.10 65);
  color: oklch(0.30 0.10 60);
  padding: 1px 5px;
  border-radius: 3px;
  border-bottom: 1px dashed oklch(0.50 0.16 60);
  font-weight: 500;
}
.oc-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.55 0.20 280), oklch(0.78 0.16 65));
  color: oklch(0.99 0 0);
  font-size: 9px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stage labels */
.flow-label {
  position: absolute;
  bottom: -8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.flow-label.fl-l { left: 0; }
.flow-label.fl-r { right: 0; }

/* ============ Hero responsive ============ */
@media (max-width: 1100px) {
  .flow-stage {
    grid-template-columns: 24% 1fr 38%;
    min-height: 440px;
  }
  .flow-core-disc { width: 150px; height: 150px; }
  .core-stat .cs-num { font-size: 26px; }
}

@media (max-width: 880px) {
  /* Stack vertically on tablet/mobile */
  .flow-svg, .flow-bg { display: none; }
  .flow-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 16px 0 32px;
    min-height: 0;
    max-width: 520px;
  }
  .flow-apps {
    width: 100%;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  .flow-apps-label { text-align: center; margin-bottom: 0; }
  .flow-core { width: auto; }
  .flow-core-disc { width: 200px; height: 200px; }
  .core-stat .cs-num { font-size: 32px; }
  .flow-output {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .flow-card { padding: 12px 14px; font-size: 12px; }
  .oc-q, .oc-answer, .oc-amb-body { font-size: 13px; }
  .flow-label { display: none; }
}

@media (max-width: 540px) {
  .flow-apps { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .flow-core-disc { width: 170px; height: 170px; }
  .core-stat .cs-num { font-size: 28px; }
}

/* ═════════════════════════════════════════════════════════════════════
 * Mobile UX patch — added 2026-05-03
 *
 * Targets the consistent surfaces that show on every marketing page
 * (topbar, hero, footer) plus a few global typography/padding
 * adjustments. Page-specific layouts (sandbox personas, integrations
 * tile grid, pricing tier cards) already collapse via their own page
 * CSS — those rules stay.
 * ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
  /* Topbar: hide the nav links (Home/Product/Integrations/Pricing/Compliance)
     so the brand + CTA fit on narrow screens. The CTAs are the conversion
     surface; nav is one tap into the footer if a user really wants it. */
  .topbar-inner { gap: 12px; padding: 12px 16px; }
  .topbar .nav { display: none; }
  .topbar .brand .ent-tag { display: none; }
  .topbar .brand-word { font-size: 18px; }

  /* CTA cluster: collapse to compact buttons; hide the Sign-in ghost
     since signing in lives on /login + the user dropdown. */
  .topbar-inner > div:last-child { gap: 6px; }
  .topbar .btn { padding: 8px 12px; font-size: 13px; }
  .topbar .btn-ghost { display: none; }

  /* Generic hero spacing — most pages set their own clamp() heading
     sizes so this just tightens the surrounding padding. */
  .hero-v2 { padding-top: 40px !important; padding-bottom: 40px !important; }
  .hero-v2-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .orb-stage { display: none !important; } /* big illustration eats ~600px on phones */

  /* Footer: 4-col → 2-col, tighter padding */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    padding: 40px 20px !important;
  }
  .footer-col.footer-brand {
    grid-column: 1 / -1; /* brand sits across the top */
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
    padding: 16px 20px !important;
  }

  /* Section padding compress */
  section { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 540px) {
  /* Drop the outline "Try for free" too; only Book a demo remains as the
     conversion CTA. The Sandbox link is reachable from the footer + final
     CTA section. */
  .topbar .btn-outline { display: none; }
  .topbar-inner { padding: 10px 14px; }

  /* Hero h1 cap so massive serif headlines don't overflow */
  h1, .hv2-h1, .pr-hero h1, .sup-hero h1, .int-hero h1, .sandbox-hero h1 {
    font-size: clamp(36px, 9vw, 56px) !important;
    line-height: 1.05 !important;
  }
  .hv2-lede, .pr-hero p, .sup-hero p, .int-hero p, .sandbox-hero p {
    font-size: 15px !important;
  }

  /* Footer cards 2 → 1 column */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col.footer-brand { grid-column: auto; }

  /* Pricing toggle pills tighter */
  .pr-toggle-btn { padding: 7px 12px; font-size: 10px; }
}


/* ═════════════════════════════════════════════════════════════════════
 * Mobile hamburger menu — added 2026-05-03
 *
 * Markup is injected by /landing-design/mobile-menu.js on page load:
 *   <button class="mobile-menu-trigger">…</button>   (added to .topbar-inner)
 *   <div class="mobile-menu-backdrop"></div>          (added to <body>)
 *   <aside class="mobile-menu-drawer">…</aside>      (added to <body>)
 *
 * Hidden on desktop. Shown <760px. The drawer slides in from the right.
 * ═════════════════════════════════════════════════════════════════════ */

.mobile-menu-trigger {
  display: none; /* shown via media query below */
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  transition: background .15s ease;
  flex-shrink: 0;
}
.mobile-menu-trigger:hover { background: var(--bg-2); }
.mobile-menu-trigger svg { width: 18px; height: 18px; display: block; }

.mobile-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.mobile-menu-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-menu-drawer {
  position: fixed; top: 0; right: 0;
  height: 100vh; width: min(320px, 86vw);
  background: var(--bg);
  border-left: 1px solid var(--rule);
  z-index: 101;
  display: flex; flex-direction: column;
  padding: 20px 24px 28px;
  gap: 20px;
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.14);
}
.mobile-menu-drawer.open { transform: translateX(0); }

.mobile-menu-drawer .mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu-drawer .mm-head .mm-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu-drawer .mm-head .mm-brand img { height: 22px; width: auto; }
.mobile-menu-drawer .mm-close {
  width: 34px; height: 34px;
  background: transparent; border: 1px solid var(--rule);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.mobile-menu-drawer .mm-close:hover { background: var(--bg-2); }
.mobile-menu-drawer .mm-close svg { width: 16px; height: 16px; display: block; }

.mobile-menu-drawer .mm-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.mobile-menu-drawer .mm-nav {
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu-drawer .mm-nav a {
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s ease;
}
.mobile-menu-drawer .mm-nav a:hover { background: var(--bg-2); }

.mobile-menu-drawer .mm-cta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.mobile-menu-drawer .mm-cta a {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease, color .15s ease;
}
.mobile-menu-drawer .mm-cta a.mm-primary {
  background: var(--ink);
  color: var(--bg);
}
.mobile-menu-drawer .mm-cta a.mm-primary:hover {
  background: oklch(0.12 0.012 270);
}
.mobile-menu-drawer .mm-cta a.mm-secondary {
  background: var(--bg-paper);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.mobile-menu-drawer .mm-cta a.mm-ghost {
  background: transparent;
  color: var(--ink-2);
}
.mobile-menu-drawer .mm-cta a.mm-ghost:hover { color: var(--ink); }

/* Lock body scroll while drawer is open. */
body.mm-open { overflow: hidden; }

/* Show the trigger + override the desktop nav-hide rules below 760px so
   the drawer is the only navigation surface. */
@media (max-width: 760px) {
  .mobile-menu-trigger { display: inline-flex; }
  /* Re-hide the inline nav + CTA cluster (already hidden by an earlier
     rule, restated here to make this section self-contained). */
  .topbar .nav { display: none; }
  .topbar-inner > div:last-child { display: none !important; }
  /* Tighter inner padding so the trigger doesn't crowd the brand. */
  .topbar-inner { padding: 12px 14px; gap: 8px; }
}

