/*
 * MRKT Manager landing page v2 — refreshed front-door.
 * Self-contained — token block + Inter Variable @font-face are inlined below,
 * so this stylesheet drops onto the marketing site without colors_and_type.css.
 *
 * Direction: same DNA, but tighter. Drops the radial-gradient marketing feel
 * for a sharper "operator console" hierarchy — denser numerics, status pulses,
 * monospace stock-numbers in marketing copy, and a single confident teal hue
 * instead of mint+teal competing for attention.
 */

/* ─── Inter Variable (self-hosted, OFL 1.1) ──────────────── */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/InterVariable.woff2') format('woff2-variations');
}

/* ─── Tokens — dark theme is canonical on the landing site ─ */
:root {
  color-scheme: dark;

  --teal-200: 153 246 228;
  --teal-700:  15 118 110;
  --teal-dark-primary:       61 155 122;
  --teal-dark-primary-hover: 52 130 102;
  --mrkt-mint:              139 197 177;

  --surface-0: 11 15 20;
  --surface-1: 17 22 29;
  --surface-2: 17 22 29;
  --surface-3: 21 27 35;
  --surface-4: 28 35 44;

  --color-background:                var(--surface-0);
  --color-surface:                   var(--surface-1);
  --color-surface-1:                 var(--surface-1);
  --color-surface-3:                 var(--surface-3);
  --color-surface-container:         var(--surface-2);
  --color-surface-container-high:    var(--surface-3);
  --color-surface-container-highest: var(--surface-4);

  --color-on-surface:         230 237 243;
  --color-on-surface-variant: 154 164 175;
  --color-on-surface-dim:     107 114 128;

  --color-primary:        var(--teal-dark-primary);
  --color-primary-hover:  var(--teal-dark-primary-hover);
  --color-on-primary:     240 253 248;
  --color-outline:         42 52 66;
  --color-outline-variant: 31 38 48;

  --color-brand-green:        61 155 122;
  --color-error:    239  68  68;
  --color-warning:  245 158  11;

  --ease-standard:   cubic-bezier(0.2, 0, 0, 1);
  --ease-spring:     cubic-bezier(0.34, 1.45, 0.64, 1);
  --dur-2: 160ms;
  --dur-3: 220ms;

  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-pill: 9999px;

  --shadow-overlay: 0 30px 80px -16px rgb(0 0 0 / 0.70), 0 6px 16px -4px rgb(0 0 0 / 0.50);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11' on, 'ss03' on, 'ss01' on, 'calt' on, 'liga' on;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: rgb(var(--color-background));
  color: rgb(var(--color-on-surface));
  font-family: 'Inter Variable', Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

/* ─── Layout ─────────────────────────────────────────────── */
.shell { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { padding: 112px 0; position: relative; }
.section-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-hd .meta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); font-family: ui-monospace, Menlo, monospace; }

/* ─── Top nav — slimmer, monospace section index ─────────── */
.topnav {
  position: sticky; top: 0; z-index: 30;
  background: rgb(var(--color-background) / 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgb(var(--color-outline) / 0.18);
}
.topnav .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  min-height: 52px;
}
.topnav .nav-links { display: flex; gap: 4px; align-items: center; }
.topnav .nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  color: rgb(var(--color-on-surface-variant));
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 7px;
  transition: color 160ms var(--ease-standard), background-color 160ms var(--ease-standard);
}
.topnav .nav-links a:hover { color: rgb(var(--color-on-surface)); background: rgb(255 255 255 / 0.03); }
.topnav .nav-links a .ix {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: rgb(var(--color-on-surface-dim));
  margin-right: 6px;
  letter-spacing: 0;
}
.topnav .actions { display: flex; gap: 8px; align-items: center; }

