/* ============================================================
   Pavedeck — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@10..48,400;10..48,500;10..48,600;10..48,700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #F5F2ED;
  --bg-alt: #ECE7DF;
  --bg-deep: #0C0A09;
  --fg: #0C0A09;
  --fg-soft: #44403C;
  --fg-muted: #78716C;
  --fg-faint: #A8A29E;
  --accent: #C2410C;
  --accent-soft: #FED7AA;
  --line: rgba(12, 10, 9, 0.09);
  --line-strong: rgba(12, 10, 9, 0.18);
  --line-deep: rgba(245, 242, 237, 0.12);

  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --max-w: 1180px;
  --max-w-narrow: 760px;
  --max-w-prose: 640px;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 5rem;
  --s-9: 8rem;

  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg); }

/* Layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 var(--s-4); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { color: var(--fg-soft); }

.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 58ch;
  font-weight: 400;
}
.lede-large {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--fg-soft);
  max-width: 32ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.prose { max-width: var(--max-w-prose); }
.prose p { margin-bottom: var(--s-4); font-size: 1.0625rem; line-height: 1.65; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.mono-tiny {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-4) var(--s-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--fg);
}
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav-link {
  color: var(--fg-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
@media (max-width: 720px) {
  .nav { gap: var(--s-4); }
  .nav .nav-link { display: none; }
  .nav .btn { padding: 8px 12px; font-size: 13px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.005em;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-primary .arrow { transition: transform 200ms; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--fg); background: var(--bg-alt); }
.btn-text {
  background: transparent;
  padding: 11px 0;
  color: var(--fg);
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
  transition: background 180ms;
}
.btn-text:hover::after { background: var(--accent); }

/* Sections */
.section {
  padding: var(--s-9) 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section-tight { padding: var(--s-8) 0; }
.section-deep {
  background: var(--bg-deep);
  color: var(--bg);
}
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: var(--bg); }
.section-deep p, .section-deep .lede { color: var(--fg-faint); }
.section-deep .eyebrow { color: var(--fg-faint); }
@media (max-width: 720px) { .section { padding: var(--s-8) 0; } }

.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.section-header .eyebrow { margin-bottom: var(--s-2); }
@media (min-width: 900px) {
  .section-header { grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: end; }
  .section-header .lede { padding-bottom: 0.4rem; }
}

/* Hero */
.hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 11vw, 9rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s-8);
  }
}
.hero-text { display: flex; flex-direction: column; }
.hero-eyebrow { margin-bottom: var(--s-6); }
.hero h1 {
  margin-bottom: var(--s-6);
  max-width: 18ch;
}
.hero .lede {
  margin-bottom: var(--s-7);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  box-shadow: 0 1px 0 rgba(12,10,9,0.04), 0 12px 40px -12px rgba(12,10,9,0.18);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: var(--s-6);
}
.hero-image-fallback-text { text-align: center; }

/* Hero visual (new naming, with overlay badge) */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #44403C, #292524);
  box-shadow: 0 1px 0 rgba(12,10,9,0.04), 0 18px 50px -16px rgba(12,10,9,0.25);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay-badge {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(245, 242, 237, 0.95);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero meta strip suffix sizing */
.hero-meta-num .suffix {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}

/* Logo strip / partner brands */
.logo-strip {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.logo-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
}
@media (min-width: 900px) {
  .logo-strip-inner {
    grid-template-columns: auto 1fr;
    gap: var(--s-7);
  }
}
.strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.strip-marks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
}
.strip-mark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: 1rem;
  color: var(--fg-soft);
  opacity: 0.7;
  transition: opacity 200ms;
}
.strip-mark:hover { opacity: 1; }

/* Cell headline (used in problem grid) */
.cell-headline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--bg);
  letter-spacing: -0.015em;
  max-width: 28ch;
}

/* Visual interrupt — dashboard preview section */
.visual-interrupt {
  padding: var(--s-9) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.interrupt-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .interrupt-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--s-8);
  }
}
.interrupt-text { max-width: 44ch; }

