@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   source. marketing site — v2
   Design system shared with the admin console:
   ink shell · cream canvas · royal blue accent · Inter + JetBrains Mono
   ============================================================ */

:root {
  /* Shell (dark) */
  --ink-deep: #0A0B0E;
  --ink: #0F1117;
  --ink-surface: #13161F;
  --ink-raised: #191D28;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-dark-strong: rgba(255, 255, 255, 0.13);
  --text-on-dark: #F0EEE9;
  --text-on-dark-dim: #8A8F9E;

  /* Canvas (light, warm) */
  --cream: #F8F6F1;
  --cream-surface: #FDFCF9;
  --cream-sunken: #EFEDE8;
  --border-light: rgba(20, 24, 34, 0.09);
  --border-light-strong: rgba(20, 24, 34, 0.16);
  --text-ink: #1A1C24;
  --text-ink-dim: #5C6070;
  --text-ink-faint: #8A8F9E;

  /* Accents */
  --blue: #3B82F6;
  --blue-deep: #2563EB;
  --blue-soft: rgba(59, 130, 246, 0.1);
  --blue-border: rgba(59, 130, 246, 0.25);
  --green: #10B981;
  --green-soft: rgba(16, 185, 129, 0.12);
  --amber: #D97706;
  --amber-bright: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --red: #DC2626;
  --red-soft: rgba(220, 38, 38, 0.1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-card: 0 1px 2px rgba(20, 24, 34, 0.04), 0 4px 16px rgba(20, 24, 34, 0.05);
  --shadow-pop: 0 4px 12px rgba(20, 24, 34, 0.1), 0 16px 48px rgba(20, 24, 34, 0.14);
  --shadow-media: 0 8px 24px rgba(10, 11, 14, 0.28), 0 32px 80px rgba(10, 11, 14, 0.32);

  --t-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  --max-w: 1160px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; background: var(--ink-deep); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-ink);
  background: var(--ink-deep);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; border: none; outline: none; background: none; cursor: pointer; }
strong { font-weight: 600; }
.mono { font-family: var(--font-mono); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ---------- shared atoms (straight from the console) ---------- */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-ink-faint);
  margin-bottom: 14px;
}
.on-dark .section-label { color: var(--text-on-dark-dim); }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(20, 24, 34, 0.05); border: 1px solid var(--border-light);
  color: var(--text-ink-dim); white-space: nowrap;
}
.tag-blue { background: var(--blue-soft); border-color: var(--blue-border); color: var(--blue-deep); }
.on-dark .tag { background: rgba(255,255,255,0.06); border-color: var(--border-dark-strong); color: var(--text-on-dark-dim); }
.on-dark .tag-blue { background: rgba(59,130,246,0.16); border-color: rgba(59,130,246,0.4); color: #93B4F8; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  padding: 3px 10px; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--green-soft); color: #0B7C5C; }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red   { background: var(--red-soft); color: var(--red); }
.badge-blue  { background: var(--blue-soft); color: var(--blue-deep); }
.on-dark .badge-green { color: #34D399; }
.on-dark .badge-amber { color: var(--amber-bright); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1;
  padding: 13px 22px; border-radius: var(--radius-md);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  border: 1px solid transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-deep); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,0.4), 0 6px 20px rgba(37,99,235,0.28); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 2px 4px rgba(37,99,235,0.4), 0 10px 28px rgba(37,99,235,0.36); }
.btn-ghost-dark { border-color: var(--border-dark-strong); color: var(--text-on-dark); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.btn-ghost-light { border-color: var(--border-light-strong); color: var(--text-ink); background: var(--cream-surface); }
.btn-ghost-light:hover { border-color: rgba(20,24,34,0.3); }
.btn-lg { padding: 16px 30px; font-size: 1.0625rem; border-radius: 12px; }

/* wordmark */
.wordmark { font-weight: 700; letter-spacing: -0.02em; }
.wordmark .dot { color: var(--blue); }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 11, 14, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; height: 60px; display: flex; align-items: center; gap: 28px; }
.nav-wordmark { font-size: 1.25rem; color: var(--text-on-dark); }
.nav-wordmark .sub { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.18em; color: var(--text-on-dark-dim); margin-left: 10px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-on-dark-dim);
  padding: 7px 12px; border-radius: 7px; transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text-on-dark); background: rgba(255,255,255,0.05); }
