/* Robocount marketing — Cobalt Product system
 * Cool grey scaffolding · single cobalt accent · flat on purpose · Inter only
 */

:root {
  /* Robocount marketing palette — cool-grey scaffolding, matcha product accent
   * Matcha is a brighter, slightly yellow-leaning green — more vivid than sage.
   */
  --primary:    #111827;  /* headlines, core text */
  --secondary:  #6B7280;  /* borders, captions, metadata */
  --tertiary:   #6FA34A;  /* sole interaction accent — matcha green */
  --tertiary-hover: #5E8B3E;
  --tertiary-soft:  #EEF5E6; /* for very light matcha tints only */
  --neutral:    #F9FAFB;  /* page foundation */
  --surface:    #FFFFFF;
  --on-primary: #FFFFFF;

  /* Extended cool greys (derived — no new accents) */
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-150:  #EDEFF3;
  --gray-200:  #E5E7EB;
  --gray-300:  #D1D5DB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-600:  #4B5563;
  --gray-700:  #374151;
  --gray-800:  #1F2937;
  --gray-900:  #111827;
  --gray-950:  #0B1220;

  /* Semantic aliases */
  --ink:         var(--primary);
  --ink-2:       var(--gray-700);
  --ink-muted:   var(--gray-500);
  --ink-faint:   var(--gray-400);
  --line:        var(--gray-200);
  --line-soft:   var(--gray-150);
  --accent:      var(--tertiary);

  /* Cobalt tokens */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;

  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;

  /* Flat, restrained shadows only */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow:    0 1px 2px rgba(17, 24, 39, 0.05), 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px -12px rgba(17, 24, 39, 0.12);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* Dark theme — still cobalt, inverted scaffolding */
[data-theme='dark'] {
  --surface:     #0B1220;
  --neutral:     #0F172A;
  --ink:         #F9FAFB;
  --ink-2:       #E5E7EB;
  --ink-muted:   #9CA3AF;
  --ink-faint:   #6B7280;
  --line:        #1F2937;
  --line-soft:   #151B29;
  --tertiary-soft: #223119;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--neutral);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.2px; /* ≈ 0.95rem spec */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ──────────────────────────── Type scale — Inter, tight tracking */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tertiary);
  display: inline-block;
}

.display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.display em {
  font-style: normal;
  color: var(--tertiary);
  font-family: var(--font-sans);
  font-weight: 700;
}

.headline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.headline em {
  font-style: normal;
  color: var(--ink);
  font-family: var(--font-sans) !important;
  font-weight: 700;
}

.lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0;
}

.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-sans) !important; font-style: normal !important; } /* kill serif in-class usages */

/* ──────────────────────────── Buttons — single accent, flat */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--tertiary);
  color: var(--on-primary);
  box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 6px 18px -6px rgba(111, 163, 74, 0.55);
}
.btn-primary:hover { background: var(--tertiary-hover); box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 10px 24px -6px rgba(111, 163, 74, 0.7); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* Oversized hero primary — the page's loudest single element */
.hero .btn-primary {
  padding: 22px 34px;
  font-size: 19px;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 12px 28px -10px rgba(111, 163, 74, 0.6);
}
.hero .btn-primary:hover {
  box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 18px 36px -10px rgba(111, 163, 74, 0.75);
}
.hero .btn-primary .arrow { width: 22px; height: 22px; }
.hero .btn-ghost {
  padding: 20px 26px;
  font-size: 16px;
  border-radius: 12px;
}

/* accent variant collapses into primary — single-accent rule */
.btn-accent { background: var(--tertiary); color: var(--on-primary); }
.btn-accent:hover { background: var(--tertiary-hover); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gray-400); background: var(--gray-50); }

.btn-link {
  padding: 0;
  color: var(--tertiary);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-weight: 600;
}

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ──────────────────────────── Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--neutral) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: var(--gray-100);
  flex-shrink: 0;
  /* Desaturate the warm-toned mascot so it sits inside the cool palette */
  filter: grayscale(1) contrast(1.05);
}

