/* Ask Snowy landing — ported from the standalone Vite site (src/style.css).
   Standalone stylesheet: served ONLY on the landing page, NOT via app.css —
   it reuses class names (.btn/.btn-primary) that collide with DaisyUI.
   Fonts (Geist + Geist Mono) load via Google Fonts <link> in the landing head.
   Minimal reset below replaces Tailwind preflight (markup uses no Tailwind utilities). */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
ul { list-style: none; }


/* ---------- Tokens ---------- */
:root {
  --bg: #fafcff;
  --surface: #ffffff;
  --bg-elev: rgba(255, 255, 255, 0.78);
  --ink: #0b1626;
  --ink-soft: #324050;
  --muted: #51647a;
  --muted-deep: #6e7f93;
  /* ice-blue ramp: light blues decorate, the deep one is the only text-safe blue */
  --accent: #0ea5e9;
  --accent-deep: #0369a1;
  --accent-bright: #38bdf8;
  --accent-soft: #7dd3fc;
  --accent-wash: rgba(14, 165, 233, 0.10);
  --accent-border: rgba(14, 165, 233, 0.28);
  --line: rgba(13, 38, 64, 0.10);
  --glass: rgba(255, 255, 255, 0.65);
  --shadow-tint: rgba(15, 55, 95, 0.12);
  --font-sans: "Geist", "Geist Variable", system-ui, sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Variable", ui-monospace, monospace;
  /* symmetric ease-in-out for hover enter/exit; entrances keep their ease-out */
  --ease-smooth: cubic-bezier(0.45, 0.05, 0.25, 1);
  /* micro type scale */
  --text-xs: 0.78rem;
  --text-sm: 0.85rem;
  --text-md: 0.92rem;
  --text-base: 0.95rem;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.gain { color: var(--accent-deep); }
b { font-weight: 650; }

h1, h2 {
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, min(5.8vw, 8svh), 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-weight: 640; letter-spacing: -0.015em; font-size: 1.13rem; }

::selection { background: rgba(56, 189, 248, 0.35); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Atmosphere: frost drifts on winter white ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(186, 230, 253, 0.35) 0%, transparent 60%),
    var(--bg);
}
/* pre-blurred radial gradients — no filter:blur, cheap to composite */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora-a {
  width: 64vw; height: 52vh;
  left: -16vw; top: -18vh;
  background: radial-gradient(closest-side, rgba(125, 211, 252, 0.42), rgba(125, 211, 252, 0.14) 48%, transparent 72%);
  animation: drift-a 28s ease-in-out infinite alternate;
}
.aurora-b {
  width: 56vw; height: 48vh;
  right: -18vw; top: 20vh;
  background: radial-gradient(closest-side, rgba(186, 230, 253, 0.40), rgba(186, 230, 253, 0.13) 48%, transparent 72%);
  animation: drift-b 34s ease-in-out infinite alternate;
}
.aurora-c {
  width: 66vw; height: 46vh;
  left: 12vw; bottom: -20vh;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0.07) 48%, transparent 72%);
  animation: drift-c 31s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.18); } }