/* Wordmark */
.wm-inline { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.wm-inline .bars { display: flex; flex-direction: column; gap: 1.5px; }
.wm-inline .bar { height: 3px; border-radius: 0.75px; }
.wm-inline .b1, .wm-inline .b2 { width: 17px; background: rgb(var(--color-on-surface)); }
.wm-inline .b3 { display: flex; gap: 0.75px; }
.wm-inline .b3a { width: 5.2px; height: 3px; border-radius: 0.75px; background: rgb(var(--color-on-surface)); }
.wm-inline .b3b { width: 11.05px; height: 3px; border-radius: 0.75px; background: rgb(var(--mrkt-mint)); }
.wm-inline .word { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: rgb(var(--color-on-surface)); line-height: 1; }
.wm-inline .mgr { font-size: 8.5px; font-weight: 400; letter-spacing: -0.01em; color: rgb(var(--color-on-surface-variant)); margin-left: 3px; vertical-align: 3px; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; height: 36px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  font-family: inherit; cursor: pointer; text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 160ms var(--ease-standard);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: rgb(var(--mrkt-mint)); color: #07100c; border-color: rgb(var(--mrkt-mint)); }
.btn.primary:hover { background: rgb(var(--teal-200)); }
.btn.ghost { background: rgb(var(--color-surface-container) / 0.5); color: rgb(var(--color-on-surface)); border-color: rgb(var(--color-outline) / 0.4); }
.btn.ghost:hover { background: rgb(var(--color-surface-container-high)); border-color: rgb(var(--color-outline) / 0.7); }
.btn.text { background: transparent; color: rgb(var(--color-on-surface)); border: none; padding: 0 10px; }
.btn.text:hover { color: rgb(var(--mrkt-mint)); }
.btn.lg { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn .kbd {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.18);
  color: inherit;
  opacity: 0.7;
  margin-left: 2px;
}

/* ─── Eyebrow / labels ──────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(var(--mrkt-mint));
  font-family: ui-monospace, Menlo, monospace;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgb(var(--mrkt-mint));
  box-shadow: 0 0 0 3px rgb(var(--mrkt-mint) / 0.18);
  animation: pulse 2.4s var(--ease-standard) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(var(--mrkt-mint) / 0.18); }
  50%      { box-shadow: 0 0 0 5px rgb(var(--mrkt-mint) / 0.08); }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.15);
}
/* faint grid overlay — operator console feel */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(var(--color-outline) / 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--color-outline) / 0.15) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 40% at 50% 18%, rgb(var(--mrkt-mint) / 0.08), transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 22px 0 22px;
  max-width: 17ch;
  text-wrap: pretty;
}
.hero h1 .accent { color: rgb(var(--mrkt-mint)); }
.hero p.sub {
  font-size: 18px; line-height: 1.55;
  color: rgb(var(--color-on-surface-variant));
  max-width: 560px;
  margin: 0 0 32px;
}
.hero .ctas { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero .ctas .note {
  font-size: 12px;
  color: rgb(var(--color-on-surface-dim));
  margin-left: 6px;
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: -0.005em;
}

/* Hero — copy left, live Marketplace mock right */
.hero .lo { display: grid; grid-template-columns: 1fr 1.04fr; gap: 64px; align-items: center; }
.hero .copy { max-width: 560px; }
.hero .copy h1 { max-width: none; font-size: clamp(38px, 4.2vw, 58px); margin: 18px 0 20px; }
.hero .copy p.sub { max-width: 520px; }

/* ─── What-it-does flow graphic (hero right) ─────────────── */
.hero-flow {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgb(var(--color-outline) / 0.35);
  background: rgb(var(--color-surface-container));
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(var(--mrkt-mint) / 0.04);
  padding: 26px 24px;
  display: flex; flex-direction: column;
}
.hero-flow::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--color-outline) / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--color-outline) / 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black, transparent 80%);
  opacity: 0.5;
}
.hero-flow > * { position: relative; z-index: 1; }
.hero-flow .hf-node {
  border: 1px solid rgb(var(--color-outline) / 0.3);
  border-radius: 12px;
  background: rgb(var(--color-surface-3));
  padding: 14px 16px;
}
.hero-flow .hf-k { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); margin-bottom: 12px; }
.hero-flow .hf-rows { display: flex; flex-direction: column; gap: 9px; }
.hero-flow .hf-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgb(var(--color-on-surface)); letter-spacing: -0.01em; }
.hero-flow .hf-row b { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums slashed-zero; }
.hero-flow .hf-row .sd { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hero-flow .hf-row .sd.live { background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.hero-flow .hf-row .sd.draft { background: #fbbf24; }
.hero-flow .hf-link { position: relative; height: 34px; }
.hero-flow .hf-link::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(rgb(var(--color-outline) / 0.5), rgb(var(--mrkt-mint) / 0.45)); }
.hero-flow .hf-flow { position: absolute; left: 50%; width: 7px; height: 7px; border-radius: 50%; transform: translateX(-50%); background: rgb(var(--mrkt-mint)); box-shadow: 0 0 8px rgb(var(--mrkt-mint) / 0.8); animation: hf-travel 1.9s var(--ease-standard) infinite; }
@keyframes hf-travel { 0% { top: -2px; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: 31px; opacity: 0; } }
.hero-flow .hf-node.hub, .hero-flow .hf-node.out { display: flex; align-items: center; gap: 13px; }
.hero-flow .hf-node.hub { border-color: rgb(var(--mrkt-mint) / 0.4); background: rgb(var(--mrkt-mint) / 0.07); }
.hero-flow .hf-badge { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: rgb(var(--mrkt-mint) / 0.16); color: rgb(var(--mrkt-mint)); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.hero-flow .hf-node.hub .hf-badge { animation: hf-glow 2.6s var(--ease-standard) infinite; }
@keyframes hf-glow { 0%, 100% { box-shadow: 0 0 0 0 rgb(var(--mrkt-mint) / 0); } 50% { box-shadow: 0 0 18px 0 rgb(var(--mrkt-mint) / 0.45); } }
.hero-flow .hf-badge.live::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 8px rgb(var(--mrkt-mint) / 0.7); }
.hero-flow .hf-ping { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); animation: hf-ping 2.2s var(--ease-standard) infinite; }
@keyframes hf-ping { 0% { box-shadow: 0 0 0 0 rgb(var(--mrkt-mint) / 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgb(var(--mrkt-mint) / 0); } }
.hero-flow .hf-txt strong { display: block; font-size: 14px; font-weight: 600; color: rgb(var(--color-on-surface)); letter-spacing: -0.01em; }
.hero-flow .hf-txt .hf-sub { font-size: 12px; color: rgb(var(--color-on-surface-variant)); }
@media (prefers-reduced-motion: reduce) {
  .hero-flow .hf-flow, .hero-flow .hf-node.hub .hf-badge, .hero-flow .hf-ping { animation: none; }
  .hero-flow .hf-flow { opacity: 1; top: 14px; }
}

/* Live status strip — above hero copy */
.live-strip {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid rgb(var(--color-outline) / 0.3);
  border-radius: 999px;
  padding: 2px 4px 2px 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  background: rgb(var(--color-surface-container) / 0.5);
  backdrop-filter: blur(6px);
}
.live-strip .seg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  color: rgb(var(--color-on-surface-variant));
  letter-spacing: 0.04em;
}
.live-strip .seg + .seg { border-left: 1px solid rgb(var(--color-outline) / 0.3); }
.live-strip .seg strong { color: rgb(var(--color-on-surface)); font-weight: 700; }
.live-strip .seg .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 8px rgb(var(--mrkt-mint) / 0.6); animation: pulse 2.4s var(--ease-standard) infinite; }
.live-strip .seg.tag { color: rgb(var(--mrkt-mint)); font-weight: 600; padding-right: 14px; }
/* live activity meter — sits inside the NOW tag, signals "running right now" */
.live-strip .bars-live { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.live-strip .bars-live i { width: 2px; height: 100%; border-radius: 1px; background: rgb(var(--mrkt-mint)); transform-origin: bottom; animation: eq 1.2s ease-in-out infinite; }
.live-strip .bars-live i:nth-child(1) { animation-delay: 0s; }
.live-strip .bars-live i:nth-child(2) { animation-delay: 0.18s; }
.live-strip .bars-live i:nth-child(3) { animation-delay: 0.36s; }
.live-strip .bars-live i:nth-child(4) { animation-delay: 0.54s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .live-strip .bars-live i { animation: none; transform: scaleY(0.7); }
  .live-strip .seg .dot { animation: none; }
}

/* Hero product window — flatter, more "console" */
.hero-mock {
  margin-top: 72px;
  border-radius: 14px;
  border: 1px solid rgb(var(--color-outline) / 0.35);
  background: rgb(var(--color-surface-container));
  box-shadow:
    0 40px 80px -16px rgb(0 0 0 / 0.65),
    0 0 0 1px rgb(var(--mrkt-mint) / 0.04);
  overflow: hidden;
  position: relative;
}
/* mock title-bar — combines mac chrome + status badge */
.win-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgb(var(--color-surface-3));
  border-bottom: 1px solid rgb(var(--color-outline) / 0.3);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: rgb(var(--color-on-surface-variant));
}
.win-chrome .traffic { display: flex; gap: 6px; }
.win-chrome .traffic span { width: 11px; height: 11px; border-radius: 50%; }
.win-chrome .traffic span:nth-child(1) { background: #ff5f56; }
.win-chrome .traffic span:nth-child(2) { background: #ffbd2e; }
.win-chrome .traffic span:nth-child(3) { background: #27c93f; }
.win-chrome .crumb {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 8px;
}
.win-chrome .crumb .pip { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.win-chrome .crumb .sep { color: rgb(var(--color-on-surface-dim)); }
.win-chrome .crumb strong { color: rgb(var(--color-on-surface)); font-weight: 600; }
.win-chrome .right-meta { margin-left: auto; display: inline-flex; gap: 14px; color: rgb(var(--color-on-surface-dim)); font-size: 10.5px; }
.win-chrome .right-meta .ok { color: rgb(var(--mrkt-mint)); }

/* App sub-header — the actual app's nav strip */
.mock-nav {
  display: flex; align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.18);
  gap: 8px;
  background: rgb(var(--color-background));
}
.mock-nav .tab {
  font-size: 12px; font-weight: 500;
  padding: 5px 9px;
  border-radius: 6px;
  color: rgb(var(--color-on-surface-variant));
  display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: -0.01em;
}
.mock-nav .tab .ix { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; color: rgb(var(--color-on-surface-dim)); margin-right: 1px; }
.mock-nav .tab.act { background: rgb(var(--color-primary) / 0.18); color: rgb(var(--color-primary)); font-weight: 600; }
.mock-nav .spacer { flex: 1; }
.mock-nav .btn-row { display: flex; gap: 6px; }
.mock-nav .btn-pill { font-size: 11px; padding: 4px 10px; border-radius: 6px; border: 1px solid rgb(var(--color-outline) / 0.4); color: rgb(var(--color-on-surface-variant)); display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.mock-nav .btn-pill.fb { color: rgb(var(--color-brand-green)); border-color: rgb(var(--color-brand-green) / 0.4); background: rgb(var(--color-brand-green) / 0.1); }

/* Inventory mock — same 3-pane shape but tighter density */
.inv-mock { display: grid; grid-template-columns: 184px 1fr 296px; min-height: 480px; }
.inv-mock .side { padding: 16px 14px; border-right: 1px solid rgb(var(--color-outline) / 0.2); background: rgb(var(--color-background)); }
.inv-mock .side .lbl { font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); margin: 0 0 8px; }
.inv-mock .side .pill { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; border-radius: 5px; font-size: 12px; color: rgb(var(--color-on-surface)); margin-bottom: 1px; }
.inv-mock .side .pill.act { background: rgb(var(--color-primary) / 0.14); color: rgb(var(--color-primary)); font-weight: 600; }
.inv-mock .side .pill .ct { font-size: 11px; color: rgb(var(--color-on-surface-variant)); font-variant-numeric: tabular-nums; }
.inv-mock .side .pill.act .ct { color: rgb(var(--color-primary) / 0.85); }
.inv-mock .side .pill .sw { width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; display: inline-block; vertical-align: middle; }
.inv-mock .side hr { border: 0; border-top: 1px solid rgb(var(--color-outline) / 0.18); margin: 14px -14px; }

.inv-mock .list { padding: 14px 18px 0; min-width: 0; }
.inv-mock .list .toolbar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.18);
}
.inv-mock .list .toolbar .search {
  flex: 1; max-width: 280px;
  padding: 6px 10px;
  background: rgb(var(--color-surface-container) / 0.5);
  border: 1px solid rgb(var(--color-outline) / 0.3);
  border-radius: 7px;
  font-size: 12px; color: rgb(var(--color-on-surface-variant));
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: -0.01em;
}
.inv-mock .list .toolbar .kbd { font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: rgb(var(--color-on-surface-dim)); border: 1px solid rgb(var(--color-outline) / 0.4); border-radius: 4px; padding: 1px 5px; margin-left: 6px; }
.inv-mock .list .toolbar .right { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); }
.inv-mock .list .row {
  display: grid; grid-template-columns: 52px 1fr 52px 80px; gap: 10px; align-items: center;
  padding: 8px 6px;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.08);
  font-size: 13px;
  border-radius: 4px;
}
.inv-mock .list .row.sel { background: rgb(var(--color-primary) / 0.08); position: relative; }
.inv-mock .list .row.sel::before { content: ''; position: absolute; left: -6px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: rgb(var(--color-primary)); }
.inv-mock .list .row .thumb { width: 52px; height: 36px; border-radius: 5px; border: 1px solid rgb(var(--color-outline) / 0.4); }
.inv-mock .list .row .veh { font-size: 13px; font-weight: 600; color: rgb(var(--color-on-surface)); letter-spacing: -0.01em; }
.inv-mock .list .row .meta { font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); font-variant-numeric: tabular-nums slashed-zero; margin-top: 2px; font-family: ui-monospace, Menlo, monospace; letter-spacing: -0.01em; }
.inv-mock .list .row .stat { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; text-align: center; letter-spacing: 0.04em; font-family: ui-monospace, Menlo, monospace; }
.inv-mock .list .row .stat.live { background: rgba(94,234,212,0.14); color: #5eead4; }
.inv-mock .list .row .stat.draft { background: rgba(251,191,36,0.14); color: #fbbf24; }
.inv-mock .list .row .stat.queue { background: rgba(125,211,252,0.13); color: #7dd3fc; border: 1px solid rgba(125,211,252,0.3); }
.inv-mock .list .row .price { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; text-align: right; }

.inv-mock .detail {
  padding: 16px 18px;
  border-left: 1px solid rgb(var(--color-outline) / 0.2);
  background: rgb(var(--color-background));
}
.inv-mock .detail h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 4px; }
.inv-mock .detail .stk { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.inv-mock .detail .mini-strip { display: flex; gap: 4px; margin: 12px 0; }
.inv-mock .detail .mini-strip .tn { width: 36px; height: 26px; border-radius: 4px; background: linear-gradient(135deg, #1e2a36, #11161D); border: 1px solid rgb(var(--color-outline) / 0.4); }
.inv-mock .detail .mini-strip .tn.act { border-color: rgb(var(--color-primary)); }
.inv-mock .detail .price-row { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; }
.inv-mock .detail .price-row .price { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums slashed-zero; }
.inv-mock .detail .price-row .since { font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: rgb(var(--color-on-surface-dim)); }
.inv-mock .detail .ai {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgb(var(--mrkt-mint) / 0.07);
  border: 1px solid rgb(var(--mrkt-mint) / 0.28);
}
.inv-mock .detail .ai .h { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: rgb(var(--mrkt-mint)); text-transform: uppercase; letter-spacing: 0.08em; font-family: ui-monospace, Menlo, monospace; }
.inv-mock .detail .ai .h .glow { width: 14px; height: 14px; border-radius: 3px; background: rgb(var(--mrkt-mint) / 0.22); color: rgb(var(--mrkt-mint)); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.inv-mock .detail .ai .p { font-size: 11.5px; color: rgb(var(--color-on-surface-variant)); margin-top: 6px; line-height: 1.45; }
.inv-mock .detail .ai .row { display: flex; gap: 6px; margin-top: 8px; }
.inv-mock .detail .ai .row .b { font-size: 10.5px; padding: 4px 8px; border-radius: 5px; background: rgb(var(--mrkt-mint)); color: #07100c; font-weight: 600; font-family: inherit; }
.inv-mock .detail .ai .row .g { font-size: 10.5px; padding: 4px 8px; border-radius: 5px; background: transparent; color: rgb(var(--color-on-surface-variant)); border: 1px solid rgb(var(--color-outline) / 0.4); font-family: inherit; }
.inv-mock .detail .specs { margin-top: 12px; display: grid; grid-template-columns: 72px 1fr; row-gap: 5px; column-gap: 12px; font-size: 11.5px; }
.inv-mock .detail .specs .k { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); align-self: center; }
.inv-mock .detail .specs .v { color: rgb(var(--color-on-surface)); font-variant-numeric: tabular-nums; }

/* ─── Activity ticker (replaces logo zoo) ──────────────── */
.activity {
  padding: 28px 0;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.18);
  background: rgb(var(--color-surface-1));
}
.activity .row {
  display: flex; align-items: center; gap: 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.activity .blurb {
  font-size: 13px;
  color: rgb(var(--color-on-surface-variant));
  letter-spacing: -0.005em;
  max-width: 380px;
}
.activity .blurb strong { color: rgb(var(--color-on-surface)); font-weight: 700; }
.activity .logos { display: flex; gap: 28px; align-items: center; opacity: 0.65; flex-wrap: wrap; }
.activity .logos .lg { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: rgb(var(--color-on-surface-variant)); }
.activity .logos .lg.caps { letter-spacing: 0.14em; font-size: 11px; font-weight: 700; }
.activity .logos .lg.serif { font-family: 'Georgia', serif; font-weight: 400; font-style: italic; font-size: 15px; }
.activity .logos .lg.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.activity .logos .lg.cond { font-stretch: 75%; font-weight: 800; font-size: 17px; }

/* ─── Capabilities — control panel layout ─────────────── */
.capabilities { padding: 112px 0; }
.capabilities h2 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 14px; max-width: 18ch; line-height: 1.05; }
.capabilities p.lead { font-size: 16px; color: rgb(var(--color-on-surface-variant)); max-width: 580px; line-height: 1.55; margin: 0; }

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 56px;
}
.cap {
  border-radius: 14px;
  border: 1px solid rgb(var(--color-outline) / 0.28);
  background: rgb(var(--color-surface-container) / 0.5);
  padding: 24px 24px 0;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.cap.wide { grid-column: span 2; min-height: 280px; }
.cap .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.cap .head .l { flex: 1; min-width: 0; }
.cap .ix {
  font-family: ui-monospace, Menlo, monospace; font-size: 10px;
  letter-spacing: 0.08em;
  color: rgb(var(--color-on-surface-dim));
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.cap .ix .stat-dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.cap .ix .stat-dot.amber { background: #fbbf24; box-shadow: 0 0 6px rgb(251 191 36 / 0.6); }
.cap .ix .stat-dot.sky   { background: #7dd3fc; box-shadow: 0 0 6px rgb(125 211 252 / 0.5); }
.cap h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1.15; }
.cap p { font-size: 14px; line-height: 1.55; color: rgb(var(--color-on-surface-variant)); margin: 0; max-width: 44ch; }

.cap .visual { margin: 24px -1px -1px; border-top: 1px solid rgb(var(--color-outline) / 0.2); padding: 18px 20px 20px; background: rgb(var(--color-background) / 0.5); font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; }
.cap .visual .log-row { display: grid; grid-template-columns: 56px 1fr 80px; gap: 12px; padding: 4px 0; align-items: center; color: rgb(var(--color-on-surface-variant)); letter-spacing: -0.01em; }
.cap .visual .log-row .t { color: rgb(var(--color-on-surface-dim)); font-size: 10.5px; }
.cap .visual .log-row .e { color: rgb(var(--color-on-surface)); }
.cap .visual .log-row .e .tag { color: rgb(var(--mrkt-mint)); font-weight: 600; }
.cap .visual .log-row .e .tag.amber { color: #fbbf24; }
.cap .visual .log-row .e .tag.orange { color: #f59e0b; }
.cap .visual .log-row .r { text-align: right; font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); }
.cap .visual .log-row .r.ok { color: rgb(var(--mrkt-mint)); }
.cap .visual .blink { animation: blink 1.4s var(--ease-standard) infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* meter visual for the "queue draining" card */
.meter {
  margin: 16px 0 0;
  height: 8px;
  background: rgb(var(--color-outline) / 0.25);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.meter .fill {
  height: 100%;
  background: linear-gradient(90deg, rgb(var(--color-primary)), rgb(var(--mrkt-mint)));
  width: 67%;
  border-radius: 4px;
}
.meter-row { display: flex; justify-content: space-between; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgb(var(--color-on-surface-variant)); margin-top: 8px; }
.meter-row strong { color: rgb(var(--color-on-surface)); }

/* CRM visual stack inside cap */
.cap .alert-stack { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.cap .alert-stack .alert {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgb(var(--color-surface-container) / 0.8);
  border: 1px solid rgb(var(--color-outline) / 0.25);
  font-size: 12px;
}
.cap .alert-stack .alert .tag { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 5px; border-radius: 3px; }
.cap .alert-stack .alert .tag.warm { background: rgb(251 191 36 / 0.15); color: #fbbf24; }
.cap .alert-stack .alert .tag.hot  { background: rgb(248 113 113 / 0.15); color: #f87171; }
.cap .alert-stack .alert .nm { color: rgb(var(--color-on-surface)); font-weight: 600; }
.cap .alert-stack .alert .sub { color: rgb(var(--color-on-surface-variant)); font-size: 11px; margin-top: 1px; }
.cap .alert-stack .alert .act { font-size: 10.5px; color: rgb(var(--mrkt-mint)); font-weight: 600; font-family: ui-monospace, Menlo, monospace; }

/* ─── Story sections ──────────────────────────────────── */
.story { padding: 112px 0; border-top: 1px solid rgb(var(--color-outline) / 0.15); }
.story .lo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.story.reverse .lo { grid-template-areas: 'b a'; }
.story.reverse .copy { grid-area: a; }
.story.reverse .visual { grid-area: b; }
.story .copy h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.05; margin: 14px 0 18px; }
.story .copy p { font-size: 16px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); margin: 0 0 16px; }
.story .copy .pts { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.story .copy .pts .pt { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.story .copy .pts .pt .ix {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgb(var(--mrkt-mint) / 0.16);
  color: rgb(var(--mrkt-mint));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; font-weight: 700;
  margin-top: 2px;
}
.story .copy .pts .pt h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: rgb(var(--color-on-surface)); letter-spacing: -0.01em; }
.story .copy .pts .pt p { font-size: 13.5px; margin: 0; color: rgb(var(--color-on-surface-variant)); line-height: 1.5; }

/* Chat-style Reply Assistant mock — tighter */
.chat {
  border-radius: 14px;
  background: rgb(var(--color-surface-container));
  border: 1px solid rgb(var(--color-outline) / 0.3);
  padding: 0;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
  overflow: hidden;
}
.chat .hd {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.04em;
  font-weight: 500; color: rgb(var(--color-on-surface-variant));
  padding: 12px 18px; background: rgb(var(--color-surface-3));
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
  display: flex; align-items: center; gap: 10px;
}
.chat .hd .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.chat .hd strong { color: rgb(var(--color-on-surface)); font-weight: 600; }
.chat .hd .meta { margin-left: auto; color: rgb(var(--color-on-surface-dim)); }
.chat .read {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgb(var(--color-outline) / 0.2);
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
}
.chat .read .cell { background: rgb(var(--color-surface-container)); padding: 10px 12px; }
.chat .read .cell .k { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; color: rgb(var(--color-on-surface-dim)); letter-spacing: 0.08em; text-transform: uppercase; }
.chat .read .cell .v { font-size: 12px; color: rgb(var(--color-on-surface)); font-weight: 600; margin-top: 3px; }
.chat .read .cell .v.amber { color: #fbbf24; }
.chat .read .cell .v.mint { color: rgb(var(--mrkt-mint)); }
.chat .msgs { padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.chat .bubble { max-width: 80%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.chat .bubble.them { align-self: flex-start; border-bottom-left-radius: 5px; background: rgb(var(--color-surface-container-high)); border: 1px solid rgb(var(--color-outline) / 0.2); }
.chat .bubble.me { align-self: flex-end; border-bottom-right-radius: 5px; background: rgb(var(--color-primary)); color: rgb(var(--color-on-primary)); }
.chat .activity-line { align-self: center; font-family: ui-monospace, Menlo, monospace; font-size: 10px; padding: 2px 8px; border-radius: 9999px; background: transparent; border: 1px solid rgb(var(--color-outline) / 0.25); color: rgb(var(--color-on-surface-dim)); letter-spacing: 0.04em; }
.chat .draft {
  margin: 4px 18px 18px;
  background: rgb(var(--mrkt-mint) / 0.07);
  border: 1px solid rgb(var(--mrkt-mint) / 0.3);
  border-radius: 10px;
  padding: 12px 14px;
}
.chat .draft .lbl { font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--mrkt-mint)); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.chat .draft .lbl .play { font-size: 9.5px; color: rgb(var(--color-on-surface-variant)); border: 1px solid rgb(var(--color-outline) / 0.4); padding: 1px 5px; border-radius: 3px; }
.chat .draft .txt { font-size: 13.5px; line-height: 1.5; color: rgb(var(--color-on-surface)); }
.chat .draft .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: rgb(var(--color-on-surface-variant)); }
.chat .draft .ft .ok { color: rgb(var(--mrkt-mint)); }
.chat .draft .ft .btn-mini { background: rgb(var(--mrkt-mint)); color: #07100c; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 600; font-family: inherit; border: none; cursor: pointer; letter-spacing: 0; }

/* CRM mock — second story */
.crm-mock {
  border-radius: 14px;
  background: rgb(var(--color-surface-container));
  border: 1px solid rgb(var(--color-outline) / 0.3);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
}
.crm-mock .hd {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: rgb(var(--color-on-surface-variant));
  padding: 12px 18px;
  background: rgb(var(--color-surface-3));
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
  display: flex; align-items: center; gap: 12px;
}
.crm-mock .hd strong { color: rgb(var(--color-on-surface)); font-weight: 600; }
.crm-mock .hd .meta { margin-left: auto; color: rgb(var(--color-on-surface-dim)); }
.crm-mock .filter-row { display: flex; gap: 6px; padding: 10px 18px; border-bottom: 1px solid rgb(var(--color-outline) / 0.15); }
.crm-mock .filter-row .chip { font-family: ui-monospace, Menlo, monospace; font-size: 10px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgb(var(--color-outline) / 0.3); color: rgb(var(--color-on-surface-variant)); letter-spacing: 0.04em; }
.crm-mock .filter-row .chip.act { background: rgb(var(--color-primary) / 0.18); color: rgb(var(--color-primary)); border-color: rgb(var(--color-primary) / 0.3); }
.crm-mock .body { padding: 0 18px; }
.crm-mock .ev { display: grid; grid-template-columns: 28px 1fr 60px auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgb(var(--color-outline) / 0.12); font-size: 13px; }
.crm-mock .ev:last-of-type { border-bottom: none; }
.crm-mock .ev .ava { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, rgb(var(--mrkt-mint)), rgb(var(--teal-700))); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; }
.crm-mock .ev .name { font-weight: 600; }
.crm-mock .ev .sub { font-size: 11px; color: rgb(var(--color-on-surface-variant)); margin-top: 1px; font-family: ui-monospace, Menlo, monospace; letter-spacing: -0.005em; }
.crm-mock .ev .since { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); text-align: right; }
.crm-mock .ev .stage { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.06em; font-family: ui-monospace, Menlo, monospace; }
.crm-mock .ev .stage.hot { background: rgba(239,68,68,0.16); color: #fca5a5; }
.crm-mock .ev .stage.warm { background: rgba(245,158,11,0.16); color: #fcd34d; }
.crm-mock .ev .stage.sold { background: rgba(94,234,212,0.15); color: #5eead4; }
.crm-mock .alert {
  margin: 8px 18px 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgb(var(--color-warning) / 0.10);
  border: 1px solid rgb(var(--color-warning) / 0.3);
  display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center;
  font-size: 12.5px;
}
.crm-mock .alert .ic-warn { color: rgb(var(--color-warning)); font-weight: 700; font-size: 14px; line-height: 1; }
.crm-mock .alert strong { color: rgb(var(--color-on-surface)); }
.crm-mock .alert .sub { font-size: 11px; color: rgb(var(--color-on-surface-variant)); margin-top: 2px; font-family: ui-monospace, Menlo, monospace; letter-spacing: -0.005em; }
.crm-mock .alert .btn-mini { background: rgb(var(--color-warning) / 0.22); color: rgb(var(--color-warning)); border: 1px solid rgb(var(--color-warning) / 0.4); padding: 5px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap; }


/* ─── How it works — 3 steps ────────────────────────────── */
.how { border-top: 1px solid rgb(var(--color-outline) / 0.15); }
.how .head { max-width: 640px; margin-bottom: 48px; }
.how .head h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; margin: 14px 0 0; text-wrap: balance; }
.how .head p { font-size: 16px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); margin: 16px 0 0; max-width: 52ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  border: 1px solid rgb(var(--color-outline) / 0.28);
  background: rgb(var(--color-surface-container) / 0.5);
  border-radius: 16px;
  padding: 24px 24px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.step .n {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; color: rgb(var(--color-on-surface-dim));
}
.step .n .num { width: 26px; height: 26px; border-radius: 7px; background: rgb(var(--mrkt-mint) / 0.16); color: rgb(var(--mrkt-mint)); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 8px; line-height: 1.2; }
.step p { font-size: 13.5px; line-height: 1.55; color: rgb(var(--color-on-surface-variant)); margin: 0; }
.step .vis {
  margin: 20px -24px 0; padding: 14px 20px 18px;
  border-top: 1px solid rgb(var(--color-outline) / 0.2);
  background: rgb(var(--color-background) / 0.5);
  font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  color: rgb(var(--color-on-surface-variant));
  margin-top: auto;
}
.step .vis .ln { display: flex; align-items: center; gap: 8px; padding: 3px 0; white-space: nowrap; overflow: hidden; }
.step .vis .ln .tag { color: rgb(var(--mrkt-mint)); font-weight: 600; }
.step .vis .ln .tag.orange { color: #f59e0b; }
.step .vis .ln .r { margin-left: auto; color: rgb(var(--color-on-surface-dim)); font-size: 10px; }
.step .vis .ln .r.ok { color: rgb(var(--mrkt-mint)); }
.step .vis .bub { background: rgb(var(--color-surface-container-high)); border: 1px solid rgb(var(--color-outline) / 0.25); border-radius: 9px; border-bottom-left-radius: 3px; padding: 7px 10px; font-size: 11.5px; color: rgb(var(--color-on-surface)); }

/* ─── AI listing composer (feature story visual) ─────────── */
.composer {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgb(var(--color-outline) / 0.3);
  background: rgb(var(--color-surface-container));
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
}
.composer .ch {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgb(var(--color-surface-3));
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgb(var(--color-on-surface-variant));
}
.composer .ch .pip { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.composer .ch strong { color: rgb(var(--color-on-surface)); font-weight: 600; }
.composer .ch .right { margin-left: auto; color: rgb(var(--color-on-surface-dim)); }
.composer .facts { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgb(var(--color-outline) / 0.15); }
.composer .facts .lbl { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); width: 100%; margin-bottom: 2px; }
.composer .facts .chip { font-family: ui-monospace, Menlo, monospace; font-size: 11px; padding: 3px 9px; border-radius: 6px; background: rgb(var(--color-surface-container-high)); border: 1px solid rgb(var(--color-outline) / 0.3); color: rgb(var(--color-on-surface)); }
.composer .out { padding: 16px; }
.composer .out .lbl { display: flex; align-items: center; justify-content: space-between; font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--mrkt-mint)); margin-bottom: 10px; }
.composer .out .txt { font-size: 13.5px; line-height: 1.6; color: rgb(var(--color-on-surface)); }
.composer .out .txt .cur { display: inline-block; width: 6px; height: 14px; background: rgb(var(--mrkt-mint)); vertical-align: -2px; margin-left: 2px; animation: cur-blink 1.1s steps(1) infinite; }
@keyframes cur-blink { 50% { opacity: 0; } }
.composer .tone { display: flex; align-items: center; gap: 6px; padding: 0 16px 14px; }
.composer .tone .k { font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); margin-right: 4px; }
.composer .tone .t { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgb(var(--color-outline) / 0.35); color: rgb(var(--color-on-surface-variant)); }
.composer .tone .t.act { background: rgb(var(--mrkt-mint) / 0.16); color: rgb(var(--mrkt-mint)); border-color: rgb(var(--mrkt-mint) / 0.35); font-weight: 600; }
.composer .cfoot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid rgb(var(--color-outline) / 0.2); background: rgb(var(--color-background) / 0.5); font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-variant)); }
.composer .cfoot .ok { color: rgb(var(--mrkt-mint)); }
.composer .cfoot .post { background: rgb(var(--color-brand-green)); color: #fff; border: none; font-family: inherit; font-size: 11.5px; font-weight: 600; padding: 6px 13px; border-radius: 7px; cursor: pointer; }

/* ─── Inventory sync log (feature story visual) ──────────── */
.synclog {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgb(var(--color-outline) / 0.3);
  background: rgb(var(--color-surface-container));
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55);
}
.synclog .sh {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgb(var(--color-surface-3));
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgb(var(--color-on-surface-variant));
}
.synclog .sh .pip { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.synclog .sh strong { color: rgb(var(--color-on-surface)); font-weight: 600; }
.synclog .sh .right { margin-left: auto; color: rgb(var(--color-on-surface-dim)); }
.synclog .body { padding: 6px 16px 10px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.synclog .row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgb(var(--color-outline) / 0.1); }
.synclog .row:last-child { border-bottom: none; }
.synclog .row .t { color: rgb(var(--color-on-surface-dim)); font-size: 10.5px; }
.synclog .row .e { color: rgb(var(--color-on-surface)); letter-spacing: -0.01em; }
.synclog .row .e .tag { font-weight: 600; }
.synclog .row .e .tag.up { color: rgb(var(--mrkt-mint)); }
.synclog .row .e .tag.down { color: #f87171; }
.synclog .row .e .tag.new { color: #7dd3fc; }
.synclog .row .r { font-size: 10px; color: rgb(var(--color-on-surface-dim)); text-align: right; }
.synclog .row .r.ok { color: rgb(var(--mrkt-mint)); }
.synclog .sfoot { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 1px solid rgb(var(--color-outline) / 0.2); background: rgb(var(--color-background) / 0.5); font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-variant)); }
.synclog .sfoot .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mrkt-mint)); box-shadow: 0 0 6px rgb(var(--mrkt-mint) / 0.6); }
.synclog .sfoot strong { color: rgb(var(--color-on-surface)); font-weight: 700; }

/* ─── Quote ─────────────────────────────────────────────── */
.quote {
  background: rgb(var(--color-background));
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(var(--color-outline) / 0.15);
}
.quote::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgb(var(--color-outline) / 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 85% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 85% 50%, black, transparent 75%);
  opacity: 0.5;
}
.quote .shell { position: relative; z-index: 1; }
.quote .mk { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--mrkt-mint)); }
.quote blockquote {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: 18px 0 36px;
  max-width: 22ch;
  text-wrap: pretty;
}
.quote blockquote .accent { color: rgb(var(--mrkt-mint)); }
.quote .cite { display: flex; align-items: center; gap: 14px; }
.quote .cite .ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgb(var(--mrkt-mint)), rgb(var(--teal-700))); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.quote .cite .who { font-size: 14px; font-weight: 600; }
.quote .cite .role { font-size: 12px; color: rgb(var(--color-on-surface-variant)); margin-top: 2px; font-family: ui-monospace, Menlo, monospace; letter-spacing: -0.005em; }

/* ─── Pricing ───────────────────────────────────────────── */
.pricing { padding: 112px 0; border-top: 1px solid rgb(var(--color-outline) / 0.15); }
.pricing .head { text-align: center; margin-bottom: 56px; }
.pricing h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.028em; margin: 12px 0 14px; }
.pricing p.lead { font-size: 16px; color: rgb(var(--color-on-surface-variant)); max-width: 540px; margin: 0 auto; line-height: 1.55; }
.pricing .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.tier {
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid rgb(var(--color-outline) / 0.28);
  background: rgb(var(--color-surface-container) / 0.5);
  display: flex; flex-direction: column;
  position: relative;
}
.tier.feat { border-color: rgb(var(--mrkt-mint) / 0.45); background: rgb(var(--mrkt-mint) / 0.04); }
.tier.feat .badge {
  position: absolute; top: -10px; left: 24px;
  background: rgb(var(--mrkt-mint)); color: #07100c;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px;
}
.tier .ttl { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-variant)); }
.tier .price { font-size: 52px; font-weight: 700; letter-spacing: -0.04em; margin: 12px 0 4px; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .price .per { font-size: 14px; color: rgb(var(--color-on-surface-variant)); font-weight: 500; letter-spacing: 0; margin-left: 4px; font-family: ui-monospace, Menlo, monospace; }
.tier .desc { font-size: 13px; color: rgb(var(--color-on-surface-variant)); margin-bottom: 24px; line-height: 1.55; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tier ul li { font-size: 13px; color: rgb(var(--color-on-surface)); line-height: 1.5; padding-left: 22px; position: relative; }
.tier ul li::before { content: '+'; color: rgb(var(--mrkt-mint)); font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 13px; position: absolute; left: 0; top: 0; }
.tier .btn { width: 100%; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq { background: rgb(var(--color-surface-1)); border-top: 1px solid rgb(var(--color-outline) / 0.18); }
.faq h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.025em; text-align: center; margin: 12px 0 48px; }
.faq .list { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid rgb(var(--color-outline) / 0.2);
  padding: 18px 0;
}
.faq summary {
  list-style: none;
  font-size: 15.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: ui-monospace, Menlo, monospace; font-size: 18px; font-weight: 400; color: rgb(var(--color-on-surface-variant)); flex-shrink: 0; transition: transform 200ms var(--ease-standard); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); max-width: 64ch; }

/* ─── Compare — no demo wall ────────────────────────────── */
.compare { padding: 112px 0; border-top: 1px solid rgb(var(--color-outline) / 0.15); }
.compare h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.05; margin: 14px 0 14px; max-width: 20ch; }
.compare h2 .accent { color: rgb(var(--mrkt-mint)); }
.compare p.lead { font-size: 16px; color: rgb(var(--color-on-surface-variant)); max-width: 600px; line-height: 1.55; margin: 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.compare-grid .col {
  border-radius: 14px; padding: 24px;
  border: 1px solid rgb(var(--color-outline) / 0.28);
  background: rgb(var(--color-surface-container) / 0.5);
}
.compare-grid .col.ours { border-color: rgb(var(--mrkt-mint) / 0.45); background: rgb(var(--mrkt-mint) / 0.04); }
.compare-grid .col .tl {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgb(var(--color-on-surface-variant)); margin-bottom: 18px;
}
.compare-grid .col.ours .tl { color: rgb(var(--mrkt-mint)); }
.compare-grid .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare-grid .col li { font-size: 14px; line-height: 1.5; color: rgb(var(--color-on-surface)); padding-left: 26px; position: relative; }
.compare-grid .col.usual li { color: rgb(var(--color-on-surface-variant)); }
.compare-grid .col.usual li::before { content: '\00d7'; position: absolute; left: 0; top: -1px; color: rgb(var(--color-on-surface-dim)); font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 15px; }
.compare-grid .col.ours li::before { content: '+'; position: absolute; left: 0; top: 0; color: rgb(var(--mrkt-mint)); font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 14px; }
.compare .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 1100px) { .compare-grid { grid-template-columns: 1fr; } }

