/* ── LensAI website styles v3 ─────────────────────────────────────────────── */

/* ── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-alt:    #fff7ed;
  --surface:   rgba(249,115,22,.04);
  --border:    rgba(0,0,0,.09);
  --border-hi: rgba(249,115,22,.30);

  --fire:      #f97316;
  --fire-lt:   #ea580c;
  --fire-dk:   #c2410c;
  --amber:     #d97706;

  --text:      #0f172a;
  --text-muted:#4b5563;
  --text-dim:  #94a3b8;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-lg: 0 24px 60px rgba(0,0,0,.09);
  --shadow-fire: 0 8px 40px rgba(249,115,22,.22);

  --font:      'Outfit', system-ui, sans-serif;
  --mono:      'JetBrains Mono', 'Fira Code', monospace;

  --nav-h:     136px;
  --section-pad: 100px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(249,115,22,.07);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c2410c;
}

/* ── Canvas ─────────────────────────────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .25;
}

/* ── Noise texture overlay ──────────────────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.wrap       { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.wrap-half  { max-width: 560px; padding: 0 24px; }
.section    { padding: var(--section-pad) 0; position: relative; z-index: 2; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #0f172a; }
.section-head p  { margin-top: 16px; color: var(--text-muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fire-lt);
  background: rgba(249,115,22,.08);
  border: 1px solid rgba(249,115,22,.22);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 8px var(--fire);
}

.grad {
  background: linear-gradient(125deg, #fb923c 0%, #f97316 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 20px rgba(249,115,22,.35), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  box-shadow: 0 6px 28px rgba(249,115,22,.5);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  transition: color .18s, border-color .18s, background .18s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(0,0,0,.15); background: rgba(249,115,22,.05); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  transition: color .18s, border-color .18s, background .18s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--fire-lt); color: var(--fire-lt); }
.btn-xl { padding: 14px 30px; font-size: 1rem; }
.w100 { width: 100%; justify-content: center; margin-top: auto; }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #0a0a0a;
  box-shadow: 0 4px 32px rgba(0,0,0,.45);
  transition: box-shadow .25s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: flex-end;   /* push content to the bottom of the tall bar */
  padding-bottom: 22px;
  gap: 8px;
}
#nav.scrolled {
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 6px 40px rgba(0,0,0,.55);
}

/* ── Brand ──────────────────────────────────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f97316 0%, #c2410c 45%, #7c2d12 100%);
  box-shadow:
    0 0 0 1px rgba(249,115,22,.55),
    0 8px 32px rgba(249,115,22,.40),
    0 0 60px rgba(249,115,22,.15),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow .2s;
}
.brand:hover .brand-icon {
  box-shadow:
    0 0 0 1px rgba(249,115,22,.75),
    0 8px 36px rgba(249,115,22,.35),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.25);
}
.brand-icon-sm { width: 36px; height: 36px; border-radius: 9px; }

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.brand-wordmark .bw-name {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.bw-lens {
  font-size: 28px; font-weight: 300; color: #94a3b8;
  line-height: 1; letter-spacing: -.03em;
}
.bw-ai {
  font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(125deg, #fb923c 0%, #f97316 45%, #fbbf24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bw-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(249,115,22,.12) 0%, rgba(251,191,36,.07) 100%);
  border: 1px solid rgba(249,115,22,.30);
  border-top-color: rgba(251,191,36,.40);
  border-radius: 6px;
  padding: 4px 10px;
  width: fit-content;
  box-shadow: 0 1px 8px rgba(249,115,22,.12), inset 0 1px 0 rgba(255,255,255,.04);
}
.bw-tag-dot {
  position: relative;
  display: inline-flex;
  width: 8px; height: 8px;
  flex-shrink: 0;
}
.bw-tag-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fb923c;
  opacity: .45;
  animation: tag-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
.bw-tag-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 100%);
  box-shadow: 0 0 7px rgba(249,115,22,.9);
}
@keyframes tag-ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
.bw-tag-sep {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, .28);
  margin: 0 5px;
  vertical-align: middle;
  flex-shrink: 0;
}

.bw-tag > span:not(.bw-tag-dot):not(.bw-tag-sep) {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fdba74 0%, #fb923c 40%, #fbbf24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #9ca3af;
  padding: 7px 15px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
/* animated orange underline on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  transition: left .22s ease, right .22s ease;
}
.nav-links a:hover {
  color: #f8fafc;
  background: rgba(255,255,255,.06);
}
.nav-links a:hover::after { left: 14px; right: 14px; }
.nav-links a.active { color: #fb923c; }
.nav-links a.active::after { left: 14px; right: 14px; }

/* Docs external link — subtle orange tint */
.nav-links a[href="#"]:last-of-type {
  color: #fb923c;
}
.nav-links a[href="#"]:last-of-type:hover { color: #fdba74; background: rgba(249,115,22,.08); }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: 24px; }

/* ── Theme palette dots in nav ──────────────────────────────────────────────── */
.theme-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  cursor: pointer;
}
.td-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  opacity: .4;
  transition: opacity .3s, transform .3s;
  flex-shrink: 0;
}
.td-dot.active { opacity: 1; transform: scale(1.35); }
@media (max-width: 768px) { .theme-dots { display: none; } }
.nav-signin {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #9ca3af;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  transition: color .2s, border-color .2s, background .2s;
}
.nav-signin:hover {
  color: #f8fafc;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.nav-cta {
  padding: 9px 22px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 0 20px rgba(249,115,22,.35), 0 4px 12px rgba(249,115,22,.25);
  transition: box-shadow .2s, transform .15s;
}
.nav-cta:hover {
  box-shadow: 0 0 32px rgba(249,115,22,.55), 0 6px 18px rgba(249,115,22,.35);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
  display: block;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 24px 100px;
  display: grid;
  grid-template-columns: 1fr 470px;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  /* background-color set by JS; colour transitions smoothly */
  transition: background-color 2s ease;
  filter: blur(130px);
  will-change: transform, background-color;
}
/* Blob 1 — orange, top-left, drifts slowly */
.hero-orb-1 {
  width: 900px; height: 900px;
  top: -300px; left: -260px;
  background-color: rgba(249,115,22,.48);
  animation: blob-drift-a 22s ease-in-out infinite alternate;
}
/* Blob 2 — violet, bottom-right, drifts out of phase */
.hero-orb-2 {
  width: 800px; height: 800px;
  bottom: -250px; right: -220px;
  background-color: rgba(139,92,246,.37);
  animation: blob-drift-b 26s ease-in-out infinite alternate;
}
/* Blob 3 — sky, top-right mid */
.hero-orb-3 {
  width: 640px; height: 640px;
  top: 60px; right: 60px;
  background-color: rgba(6,182,212,.31);
  animation: blob-drift-c 19s ease-in-out infinite alternate;
}