/* (Persistent fixed mascot removed — replaced by an in-flow .hero-mascot
 * inside the hero block. See .hero-mascot for the float + shape-outside
 * styling that wraps copy around the character's silhouette.) */

/* ──────────────────────────── Product demo placeholder
 * Slotted between the hero/trust strip and the three-paths section. The
 * frame holds a 16:9 aspect-ratio'd box at the page's normal content width,
 * with a soft animated marker to signal "real screenshot animation goes
 * here". Replace .product-demo-frame-inner contents with the real demo. */
.product-demo { padding: 48px 0 24px; }
.product-demo-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--gray-100), #fff 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17, 24, 39, 0.18);
}
.product-demo-frame-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  /* Subtle "this is a placeholder" diagonal hatching */
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(17, 24, 39, 0.025) 18px 19px
  );
}
.product-demo-marker {
  text-align: center;
  max-width: 460px;
  padding: 0 24px;
}
.product-demo-marker .kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: #fff;
}
.product-demo-marker h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.product-demo-marker p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}
.product-demo-marker code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
}
.product-demo-shimmer {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.product-demo-shimmer span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-faint);
  opacity: 0.35;
  animation: pdShimmer 1.4s ease-in-out infinite;
}
.product-demo-shimmer span:nth-child(2) { animation-delay: 0.18s; }
.product-demo-shimmer span:nth-child(3) { animation-delay: 0.36s; }
@keyframes pdShimmer {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 0.85; transform: translateY(-3px); }
}
.product-demo-caption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 18px 0 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--tertiary); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
/* Search: icon collapses to inline input on expand */
.nav-search { position: relative; display: flex; align-items: center; }
.nav-search-toggle {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav-search-toggle:hover { background: var(--gray-100); color: var(--ink); }
.nav-search-toggle svg { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nav-search-input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 8px;
  margin-left: 0;
  opacity: 0;
  pointer-events: none;
  transition: width .22s ease, padding .22s ease, margin-left .22s ease, opacity .18s ease, border-color .18s ease, background .18s ease;
}
.nav-search-input::placeholder { color: var(--ink-faint); }
.nav-search[data-open="true"] .nav-search-input {
  width: 240px;
  padding: 8px 12px;
  margin-left: 8px;
  opacity: 1;
  pointer-events: auto;
  background: var(--gray-50);
  border-color: var(--line);
}
.nav-search[data-open="true"] .nav-search-input:focus {
  outline: none;
  border-color: var(--tertiary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(111, 163, 74, 0.16);
}
@media (max-width: 900px) { .nav-search { display: none; } }

.nav-login {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s ease;
}
.nav-login:hover { background: var(--gray-100); }
.nav-signup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px 11px 22px;
  border-radius: var(--radius);
  background: var(--tertiary);
  color: var(--on-primary);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: background .15s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 4px 14px -6px rgba(111, 163, 74, 0.55);
  position: relative;
}
.nav-signup::after {
  content: '→';
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease;
}
.nav-signup:hover { background: var(--tertiary-hover); box-shadow: 0 1px 0 rgba(17,24,39,0.04), 0 6px 18px -6px rgba(111, 163, 74, 0.7); transform: translateY(-1px); }
.nav-signup:hover::after { transform: translateX(3px); }
.nav-signup:active { transform: translateY(0); }

/* subtle attention pulse on the nav CTA — one ring, slow */
.nav-signup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(111, 163, 74, 0.45);
  animation: rc-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes rc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111, 163, 74, 0.35); }
  70%  { box-shadow: 0 0 0 10px rgba(111, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 163, 74, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-signup::before { animation: none; }
}

@media (max-width: 900px) { .nav-links { display: none; } }

/* ──────────────────────────── Hero */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
  background: var(--neutral);
}
/* subtle dot grid — the one non-gradient atmospheric cue */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 80% 20%, black, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, black, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-copy > * + * { margin-top: 24px; }
.hero-copy .display { margin-top: 20px; }
.hero-copy .lede { max-width: none; }

/* Floated mascot inside the hero copy. shape-outside keys off the
 * (now-transparent) PNG, so copy wraps the silhouette rather than a box.
 * shape-margin keeps the text from kissing the cape. */
