/* ========== ProcureLane site styles ========== */

:root {
  /* paper + ink */
  --bg:           oklch(0.985 0.006 80);
  --bg-tint:      oklch(0.965 0.010 80);
  --paper:        oklch(0.995 0.003 80);
  --line:         oklch(0.92 0.010 80);
  --line-strong:  oklch(0.86 0.012 80);
  --ink:          oklch(0.20 0.018 250);
  --ink-2:        oklch(0.36 0.015 250);
  --ink-3:        oklch(0.52 0.013 250);
  --ink-4:        oklch(0.66 0.011 250);

  /* accents */
  --blue:        oklch(0.55 0.17 250);
  --blue-soft:   oklch(0.93 0.04 250);
  --blue-ink:    oklch(0.40 0.18 250);
  --green:       oklch(0.62 0.14 155);
  --green-soft:  oklch(0.94 0.04 155);
  --amber:       oklch(0.74 0.13 75);
  --amber-soft:  oklch(0.95 0.05 75);
  --red:         oklch(0.62 0.20 25);
  --red-soft:    oklch(0.95 0.04 25);

  /* shadow */
  --shadow-sm: 0 1px 0 oklch(0.20 0.018 250 / .04), 0 1px 2px oklch(0.20 0.018 250 / .04);
  --shadow-md: 0 1px 0 oklch(0.20 0.018 250 / .04), 0 6px 24px -6px oklch(0.20 0.018 250 / .08), 0 2px 6px oklch(0.20 0.018 250 / .04);
  --shadow-lg: 0 1px 0 oklch(0.20 0.018 250 / .04), 0 24px 60px -20px oklch(0.20 0.018 250 / .18), 0 8px 24px -10px oklch(0.20 0.018 250 / .10);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  --serif: "Instrument Serif", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  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;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }
.mono { font-family: var(--mono); letter-spacing: 0.01em; }
.kbd {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: oklch(0.97 0.005 80);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.985 0.006 80 / 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.logo-mark {
  display: inline-flex;
  color: var(--blue);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 4px oklch(0.62 0.14 155 / .15);
  display: inline-block;
}
.status-dot-amber { background: var(--amber); box-shadow: 0 0 0 4px oklch(0.74 0.13 75 / .18); }
.status-text { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-inner { grid-template-columns: auto 1fr; } .status-text, .status-dot { display: none; } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; padding: 14px 20px; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 oklch(0.20 0.018 250 / .12) inset, 0 6px 16px -6px oklch(0.20 0.018 250 / .35);
}
.btn-primary:hover { transform: translateY(-1px); background: oklch(0.10 0.018 250); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); }

/* ========== HERO ========== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.eyebrow-sep { color: var(--ink-4); }
.eyebrow-text { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero-title em { color: var(--blue-ink); font-style: italic; }

.hero-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-bullets li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 99px; display: inline-block; }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }

/* ========== HERO VISUAL - CONTROL ROOM ========== */
.hero-visual {
  position: relative;
}
.control-room {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1800px) rotateX(0.5deg) rotateY(-2deg);
  transform-origin: center;
}
.cr-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.98 0.005 80);
}
.cr-traffic { display: inline-flex; gap: 6px; }
.cr-traffic span {
  width: 10px; height: 10px; border-radius: 99px;
  background: var(--line-strong);
}
.cr-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  background: oklch(0.97 0.005 80);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
  text-align: center;
}
.cr-tools { display: inline-flex; align-items: center; gap: 10px; }
.cr-pill {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(0.45 0.16 25);
  background: var(--red-soft);
  padding: 3px 8px;
  border-radius: 99px;
}
.cr-avatars { display: inline-flex; }
.cr-avatars .av {
  width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--paper); margin-left: -6px;
}
.av1 { background: oklch(0.7 0.14 75); }
.av2 { background: oklch(0.65 0.14 155); }
.av3 { background: oklch(0.6 0.14 250); }

.cr-canvas {
  position: relative;
  padding: 18px;
  background:
    radial-gradient(900px 400px at 30% 0%, oklch(0.97 0.02 250 / .55), transparent 60%),
    radial-gradient(700px 360px at 100% 110%, oklch(0.96 0.03 155 / .35), transparent 60%),
    var(--paper);
}
.graph { width: 100%; height: auto; display: block; }