@keyframes blob-drift-a {
  0%   { transform: translate(0, 0)    scale(1);    }
  33%  { transform: translate(80px, 60px)  scale(1.08); }
  66%  { transform: translate(40px, 120px) scale(.94); }
  100% { transform: translate(120px, 40px) scale(1.05); }
}
@keyframes blob-drift-b {
  0%   { transform: translate(0, 0)       scale(1);    }
  33%  { transform: translate(-70px, -50px)  scale(1.06); }
  66%  { transform: translate(-130px, 30px)  scale(.92); }
  100% { transform: translate(-50px, -90px)  scale(1.1);  }
}
@keyframes blob-drift-c {
  0%   { transform: translate(0, 0)      scale(1);    }
  50%  { transform: translate(-90px, 70px) scale(1.12); }
  100% { transform: translate(50px, -60px) scale(.9);   }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(249,115,22,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 85%);
}
.hero-reticle {
  position: absolute;
  top: 50%; right: -80px;
  transform: translateY(-52%);
  width: 580px; height: 580px;
  pointer-events: none;
  z-index: 0;
  animation: spin-slow 120s linear infinite;
}
.hr-svg { width: 100%; height: 100%; }
@keyframes spin-slow { to { transform: translateY(-52%) rotate(360deg); } }

.hero-content, .hero-terminal-wrap { position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(249,115,22,.07);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.kicker-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
  animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 6px #10b981, 0 0 12px rgba(16,185,129,.4); }
  50%      { box-shadow: 0 0 14px #10b981, 0 0 28px rgba(16,185,129,.5); }
}
.hero-kicker a { color: var(--fire-lt); font-weight: 600; transition: color .15s; }
.hero-kicker a:hover { color: var(--amber); }

h1.hero-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #0f172a;
  margin-bottom: 24px;
}
h1.hero-h1 em {
  font-style: normal;
  color: var(--fire);
  -webkit-text-fill-color: var(--fire);
}

.hero-p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: rgba(249,115,22,.05);
  border: 1px solid rgba(249,115,22,.15);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.proof-item {
  padding: 4px 20px 4px 0;
  flex: 1;
  min-width: 100px;
}
.proof-n {
  display: inline;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #0f172a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-sfx {
  display: inline;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--fire-lt);
}
.proof-l {
  display: block;
  font-size: .72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: .03em;
  margin-top: 5px;
}
.proof-div { width: 1px; align-self: stretch; background: var(--border); margin: 0 20px 0 0; flex-shrink: 0; min-height: 36px; }