/* ─── CTA band ──────────────────────────────────────────── */
.cta-band {
  padding: 112px 0 96px;
  background: rgb(var(--color-background));
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(var(--color-outline) / 0.15);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgb(var(--mrkt-mint) / 0.14), transparent 60%);
  pointer-events: none;
}
.cta-band .shell { position: relative; }
.cta-band h2 { font-size: clamp(40px, 4.5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; max-width: 18ch; margin: 0 auto 18px; }
.cta-band h2 .accent { color: rgb(var(--mrkt-mint)); }
.cta-band p { font-size: 16px; color: rgb(var(--color-on-surface-variant)); max-width: 480px; margin: 0 auto 32px; line-height: 1.55; }
.cta-band .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Site footer ───────────────────────────────────────── */
.footer { padding: 48px 0 28px; border-top: 1px solid rgb(var(--color-outline) / 0.18); background: rgb(var(--color-background)); }
.footer .top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 36px; }
.footer .brand p { font-size: 12.5px; color: rgb(var(--color-on-surface-variant)); margin-top: 14px; max-width: 260px; line-height: 1.55; }
.footer .col h5 { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); margin: 0 0 14px; }
.footer .col a { display: block; font-size: 13px; color: rgb(var(--color-on-surface)); text-decoration: none; padding: 3px 0; }
.footer .col a:hover { color: rgb(var(--mrkt-mint)); }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgb(var(--color-outline) / 0.15); font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgb(var(--color-on-surface-dim)); letter-spacing: -0.005em; }
.footer .bottom .legal { display: flex; gap: 18px; }
.footer .bottom .legal a { color: rgb(var(--color-on-surface-variant)); text-decoration: none; }
.footer .bottom .legal a:hover { color: rgb(var(--mrkt-mint)); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .inv-mock { grid-template-columns: 168px 1fr 260px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap.wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .pricing .cards { grid-template-columns: 1fr; }
  .story .lo { grid-template-columns: 1fr; gap: 48px; }
  .story.reverse .lo { grid-template-areas: 'a' 'b'; }
  .hero .lo { grid-template-columns: 1fr; gap: 48px; }
  .hero .copy { max-width: none; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .inv-mock { grid-template-columns: 1fr; min-height: auto; }
  .inv-mock .side, .inv-mock .detail { display: none; }
  .topnav .nav-links { display: none; }
  .shell { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 32px; }
  .footer .top { grid-template-columns: 1fr; gap: 24px; }
  .live-strip { flex-wrap: wrap; }
  .activity .row { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* Log-style mock rows: on narrow screens the fixed time/result columns crush the
     middle column and the event text wraps into a tall, ragged block. Stack instead:
     "time … result" on top, the event line full width below. */
  .cap .visual .log-row,
  .synclog .row {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'meta-l meta-r' 'evt evt';
    column-gap: 12px;
    row-gap: 2px;
    align-items: baseline;
  }
  .cap .visual .log-row .t, .synclog .row .t { grid-area: meta-l; }
  .cap .visual .log-row .r, .synclog .row .r { grid-area: meta-r; }
  .cap .visual .log-row .e, .synclog .row .e { grid-area: evt; }
}

/* ════════════════════════════════════════════════════════════════════════
   SUBPAGE HELPERS — /features, /pricing, legal pages
   Added so the subpages share the v2 console design system instead of the
   legacy styles.css. v2 tokens only; no styles.css dependency.
   ════════════════════════════════════════════════════════════════════════ */

/* Generic subpage section */
.section { padding: 96px 0; border-top: 1px solid rgb(var(--color-outline) / 0.15); }
.section > .shell > .eyebrow { margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.06; margin: 0 0 12px; }
.section .sub { font-size: 16px; color: rgb(var(--color-on-surface-variant)); margin: 0 0 8px; max-width: 62ch; line-height: 1.55; }
.section .lead { font-size: 16px; color: rgb(var(--color-on-surface-variant)); margin: 0; max-width: 600px; line-height: 1.55; }

/* Centered subpage hero (overrides the home .hero grid backdrop) */
.page-hero { padding: 72px 0 8px; text-align: center; border-bottom: none; }
.page-hero::before, .page-hero::after { display: none; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 62px); margin: 18px auto 18px; max-width: 18ch; }
.page-hero .lede { font-size: 17px; line-height: 1.55; color: rgb(var(--color-on-surface-variant)); max-width: 58ch; margin: 0 auto; }
.accent-text { color: rgb(var(--mrkt-mint)); }

/* "Coming soon" inline badge */
.tag-soon { display: inline-block; margin-left: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #fbbf24; background: rgb(251 191 36 / 0.12); border: 1px solid rgb(251 191 36 / 0.32); border-radius: 999px; padding: 2px 7px; vertical-align: middle; }

/* Features — 6 compact "details that add up" cards (spotlight rows reuse .story) */
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feat-card { border-radius: 14px; border: 1px solid rgb(var(--color-outline) / 0.28); background: rgb(var(--color-surface-container) / 0.5); padding: 22px 22px 24px; transition: border-color 160ms var(--ease-standard), background-color 160ms var(--ease-standard); }
.feat-card:hover { border-color: rgb(var(--color-outline) / 0.5); background: rgb(var(--color-surface-container) / 0.85); }
.feat-card .ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; margin-bottom: 14px; color: rgb(var(--mrkt-mint)); background: rgb(var(--mrkt-mint) / 0.12); border: 1px solid rgb(var(--mrkt-mint) / 0.28); }
.feat-card .ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 6px; }
.feat-card p { font-size: 13.5px; line-height: 1.55; color: rgb(var(--color-on-surface-variant)); margin: 0; }

/* Pricing — "both plans include everything" checklist */
.includes-block { max-width: 860px; margin: 28px auto 0; border-radius: 14px; border: 1px solid rgb(var(--color-outline) / 0.28); background: rgb(var(--color-surface-container) / 0.5); padding: 24px 26px; }
.includes-title { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-variant)); margin: 0 0 16px; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgb(var(--color-on-surface)); line-height: 1.5; }
.includes li > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.includes svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: rgb(var(--mrkt-mint)); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing tier — supplementary lines (v2 .tier base lives above) */
.tier .plan-cta, .tier .btn { width: 100%; }
.tier .plan-tax { font-size: 12px; color: rgb(var(--color-on-surface-dim)); margin: 0 0 18px; }
.tier .plan-fine { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgb(var(--color-on-surface-dim)); text-align: center; margin: 10px 0 0; }

