:root {
  --bg: #07080d;
  --text: #eef0f7;
  --muted: #9097ab;
  --surface: #12141d;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(20, 22, 33, 0.55);
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --c1: #7c5cff; --c2: #22d3ee; --c3: #f472b6; --c4: #3b4256;
  /* crowd.js map palette */
  --sea-top: #0b1020; --sea-bottom: #070a14; --land: #171b27; --land-hi: #2a2350; --land-border: #2b3145;
  --border: #2b3145;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -0.03em; margin: 0; }

/* Background */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(90px); opacity: 0.35;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { background: var(--violet); top: -20vmax; left: -10vmax; }
.aurora i:nth-child(2) { background: var(--cyan); top: 10vmax; right: -25vmax; opacity: 0.18; animation-delay: -7s; }
.aurora i:nth-child(3) { background: var(--pink); bottom: -30vmax; left: 20vmax; opacity: 0.16; animation-delay: -14s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px "Space Grotesk", sans-serif; letter-spacing: -0.02em; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--violet), var(--cyan), var(--pink), var(--violet));
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.6); animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--violet), #5b8cff);
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 92, 255, 0.6); }
.btn span { transition: transform 0.2s; }
.btn:hover span { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.btn-small { padding: 8px 16px; font-size: 14px; color: #fff; }

/* Hero: one question bar over a dotted world */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero {
  position: relative; min-height: min(70vh, 700px); display: grid; place-items: center;
  padding: 40px 24px 96px; isolation: isolate;
}
.hero-world {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 80%);
}
.ask { width: min(760px, 100%); display: grid; gap: 14px; }
.ask-bar {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(12, 14, 24, 0.78); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 92, 255, 0.15), 0 0 80px rgba(124, 92, 255, 0.18);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.ask-bar::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, var(--violet), var(--cyan), var(--pink), var(--violet)); background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; animation: flow 8s linear infinite; transition: opacity 0.25s;
}
@keyframes flow { to { background-position: 300% 0; } }
.ask-bar:focus-within { border-color: transparent; box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55), 0 0 120px rgba(124, 92, 255, 0.35); }
.ask-bar:focus-within::before { opacity: 1; }
.ask-icon { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.ask-bar input[type="text"] {
  flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text);
  font: 500 clamp(16px, 2.1vw, 20px) Inter, system-ui, sans-serif; padding: 14px 4px; letter-spacing: -0.01em;
}
.ask-bar input::placeholder { color: rgba(238, 240, 247, 0.42); }
.predict {
  flex: none; font: 600 16px Inter, system-ui, sans-serif; color: #fff; border: 0; cursor: pointer;
  padding: 15px 28px; border-radius: 999px; background: linear-gradient(135deg, var(--violet), #5b8cff);
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.predict:hover { transform: translateY(-1px); filter: brightness(1.08); }
.predict:active { transform: scale(0.97); }
.ask.shake .ask-bar { animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.ask-hint {
  min-height: 22px; margin: 0; text-align: center; font-size: 14px; color: var(--muted);
  display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ask-hint b { color: var(--text); font-weight: 600; }
.ask-hint .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2); }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px;
  border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.6); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.nav-app { color: var(--text) !important; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); }
.nav-app:hover { border-color: rgba(124, 92, 255, 0.6); }

h1 { font-size: clamp(38px, 4.9vw, 66px); line-height: 1.02; }
.grad {
  background: linear-gradient(90deg, var(--violet), var(--cyan) 50%, var(--pink));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 18px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; }