/* ── Hero terminal ──────────────────────────────────────────────────────────── */
.hero-terminal-wrap { position: relative; }
.hero-terminal-wrap::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.terminal {
  position: relative;
  z-index: 1;
  background: #0d0d1a;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(249,115,22,.1), var(--shadow-lg);
  font-family: var(--mono);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #111120;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.term-dots { display: flex; gap: 6px; }
.td { width: 11px; height: 11px; border-radius: 50%; }
.td.r { background: #ff5f57; }
.td.y { background: #febc2e; }
.td.g { background: #28c840; }
.term-title { font-size: .7rem; color: #4b5563; flex: 1; text-align: center; letter-spacing: .04em; }
.term-live {
  font-size: .65rem; font-weight: 700; color: #10b981; letter-spacing: .12em;
  animation: blink-live 2s step-end infinite;
}
@keyframes blink-live { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.term-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.tl {
  display: flex;
  align-items: baseline;
  gap: 7px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
  line-height: 1.5;
  flex-wrap: nowrap;
}
.tl.visible { opacity: 1; transform: translateY(0); }
.tl.ind { padding-left: 26px; }
.tt { color: #4b5563; font-size: .65rem; flex-shrink: 0; letter-spacing: .02em; }
.tb {
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  padding: 1px 6px; border-radius: 3px; flex-shrink: 0; text-transform: uppercase;
}
.tb.inc  { background: rgba(239,68,68,.2);   color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.tb.agt  { background: rgba(249,115,22,.15);  color: #fb923c; border: 1px solid rgba(249,115,22,.25); }
.tb.root { background: rgba(251,191,36,.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.tb.done { background: rgba(16,185,129,.15);  color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.tb.fire {
  background: rgba(249,115,22,.2); color: #fdba74; border: 1px solid rgba(249,115,22,.35);
  animation: fire-pulse 1.5s ease-in-out infinite;
}
@keyframes fire-pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }

.tv       { color: #9ca3af; font-size: .74rem; line-height: 1.4; }
.tv strong { color: #e2e8f0; }
.tv.dim   { color: #6b7280; font-size: .71rem; }
.ti       { flex-shrink: 0; width: 14px; text-align: center; }
.ti.ok    { color: #34d399; }
.ti.warn  { color: #fbbf24; }
.opt {
  display: inline-flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
  color: #e2e8f0;
  font-size: .72rem;
}
.blink { animation: cursor-blink .8s step-end infinite; }
@keyframes cursor-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Logos marquee ──────────────────────────────────────────────────────────── */
.logos-band {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(249,115,22,.03);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 600;
}
.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-row {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
  align-items: center;
}
.marquee-row:hover { animation-play-state: paused; }
.marquee-row span {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  font-weight: 600;
  transition: color .2s;
}
.marquee-row span:hover { color: var(--text-muted); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Bento grid ─────────────────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.bc:hover {
  border-color: rgba(249,115,22,.22);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(249,115,22,.09);
}
.bc-2 { grid-column: span 2; }
.bc-fire { border-color: rgba(249,115,22,.18); }
.bc-fire:hover { border-color: rgba(249,115,22,.35); box-shadow: 0 16px 48px rgba(249,115,22,.1); }

.bc-glow {
  position: absolute;
  bottom: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%);
  pointer-events: none;
}

.bc-header { display: flex; align-items: center; gap: 12px; }
.bc-header h3 { font-size: 1rem; font-weight: 700; color: #0f172a; }
.bc-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--ic, #f97316, #ea580c));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.bc > p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.bc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-chips span {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #4b5563;
  background: rgba(249,115,22,.06);
  border: 1px solid rgba(249,115,22,.16);
  border-radius: 5px;
  padding: 2px 9px;
}

.bc-metrics { display: flex; gap: 28px; margin-top: auto; }
.bc-m { display: flex; flex-direction: column; gap: 3px; }
.bc-m strong { font-size: 1.3rem; font-weight: 800; color: #0f172a; letter-spacing: -.02em; }
.bc-m em { font-style: normal; font-size: .72rem; color: var(--text-dim); letter-spacing: .04em; }

/* ── Steps ──────────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--fire-lt);
  background: rgba(249,115,22,.08);
  border: 1px solid rgba(249,115,22,.2);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(249,115,22,.35), transparent);
  border-radius: 2px;
}
.step-line.last { opacity: 0; }
.step h3 { font-size: 1rem; font-weight: 700; color: #0f172a; }
.step p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Use cases ──────────────────────────────────────────────────────────────── */
.uc-row, .uc-row-rev {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.uc-row-rev { flex-direction: row-reverse; }
.uc-row:last-of-type { border-bottom: none; }

.uc-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.uc-demo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.uc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--pc, 249,115,22));
  background: rgba(var(--pc, 249,115,22),.08);
  border: 1px solid rgba(var(--pc, 249,115,22),.22);
  border-radius: 100px;
  padding: 5px 14px;
  width: fit-content;
}
.uc-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgb(var(--pc, 249,115,22));
  box-shadow: 0 0 8px rgb(var(--pc, 249,115,22));
}

.uc-copy h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.uc-copy > p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; }

.uc-list { display: flex; flex-direction: column; gap: 10px; }
.uc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.uc-list li::before {
  content: '✓';
  color: var(--fire-lt);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.uc-stats { display: flex; gap: 36px; padding-top: 8px; }
.uc-stat { display: flex; flex-direction: column; gap: 3px; }
.uc-stat span {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #0f172a;
  line-height: 1;
}
.uc-stat em { font-style: normal; font-size: .72rem; color: var(--text-dim); font-weight: 500; letter-spacing: .04em; }

/* Demo cards */
.demo-card {
  background: #0d0d1a;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 24px;
  font-family: var(--mono);
  font-size: .78rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}
.dc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dc-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--bc, 249,115,22));
  background: rgba(var(--bc, 249,115,22),.1);
  border: 1px solid rgba(var(--bc, 249,115,22),.25);
  border-radius: 4px;
  padding: 2px 8px;
}
.dc-time { font-size: .67rem; color: var(--text-dim); }
.dc-title {
  font-size: .84rem; font-weight: 700; color: #e2e8f0;
  margin-bottom: 14px; line-height: 1.4; font-family: var(--font);
}
.dc-steps { display: flex; flex-direction: column; gap: 10px; }
.ds {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .71rem;
  color: #6b7280;
  line-height: 1.4;
}
.ds.done  { color: #9ca3af; }
.ds.active { color: #fbbf24; }
.ds-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: #374151; }
.ds-dot.done   { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,.5); }
.ds-dot.active { background: #f97316; box-shadow: 0 0 10px rgba(249,115,22,.7); animation: pulse-dot 1.2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* ── Testimonials ───────────────────────────────────────────────────────────── */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s;
}
.tcard:hover { border-color: rgba(249,115,22,.22); transform: translateY(-2px); }
.tcard-accent {
  border-color: rgba(249,115,22,.22);
  background: linear-gradient(145deg, rgba(249,115,22,.05) 0%, var(--surface) 60%);
}
.tcard-accent:hover { border-color: rgba(249,115,22,.38); }

.tcard-quote {
  font-size: 5.5rem;
  line-height: .65;
  color: rgba(249,115,22,.18);
  font-family: Georgia, serif;
  font-weight: 900;
  user-select: none;
  letter-spacing: -.04em;
  margin-bottom: -4px;
}
.tcard blockquote {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-style: normal;
  flex: 1;
}
.tcard-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.tcard-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--ac, 249,115,22),.85), rgba(var(--ac, 249,115,22),.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font);
}
.tcard-foot > div:nth-child(2) { flex: 1; }
.tcard-foot strong { display: block; font-size: .875rem; color: #0f172a; }
.tcard-foot span   { font-size: .75rem; color: var(--text-dim); }
.tcard-stars { font-size: .78rem; color: var(--amber); letter-spacing: .08em; white-space: nowrap; }

/* ── Pricing ────────────────────────────────────────────────────────────────── */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.pcard:hover { border-color: rgba(249,115,22,.22); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.pcard-pro {
  border-color: rgba(249,115,22,.28);
  background: linear-gradient(160deg, rgba(249,115,22,.06) 0%, var(--surface) 55%);
}
.pcard-pro:hover { border-color: rgba(249,115,22,.5); box-shadow: 0 0 0 1px rgba(249,115,22,.15), var(--shadow-fire); }
/* Enterprise — dark prestige card */
.pcard-enterprise {
  background: linear-gradient(160deg, #0f0f14 0%, #1a1020 100%);
  border-color: rgba(168,85,247,.3);
  color: #f8fafc;
}
.pcard-enterprise:hover { border-color: rgba(168,85,247,.55); box-shadow: 0 0 0 1px rgba(168,85,247,.15), 0 16px 48px rgba(168,85,247,.15); }
.pcard-enterprise .ptier { color: #c084fc; }
.pcard-enterprise .pprice-custom { color: #f8fafc; }
.pcard-enterprise > p { color: rgba(255,255,255,.55); }
.pcard-enterprise .plist li { color: rgba(255,255,255,.75); }
.pcard-enterprise .plist li::before { background: #a855f7; }
.pcard-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,.18) 0%, transparent 65%);
  pointer-events: none;
}

.ptag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fire-lt);
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 100px;
  padding: 3px 12px;
  width: fit-content;
}
.ptag::before { content: '★'; font-size: .58rem; }

.ptier {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
}
.pprice {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.05em;
  color: #0f172a;
  line-height: 1;
}
.pprice sup { font-size: 1.2rem; font-weight: 700; vertical-align: super; color: var(--text-muted); }
.pprice small { font-size: .8rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.pprice-custom {
  font-size: 2.2rem; font-weight: 900;
  letter-spacing: -.03em; color: #0f172a; line-height: 1;
}

.pcard > p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.plist { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
}
.plist li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CTA section ────────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-reticle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  pointer-events: none;
  animation: spin-slow 90s linear infinite;
  opacity: .7;
}
.cta-reticle svg { width: 100%; height: 100%; }
.cta-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(249,115,22,.14) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.cta-section .wrap { position: relative; z-index: 3; }

.cta-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
  color: #0f172a;
  margin: 16px 0 20px;
}
.cta-sub { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 40px; }

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.cta-form input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cta-form input::placeholder { color: var(--text-dim); }
.cta-form input:focus { border-color: rgba(249,115,22,.5); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.cta-fine { font-size: .78rem; color: var(--text-dim); letter-spacing: .03em; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 2;
  background: #1a120b;
  padding: 64px 0 32px;
  border-top: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
}
.footer-top {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { flex: 0 0 260px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .bw-lens { font-size: 18px; color: #94a3b8; }
.footer-brand .bw-ai { font-size: 18px; }
.footer-brand .bw-tag { display: none; }
.footer-brand > p { font-size: .84rem; color: #64748b; line-height: 1.65; max-width: 220px; }

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  font-size: .77rem; font-weight: 600;
  color: #64748b;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  transition: color .15s, border-color .15s;
}
.footer-socials a:hover { color: #e2e8f0; border-color: rgba(255,255,255,.22); }

.footer-links { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fcol { display: flex; flex-direction: column; gap: 10px; }
.fcol h5 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.fcol a { font-size: .84rem; color: #64748b; transition: color .15s; }
.fcol a:hover { color: #e2e8f0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.footer-bottom span { font-size: .78rem; color: #4b5563; }
.footer-bottom div  { display: flex; gap: 20px; }
.footer-bottom a    { font-size: .78rem; color: #4b5563; transition: color .15s; }
.footer-bottom a:hover { color: #94a3b8; }

/* ── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: calc(var(--nav-h) + 48px);
    text-align: center;
  }
  .hero-reticle { display: none; }
  .hero-actions { justify-content: center; }
  .hero-proof   { justify-content: center; }
  .hero-terminal-wrap { max-width: 560px; margin: 0 auto; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bc-2  { grid-column: span 2; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }

  .uc-row, .uc-row-rev {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 36px;
    padding: 52px 24px;
  }
  .uc-demo { width: 100%; justify-content: flex-start; padding: 0; }
  .demo-card { max-width: 100%; }

  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 84px; --section-pad: 64px; }

  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }

  .bento { grid-template-columns: 1fr; }
  .bc-2  { grid-column: span 1; }

  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }

  .tgrid { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; }

  .cta-form { flex-direction: column; }

  .section-head { margin-bottom: 48px; }

  .hero-proof { flex-direction: column; align-items: flex-start; }
  .proof-div  { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   AI THEME ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

/* ── AI HUD — floating chips above the terminal ───────────────────────────── */
.ai-hud {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ai-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(249,115,22,.06);
  border: 1px solid rgba(249,115,22,.18);
  border-radius: 5px;
  padding: 3px 10px;
}
.ai-chip-model {
  color: var(--fire-dk);
  background: rgba(249,115,22,.10);
  border-color: rgba(249,115,22,.30);
}
.ai-chip-live {
  color: #16a34a;
  background: rgba(22,163,74,.08);
  border-color: rgba(22,163,74,.25);
}
.ai-hud-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px rgba(22,163,74,.7);
  flex-shrink: 0;
  animation: pulse-live 1.6s ease-in-out infinite;
}

/* ── AI context indicator — below proof strip ────────────────────────────── */
.ai-ctx {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(249,115,22,.05);
  border: 1px solid rgba(249,115,22,.14);
  border-radius: 8px;
}
.ai-ctx-label {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fire-dk);
  flex-shrink: 0;
}
.ai-ctx-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.ai-ctx-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fire);
  opacity: .7;
  flex-shrink: 0;
}

/* ── AI Capability ticker strip ──────────────────────────────────────────── */
.ai-caps {
  position: relative;
  z-index: 2;
  padding: 14px 0;
  background: linear-gradient(135deg, rgba(249,115,22,.07) 0%, rgba(251,191,36,.04) 100%);
  border-top: 1px solid rgba(249,115,22,.14);
  border-bottom: 1px solid rgba(249,115,22,.14);
  overflow: hidden;
}
.ai-caps-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.ai-caps-fade-l { left: 0;  background: linear-gradient(90deg,  var(--fade-c, var(--bg)), transparent); }
.ai-caps-fade-r { right: 0; background: linear-gradient(270deg, var(--fade-c, var(--bg)), transparent); }
.ai-caps-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 50s linear infinite;
  align-items: center;
  padding: 0 22px;
}
.ai-caps-track:hover { animation-play-state: paused; }
.ai-caps-track span {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fire-dk);
  white-space: nowrap;
}
.ai-caps-track em {
  font-style: normal;
  color: rgba(249,115,22,.35);
  font-size: .85rem;
  flex-shrink: 0;
}

/* ── AI Models section ───────────────────────────────────────────────────── */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.model-card:hover {
  border-color: rgba(249,115,22,.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(249,115,22,.08);
}
.mc-highlight {
  border-color: rgba(249,115,22,.24);
  background: linear-gradient(145deg, rgba(249,115,22,.06) 0%, var(--surface) 60%);
}
.mc-highlight:hover {
  border-color: rgba(249,115,22,.42);
  box-shadow: 0 14px 44px rgba(249,115,22,.15);
}
.mc-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.13) 0%, transparent 70%);
  pointer-events: none;
}
.mc-provider-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mc-dot-orange { background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,.55); }
.mc-dot-green  { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,.5); }
.mc-dot-blue   { background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,.5); }
.mc-dot-purple { background: #8b5cf6; box-shadow: 0 0 8px rgba(139,92,246,.5); }
.mc-dot-amber  { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.5); }
.mc-provider {
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 1;
}
.mc-badge {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fire-lt);
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.26);
  border-radius: 4px;
  padding: 1px 7px;
}
.mc-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
  line-height: 1;
}
.mc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mc-chips span {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-muted);
  background: rgba(249,115,22,.07);
  border: 1px solid rgba(249,115,22,.16);
  border-radius: 4px;
  padding: 2px 8px;
}
.mc-caps {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 4px;
}
.mc-cap {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Router card */
.mc-router {
  background: linear-gradient(145deg, rgba(249,115,22,.07) 0%, rgba(251,191,36,.04) 100%);
  border-color: rgba(249,115,22,.2);
  justify-content: space-between;
}
.mc-router-label {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  background: linear-gradient(125deg, #f97316, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mc-router-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.mc-router-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.mrf-node {
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
  background: rgba(0,0,0,.04);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 10px;
}
.mrf-active {
  color: var(--fire-dk);
  background: rgba(249,115,22,.1);
  border-color: rgba(249,115,22,.30);
  animation: fire-pulse 2s ease-in-out infinite;
}
.mrf-arrow {
  color: rgba(249,115,22,.45);
  font-size: .9rem;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-ctx { display: none; }
}
@media (max-width: 768px) {
  .models-grid { grid-template-columns: 1fr; }
  .ai-hud { display: none; }
}

/* ── Emil Kowalski: spring physics + depth interactions ──────────────────── */

/* Spring easing tokens */
:root {
  --spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-snappy:cubic-bezier(0.25, 1.4, 0.5, 1);
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Scroll reveals: translate + scale, not just opacity ── */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity  0.65s var(--ease-expo),
    transform 0.65s var(--ease-expo);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Bento cards: spring lift + mouse-gradient shimmer ── */
.bc {
  transition:
    border-color 0.3s ease,
    box-shadow   0.35s ease,
    transform    0.55s var(--spring);
  will-change: transform;
}
/* The ::before gradient follows the mouse via --mx/--my set in JS */
.bc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(249,115,22,.07) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.bc:hover::before { opacity: 1; }
.bc:hover {
  border-color: rgba(249,115,22,.30);
  box-shadow: 0 20px 60px rgba(0,0,0,.13), 0 4px 16px rgba(249,115,22,.1);
  /* transform handled by JS tilt; CSS provides fallback */
  transform: translateY(-8px);
}

/* ── Model cards: spring lift ── */
.model-card {
  transition:
    border-color 0.3s ease,
    box-shadow   0.35s ease,
    transform    0.55s var(--spring);
  will-change: transform;
}
.model-card:hover {
  border-color: rgba(249,115,22,.28);
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 18px 50px rgba(0,0,0,.12), 0 4px 16px rgba(249,115,22,.09);
}
.mc-highlight:hover {
  border-color: rgba(249,115,22,.48);
  box-shadow: 0 18px 50px rgba(249,115,22,.16);
}

/* ── Pricing cards: spring lift ── */
.pcard {
  transition:
    border-color 0.3s ease,
    box-shadow   0.4s ease,
    transform    0.55s var(--spring);
  will-change: transform;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0,0,0,.1), 0 4px 12px rgba(249,115,22,.07);
  border-color: rgba(249,115,22,.28);
}
.pcard-pro:hover { box-shadow: 0 0 0 1px rgba(249,115,22,.18), var(--shadow-fire); }

/* ── Use-case demo cards: spring lift ── */
.demo-card {
  transition:
    border-color 0.3s ease,
    box-shadow   0.35s ease,
    transform    0.55s var(--spring);
  will-change: transform;
}
.demo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

/* ── Testimonial cards: spring lift ── */
.tcard {
  transition:
    border-color 0.3s ease,
    box-shadow   0.35s ease,
    transform    0.55s var(--spring);
  will-change: transform;
}
.tcard:hover {
  transform: translateY(-6px);
  border-color: rgba(249,115,22,.28);
  box-shadow: 0 18px 48px rgba(0,0,0,.09);
}
.tcard-accent:hover { border-color: rgba(249,115,22,.45); }

/* ── Buttons: spring press-down on active ── */
.btn-primary:hover  {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(249,115,22,.52);
}
.btn-primary:active {
  transform: scale(0.96);
  transition: transform 0.09s ease;
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
}
.btn-ghost:active,
.btn-outline:active {
  transform: scale(0.96);
  transition: transform 0.09s ease;
}

/* ── Nav: sliding pill indicator ── */
.nav-links {
  position: relative;
}
.nav-pill {
  position: absolute;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition:
    left    0.22s var(--spring-snappy),
    top     0.22s var(--spring-snappy),
    width   0.22s var(--spring-snappy),
    height  0.22s var(--spring-snappy),
    opacity 0.15s ease;
}
.nav-links a { position: relative; z-index: 1; }

/* ── Hero content: staggered entrance ── */
.hero-kicker,
.hero-h1,
.hero-p,
.hero-actions,
.hero-proof,
.ai-ctx {
  opacity: 0;
  transform: translateY(18px);
  animation: _hero-enter 0.8s var(--ease-expo) forwards;
}
.hero-kicker   { animation-delay: 0.05s; }
.hero-h1       { animation-delay: 0.18s; }
.hero-p        { animation-delay: 0.30s; }
.hero-actions  { animation-delay: 0.40s; }
.hero-proof    { animation-delay: 0.52s; }
.ai-ctx        { animation-delay: 0.62s; }

.hero-terminal-wrap {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  animation: _hero-enter 1s var(--ease-expo) 0.25s forwards;
}

@keyframes _hero-enter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-kicker, .hero-h1, .hero-p,
  .hero-actions, .hero-proof, .ai-ctx, .hero-terminal-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal { transition: none; }
  .bc, .model-card, .pcard, .demo-card, .tcard, .btn-primary {
    transition: border-color 0.2s, box-shadow 0.2s;
    will-change: auto;
  }
  .bc:hover, .model-card:hover, .pcard:hover,
  .demo-card:hover, .tcard:hover { transform: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   pbakaus/impeccable: typography hierarchy · spacing rhythm · design differentiation
   ─────────────────────────────────────────────────────────────────────────────
   Anti-patterns addressed:
     · Uniform section padding  — every section at 100px is metronomic, not rhythmic
     · Gradient text overuse    — .grad on 7+ headings loses all emphasis value
     · Identical eyebrow pills  — glowing orange dot on every subordinate section
     · 4 identical step boxes   — no visual progression in a 4-step process
     · 6 identical model cards  — default provider deserves real estate, not equality
   ───────────────────────────────────────────────────────────────────────────── */

/* ── 1. Spacing rhythm ─────────────────────────────────────────────────────── */
/* Platform is the product's gravitational centre — earns the most space */
#platform { padding-top: 128px; padding-bottom: 128px; }

/* Pricing is a conversion moment — near-parity with platform */
#pricing { padding-top: 116px; }

/* Models is supporting context — tighter reads as intentionally subordinate */
#models { padding-top: 72px; padding-bottom: 80px; }

/* ── 2. Typography contrast ────────────────────────────────────────────────── */
/* Platform heading commands the hierarchy — noticeably larger than peers */
#platform .section-head h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -.045em;
}

/* Models: supporting — size drop signals subordination */
#models .section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
  font-weight: 700;
}

/* How It Works: narrative, not a product showcase */
#how .section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

/* Body text measure — 65ch is optimal for reading; paragraphs shouldn't run full-width */
.bc > p        { max-width: 54ch; }
.step p        { max-width: 38ch; }

/* ── 3. Gradient text: reserve for hero + platform only ────────────────────── */
/* Using .grad on every heading trains the eye to ignore it.
   Models / How It Works / Use Cases: solid accent, still warm but not gradient */
#models .section-head .grad,
#how .section-head .grad,
#usecases .section-head .grad {
  background: none;
  -webkit-text-fill-color: var(--fire-lt);
  color: var(--fire-lt);
}

/* Testimonials and pricing: no colour treatment at all — dark confidence */
#pricing .section-head .grad {
  background: none;
  -webkit-text-fill-color: #1e293b;
  color: #1e293b;
}
/* Testimonials section (the section-alt before pricing that isn't #how) */
section.section-alt:not(#how) .section-head .grad {
  background: none;
  -webkit-text-fill-color: #1e293b;
  color: #1e293b;
}

/* ── 4. Eyebrow pill: tone down on supporting sections ─────────────────────── */
/* Orange glowing dot on every single eyebrow is the clearest AI-slop signal.
   Keep the fire treatment only where it matters: Platform + CTA.
   Everything else gets a neutral, considered pill. */
#models .eyebrow,
#how .eyebrow,
#usecases .section-head .eyebrow,
#pricing .eyebrow,
section.section-alt:not(#how) .eyebrow {
  background: rgba(0, 0, 0, .045);
  border-color: rgba(0, 0, 0, .10);
  color: var(--text-muted);
}
#models .eyebrow::before,
#how .eyebrow::before,
#usecases .section-head .eyebrow::before,
#pricing .eyebrow::before,
section.section-alt:not(#how) .eyebrow::before {
  background: #94a3b8;
  box-shadow: none;
}

/* ── 5. Step visual progression ────────────────────────────────────────────── */
/* Steps 01→04 should build — the payoff lands at "learn and compound". */
.step:nth-child(1) .step-num {
  background: rgba(249, 115, 22, .04);
  border-color: rgba(249, 115, 22, .12);
  color: rgba(234, 88, 12, .55);
}
.step:nth-child(2) .step-num {
  background: rgba(249, 115, 22, .06);
  border-color: rgba(249, 115, 22, .17);
  color: rgba(234, 88, 12, .70);
}
.step:nth-child(3) .step-num {
  background: rgba(249, 115, 22, .09);
  border-color: rgba(249, 115, 22, .22);
  color: rgba(234, 88, 12, .88);
}
.step:nth-child(4) .step-num {
  background: rgba(249, 115, 22, .14);
  border-color: rgba(249, 115, 22, .36);
  color: var(--fire-lt);
  box-shadow: 0 0 16px rgba(249, 115, 22, .20);
}
/* Connector lines intensify in step with the numbers */
.steps .step:nth-child(1) .step-line {
  background: linear-gradient(90deg, rgba(249, 115, 22, .16), transparent);
}
.steps .step:nth-child(2) .step-line {
  background: linear-gradient(90deg, rgba(249, 115, 22, .26), transparent);
}
.steps .step:nth-child(3) .step-line {
  background: linear-gradient(90deg, rgba(249, 115, 22, .38), transparent);
}

/* ── 6. Models grid: Anthropic earns its real estate ──────────────────────── */
/* Six equally-sized cards treat Claude and an open-source backup as peers.
   The default provider spans 2 columns; the Router spans the full row. */
.mc-highlight {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 12px 28px;
}
.mc-highlight .mc-provider-row { grid-column: 1; }
.mc-highlight .mc-name {
  grid-column: 1;
  font-size: 1.8rem;
  letter-spacing: -.035em;
}
.mc-highlight .mc-chips { grid-column: 1; }
.mc-highlight .mc-caps {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid rgba(249, 115, 22, .13);
}
.mc-highlight .mc-glow {
  width: 300px; height: 300px;
  bottom: -100px; right: -80px;
}

.mc-router {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 32px;
}
.mc-router .mc-router-label { margin: 0; font-size: .78rem; }
.mc-router .mc-router-desc  { margin: 0; }
.mc-router .mc-router-flow  { margin: 0; }

/* Responsive: undo the 2-col span at tablet width */
@media (max-width: 1024px) {
  .mc-highlight {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mc-highlight .mc-caps {
    border-left: none;
    padding-left: 0;
    margin-top: auto;
    padding-top: 4px;
  }
  .mc-router {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── 7. Pricing: featured card gets more breathing room ────────────────────── */
/* The "Most popular" card should feel decisively different in weight,
   not just have a slightly more orange border than its siblings. */
.pcard-pro {
  padding: 36px 28px;
}
/* Price display: the featured tier's number should dominate */
.pcard-pro .pprice {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -.04em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Leonxlnx/taste-skill: font swap · no emojis · no gradient headers · balance
   ─────────────────────────────────────────────────────────────────────────────
   Rules applied:
     · Inter banned for premium/creative — replaced with Outfit
     · No emojis anywhere — mc-cap emojis removed from HTML; CSS arrow marker added
     · No gradient text on large headers — hero h1 em now uses solid --fire
     · text-wrap: balance on all headings — prevents orphaned words
     · Negative tracking on display, positive on small labels
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Heading text-wrap: balance — fixes orphan words on any viewport ── */
h1, h2, h3, h4 { text-wrap: balance; }

/* ── Outfit: slightly adjusted heading tracking (tighter cap-height than Inter) ── */
h1.hero-h1     { letter-spacing: -.045em; }
.section-head h2 { letter-spacing: -.035em; }
.uc-copy h3      { letter-spacing: -.028em; }
.step h3         { letter-spacing: -.025em; }

/* ── mc-cap: styled arrow marker replacing removed emojis ── */
.mc-cap {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.mc-cap::before {
  content: '›';
  color: var(--fire-lt);
  font-size: .9em;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}

/* ── Small label tracking: positive spacing for legibility at small sizes ── */
.eyebrow,
.mc-provider,
.bc-chips span,
.mc-chips span,
.logos-label,
.ai-caps-track span {
  letter-spacing: .12em;
}

/* ── 8. Section head margins: tighten for supporting sections ──────────────── */
/* Platform's 72px gap is earned. Others can breathe with 56px. */
#models .section-head,
#how .section-head,
section.section-alt:not(#how) .section-head,
#pricing .section-head {
  margin-bottom: 56px;
}