/* Closing CTA band — supporting meta/fineprint under the button */
.cta-band .cta-meta, .cta-band .fineprint { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: rgb(var(--color-on-surface-dim)); margin: 16px auto 0; max-width: 54ch; }
.cta-band .cta-meta a, .cta-band .fineprint a { color: rgb(var(--color-on-surface-variant)); text-decoration: underline; text-underline-offset: 2px; }
.cta-band .cta-meta a:hover, .cta-band .fineprint a:hover { color: rgb(var(--mrkt-mint)); }

/* Legal pages (terms / privacy / beta) — scoped to main.legal so it can't hit .footer .bottom .legal */
main.legal { padding: 56px 0 24px; max-width: 760px; }
main.legal .back { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: rgb(var(--color-on-surface-variant)); margin-bottom: 24px; text-decoration: none; }
main.legal .back:hover { color: rgb(var(--mrkt-mint)); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 20px; }
.prose h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 32px 0 8px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
.prose p, .prose li { color: rgb(var(--color-on-surface-variant)); font-size: 15px; line-height: 1.65; }
.prose strong { color: rgb(var(--color-on-surface)); }
.prose a { color: rgb(var(--mrkt-mint)); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 5px 0; }
.prose blockquote { margin: 16px 0; padding: 10px 16px; border-left: 3px solid rgb(var(--color-outline) / 0.6); background: rgb(var(--color-surface-container) / 0.5); border-radius: 0 8px 8px 0; color: rgb(var(--color-on-surface-dim)); }
.prose hr { border: 0; border-top: 1px solid rgb(var(--color-outline) / 0.3); margin: 32px 0; }
.prose code { background: rgb(var(--color-surface-container-high)); border: 1px solid rgb(var(--color-outline) / 0.4); border-radius: 4px; padding: 1px 6px; font-size: 0.9em; font-family: ui-monospace, Menlo, monospace; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid rgb(var(--color-outline) / 0.4); padding: 8px 12px; text-align: left; }
.prose th { background: rgb(var(--color-surface-container) / 0.6); color: rgb(var(--color-on-surface)); }