/* Dashboard frame mockup */
.dashboard-frame {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(12,10,9,0.04), 0 24px 60px -20px rgba(12,10,9,0.25);
  border: 1px solid var(--line);
}
.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-faint);
  opacity: 0.5;
}
.chrome-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  flex: 1;
  border: 1px solid var(--line);
}
.dashboard-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 380px;
}
@media (max-width: 600px) {
  .dashboard-body { grid-template-columns: 110px 1fr; min-height: 320px; }
}
.dash-sidebar {
  background: var(--bg-alt);
  padding: var(--s-4);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-nav-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--fg-soft);
  letter-spacing: -0.005em;
}
.dash-nav-item.active {
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
}
.dash-content { padding: var(--s-5); }
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.dash-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 4px;
}
.dash-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.dash-table { display: flex; flex-direction: column; }
.dash-row {
  display: grid;
  grid-template-columns: 1fr 60px 130px;
  gap: var(--s-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: center;
}
@media (max-width: 600px) {
  .dash-row { grid-template-columns: 1fr 40px 100px; font-size: 11px; }
}
.dash-row-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-bottom: 6px;
}
.dash-row span:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.dash-row span:nth-child(2) {
  font-family: var(--font-mono);
  color: var(--fg-soft);
}
.status-good {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
  text-align: center;
}
.status-warn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(194, 65, 12, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
  text-align: center;
}

/* Footer meta */
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

/* Utility additions */
.u-mb-3 { margin-bottom: var(--s-3); }
.u-mb-5 { margin-bottom: var(--s-6); }
.u-mt-5 { margin-top: var(--s-6); }

/* Grid */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--bg);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms;
}
.card:hover { border-color: var(--line-strong); }
.card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--s-4);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: 0.9375rem; line-height: 1.55; }

.grid-bordered {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-bordered.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid-bordered.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.grid-bordered > .cell {
  background: var(--bg);
  padding: var(--s-6);
}
.section-deep .grid-bordered { background: var(--line-deep); border-color: var(--line-deep); }
.section-deep .grid-bordered > .cell { background: var(--bg-deep); }

/* Numbered */
.numbered { counter-reset: step; }
.numbered li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}
.numbered li h4 { margin-bottom: var(--s-2); }
.numbered li p { font-size: 0.9375rem; line-height: 1.6; max-width: 60ch; }