.node rect {
  fill: var(--paper);
  stroke: var(--line);
  stroke-width: 1;
  filter: drop-shadow(0 2px 4px oklch(0.20 0.018 250 / .06));
}
.node .n-label {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  fill: var(--ink-4);
  text-transform: uppercase;
}
.node .n-title { font-size: 12px; fill: var(--ink); font-weight: 500; }
.node.n-product rect { stroke: var(--blue); stroke-width: 1.4; fill: oklch(0.99 0.01 250); }
.node.n-product .n-label { fill: var(--blue-ink); }
.node.n-supplier rect { background: white; }
.node.n-replace rect { stroke: var(--red); stroke-dasharray: 4 3; }
.node.n-ship rect { stroke: var(--green); }
.node.n-ship .n-label { fill: oklch(0.45 0.14 155); }

.insight {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px 12px;
}
.insight-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
}
.insight-icon {
  display: inline-flex;
  width: 18px; height: 18px;
  background: var(--blue);
  color: white;
  border-radius: 6px;
  align-items: center; justify-content: center;
}
.insight-title { font-weight: 600; color: var(--ink); }
.insight-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  text-transform: uppercase;
}
.insight-body {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  color: var(--ink-2);
  display: grid;
  gap: 5px;
}
.insight-body li { padding-left: 14px; position: relative; }
.insight-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 99px;
  background: var(--blue);
}
.insight-body b { color: var(--ink); font-weight: 600; }
.insight-actions { display: flex; gap: 6px; }

.chip {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .12s;
}
.chip:hover { background: var(--bg-tint); }
.chip-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chip-primary:hover { background: oklch(0.10 0.018 250); }
.chip-static { cursor: default; }

.replace-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}
.rt-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 3px oklch(0.62 0.20 25 / .15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.ambient {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}
.ambient::before {
  content: ''; display: inline-block;
  width: 18px; height: 1px;
  background: var(--ink-4);
  vertical-align: middle;
  margin-right: 8px;
}
.ambient-tl { top: -22px; left: 12px; }
.ambient-br { bottom: -22px; right: 12px; }
@media (max-width: 980px) {
  .control-room { transform: none; }
  .ambient { display: none; }
}

/* proof strip */
.proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.proof-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.proof-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14px;
  color: var(--ink-3);
}
.proof-list li {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

/* ========== SECTIONS ========== */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section-tinted {
  max-width: none;
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-tinted > * { max-width: var(--container); margin-left: auto; margin-right: auto; }

.section-head {
  max-width: 760px;
  margin: 0 0 clamp(36px, 5vw, 64px);
}
.sec-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 18px;
}
.sec-title em { color: var(--blue-ink); }
.sec-sub {
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}

/* ========== MESS GRID ========== */
.mess-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 920px) {
  .mess-grid { grid-template-columns: 1fr; }
  .mess-arrow { transform: rotate(90deg); margin: 8px 0; justify-self: center; }
}

.mess-left, .mess-right { display: grid; gap: 12px; }

.frag {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  transform-origin: center;
}
.frag-1 { transform: rotate(-1.4deg) translateX(6px); }
.frag-2 { transform: rotate(0.8deg) translateX(-8px); }
.frag-3 { transform: rotate(-0.6deg); }
.frag-4 { transform: rotate(1.6deg) translateX(10px); }
.frag-5 { transform: rotate(-0.4deg) translateX(-4px); }
.frag-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 6px;
  text-transform: none;
}
.frag-body { color: var(--ink-2); font-size: 13.5px; }
.frag-sheet .frag-body { font-family: var(--mono); font-size: 11.5px; color: oklch(0.45 0.16 25); }
.ch-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 5px;
  font-size: 11px;
  font-family: var(--sans);
  color: white;
}
.ch-ali { background: oklch(0.65 0.16 60); }
.ch-wa  { background: oklch(0.62 0.14 155); }
.ch-em  { background: oklch(0.55 0.14 250); }
.ch-ph  { background: oklch(0.5 0.04 250); }
.ch-xl  { background: oklch(0.45 0.10 145); }