.nav-cta { font-size: 0.875rem; font-weight: 600; padding: 9px 16px; }

/* ---------- section scaffolding ---------- */

section { position: relative; }
.sec-dark { background: var(--ink); color: var(--text-on-dark); }
.sec-deep { background: var(--ink-deep); color: var(--text-on-dark); }
.sec-cream { background: var(--cream); color: var(--text-ink); }
.sec-pad { padding: 104px 0; }

.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.grid-bg-light {
  background-image:
    linear-gradient(rgba(20,24,34,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,34,0.028) 1px, transparent 1px);
  background-size: 44px 44px;
}

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; }
.headline { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; max-width: 21em; }
.headline .accent { color: var(--blue); }
.sub { font-size: 1.0625rem; color: var(--text-ink-dim); max-width: 44em; margin-top: 18px; }
.on-dark .sub { color: var(--text-on-dark-dim); }

/* ---------- hero ---------- */

.hero { padding: 172px 0 0; overflow: hidden; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-on-dark-dim); display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-dark-strong); padding: 7px 14px; border-radius: 999px; margin-bottom: 30px;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(16,185,129,0.8); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; color: var(--text-on-dark); }
.hero h1 .muted { color: var(--text-on-dark-dim); }
.hero-sub { font-size: 1.1875rem; line-height: 1.65; color: var(--text-on-dark-dim); max-width: 42em; margin: 26px 0 34px; }
.hero-sub strong { color: var(--text-on-dark); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-on-dark-dim); margin-top: 16px; }

.hero-media { margin: 64px auto -140px; position: relative; z-index: 2; }
.hero-badges { position: absolute; top: -14px; right: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-badges .badge { box-shadow: var(--shadow-card); background: var(--cream-surface); }
.hero-spacer { height: 170px; background: var(--cream); }

/* window chrome frame — every screenshot/video sits in one */
.frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-dark-strong);
  background: var(--ink-surface);
  box-shadow: var(--shadow-media);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--ink-raised); border-bottom: 1px solid var(--border-dark);
}
.frame-dots { display: flex; gap: 6px; }
.frame-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.frame-url {
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-on-dark-dim);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-dark);
  padding: 4px 12px; border-radius: 6px; margin: 0 auto;
}
.frame img, .frame video { width: 100%; height: auto; }

/* ---------- problem section ---------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card {
  background: var(--cream-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.0625rem; font-weight: 650; margin: 14px 0 8px; }
.card p { font-size: 0.9375rem; color: var(--text-ink-dim); }
.card .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-ink-faint); }

.truth-strip {
  margin-top: 48px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--text-on-dark);
  padding: 34px 38px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--border-dark-strong);
}
.truth-strip p { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; flex: 1; min-width: 260px; }
.truth-strip p .accent { color: var(--blue); }

/* ---------- how it works ---------- */

.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--border-light); }
.step:first-of-type { border-top: none; padding-top: 24px; }
.step.flip .step-copy { order: 2; }
.step.flip .step-media { order: 1; }
.step-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--blue-deep); margin-bottom: 12px; }
.step h3 { font-size: 1.625rem; font-weight: 700; margin-bottom: 14px; }
.step p { color: var(--text-ink-dim); font-size: 1rem; }
.step ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step li { position: relative; padding-left: 24px; font-size: 0.9375rem; color: var(--text-ink-dim); }
.step li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--blue-deep); font-weight: 600; }
.step li strong { color: var(--text-ink); }
.step-media .caption { font-family: var(--font-mono); font-size: 0.71875rem; color: var(--text-ink-faint); margin-top: 12px; text-align: center; }