/* Surface list */
.surface-list { border-top: 1px solid var(--line); }
.surface-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .surface-list li {
    grid-template-columns: 12rem 1fr 8rem;
    gap: var(--s-6);
    align-items: baseline;
  }
}
.surface-list .surface-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.surface-list .surface-desc {
  font-size: 0.9375rem;
  color: var(--fg-soft);
  line-height: 1.55;
}
.surface-list .surface-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 720px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
.stat {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .stat { padding: var(--s-5) var(--s-6) var(--s-5) 0; border-top: 0; border-left: 1px solid var(--line); padding-left: var(--s-6); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.stat .num .accent { color: var(--accent); }
.stat .desc {
  font-size: 0.9375rem;
  color: var(--fg-soft);
  max-width: 28ch;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.tier {
  background: var(--bg);
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.tier .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--s-4);
}
.tier .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.tier .price .currency { font-size: 1.5rem; vertical-align: top; margin-right: 2px; }
.tier .price-meta {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: var(--s-6);
}
.tier h3 { margin-bottom: var(--s-3); }
.tier .desc {
  font-size: 0.9375rem;
  color: var(--fg-soft);
  margin-bottom: var(--s-6);
  line-height: 1.55;
}
.tier ul { margin-bottom: var(--s-6); flex: 1; }
.tier ul li {
  font-size: 0.9375rem;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  color: var(--fg-soft);
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
}
.tier ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.tier-featured { border-color: var(--fg); position: relative; }
.tier-featured::before {
  content: 'Most dealers start here';
  position: absolute;
  top: -10px; left: var(--s-6);
  background: var(--fg); color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
}

/* CTA strip */
.cta-strip { padding: var(--s-9) 0; border-top: 1px solid var(--line); }
.cta-strip .lede-large { margin-bottom: var(--s-6); }
.cta-strip-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0 var(--s-6);
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-inner { display: flex; flex-direction: column; gap: var(--s-5); }
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-links a {
  text-decoration: none;
  color: var(--fg-muted);
  transition: color 150ms;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--fg); }

/* Logo - stacked deck mark */
.brand .mark .top-card {
  transform-origin: center;
  animation: nudge 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.delay-1 { animation-delay: 60ms; }
.delay-2 { animation-delay: 140ms; }
.delay-3 { animation-delay: 220ms; }
.delay-4 { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Product mockups */
.mockup-strip {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .mockup-strip { grid-template-columns: 1.1fr 1fr 1fr; }
}

.mockup {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.mockup-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-faint);
  opacity: 0.5;
}
.mockup-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-left: auto;
}
.mockup-body {
  padding: var(--s-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mockup-caption {
  padding: var(--s-4) var(--s-5) var(--s-5);
  border-top: 1px dashed var(--line);
  background: var(--bg-alt);
}
.mockup-caption-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.mockup-caption-desc {
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.5;
}

/* Photo mockup specific */
.photo-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: var(--s-4);
}
.photo-cell {
  aspect-ratio: 4/3;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.photo-cell-label {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(12,10,9,0.85);
  color: var(--bg);
  padding: 3px 6px;
  border-radius: 2px;
  z-index: 2;
}
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-before .photo-img {
  filter: brightness(0.78) contrast(0.92) saturate(0.7);
}
.photo-after .watermark {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  z-index: 2;
}

.photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.photo-meta strong { color: var(--fg); font-weight: 500; }

/* VDP mockup */
.vdp-stream {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--fg-soft);
  background: var(--bg-alt);
  padding: var(--s-4);
  border-radius: 4px;
  margin-bottom: var(--s-4);
  border-left: 2px solid var(--accent);
  position: relative;
  min-height: 160px;
}
.vdp-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1.1s infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.vdp-vin-tag {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-3);
}
.vdp-channels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.vdp-channel-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--fg-soft);
  text-transform: uppercase;
}
.vdp-channel-pill.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* Pricing mockup */
.pricing-vehicle {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-4);
}
.pricing-vehicle-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.pricing-vehicle-vin {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}
.pricing-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-4);
}
.pricing-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.pricing-bar {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  position: relative;
  overflow: visible;
}
.pricing-bar-fill {
  height: 100%;
  background: var(--fg);
  border-radius: 3px;
}
.pricing-marker {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 14px;
  background: var(--accent);
}
.pricing-marker::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -3px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-recommendation {
  background: var(--bg-alt);
  padding: var(--s-3) var(--s-4);
  border-radius: 4px;
  border-left: 2px solid var(--accent);
  margin-top: auto;
}
.pricing-rec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2px;
}
.pricing-rec-action {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.pricing-rec-action .accent { color: var(--accent); }

/* Money figure */
.money-figure {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero metric strip */
.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  padding-top: var(--s-6);
  margin-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg);
}
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Utilities */
.u-mt-4 { margin-top: var(--s-5); }
.u-mt-6 { margin-top: var(--s-7); }
.u-mb-4 { margin-bottom: var(--s-5); }
.u-mb-6 { margin-bottom: var(--s-7); }
.u-mb-8 { margin-bottom: var(--s-8); }
.u-text-accent { color: var(--accent); }

.annotation {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.annotation::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1px solid var(--fg-muted);
  transform: rotate(45deg);
  display: inline-block;
}

/* ============================================================
   v2 — Trust signals & integration upgrades
   ============================================================ */