.mess-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.arrow-track {
  position: relative;
  width: 100%;
  max-width: 90px;
  height: 2px;
  background: var(--line-strong);
  border-radius: 99px;
  overflow: hidden;
}
.arrow-track::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
}
.arrow-pulse {
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: slide 2.4s ease-in-out infinite;
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}
.arrow-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.struct-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
}
.struct-card-thin { padding: 12px 14px; }
.struct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.struct-title { font-weight: 600; font-size: 15px; }
.struct-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.struct-pill-green { background: var(--green-soft); color: oklch(0.40 0.14 155); }
.struct-pill-amber { background: var(--amber-soft); color: oklch(0.45 0.14 75); }
.struct-pill-red { background: var(--red-soft); color: oklch(0.42 0.18 25); }
.struct-meta {
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 18px;
  font-size: 13px;
}
.struct-meta div { display: flex; gap: 8px; }
.struct-meta dt { color: var(--ink-4); min-width: 70px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.struct-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.struct-foot { border-top: 1px dashed var(--line); padding-top: 8px; }
.struct-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.struct-mini { font-size: 12.5px; color: var(--ink-3); }

/* ========== HOW IT WORKS ========== */
.how-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 940px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  background: var(--paper);
  padding: 28px 24px 30px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.how-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-ink);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.how-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.how-body {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
  text-wrap: pretty;
}
.how-tag {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* ========== FEATURE SECTIONS ========== */
.section-feature .feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.section-feature.section-flip .feature-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
@media (max-width: 940px) {
  .section-feature .feature-grid,
  .section-feature.section-flip .feature-grid { grid-template-columns: 1fr; }
}

.feat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 14px 0 16px;
}
.feat-title em { color: var(--blue-ink); }
.feat-body {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 56ch;
  text-wrap: pretty;
}
.feature-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.feature-bullets li { display: flex; gap: 12px; align-items: baseline; }
.feature-bullets b { color: var(--ink); font-weight: 600; }
.bb {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}

/* MAP FRAME */
.map-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.98 0.005 80);
  font-size: 12px;
}
.map-tab {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 4px 0;
}
.map-tab-active {
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.map-spacer { flex: 1; }
.map-toggle {
  font-size: 10.5px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--paper);
}
.map-svg { width: 100%; height: auto; display: block; padding: 14px; box-sizing: border-box; background: var(--paper); }
.mn rect { fill: var(--paper); stroke: var(--line); stroke-width: 1; filter: drop-shadow(0 1px 2px oklch(0.20 0.018 250 / .05)); }
.mn .mn-l { font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.1em; fill: var(--ink-4); text-transform: uppercase; }
.mn .mn-t { font-size: 11px; fill: var(--ink); font-weight: 500; }
.mn-prod rect { stroke: var(--blue); stroke-width: 1.4; fill: oklch(0.99 0.01 250); }
.mn-prod .mn-l { fill: var(--blue-ink); }
.mn-risk rect { stroke: var(--amber); stroke-width: 1.4; }
.mn-risk .mn-l { fill: oklch(0.45 0.14 75); }

/* CHAT FRAME */
.chat-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.98 0.005 80);
}
.chat-title { font-weight: 600; font-size: 14px; }
.chat-meta { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.chat-body {
  padding: 16px;
  display: grid;
  gap: 8px;
  background: oklch(0.985 0.006 80);
}
.bub {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}
.bub-them {
  background: var(--paper);
  border: 1px solid var(--line);
  align-self: flex-start;
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}
.bub-me {
  background: var(--ink);
  color: var(--bg);
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-insight {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, oklch(0.985 0.012 250) 0%, var(--paper) 100%);
}
.ci-head {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-ink);
  margin-bottom: 10px;
}
.ci-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--blue);
  color: white;
}
.ci-rows {
  display: grid;
  gap: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}
.ci-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.ci-row span { color: var(--ink-3); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.ci-row b { color: var(--ink); font-weight: 500; }
.ci-row-amber { background: var(--amber-soft); border-color: oklch(0.85 0.10 75); }
.ci-row-amber span { color: oklch(0.40 0.14 75); }
.ci-actions { display: flex; gap: 6px; }

/* REPLACEMENT FRAME */
.repl-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.repl-head {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.98 0.005 80);
}
.repl-pill {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--red-soft);
  color: oklch(0.40 0.18 25);
  padding: 4px 9px;
  border-radius: 99px;
}
.repl-title { font-weight: 600; font-size: 14px; }
.repl-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (max-width: 720px) { .repl-cols { grid-template-columns: 1fr; } }
.repl-col {
  background: var(--paper);
  padding: 14px;
}
.repl-col-old { opacity: 0.85; }
.repl-col-new { background: oklch(0.985 0.012 155); }
.repl-col-head { margin-bottom: 12px; }
.repl-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.repl-flag-good { color: oklch(0.42 0.14 155); }
.repl-col-head b { font-size: 14px; }
.repl-dl {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
}
.repl-dl div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.repl-dl dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--ink-4); letter-spacing: 0.05em; }
.repl-dl dd { margin: 0; color: var(--ink); font-weight: 500; }
.warn { color: oklch(0.50 0.18 25); font-family: var(--mono); font-size: 11px; margin-left: 4px; }
.bar { display: inline-block; width: 80px; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink-3); }
.bar i.good { background: var(--green); }
.bar i.ok   { background: var(--amber); }
.repl-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: oklch(0.985 0.006 80);
  font-size: 11px;
}