/* ─── Find-your-dealership checker ──────────────────────── */
/* Tight vertical rhythm: the finder is short (often just the prompt line), so the section's
   default 96px top/bottom left a big void below it. */
.checker { padding-top: 36px; padding-bottom: 40px; }
.checker-shell { max-width: 640px; }
.checker-form { display: grid; gap: 16px; border-radius: 14px; border: 1px solid rgb(var(--color-outline) / 0.32); background: rgb(var(--color-surface-container) / 0.5); padding: 28px; }
.checker-form .fld { display: grid; gap: 6px; }
.checker-form label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; color: rgb(var(--color-on-surface-variant)); }
.checker-form label .opt { font-weight: 400; color: rgb(var(--color-on-surface-dim)); }
.checker-form input { width: 100%; height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid rgb(var(--color-outline) / 0.5); background: rgb(var(--color-background) / 0.6); color: rgb(var(--color-on-surface)); font-family: inherit; font-size: 14px; transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard); }
.checker-form input::placeholder { color: rgb(var(--color-on-surface-dim)); }
.checker-form input:focus { outline: none; border-color: rgb(var(--mrkt-mint) / 0.8); box-shadow: 0 0 0 3px rgb(var(--mrkt-mint) / 0.16); }
.checker-form .btn.primary { width: 100%; margin-top: 4px; }
.checker-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.checker-form .hint { margin: 0; font-size: 12px; color: rgb(var(--color-on-surface-dim)); text-align: center; line-height: 1.5; }