/* Founder credibility band */
.cred-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: var(--s-5) 0;
}
.cred-bar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 900px) {
  .cred-bar-inner {
    grid-template-columns: auto 1fr;
    gap: var(--s-7);
  }
}
.cred-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.cred-label svg { color: var(--accent); }
.cred-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  align-items: baseline;
}
.cred-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cred-chip-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1;
}
.cred-chip-num .suffix {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-left: 2px;
  letter-spacing: 0;
}
.cred-chip-label {
  font-size: 0.8125rem;
  color: var(--fg-soft);
  letter-spacing: -0.005em;
}

/* Integration band — upgraded card grid */
.integrations-band {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.integrations-head {
  max-width: 640px;
  margin-bottom: var(--s-7);
}
.integrations-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: var(--s-3);
  margin-bottom: var(--s-3);
}
.integrations-sub {
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 560px;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 640px) {
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .integration-grid { grid-template-columns: repeat(4, 1fr); }
}
.integration-card {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 180ms, transform 180ms;
}
.integration-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.integration-monogram {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--m-bg, #0C0A09);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
}
.integration-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.integration-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.015em;
  color: var(--fg);
  line-height: 1.2;
}
.integration-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.integration-card-more {
  border-style: dashed;
}
.integration-card-more .integration-monogram {
  font-size: 18px;
  font-weight: 400;
}

/* By-the-numbers band */
.numbers-band {
  padding: var(--s-9) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.numbers-head {
  margin-bottom: var(--s-7);
  max-width: 640px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}
@media (min-width: 1000px) {
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }
}
.number-cell {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line-strong);
}
.number-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.number-suffix {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 6px;
  align-self: center;
}
.number-label {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.number-note {
  margin-top: var(--s-2);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg-soft);
}

/* Licensed-data sources strip */
.data-strip {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.data-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
}
@media (min-width: 800px) {
  .data-strip-inner {
    grid-template-columns: auto 1fr;
    gap: var(--s-7);
  }
}
.data-strip-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.data-strip-label svg { color: var(--accent); }
.data-strip-marks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
}
.data-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.015em;
  color: var(--fg-soft);
}
.data-mark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Hero photo caption (added with v2) */
.hero-visual { position: relative; }
.hero-photo-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  color: var(--bg);
}
.hero-caption-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}
.hero-caption-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.7);
}


/* ============================================================
   v3 — Product page screenshots
   ============================================================ */

/* Inventory dashboard hero shot — full-width band */
.product-shot-band {
  padding: 0 0 var(--s-9);
  background: var(--bg);
}
.product-shot-frame {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 1px 2px rgba(12, 10, 9, 0.04),
    0 8px 24px rgba(12, 10, 9, 0.08),
    0 24px 48px rgba(12, 10, 9, 0.06);
}
.product-shot-chrome {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.product-shot-chrome .chrome-dots {
  display: flex;
  gap: 6px;
}
.product-shot-chrome .chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-faint);
}
.product-shot-chrome .chrome-dots span:nth-child(1) { background: #FF5F57; }
.product-shot-chrome .chrome-dots span:nth-child(2) { background: #FEBC2E; }
.product-shot-chrome .chrome-dots span:nth-child(3) { background: #28C840; }
.product-shot-chrome .chrome-url {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-left: var(--s-3);
}
.product-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.product-shot-caption {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  max-width: 640px;
}
.product-shot-caption p {
  color: var(--fg-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Capability shots — embedded inside each section after prose */
.capability-shot {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 1px 2px rgba(12, 10, 9, 0.04),
    0 6px 18px rgba(12, 10, 9, 0.06);
  max-width: 100%;
}
.capability-shot-chrome {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 9px 13px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.capability-shot-chrome .chrome-dots {
  display: flex;
  gap: 5px;
}
.capability-shot-chrome .chrome-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.capability-shot-chrome .chrome-dots span:nth-child(1) { background: #FF5F57; }
.capability-shot-chrome .chrome-dots span:nth-child(2) { background: #FEBC2E; }
.capability-shot-chrome .chrome-dots span:nth-child(3) { background: #28C840; }
.capability-shot-chrome .chrome-url {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-left: var(--s-2);
}
.capability-shot img {
  display: block;
  width: 100%;
  height: auto;
}