/* dark code panel — the console's "machine access" style */
.code-panel { background: var(--ink); border: 1px solid var(--border-dark-strong); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-media); }
.code-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border-dark); }
.code-panel-title { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-dim); }
.code-panel pre {
  padding: 20px 22px; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.75;
  color: var(--text-on-dark); overflow-x: auto; white-space: pre;
}
.c-comment { color: #565D6D; font-style: italic; }
.c-key { color: #93B4F8; }
.c-str { color: #7DD3A8; }
.c-punct { color: var(--text-on-dark-dim); }
.c-warn { color: var(--amber-bright); }

/* ---------- see it live (media gallery) ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.gallery-item .frame { box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.gallery-item h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text-on-dark); margin: 16px 0 4px; }
.gallery-item p { font-size: 0.8125rem; color: var(--text-on-dark-dim); }

.stills-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }

/* ---------- use cases (from the field) ---------- */

.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.case {
  background: var(--cream-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.case-head { display: flex; gap: 8px; flex-wrap: wrap; }
.case h3 { font-size: 1.25rem; font-weight: 700; }
.case-k {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-ink-faint); display: block; margin-bottom: 6px;
}
.case-phase p { font-size: 0.9375rem; color: var(--text-ink-dim); }
.case-fix {
  background: var(--blue-soft); border: 1px solid var(--blue-border);
  border-radius: var(--radius-md); padding: 16px 18px; margin-top: auto;
}
.case-fix .case-k { color: var(--blue-deep); }
.case-fix p { font-size: 0.9375rem; color: var(--text-ink); }

/* ---------- objections (fair pushback) ---------- */

.qa {
  margin-top: 44px; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  background: var(--cream-surface); box-shadow: var(--shadow-card); overflow: hidden;
}
.qa details { border-top: 1px solid var(--border-light); }
.qa details:first-child { border-top: none; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 14px;
  padding: 20px 24px; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em;
  transition: background var(--t-fast);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: '+'; font-family: var(--font-mono); font-weight: 600; color: var(--blue-deep); flex-shrink: 0; }
.qa details[open] summary::before { content: '−'; }
.qa summary:hover { background: rgba(20, 24, 34, 0.025); }
.qa .a { padding: 0 24px 22px 51px; }
.qa .a p { font-size: 0.9375rem; color: var(--text-ink-dim); max-width: 60em; }
.qa .a p + p { margin-top: 10px; }
.qa .a strong { color: var(--text-ink); }

/* ---------- agents & apps ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 40px; }
.quoteline {
  font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.35;
  border-left: 3px solid var(--blue); padding-left: 20px; margin: 26px 0;
}

/* kv rows (console style) */
.kv { border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; background: var(--cream-surface); }
.kv-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--border-light); font-size: 0.9375rem; }
.kv-row:first-child { border-top: none; }
.kv-row .k { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-ink-faint); padding-top: 2px; }
.kv-row .v { color: var(--text-ink-dim); }
.kv-row .v strong { color: var(--text-ink); }

/* ---------- deployment strip ---------- */

.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.deploy-card { border: 1px solid var(--border-dark-strong); border-radius: var(--radius-md); padding: 20px; background: var(--ink-surface); }
.deploy-card .logo { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--text-on-dark-dim); border: 1px solid var(--border-dark-strong); display: inline-block; padding: 3px 8px; border-radius: 5px; margin-bottom: 12px; }
.deploy-card h4 { font-size: 0.9375rem; color: var(--text-on-dark); margin-bottom: 4px; }
.deploy-card p { font-size: 0.8125rem; color: var(--text-on-dark-dim); }

/* ---------- pricing ---------- */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.price-card {
  background: var(--cream-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--blue-deep); box-shadow: var(--shadow-pop); }
.price-card .plan { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-ink-faint); }
.price-card .price { font-size: 2.375rem; font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price-card .price small { font-size: 0.9375rem; font-weight: 500; color: var(--text-ink-faint); letter-spacing: 0; }
.price-card .for { font-size: 0.9375rem; color: var(--text-ink-dim); margin-bottom: 22px; min-height: 44px; }
.price-card ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; flex: 1; }
.price-card li { position: relative; padding-left: 22px; font-size: 0.875rem; color: var(--text-ink-dim); }
.price-card li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.price-card li.dim { color: var(--text-ink-faint); }
.price-card li.dim::before { content: '·'; color: var(--text-ink-faint); }
.price-card .btn { width: 100%; }
.featured-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue-deep); color: #fff; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; padding: 4px 14px; border-radius: 999px; }
.pricing-note { margin-top: 26px; font-size: 0.875rem; color: var(--text-ink-faint); text-align: center; }

/* metered-what strip */
.meter-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.mf { background: var(--cream-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-card); }
.mf-k {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-deep); display: block; margin-bottom: 6px;
}
.mf p { font-size: 0.8125rem; color: var(--text-ink-dim); }