.hero-mascot {
  float: left;
  width: 320px;
  height: auto;
  margin: -8px 28px -8px -16px;
  shape-outside: url('/assets/count-full.png');
  shape-margin: 16px;
  shape-image-threshold: 0.3;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 14px rgba(17, 24, 39, 0.10));
}
@media (max-width: 1100px) { .hero-mascot { width: 260px; } }
@media (max-width: 860px) {
  /* Single column hero on tablet — drop the float so copy reads cleanly,
   * keep the mascot above the headline as a visual greeting. */
  .hero-mascot { float: none; display: block; margin: 0 auto 16px; width: 200px; shape-outside: none; }
}
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-copy > * + * { margin-top: 24px; }
.hero-copy .display { margin-top: 20px; }
.hero-copy .lede { max-width: none; }

/* Hero wordmark — mascot + wordtype above the headline */
.hero-copy .hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0 0 8px;
}
.hero-copy .hero-logo img {
  width: 56px;
  height: 56px;
  max-width: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  background: var(--gray-100);
  /* desaturate warm mascot to fit cool palette */
  filter: grayscale(1) contrast(1.05);
  display: block;
}
.hero-copy .hero-logo .hero-logo-word {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 620px) { .hero-stats { grid-template-columns: 1fr; gap: 20px; } }
.hero-stat .num {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  font-style: normal;
  display: block;
}
.hero-stat .lbl {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Hero art — a product card instead of a mascot scene */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-art::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tertiary);
}
.hero-art .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.hero-art .panel-head .status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tertiary);
  display: inline-block;
  margin-right: 6px;
}
.hero-art .big-number {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-top: 8px;
}
.hero-art .big-number-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.hero-art .mini-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  align-items: end;
  height: 80px;
}
.hero-art .mini-bars .bar {
  background: var(--gray-200);
  border-radius: 2px;
  height: 40%;
}
.hero-art .mini-bars .bar:nth-child(1) { height: 35%; }
.hero-art .mini-bars .bar:nth-child(2) { height: 55%; }
.hero-art .mini-bars .bar:nth-child(3) { height: 40%; }
.hero-art .mini-bars .bar:nth-child(4) { height: 70%; }
.hero-art .mini-bars .bar:nth-child(5) { height: 60%; }
.hero-art .mini-bars .bar:nth-child(6) { height: 92%; background: var(--tertiary); }

.hero-art .rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.hero-art .rows .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}
.hero-art .rows .row:first-child { border-top: none; padding-top: 0; }
.hero-art .rows .row .k { color: var(--ink-muted); }
.hero-art .rows .row .v { font-family: var(--font-mono); color: var(--ink); font-weight: 500; }
.hero-art .rows .row .v.accent { color: var(--tertiary); font-weight: 600; }

.hero-art .foot-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.hero-art .foot-cta .ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--tertiary);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-art .foot-cta .ready::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tertiary);
}
.hero-art .foot-cta .filer {
  font-size: 11px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

/* Legacy badge block — hide in cobalt theme */
.hero-art .badge { display: none; }
.hero-art > img { display: none; }

[data-mascot='subtle'] .hero-art { display: none; }
[data-mascot='subtle'] .hero-grid { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: left; }

/* ──────────────────────────── Trust strip */
.trust-strip {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}
.trust-badge { white-space: nowrap; }
.trust-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
}

/* ──────────────────────────── Sections */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .eyebrow + .headline { margin-top: 20px; }
/* Generic: any eyebrow directly followed by a heading gets breathing room */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + .headline, .eyebrow + .display { margin-top: 20px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }
.section-head .right .lede { margin-top: 16px; }