.checker-result { margin-top: 8px; }
.dc-card { border-radius: 14px; border: 1px solid rgb(var(--color-outline) / 0.32); background: rgb(var(--color-surface-container) / 0.5); padding: 28px; border-left-width: 3px; }
.dc-card[data-state="ok"] { border-left-color: rgb(var(--mrkt-mint)); }
.dc-card[data-state="pending"] { border-left-color: rgb(var(--color-warning)); }
.dc-card[data-state="error"] { border-left-color: rgb(var(--color-error)); }
.dc-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.018em; margin: 0 0 8px; }
.dc-card[data-state="ok"] h3 { color: rgb(var(--mrkt-mint)); }
.dc-card p { font-size: 14.5px; line-height: 1.6; color: rgb(var(--color-on-surface-variant)); margin: 0; }
.dc-card .dc-cta { margin-top: 18px; }
.dc-card .dc-cta .btn { width: 100%; }
.dc-card .dc-again { margin-top: 12px; padding: 0; }

/* ─── Name-first dealership finder (dealer-finder.js) — console motif ──────
   Default: just the prompt line shows. A name match swaps in the result panel;
   a miss reveals the inventory-URL block. The !important below is load-bearing:
   the [hidden] attribute must win over the grid/flex display rules here. */
.dealer-finder { display: block; }
.dealer-finder [hidden] { display: none !important; }