/* consumption estimator */
.estimator {
  margin-top: 28px; padding: 24px 28px;
  background: var(--ink); border: 1px solid var(--border-dark-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-media); color: var(--text-on-dark);
}
.est-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.estimator input[type="range"] { width: 100%; accent-color: var(--blue); cursor: pointer; }
.est-out { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
#est-price { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
#est-detail { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-on-dark-dim); }
.est-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-on-dark-dim); }

/* ---------- founder funnel ---------- */

.founder { text-align: center; }
.founder h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; color: var(--text-on-dark); }
.founder .sub { margin-left: auto; margin-right: auto; text-align: center; }
.founder-card {
  max-width: 660px; margin: 44px auto 0; padding: 36px;
  background: var(--ink-surface); border: 1px solid var(--border-dark-strong); border-radius: var(--radius-lg);
  text-align: left;
}
.founder-row { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.founder-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-deep), #7C3AED);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.125rem;
}
.founder-row h4 { color: var(--text-on-dark); font-size: 1.0625rem; }
.founder-row p { color: var(--text-on-dark-dim); font-size: 0.875rem; }
.founder-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.founder-card li { position: relative; padding-left: 24px; font-size: 0.9375rem; color: var(--text-on-dark-dim); }
.founder-card li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--blue); }
.founder-ctas { display: flex; flex-direction: column; gap: 12px; }
.founder-alt { text-align: center; font-size: 0.875rem; color: var(--text-on-dark-dim); }
.founder-alt a { color: var(--text-on-dark); border-bottom: 1px solid var(--border-dark-strong); transition: border-color var(--t-fast); }
.founder-alt a:hover { border-color: var(--blue); }
.roadmap-note { margin-top: 22px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-on-dark-dim); text-align: center; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--border-dark); padding: 44px 0; background: var(--ink-deep); color: var(--text-on-dark-dim); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .wordmark { color: var(--text-on-dark); font-size: 1.0625rem; }
.footer nav { display: flex; gap: 20px; font-size: 0.8125rem; }
.footer nav a:hover { color: var(--text-on-dark); }
.footer .fine { font-size: 0.75rem; font-family: var(--font-mono); }

/* ---------- lightbox: every capture opens near-fullscreen ---------- */

.frame img, .frame video { cursor: zoom-in; }
.frame { position: relative; }
.frame .lb-hint {
  position: absolute; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--text-on-dark); background: rgba(10, 11, 14, 0.72);
  border: 1px solid var(--border-dark-strong); border-radius: 6px;
  padding: 4px 10px; opacity: 0; transition: opacity var(--t-fast);
  pointer-events: none;
}
.frame:hover .lb-hint { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 11, 14, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.lightbox.open { display: flex; }
.lb-inner { max-width: min(1680px, 96vw); width: 100%; }
.lb-stage {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-dark-strong); background: var(--ink-surface);
  box-shadow: var(--shadow-media);
}
.lb-stage img, .lb-stage video {
  width: 100%; max-height: 84vh; object-fit: contain; display: block;
  background: var(--ink);
}
.lb-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--ink-raised);
  border-bottom: 1px solid var(--border-dark);
}
.lb-caption {
  font-family: var(--font-mono); font-size: 0.71875rem;
  color: var(--text-on-dark-dim); margin: 0 auto;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lb-close {
  flex-shrink: 0; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark); font-size: 1.1rem; line-height: 1;
  border: 1px solid var(--border-dark-strong); border-radius: 7px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lb-close:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }
body.lb-open { overflow: hidden; }

/* ---------- animation ---------- */

.animate-in { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.animate-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .cards-3, .gallery, .stills-row, .pricing-grid, .cases { grid-template-columns: 1fr; }
  .deploy-grid, .meter-facts { grid-template-columns: repeat(2, 1fr); }
  .step, .split { grid-template-columns: 1fr; gap: 28px; }
  .step.flip .step-copy { order: 1; }
  .step.flip .step-media { order: 2; }
  .nav-links { display: none; }
  .sec-pad { padding: 72px 0; }
  .hero { padding-top: 140px; }
  .hero-media { margin-bottom: -80px; }
  .hero-spacer { height: 100px; }
  .kv-row { grid-template-columns: 1fr; gap: 4px; }
  .hero-badges { display: none; }
}