.section-head { display: grid; justify-items: center; text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-inline: auto; }
.demo-section { padding-top: 40px; }
.trending-section { padding-top: 10px; padding-bottom: 30px; }
.trend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.trend-head h2 { font-size: 22px; margin: 0; }
.trend-head p { margin: 0; color: var(--muted); font-size: 14px; }
.trend-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.trend {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s;
}
.trend:hover { transform: translateY(-2px); border-color: rgba(124, 92, 255, 0.5); }
.trend-pct { font: 700 26px "Space Grotesk", sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
.trend-q { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trend-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.demo-section .demo { max-width: 980px; margin: 0 auto; }

/* Demo window */
.demo { padding: 14px; position: relative; }
.demo::before {
  content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.7), transparent 40%, rgba(34, 211, 238, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.demo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2b3145; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.demo-q {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font-size: 14px; white-space: nowrap; overflow: hidden;
}
.q-icon {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}
.caret { flex: none; width: 2px; height: 16px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-stage { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.demo-stage canvas { display: block; width: 100%; }
.demo-hud {
  position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px;
  font-size: 12px; pointer-events: none;
}
.demo-hud > div { padding: 5px 10px; border-radius: 999px; background: rgba(7, 8, 13, 0.7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hud-where { font-weight: 600; max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-live { color: var(--muted); font-variant-numeric: tabular-nums; }
.hud-live span { color: var(--text); font-weight: 600; }
.demo-verdict {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: baseline; gap: 10px;
  padding: 10px 20px; border-radius: 999px; background: rgba(7, 8, 13, 0.82); border: 1px solid rgba(124, 92, 255, 0.5);
  box-shadow: 0 10px 40px rgba(124, 92, 255, 0.35); animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
  white-space: nowrap;
}
.demo-verdict[hidden], .map-tip[hidden] { display: none; }
.v-num { font: 700 28px "Space Grotesk", sans-serif; }
.v-label { font-size: 12px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 12px) scale(0.9); } }
.demo-note { margin: 10px 4px 0; font-size: 12px; color: var(--muted); }
.map-tip {
  position: absolute; max-width: 220px; padding: 8px 10px; font-size: 12px; line-height: 1.4; pointer-events: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 90px 24px; }
.kicker { color: var(--cyan); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 48px; }
.reveal-on-scroll { transition: opacity 0.7s ease, transform 0.7s ease; }
.anim .reveal-on-scroll:not(.in) { opacity: 0; transform: translateY(28px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step { padding: 28px; position: relative; overflow: hidden; }
.step:nth-child(2) { transition-delay: 0.1s; } .step:nth-child(3) { transition-delay: 0.2s; } .step:nth-child(4) { transition-delay: 0.3s; }
.step-num {
  font: 700 14px "Space Grotesk", sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  font-size: 42px; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.viz { height: 170px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); padding: 16px; position: relative; overflow: hidden; }

.typing { font-size: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); min-height: 40px; }
.typed .hl { color: #fff; background: linear-gradient(90deg, rgba(124, 92, 255, 0.5), rgba(34, 211, 238, 0.4)); border-radius: 4px; padding: 0 3px; transition: background 0.3s; }
.pin-wrap { position: relative; height: 96px; margin-top: 8px; }
.mini-map { position: absolute; left: 50%; top: 0; height: 96px; transform: translateX(-50%); }
.mini-map path { fill: rgba(124, 92, 255, 0.18); stroke: rgba(124, 92, 255, 0.8); stroke-width: 1; }
.pin {
  position: absolute; left: calc(50% + 2px); top: 34px; width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
  background: var(--pink); transform: rotate(-45deg) translateY(-30px); opacity: 0;
}
.pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg); }
.pin-label { position: absolute; left: calc(50% + 22px); top: 30px; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity 0.4s; }
.viz-locate.found .pin { animation: drop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.viz-locate.found .pin-label { opacity: 1; }
@keyframes drop { to { opacity: 1; transform: rotate(-45deg) translateY(0); } }

.stack-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.stack-bar span { width: 0; background: var(--c); transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stack-bar span:nth-child(2) { transition-delay: 0.15s; } .stack-bar span:nth-child(3) { transition-delay: 0.3s; } .stack-bar span:nth-child(4) { transition-delay: 0.45s; }
.in .stack-bar span { width: var(--w); }
.stack-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 12px; font-size: 12px; color: var(--muted); }
.stack-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.dot-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.dot-grid i { aspect-ratio: 1; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.dot-grid i.on { transform: scale(1); }

.people { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px 6px; }
.person { width: 100%; aspect-ratio: 0.8; position: relative; color: #3b4256; transition: color 0.4s, transform 0.3s; }
.person::before { content: ""; position: absolute; left: 30%; width: 40%; aspect-ratio: 1; top: 0; border-radius: 50%; background: currentColor; }
.person::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 45%; border-radius: 50% 50% 4px 4px; background: currentColor; }
.person.jump { animation: jump 0.45s ease-out; }
@keyframes jump { 40% { transform: translateY(-6px); } }
.bubble {
  position: absolute; right: 14px; bottom: 12px; max-width: 70%; padding: 7px 12px; border-radius: 12px 12px 2px 12px;
  font-size: 12px; background: var(--surface); border: 1px solid rgba(52, 211, 153, 0.6);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s;
}
.bubble.show { opacity: 1; transform: none; }

.viz-verdict { display: flex; align-items: center; gap: 24px; }
.gauge {
  --p: 0; flex: none; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--violet) calc(var(--p) * 1%), var(--cyan) calc(var(--p) * 1%), rgba(255, 255, 255, 0.06) 0);
}
.gauge-fill { position: absolute; inset: 10px; border-radius: 50%; background: #0b0d16; }
.gauge-num { position: relative; font: 700 28px "Space Grotesk", sans-serif; }
.compare { flex: 1; display: grid; gap: 14px; font-size: 13px; }
.compare div { display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 10px; color: var(--muted); }
.compare em { font-style: normal; color: var(--text); font-weight: 600; }
.compare .bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.compare .bar::after {
  content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}
.compare .bar.alt::after { background: linear-gradient(90deg, #64748b, #94a3b8); }
.in .compare .bar::after { width: var(--p); }

/* Engines */
.engines { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.engine { padding: 26px; transition: transform 0.3s, border-color 0.3s; }
.engine:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.4); }
.engine:nth-child(2) { transition-delay: 0.1s; } .engine:nth-child(3) { transition-delay: 0.2s; }
.engine h3 { font-size: 20px; margin: 18px 0 6px; }
.engine p { color: var(--muted); font-size: 15px; margin: 0; }
.engine-viz { display: block; width: 100%; height: 120px; }
.ts path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.ts .hist { stroke: #64748b; }
.ts .fc { stroke: var(--cyan); }
.ts .band { fill: url(#band); stroke: none; opacity: 0; }
.in .ts .hist { animation: draw 1.4s ease forwards; }
.in .ts .fc { animation: draw 1.2s ease 1.2s forwards; }
.in .ts .band { animation: fade 0.8s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.bars { display: grid; gap: 12px; align-content: center; }
.bars div { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.bars b { height: 10px; border-radius: 999px; width: 0; background: linear-gradient(90deg, var(--violet), var(--pink)); transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bars div:nth-child(2) b { transition-delay: 0.15s; } .bars div:nth-child(3) b { transition-delay: 0.3s; } .bars div:nth-child(4) b { transition-delay: 0.45s; }
.in .bars b { width: var(--p); }
.ring { display: grid; place-items: center; position: relative; }
.ring-fill {
  width: 110px; height: 110px; border-radius: 50%;
  background: conic-gradient(from 0deg, #34d399 0 62%, rgba(255, 255, 255, 0.06) 62% 100%);
  -webkit-mask: radial-gradient(circle, transparent 44px, #000 45px); mask: radial-gradient(circle, transparent 44px, #000 45px);
  animation: spin 10s linear infinite; animation-play-state: paused;
}
.in .ring-fill { animation-play-state: running; }
.ring span { position: absolute; font: 700 24px "Space Grotesk", sans-serif; }

/* Download */
.download { padding: 32px; display: grid; gap: 22px; }
.download .lead { margin: 0 0 22px; }
.btn-big { padding: 16px 28px; font-size: 17px; }
.dl-meta { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.dl-meta a { color: var(--cyan); }
.os-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); justify-self: start; }
.os-tabs button { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.os-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--violet), #5b8cff); }
.dl-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-steps[hidden] { display: none; }
.dl-steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 58px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dl-steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px "Space Grotesk", sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}
.dl-steps b { color: var(--text); display: block; }
.download code, .ai-options code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255, 255, 255, 0.07); border-radius: 5px; padding: 1px 5px; color: var(--text); }
.ai-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.ai-options div { display: grid; gap: 4px; font-size: 14px; }
.ai-options span { color: var(--muted); }

/* Closing */
.foot-links { display: flex; gap: 16px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot { max-width: 1200px; margin: 0 auto; padding: 30px 24px 50px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .steps, .engines, .dl-steps, .ai-options { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { padding: 14px 16px; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: 70vh; }
  .ask-bar { flex-wrap: wrap; border-radius: 22px; padding: 10px; gap: 6px; }
  .ask-icon { display: none; }
  .ask-bar input[type="text"] { flex-basis: 100%; padding: 10px 10px 6px; }
  .predict { width: 100%; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .viz { height: auto; min-height: 170px; }
  .viz-verdict { flex-direction: column; align-items: stretch; }
  .gauge { margin: 0 auto; }
  .people { grid-template-columns: repeat(10, 1fr); }
  .download { padding: 22px 18px; }
  .btn-big { width: 100%; justify-content: center; }
  .v-num { font-size: 22px; }
  .demo-verdict { padding: 8px 14px; gap: 6px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .nav-links a:not(.nav-app) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .anim .reveal-on-scroll:not(.in) { opacity: 1; transform: none; }
}

.alt-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px auto 0; width: fit-content;
  max-width: 100%; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text); text-decoration: none;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color 0.2s; }
.alt-link svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }
.alt-link:hover { border-color: var(--cyan); }
.foot .foot-ai { flex-basis: 100%; margin: 0 0 4px; color: var(--text); }
.foot .foot-ai::before { content: "⚠ "; color: #f5b54a; }
.foot .foot-ai a { color: var(--text); }
.hero-note { margin: 4px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.hero-note a { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.surprise { display: block; margin: 10px auto 0; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px;
  color: var(--text); background: var(--glass); border: 1px solid var(--line); cursor: pointer; transition: transform 0.15s, border-color 0.2s; }
.surprise:hover { border-color: var(--violet); transform: translateY(-1px); }
.surprise:active { transform: scale(0.96); }