/* ──────────────────────────── Three audience paths */
.paths {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; } }
.path-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  border-color: var(--tertiary);
  box-shadow: var(--shadow);
}
.path-card .kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.path-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.path-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.path-card .path-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--tertiary);
  padding: 0;
  width: fit-content;
  font-size: 14px;
}
.path-card .path-cta .ic { stroke: var(--tertiary); transition: transform .2s ease; }
.path-card:hover .path-cta .ic { transform: translateX(3px); }
.path-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  margin-top: 4px;
}
.path-card .num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ──────────────────────────── Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.benefit .b-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.benefit h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.benefit p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.benefit .proof {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* ──────────────────────────── Product preview */
.preview {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.preview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .preview-grid { grid-template-columns: 1fr; } }
.preview-copy h2 { margin-bottom: 16px; }
.preview-copy .feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-copy .feature-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.preview-copy .feature-list .check {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--tertiary-soft);
  color: var(--tertiary);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

/* App mock — light mode, cool greys */
.app-mock {
  background: var(--gray-100);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.app-mock .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 10px;
}
.app-mock .chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}
.app-mock .chrome .url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}
.app-mock .screen {
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.app-mock .sidebar {
  background: var(--gray-50);
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.app-mock .sidebar .brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.02em;
}
.app-mock .sidebar .brand-dot {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--tertiary);
}
.app-mock .sidebar .nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  cursor: default;
  font-weight: 500;
}
.app-mock .sidebar .nav-item .ico {
  width: 14px; height: 14px; border-radius: 3px;
  border: 1.5px solid currentColor;
  opacity: 0.7;
}
.app-mock .sidebar .nav-item.active {
  background: var(--tertiary-soft);
  color: var(--tertiary);
  font-weight: 600;
}
.app-mock .sidebar .nav-item.active .ico { opacity: 1; border-color: var(--tertiary); }
.app-mock .content {
  padding: 22px 24px;
  overflow: hidden;
  background: var(--surface);
}
.app-mock .content h5 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.app-mock .content .sub {
  color: var(--ink-muted);
  font-size: 12.5px;
  margin-bottom: 20px;
}
.app-mock .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.app-mock .stat {
  background: var(--gray-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.app-mock .stat .k {
  font-size: 10.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.app-mock .stat .v {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.app-mock .stat.accent .v { color: var(--tertiary); }
.app-mock .stat.warn .v { color: var(--ink); }
.app-mock .stat.warn { border-color: var(--gray-300); }

.app-mock .table {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 13px;
}
.app-mock .table .row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.app-mock .table .row:last-child { border-bottom: none; }
.app-mock .table .row.head {
  background: var(--gray-50);
  color: var(--ink-muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 8px 14px;
}
.app-mock .table .row .cell {
  font-family: var(--font-mono);
  color: var(--ink-2);
}
.app-mock .table .row .cell.name {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 500;
}
.app-mock .table .pill {
  display: inline-block;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.app-mock .pill.ok   { background: var(--gray-100); color: var(--ink-2); }
.app-mock .pill.due  { background: var(--tertiary-soft); color: var(--tertiary); }
.app-mock .pill.over { background: var(--gray-900); color: #fff; }
.app-mock .pill.prog { background: var(--gray-100); color: var(--ink-muted); }

/* Override inline per-row colored deadlines so they stay on palette */
.app-mock .table .row .cell[style*="color"] { color: var(--ink-muted) !important; }

/* ──────────────────────────── Vs competitors */
.vs-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.vs-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.vs-row:last-child { border-bottom: none; }
.vs-row > div {
  padding: 18px 20px;
  font-size: 14px;
  border-right: 1px solid var(--line-soft);
  color: var(--ink-2);
}
.vs-row > div:last-child { border-right: none; }
.vs-row.head > div {
  background: var(--gray-50);
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 600;
  padding: 14px 20px;
}
.vs-row.head .us {
  color: var(--tertiary);
  background: var(--tertiary-soft);
  font-weight: 700;
}
.vs-row .us {
  background: var(--tertiary-soft);
  color: var(--ink);
  font-weight: 600;
}
.vs-row .rowlabel {
  color: var(--ink);
  font-weight: 600;
}
.vs-row.totals > div {
  background: var(--gray-100);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.vs-row.totals .us { background: var(--tertiary); color: var(--on-primary); }

/* ──────────────────────────── API section */
.api {
  background: var(--gray-900);
  color: #F9FAFB;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.api::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 20% 50%, black, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, black, transparent 65%);
  pointer-events: none;
}
.api > .container { position: relative; z-index: 1; }
.api .eyebrow { color: #9CA3AF; }
.api .eyebrow .dot { background: var(--tertiary); }
.api .display { color: #F9FAFB; }
.api .display em { color: var(--tertiary); }
.api .lede { color: #D1D5DB; }

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .api-grid { grid-template-columns: 1fr; gap: 40px; } }

.api-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid #1F2937;
}
.api-stat {
  padding: 22px 0;
  border-right: 1px solid #1F2937;
  padding-right: 20px;
}
.api-stat:last-child { border-right: none; padding-right: 0; }
.api-stat .n {
  font-family: var(--font-sans) !important;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #F9FAFB;
  font-style: normal !important;
  display: block;
}
.api-stat .l {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #9CA3AF;
}

/* Override the inline-styled API button so it obeys single-accent rule */
.api .btn-primary { background: var(--tertiary) !important; color: var(--on-primary) !important; }
.api .btn-primary:hover { background: var(--tertiary-hover) !important; }
.api .btn-ghost { background: transparent !important; border-color: #374151 !important; color: #F9FAFB !important; }
.api .btn-ghost:hover { background: #1F2937 !important; }

.code-block {
  background: #0B1220;
  border: 1px solid #1F2937;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  box-shadow: var(--shadow-lg);
}
.code-tabs {
  display: flex;
  gap: 2px;
  background: #111827;
  border-bottom: 1px solid #1F2937;
  padding: 0 10px;
}
.code-tab {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9CA3AF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
  font-weight: 500;
}
.code-tab.active { color: var(--tertiary); border-bottom-color: var(--tertiary); }
.code-tab:hover { color: #F9FAFB; }

.code-body { padding: 20px 22px; }
.code-body pre { margin: 0; white-space: pre; overflow-x: auto; }
.code-body .hl-kw { color: #93C5FD; }
.code-body .hl-str { color: #A7F3D0; }
.code-body .hl-num { color: #FCD34D; }
.code-body .hl-com { color: #6B7280; font-style: italic; }
.code-body .hl-fn  { color: #C4B5FD; }
.code-body .hl-prop { color: #E5E7EB; }
.code-body .hl-punc { color: #9CA3AF; }

.code-footer {
  border-top: 1px solid #1F2937;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #9CA3AF;
  font-family: var(--font-mono);
}
.code-footer .ok { color: var(--tertiary); font-weight: 600; }

/* ──────────────────────────── Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card.featured {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--tertiary);
  border-width: 2px;
  padding: 31px 27px;
  box-shadow: 0 0 0 4px var(--tertiary-soft);
}
.price-card.featured .price-amt { color: var(--ink); }
.price-card .featured-tag {
  position: absolute;
  top: -11px;
  right: 24px;
  background: var(--tertiary);
  color: var(--on-primary);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.price-name {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.price-amt {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-amt-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 4px;
  font-weight: 500;
}
.price-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-list li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.price-list li::before {
  content: '✓';
  color: var(--tertiary);
  font-weight: 700;
  flex: 0 0 auto;
}
.price-card .btn { width: 100%; justify-content: center; }

/* ──────────────────────────── FAQ */
#faq { background: var(--surface); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  padding: 8px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink-muted);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; color: var(--tertiary); }
.faq-item p {
  margin: 8px 0 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 68ch;
}

/* ──────────────────────────── CTA band */
.cta-band {
  background: var(--tertiary);
  color: #F9FAFB;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 360px;
  align-items: center;
  gap: 64px;
  margin: 0 0 96px;
  text-align: left;
}
@media (max-width: 960px) {
  .cta-band { padding: 48px 32px; grid-template-columns: 1fr; gap: 40px; }
}
.cta-band .cta-band-copy { max-width: 56ch; }
.cta-band h2 {
  color: #FFFFFF;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.cta-band h2 em {
  font-style: normal;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
}
.cta-band p {
  margin: 20px 0 32px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(17px, 1.35vw, 20px);
  max-width: 52ch;
  line-height: 1.5;
}
.cta-band .cta-band-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
}
.cta-band .btn-primary {
  background: var(--gray-900);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 8px 22px -8px rgba(0,0,0,0.4);
  padding: 14px 22px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 10px;
}
.cta-band .btn-primary:hover { background: #000; box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 12px 28px -8px rgba(0,0,0,0.5); transform: translateY(-1px); }
.cta-band .btn-link-inverse {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  font-size: 14.5px;
  font-weight: 600;
  transition: color .15s ease, text-decoration-thickness .15s ease;
}
.cta-band .btn-link-inverse:hover { text-decoration-thickness: 2px; }

/* Right-column trial card — white paper on the sage band */
.cta-trial-card {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  box-shadow: 0 2px 4px rgba(17,24,39,0.06), 0 18px 40px -20px rgba(17,24,39,0.35);
  text-align: center;
}
.cta-trial-head {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.cta-trial-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 20px;
  color: var(--ink);
}
.cta-trial-price .price {
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.cta-trial-price .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.cta-trial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 14px;
}
.cta-trial-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
}
.cta-trial-list .tick {
  color: var(--tertiary);
  background: var(--tertiary-soft);
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

/* ──────────────────────────── Early access */
.early-access {
  padding: 96px 0 80px;
  background: var(--surface);
}
.early-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}
.early-access-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 4px rgba(17,24,39,0.06), 0 18px 40px -24px rgba(17,24,39,0.35);
}
.early-access-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.early-access-card p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.early-access-form {
  display: grid;
  gap: 14px;
}
.early-access-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.early-access-form input,
.early-access-form select,
.early-access-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  outline: none;
}
.early-access-form textarea { resize: vertical; }
.early-access-form .early-access-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-2);
}
.early-access-checkbox input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--tertiary);
}
.early-access-form input:focus,
.early-access-form select:focus,
.early-access-form textarea:focus {
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px var(--tertiary-soft);
  background: #FFFFFF;
}
.early-access-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.early-access-note {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  font-size: 12.5px;
}
@media (max-width: 900px) {
  .early-access { padding: 72px 0 56px; }
  .early-access-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ──────────────────────────── Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; font-weight: 500; }
.footer-col a:hover { color: var(--tertiary); }
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; margin: 0 0 16px; max-width: 36ch; }
.footer-about .mono { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.02em; }

/* Closing wordmark — just the type, scaled to end the page */
.footer-wordmark {
  margin: 56px 0 32px;
  line-height: 0.9;
}
.footer-wordmark-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--ink);
  user-select: none;
}
@media (max-width: 860px) {
  .footer-wordmark { margin: 40px 0 24px; }
  .footer-wordmark-text { font-size: clamp(48px, 14vw, 96px); }
}

/* Mascot sits inline at the end of the actions row, after "Explore all features" */
.cta-band-mascot {
  width: 64px;
  height: auto;
  display: block;
  margin-left: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.95;
  flex: 0 0 auto;
}
@media (max-width: 960px) {
  .cta-band-mascot { width: 56px; }
}

/* Mascot inside the CTA trial card (deprecated path but kept for safety) */
.cta-trial-mascot {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: -12px auto 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 16px;
}

/* ──────────────────────────── Tweaks panel */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 200;
  font-size: 13px;
  display: none;
  flex-direction: column;
  gap: 14px;
}
.tweaks-panel.open { display: flex; }
.tweaks-panel h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tweaks-row { display: flex; flex-direction: column; gap: 6px; }
.tweaks-row label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 600;
}
.tweaks-row select, .tweaks-row .seg {
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
}
.tweaks-row .seg { display: flex; padding: 3px; gap: 2px; }
.tweaks-row .seg button {
  flex: 1;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.tweaks-row .seg button.active {
  background: var(--tertiary);
  color: var(--on-primary);
}

/* Small icon set */
.ic {
  width: 16px; height: 16px;
  display: inline-block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* Hero logo block — replaces headline when user wants the wordmark */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 8px;
}
.hero-logo img {
  width: 280px;
  max-width: 100%;
  height: auto;
  filter: grayscale(0.15) contrast(1.02);
}
.hero-logo-word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
}
@media (max-width: 620px) {
  .hero-logo img { width: 200px; }
}