/* Console window — a header strip (dots + mono title) over a filled body, so the finder
   reads as a real panel (matches the site's mock-UI), not a thin floating outline. */
.df-window {
  border: 1px solid rgb(var(--color-outline) / 0.6);
  border-radius: var(--radius-lg);
  background: rgb(var(--color-surface-container) / 0.45);
  overflow: hidden;
}
.df-titlebar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid rgb(var(--color-outline) / 0.4);
  background: rgb(var(--color-surface-container-high) / 0.45);
}
.df-dots { display: inline-flex; gap: 6px; }
.df-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--color-outline) / 0.9); }
.df-dots i:first-child { background: rgb(var(--mrkt-mint) / 0.85); }
.df-title { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.06em; color: rgb(var(--color-on-surface-dim)); }
.df-body { padding: 20px; }
.df-form { display: grid; gap: 12px; }

/* The prompt row: a teal `>` caret, the name input, and an inline Check button. */
.df-console {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgb(var(--color-outline) / 0.7);
  background: rgb(var(--color-background) / 0.45);
  border-radius: var(--radius-md);
  padding: 7px 7px 7px 15px;
  transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
}
.df-console:focus-within { border-color: rgb(var(--mrkt-mint) / 0.85); box-shadow: 0 0 0 3px rgb(var(--mrkt-mint) / 0.16); }
.df-console .df-caret { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 16px; color: rgb(var(--mrkt-mint)); line-height: 1; }
.df-console input {
  flex: 1 1 auto; min-width: 0; height: 44px; border: 0; background: transparent;
  color: rgb(var(--color-on-surface)); font-size: 15.5px; font-weight: 500; letter-spacing: -0.006em;
}
.df-console input:focus { outline: none; }
.df-console input::placeholder { color: rgb(var(--color-on-surface-dim)); font-weight: 400; }
.df-go { flex: 0 0 auto; height: 36px; padding: 0 16px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.df-go[disabled] { opacity: 0.6; cursor: progress; }

/* Status line under the prompt — site font, quiet. */
.df-status {
  margin: 0; padding-left: 3px;
  font-size: 13px; line-height: 1.5; color: rgb(var(--color-on-surface-dim));
}

/* Revealed inventory-URL block (on a miss) — inset, dashed, secondary. */
.df-urls {
  display: grid; gap: 13px; padding: 16px;
  border: 1px dashed rgb(var(--color-outline) / 0.8); border-radius: var(--radius-md);
  background: rgb(var(--color-surface-container) / 0.35);
}
.df-urls .df-field { display: grid; gap: 6px; }
.df-urls label {
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim));
}
.df-urls label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.df-urls input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: 8px;
  border: 1px solid rgb(var(--color-outline) / 0.6); background: rgb(var(--color-background) / 0.6);
  color: rgb(var(--color-on-surface)); font-size: 14px;
  transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
}
.df-urls input:focus { outline: none; border-color: rgb(var(--mrkt-mint) / 0.8); box-shadow: 0 0 0 3px rgb(var(--mrkt-mint) / 0.16); }
.df-urls input::placeholder { color: rgb(var(--color-on-surface-dim)); }

/* Result — prints as a boot-log readout under the prompt (no card box). */
.df-out { display: grid; gap: 16px; padding: 6px 2px 2px 16px; }
.df-rows { display: grid; gap: 8px; }
.df-row { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: baseline; }
.df-k {
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim));
}
.df-v {
  font-size: 14.5px; letter-spacing: -0.006em;
  color: rgb(var(--color-on-surface)); line-height: 1.45;
}
.df-v.is-name { font-size: 15px; text-transform: uppercase; letter-spacing: 0.035em; font-weight: 700; }
.df-out[data-state="ok"] .df-v.is-status { color: rgb(var(--mrkt-mint)); }
.df-out[data-state="pending"] .df-v.is-status { color: rgb(var(--color-warning)); }
.df-out[data-state="error"] .df-v.is-status { color: rgb(var(--color-error)); }
.df-out .df-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
/* CTA reads as a terminal action — monospace, matches the CHECK button. */
.df-cta { font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12.5px; min-width: 190px; }
.df-out .df-again { padding: 0; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; letter-spacing: 0.04em; }

/* Two-column bay: the console window + a supporting panel, so it fills the width and reads
   with context instead of floating alone. Stacks on narrow screens. */