/* ========== PRODUCT-FIRST CARD ========== */
.prod-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.prod-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.98 0.005 80);
  flex-wrap: wrap;
}
.prod-eyebrow { font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 8px; }
.prod-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1;
}
.prod-head-right { display: flex; gap: 22px; flex-wrap: wrap; }
.prod-stat {
  font-size: 13px;
  color: var(--ink-3);
}
.prod-stat b { color: var(--ink); font-weight: 600; font-size: 18px; display: block; }
.prod-stat-ok b { color: oklch(0.50 0.14 155); }
.prod-body {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1.2fr;
  gap: 1px;
  background: var(--line);
}
@media (max-width: 880px) { .prod-body { grid-template-columns: 1fr; } }
.prod-col {
  background: var(--paper);
  padding: 22px 24px;
}
.prod-col-h {
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.prod-list, .prod-list-rich, .prod-activity {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.prod-list li {
  padding: 9px 11px;
  background: oklch(0.985 0.006 80);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13.5px;
}
.prod-list li b { font-weight: 600; }
.prod-list li span { color: var(--ink-4); font-family: var(--mono); font-size: 11px; }
.prod-list-rich li {
  align-items: center;
}
.prod-list-rich li > div { display: flex; flex-direction: column; gap: 2px; }
.prod-list-rich li > div span { color: var(--ink-3); font-family: var(--sans); font-size: 12px; }
.mini-pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.mini-pill-green { background: var(--green-soft); color: oklch(0.42 0.14 155); }
.mini-pill-amber { background: var(--amber-soft); color: oklch(0.42 0.14 75); }
.mini-pill-red { background: var(--red-soft); color: oklch(0.42 0.18 25); }

.prod-activity li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.prod-activity li:last-child { border-bottom: 0; }
.act-dot {
  width: 8px; height: 8px; border-radius: 99px;
}
.act-blue { background: var(--blue); }
.act-green { background: var(--green); }
.act-amber { background: var(--amber); }
.act-red { background: var(--red); }
.prod-activity .t { color: var(--ink-4); font-family: var(--mono); font-size: 11px; }

/* ========== AUDIENCE ========== */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 940px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card {
  background: var(--paper);
  padding: 26px 24px 28px;
  display: grid;
  gap: 10px;
}
.aud-card header { display: flex; align-items: center; gap: 12px; }
.aud-num {
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.aud-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.aud-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; text-wrap: pretty; }
.aud-card-note {
  background: oklch(0.97 0.008 80);
  border-style: dashed;
}
.aud-card-note h3 { color: var(--ink-3); }

/* ========== CTA / EARLY ACCESS ========== */
.section-cta {
  max-width: none;
  background:
    radial-gradient(900px 500px at 10% 0%, oklch(0.96 0.04 250 / .55), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, oklch(0.96 0.04 155 / .35), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.cta-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 18px;
}
.cta-title em { color: var(--blue-ink); }
.cta-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) { .cta-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field-cta { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}
.field input {
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: oklch(0.99 0.005 80);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--ink-4); }
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px oklch(0.55 0.17 250 / .15);
  background: var(--paper);
}
.field-note {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}
.field-note a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-status {
  min-height: 18px;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: var(--green); }
.cta-form.is-submitting button[type="submit"] {
  opacity: .72;
  pointer-events: none;
}

.cta-thanks {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid oklch(0.85 0.10 155);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.cta-thanks b { font-size: 17px; }
.cta-thanks p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.thanks-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--green);
  color: white;
  border-radius: 99px;
  flex-shrink: 0;
}

.cta-meta {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  font-size: 13.5px;
  color: var(--ink-2);
}
@media (max-width: 640px) { .cta-meta { grid-template-columns: 1fr; } }
.cta-meta li { display: grid; gap: 4px; }
.cta-meta b { color: var(--ink-4); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* ========== FOOTER ========== */
.footer {
  background: var(--bg);
  padding: 64px var(--gutter) 28px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-tag {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-2);
  max-width: 36ch;
  margin: 14px 0 0;
  line-height: 1.25;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  font-size: 14px;
}
.footer-cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer-cols ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
  color: var(--ink-2);
}
.footer-cols a:hover { color: var(--ink); }
.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-4);
}
@media (max-width: 640px) { .footer-base { flex-direction: column; gap: 6px; } }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .arrow-pulse, .rt-dot { animation: none; }
}