@keyframes drift-b { to { transform: translate(-7vw, -6vh) scale(1.12); } }
@keyframes drift-c { to { transform: translate(-6vw, -8vh) scale(1.22); } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
}
/* top edge catches the light */
.feature-card,
.chat {
  box-shadow: 0 14px 40px rgba(15, 55, 95, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 26px;
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: 0 8px 32px rgba(15, 55, 95, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}
.nav-brand img { opacity: 0.95; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav-brand:hover img { transform: rotate(-10deg); }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease-smooth);
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 640;
  font-size: var(--text-base);
  padding: 12px 24px;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 8px 16px; font-size: var(--text-sm); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
/* black = stands out, per brand direction; ice glow on hover */
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 22px rgba(11, 22, 38, 0.22);
}
.btn-primary:hover {
  background: #16263e;
  box-shadow: 0 8px 30px rgba(11, 22, 38, 0.18), 0 0 36px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid rgba(13, 38, 64, 0.18);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  border-color: rgba(13, 38, 64, 0.36);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(90px, 13svh, 125px) var(--sp-x, 20px) clamp(28px, 6svh, 60px);
}
.hero-inner {
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: clamp(12px, 2svh, 20px);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.hero-sub {
  margin-top: clamp(12px, 2svh, 18px);
  max-width: 560px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 350;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: clamp(18px, 3svh, 30px);
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Dashboard preview ---------- */
.dash {
  margin-top: clamp(22px, 4.5svh, 52px);
  width: min(580px, 100%);
  border-radius: 20px;
  padding: clamp(14px, 2svh, 20px) 22px;
  text-align: left;
  background: var(--bg-elev);
  box-shadow: 0 30px 80px var(--shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}
.dash:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(15, 55, 95, 0.16), 0 0 40px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dash-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.dash-value {
  font-size: 1.5rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin-top: 2px;
  color: var(--ink);
}
.dash-pill {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 5px 11px;
}
.dash-body {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
}
.dash-chart { flex: 1; min-width: 0; }
.dash-chart svg { width: 100%; height: clamp(52px, 8svh, 72px); display: block; }
.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.spark-fill { opacity: 0; transition: opacity 0.8s ease 1.4s; }
.in .spark-line { animation: draw 1.9s cubic-bezier(0.5, 0, 0.2, 1) 0.45s forwards; }
.in .spark-fill { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.dash-side { display: flex; align-items: center; gap: 14px; }
.donut { width: 76px; height: 76px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 9; }
.donut-track { stroke: rgba(13, 38, 64, 0.07); }
.donut-seg { stroke-dasharray: 0 188.5; transition: stroke-dasharray 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s, stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s; }
.seg-equity { stroke: var(--accent); }
.seg-fixed { stroke: var(--accent-soft); transition-delay: 0.85s; }
.seg-crypto { stroke: #b9cfe0; transition-delay: 1s; }
.in .seg-equity { stroke-dasharray: 107.3 188.5; }
.in .seg-fixed { stroke-dasharray: 48.9 188.5; stroke-dashoffset: -109.3; }
.in .seg-crypto { stroke-dasharray: 26.3 188.5; stroke-dashoffset: -160.2; }

.legend { display: flex; flex-direction: column; gap: 7px; }
.legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--muted);
  white-space: nowrap;
}
.legend b { color: var(--ink-soft); font-weight: 560; margin-left: 2px; }
.dot { width: 8px; height: 8px; border-radius: 3px; }
.dot-equity { background: var(--accent); }
.dot-fixed { background: var(--accent-soft); }
.dot-crypto { background: #b9cfe0; }

.dash-rows {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.dash-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  font-size: var(--text-sm);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.in .dash-row { opacity: 1; transform: none; }
.in .dash-row:nth-child(1) { transition-delay: 1s; }
.in .dash-row:nth-child(2) { transition-delay: 1.15s; }
.in .dash-row:nth-child(3) { transition-delay: 1.3s; }
.tick {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(13, 38, 64, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  min-width: 74px;
  text-align: center;
}
.row-kind { color: var(--muted); flex: 1; }
.row-amt { color: var(--ink-soft); font-weight: 560; }

/* ---------- Sections ---------- */
section {
  padding: var(--sp-top, 110px) var(--sp-x, 20px) var(--sp-bot, 110px);
  scroll-margin-top: 96px;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-border);
  background: var(--accent-wash);
  border-radius: 999px;
  padding: 5px 14px;
}
.section-sub {
  margin-top: 16px;
  max-width: 52ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 350;
  line-height: 1.6;
}

/* ---------- Features ---------- */
.features { --sp-top: 50px; --sp-bot: 50px; }
.feature-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
/* avoid the 3+1 orphan row on tablets */
@media (min-width: 641px) and (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
  border-radius: 18px;
  padding: 26px 24px 28px;
  transition: border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(15, 55, 95, 0.12), 0 0 30px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  margin-bottom: 18px;
  transition: box-shadow 0.35s var(--ease-smooth);
}
.feature-card:hover .feature-icon { box-shadow: 0 0 22px rgba(56, 189, 248, 0.3); }
.feature-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { color: var(--ink); }
.feature-card p {
  margin-top: 10px;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Ask Snowy chat ---------- */
.ask { --sp-top: 60px; --sp-bot: 50px; }
.chat {
  max-width: 660px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 28px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chat-msg { display: flex; gap: 12px; }
.chat-user { justify-content: flex-end; opacity: 0; transform: translateY(10px); }
.chat-user p {
  background: var(--accent-wash);
  border: 1px solid var(--accent-border);
  color: #1e3a52;
  border-radius: 16px 16px 4px 16px;
  padding: 12px 18px;
  font-size: var(--text-base);
  max-width: 80%;
}
.chat-snowy { opacity: 0; transform: translateY(10px); }
.chat-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  align-self: flex-start;
  border-radius: 50%;
  transition: filter 0.4s var(--ease-smooth);
}
.play:not(.answered) .chat-avatar { filter: drop-shadow(0 0 11px rgba(56, 189, 248, 0.6)); }
.chat-bubble {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  padding: 14px 18px;
  max-width: 85%;
  min-width: 70px;
  box-shadow: 0 4px 14px rgba(15, 55, 95, 0.06);
}
.chat-typing { display: flex; gap: 5px; padding: 4px 0; }
.chat-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted-deep);
  animation: bounce 1.1s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-answer { display: none; }
.chat-answer p { font-size: var(--text-base); line-height: 1.65; color: var(--ink-soft); font-weight: 400; }

.play .chat-user { animation: msg-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) 0.1s forwards; }
.play .chat-snowy { animation: msg-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) 0.9s forwards; }
@keyframes msg-in { to { opacity: 1; transform: none; } }
.answered .chat-typing { display: none; }
.answered .chat-answer { display: block; animation: msg-in 0.5s ease forwards; }

.chat-chart {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bar-group { display: flex; align-items: center; gap: 10px; }
.bar-label { font-size: var(--text-xs); color: var(--muted); min-width: 60px; }
.bar {
  flex: 1;
  height: 9px;
  border-radius: 99px;
  background: rgba(13, 38, 64, 0.06);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #0284c7, var(--accent-bright));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}
.answered .bar i { width: var(--w); }
.bar-val { font-size: var(--text-xs); font-weight: 600; min-width: 52px; text-align: right; color: var(--ink-soft); }

.chat-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.chat-chips-label {
  font-size: var(--text-xs);
  color: var(--muted-deep);
  font-weight: 500;
  margin-right: 2px;
}
.chat-chip {
  font-size: var(--text-xs);
  font-weight: 560;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}
.chat-chip:hover {
  color: var(--ink);
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.chat-chip:active { transform: translateY(0); }
.chat-chip.active {
  color: var(--accent-deep);
  border-color: var(--accent-border);
  background: var(--accent-wash);
}

/* ---------- CTA ---------- */
.cta { --sp-top: 60px; --sp-bot: 130px; }
.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-owl {
  margin-bottom: 22px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(15, 55, 95, 0.16);
}
.cta .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px var(--sp-x, 20px); background: rgba(255, 255, 255, 0.6); }
.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { opacity: 0.85; }
.footer-brand a { color: var(--ink-soft); }
.footer-brand a:hover { color: var(--ink); }
.footer-mail { font-size: var(--text-xs); color: var(--accent-deep); }
.footer-copy { color: var(--muted); }

/* ---------- Reveal on scroll ----------
   Animation (not transition) so the transition slot stays free for hovers.
   JS adds .settled on animationend to release the animation fill. */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0s) both; }
.js .reveal.in.settled { animation: none; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- No-JS fallback: everything visible, no staged animations ---------- */
.no-js .chat-user, .no-js .chat-snowy { opacity: 1; transform: none; }
.no-js .chat-typing, .no-js .chat-chips { display: none; }
.no-js .chat-answer { display: block; }
.no-js .bar i { width: var(--w); }
.no-js .spark-line { stroke-dashoffset: 0; }
.no-js .spark-fill { opacity: 1; }
.no-js .dash-row { opacity: 1; transform: none; }
.no-js .seg-equity { stroke-dasharray: 107.3 188.5; }
.no-js .seg-fixed { stroke-dasharray: 48.9 188.5; stroke-dashoffset: -109.3; }
.no-js .seg-crypto { stroke-dasharray: 26.3 188.5; stroke-dashoffset: -160.2; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  :root { --sp-x: 16px; }
  .nav-links { display: none; }
  .nav-pill { gap: 14px; }
  .dash-body { flex-direction: column; align-items: stretch; }
  .dash-side { justify-content: center; }
  section { --sp-top: 80px; --sp-bot: 80px; }
  .features { --sp-top: 40px; --sp-bot: 40px; }
  .ask { --sp-top: 48px; --sp-bot: 40px; }
  .cta { --sp-top: 48px; --sp-bot: 100px; }
  .hero { padding-top: 110px; }
}

/* Short landscape screens: compact the hero so the card stays in view */
@media (min-width: 641px) and (max-height: 860px) {
  .hero-sub { max-width: 620px; }
  .dash-rows .dash-row:nth-child(3) { display: none; }
}
@media (min-width: 641px) and (max-height: 660px) {
  .dash-rows { display: none; }
  .hero-badge { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora-blob, .pulse-dot, .chat-typing i { animation: none !important; }
  .js .reveal, .js .reveal.in { opacity: 1 !important; animation: none !important; }
  .chat-user, .chat-snowy { opacity: 1 !important; transform: none !important; animation: none !important; }
  .spark-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .spark-fill { opacity: 1 !important; }
  .dash-row { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dash, .feature-card, .btn, .chat-chip { transition: none !important; }
  .donut-seg, .bar i { transition: none !important; }
  .answered .bar i, .bar i { width: var(--w); }
}

/* ---------- What's Next roadmap (Zed-style two-column) ---------- */
.whats-next { --sp-top: 40px; --sp-bot: 60px; }
.roadmap {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.roadmap-col { display: flex; flex-direction: column; }
.roadmap-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-soft);
}
.roadmap-count { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.roadmap-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  border-radius: 14px;
  padding: 17px 20px 18px;
  margin-bottom: 14px;
  box-shadow: 0 5px 18px rgba(15, 55, 95, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.roadmap-card:last-child { margin-bottom: 0; }
.roadmap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 55, 95, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
/* subtle accent edge on the active (currently working on) cards */
.roadmap-col-active .roadmap-card { border-left: 3px solid var(--accent); }
.roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.roadmap-card h3 { font-size: 1rem; }
.roadmap-card p { font-size: var(--text-sm); line-height: 1.55; color: var(--muted); }
.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-progress { color: var(--accent-deep); background: var(--accent-wash); border: 1px solid var(--accent-border); }
.status-planned { color: var(--muted-deep); background: color-mix(in srgb, var(--ink) 4%, transparent); border: 1px solid var(--line); }
.roadmap-status svg { flex-shrink: 0; }
@media (max-width: 720px) {
  .roadmap { grid-template-columns: 1fr; gap: 26px; }
}