.finder-bay { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; max-width: 920px; margin: 0 auto; }
.finder-aside { display: grid; gap: 22px; align-content: start; padding-top: 8px; }
.fa-block { display: grid; gap: 10px; }
.fa-k { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); }
.fa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fa-list li { position: relative; padding-left: 17px; font-size: 13.5px; line-height: 1.45; color: rgb(var(--color-on-surface-variant)); }
.fa-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--mrkt-mint) / 0.85); }
.fa-list.plain li::before { background: rgb(var(--color-outline)); top: 9px; width: 8px; height: 1px; border-radius: 0; }
/* Numbered "how it works" steps — mono 01/02/03 markers (no platform names revealed).
   NB: class is fa-steps, not steps — the bare .steps is the 3-col how-it-works grid (line ~707). */
.fa-list.fa-steps { counter-reset: fastep; }
.fa-list.fa-steps li { padding-left: 26px; }
.fa-list.fa-steps li::before {
  counter-increment: fastep; content: counter(fastep, decimal-leading-zero);
  left: 0; top: 1px; width: auto; height: auto; border-radius: 0; background: none;
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; color: rgb(var(--mrkt-mint));
}
.checker-head { max-width: 640px; margin: 0 auto 30px; text-align: center; }

/* Find-your-dealership: a solo, full-width console with a "supported platforms"
   dropdown beneath it (replaces the side panel so the console fills the width). */
.finder-solo { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.df-platforms { border: 1px solid rgb(var(--color-outline) / 0.6); border-radius: var(--radius-md); background: rgb(var(--color-surface-container) / 0.45); overflow: hidden; }
.df-platforms > summary { list-style: none; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.df-platforms > summary::-webkit-details-marker { display: none; }
.df-platforms .dfp-label { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--color-on-surface-dim)); transition: color 160ms var(--ease-standard); }
.df-platforms .dfp-chev { margin-left: auto; color: rgb(var(--mrkt-mint)); font-size: 12px; line-height: 1; transition: transform 200ms var(--ease-standard); }
.df-platforms[open] .dfp-chev { transform: rotate(180deg); }
.df-platforms > summary:hover .dfp-label { color: rgb(var(--color-on-surface-variant)); }
.dfp-body { padding: 0 18px 18px; display: grid; gap: 14px; }
.dfp-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgb(var(--color-outline) / 0.3); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; }
.dfp-list li { position: relative; padding-left: 17px; font-size: 13.5px; line-height: 1.45; color: rgb(var(--color-on-surface-variant)); }
.dfp-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--mrkt-mint) / 0.85); }
.dfp-list li.dfp-more { color: rgb(var(--color-on-surface-dim)); }
.dfp-list li.dfp-more::before { background: rgb(var(--color-outline)); }
.dfp-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgb(var(--color-on-surface-dim)); }

/* Mobile overflow guard. The finder is a grid/flex stack; grid/flex items default to
   min-width:auto and keep their intrinsic content width, which pushed the console mock
   past the column and the whole page wider than the phone. Let the chain shrink. */
.finder-bay, .finder-solo, .finder-bay > *, .finder-solo > *,
.dealer-finder, .df-window, .df-body, .df-form, .df-console { min-width: 0; }

@media (max-width: 760px) {
  .finder-bay { grid-template-columns: 1fr; gap: 20px; }
  .finder-aside { padding-top: 0; }
}

@media (max-width: 860px) {
  .feat-cards { grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feat-cards { grid-template-columns: 1fr; }
  .checker-form, .dc-card { padding: 20px; }
}

/* ════════════════════════════════════════════════════════════════════════
   AUTO LIGHT MODE — honors the visitor's OS/browser appearance setting.
   Dark (above) stays canonical; this block only engages when the device
   asks for light. Designed, not inverted: the single light "mint" token
   becomes a deep teal so accents stay legible on white, mint-fill buttons
   flip to light text, heavy black shadows soften, and the bright status
   chips drop to darker, higher-contrast variants. No JS, no toggle.
   ════════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    /* Brand teal, re-tuned for contrast on white. The mint that read as a
       light accent on dark must become a deep teal here to stay legible as
       text/borders; button-fill rules that paired mint with near-black text
       are flipped to light text further down. */
    --teal-200:                11  92  70;   /* primary button hover fill */
    --teal-700:                 8  70  60;   /* avatar gradient anchor     */
    --teal-dark-primary:       15 118  90;
    --teal-dark-primary-hover: 12 100  76;
    --mrkt-mint:               13 122  92;   /* deep teal accent (#0D7A5C) */

    /* Surfaces: off-white page, white cards lifted above it, slightly
       cooler strips for chrome — mirrors the dark "raised card" hierarchy. */
    --surface-0: 249 250 251;
    --surface-1: 244 246 248;
    --surface-2: 255 255 255;
    --surface-3: 240 243 246;
    --surface-4: 233 237 241;

    --color-on-surface:          22  27  34;  /* near-black slate */
    --color-on-surface-variant:  82  91 102;
    --color-on-surface-dim:     120 130 140;

    --color-primary:        var(--teal-dark-primary);
    --color-primary-hover:  var(--teal-dark-primary-hover);
    --color-on-primary:     240 253 248;      /* light text on teal fills */

    /* Mid-gray outlines so the many low-alpha hairlines stay visible on white. */
    --color-outline:         100 112 126;
    --color-outline-variant: 124 136 150;

    --color-brand-green: 15 118 90;
    --color-error:      220  38  38;
    --color-warning:    180  83   9;

    --shadow-overlay: 0 30px 80px -16px rgb(15 23 42 / 0.18), 0 6px 16px -4px rgb(15 23 42 / 0.10);
  }

  /* Nav hover overlay: was a white film for dark; use a black film on light. */
  .topnav .nav-links a:hover { background: rgb(0 0 0 / 0.04); }

  /* Mint-fill controls paired near-black text for the dark theme; on the deep
     teal fill of light mode that text vanishes, so switch it to light. */
  .btn.primary,
  .inv-mock .detail .ai .row .b,
  .chat .draft .ft .btn-mini,
  .tier.feat .badge { color: rgb(var(--color-on-primary)); }

  /* Soften the heavy near-black drop shadows tuned for a dark canvas. */
  .hero-mock { box-shadow: 0 40px 80px -24px rgb(15 23 42 / 0.18), 0 0 0 1px rgb(var(--mrkt-mint) / 0.06); }
  .chat,
  .crm-mock { box-shadow: 0 30px 60px -24px rgb(15 23 42 / 0.16); }

  /* Status chips were bright-on-dark (mint/amber/sky/red). Drop them to darker,
     higher-contrast variants so they read on the light surfaces. */
  .inv-mock .list .row .stat.live  { background: rgb(15 118 90 / 0.12);  color: #0f765a; }
  .inv-mock .list .row .stat.draft { background: rgb(180 83 9 / 0.12);   color: #b45309; }
  .inv-mock .list .row .stat.queue { background: rgb(3 105 161 / 0.10);  color: #0369a1; border-color: rgb(3 105 161 / 0.30); }

  .cap .visual .log-row .e .tag.amber  { color: #b45309; }
  .cap .visual .log-row .e .tag.orange { color: #c2410c; }
  .step .vis .ln .tag.orange { color: #c2410c; }
  .synclog .row .e .tag.down { color: #dc2626; }
  .synclog .row .e .tag.new { color: #0369a1; }
  .cap .ix .stat-dot.amber { background: #d97706; box-shadow: 0 0 6px rgb(217 119 6 / 0.5); }
  .cap .ix .stat-dot.sky   { background: #0ea5e9; box-shadow: 0 0 6px rgb(14 165 233 / 0.45); }
  .cap .alert-stack .alert .tag.warm { background: rgb(180 83 9 / 0.13);  color: #b45309; }
  .cap .alert-stack .alert .tag.hot  { background: rgb(220 38 38 / 0.12); color: #dc2626; }

  .chat .read .cell .v.amber { color: #b45309; }

  .crm-mock .ev .stage.hot  { background: rgb(220 38 38 / 0.12); color: #dc2626; }
  .crm-mock .ev .stage.warm { background: rgb(180 83 9 / 0.13);  color: #b45309; }
  .crm-mock .ev .stage.sold { background: rgb(15 118 90 / 0.12); color: #0f765a; }

  .tag-soon { color: #b45309; background: rgb(180 83 9 / 0.10); border-color: rgb(180 83 9 / 0.30); }

  /* The dark mini "photo" thumbnails read as black smudges on white. */
  .inv-mock .detail .mini-strip .tn { background: linear-gradient(135deg, #e7ecf1, #d7dee6); }

  /* Hero Marketplace mock — soften shadow + darken bright-on-dark accents. */
  .hero-flow { box-shadow: 0 40px 80px -24px rgb(15 23 42 / 0.18), 0 0 0 1px rgb(var(--mrkt-mint) / 0.06); }
  .hero-flow .hf-row .sd.draft { background: #b45309; }
}
