/* ============================================================
   Velox — landing page styles
   Palette mirrors the real Velox app design system (src/styles.css):
   refined dark surfaces + #6e7bff → #9b59f6 accent, GitHub-dark
   semantic colors (green / amber / red / blue).
   Fonts: Sora + Inter + JetBrains Mono
   ============================================================ */

:root {
  --bg: #0e0f11;
  --bg-deep: #0a0b0d;
  --bg-soft: #0a0b0d;
  --panel: #141518;
  --panel-2: #1a1c20;
  --panel-3: #22252a;
  --panel-border: #26282d;
  --border-soft: #1e2025;
  --text: #ebecee;
  --text-dim: #9ba0a8;
  --text-faint: #6b7078;
  --accent: #6e7bff;
  --accent-2: #9b59f6;
  --blue: #58a6ff;
  --green: #3fb950;
  --amber: #d29922;
  --red: #f85149;
  --ok: #3fb950;
  --radius: 16px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}
.container.narrow { width: min(820px, 92vw); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--panel-3);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--blue);
}

.grad {
  background: linear-gradient(100deg, var(--blue), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-a { width: 560px; height: 560px; top: -180px; left: -120px; background: var(--accent); }
.bg-glow-b { width: 520px; height: 520px; top: -80px; right: -160px; background: var(--accent-2); opacity: 0.2; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14, 15, 17, 0.75);
  border-bottom: 1px solid var(--panel-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}
.footer-brand .brand-mark { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--panel-2);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 26px rgba(110, 123, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(110, 123, 255, 0.5); }
.btn-ghost {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text);
}
.btn-ghost:hover { background: var(--panel-2); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; padding: 90px 0 70px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-meta {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-top: 34px;
  color: var(--text-faint);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text); font-family: var(--font-display); }

/* ---------- fake app window ---------- */
.app-window, .terminal-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.app-window { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--panel-border);
  background: var(--bg-deep);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: var(--red); }
.dot.yellow { background: var(--amber); }
.dot.green { background: var(--green); }
.app-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.app-side {
  border-right: 1px solid var(--panel-border);
  padding: 12px 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.side-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 3px;
}
.side-item.active { background: rgba(110, 123, 255, 0.16); color: var(--text); }
.badge-git {
  margin-left: auto;
  font-style: normal;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  padding: 0 6px;
}
.side-tree {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}
.tree-row { padding: 3px 4px; }
.tree-row.indent { padding-left: 16px; }
.tree-row em { font-style: normal; float: right; font-size: 0.65rem; }
em.m { color: var(--amber); }
em.a { color: var(--green); }

.app-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 0.83rem; }
.chat-line { display: flex; gap: 9px; align-items: baseline; }
.chat-line .who {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  min-width: 38px;
}
.chat-line.user .who { color: var(--text-faint); }
.chat-line code { font-size: 0.78em; }

.diff-card {
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-deep);
}
.diff-head {
  padding: 7px 12px;
  border-bottom: 1px solid var(--panel-border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.diff-head em { font-style: normal; float: right; color: var(--green); }
.diff-body {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  padding: 10px 12px;
  white-space: pre-wrap;
}
.diff-body span { display: block; }
.diff-body .add { color: var(--green); background: rgba(63, 185, 80, 0.1); }
.diff-body .ctx { color: var(--text-faint); }
.diff-actions { display: flex; gap: 8px; padding: 0 12px 10px; }
.mini-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
}
.mini-btn.ok { border-color: rgba(63, 185, 80, 0.5); color: var(--green); }

.chat-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--bg-deep);
}
.caret {
  width: 8px;
  height: 16px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.ctx-token { font-family: var(--font-mono); font-size: 0.68rem; color: var(--amber); }

/* ---------- strip ---------- */
.strip { position: relative; z-index: 1; padding: 26px 0; border-block: 1px solid var(--panel-border); background: var(--bg-soft); }
.strip-inner { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; }
.strip-label { color: var(--text-faint); font-size: 0.85rem; }
.strip-items { display: flex; gap: 30px; flex-wrap: wrap; }
.strip-items span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dim);
  opacity: 0.8;
  font-size: 0.95rem;
}

/* ---------- sections ---------- */
.section { position: relative; z-index: 1; padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--panel-border); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 16px; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- feature grid ---------- */
.grid-feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 123, 255, 0.5);
  background: rgba(110, 123, 255, 0.06);
}
.card-icon { font-size: 1.7rem; margin-bottom: 14px; }
.card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- modes ---------- */
.grid-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mode-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.mode-card:hover { transform: translateY(-4px); }
.mode-card.featured {
  border-color: rgba(155, 89, 246, 0.55);
  background: linear-gradient(180deg, rgba(110, 123, 255, 0.14), rgba(155, 89, 246, 0.06));
  box-shadow: 0 14px 44px rgba(110, 123, 255, 0.2);
}
.mode-icon { font-size: 1.9rem; margin-bottom: 12px; }
.mode-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mode-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 22px; margin-bottom: 54px; }
.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
}
.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.step-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step-body p { color: var(--text-dim); font-size: 0.95rem; }

.terminal-card { max-width: 640px; margin-inline: auto; }
.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  padding: 20px 22px;
  white-space: pre-wrap;
}
.t-dim { color: var(--text-faint); }
.t-ok { color: var(--green); }
.t-info { color: var(--blue); }
.t-warn { color: var(--amber); }

/* ---------- permission matrix ---------- */
.matrix-wrap {
  margin-top: 44px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow-x: auto;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 620px;
}
.matrix th, .matrix td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.matrix th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--panel-2);
}
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td:not(:first-child) { text-align: center; }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.tag.ok { color: var(--green); border-color: rgba(63, 185, 80, 0.4); background: rgba(63, 185, 80, 0.08); }
.tag.warn { color: var(--amber); border-color: rgba(210, 153, 34, 0.4); background: rgba(210, 153, 34, 0.08); }
.tag.bad { color: var(--red); border-color: rgba(248, 81, 73, 0.4); background: rgba(248, 81, 73, 0.08); }
.matrix-note {
  padding: 14px 18px;
  color: var(--text-faint);
  font-size: 0.82rem;
  border-top: 1px solid var(--border-soft);
}

/* ---------- two-column cards ---------- */
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card.wide h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.snippet {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  padding: 12px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--bg-deep);
  white-space: pre-wrap;
}

/* ---------- install snippet + copy button ---------- */
.cli-install {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.cli-install .snippet {
  margin-top: 0;
  width: 100%;
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.copy-btn.copied {
  border-color: var(--ok, #3ddc84);
  color: var(--ok, #3ddc84);
  background: rgba(61, 220, 132, 0.08);
}

/* ---------- slash commands ---------- */
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cmd {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--panel);
  padding: 16px 18px;
}
.cmd code {
  align-self: flex-start;
  color: var(--accent);
  background: rgba(110, 123, 255, 0.1);
  border-color: rgba(110, 123, 255, 0.3);
}
.cmd span { color: var(--text-dim); font-size: 0.86rem; }

/* ---------- CLI box ---------- */
.cli-box {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  border: 1px solid rgba(155, 89, 246, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 15% -30%, rgba(155, 89, 246, 0.2), transparent 70%),
    var(--panel);
  padding: 48px;
}
.pill-new {
  color: var(--green);
  border-color: rgba(63, 185, 80, 0.4);
  background: rgba(63, 185, 80, 0.08);
}
.cli-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.cli-copy > p { color: var(--text-dim); margin-bottom: 18px; }
.cli-points {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}
.cli-points li {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
}
.cli-points li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.cli-window {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-deep);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.cli-details { margin-top: 22px; }
.cli-details .card.wide h3 { margin-bottom: 12px; }
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg-deep);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.notify-input:focus { border-color: var(--accent); }
.notify-msg { color: var(--green); font-size: 0.92rem; margin-top: 4px; }

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--panel-border);
}
.tl-item { position: relative; }
.tl-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-soft);
  background: var(--text-faint);
}
.tl-item.done .tl-dot { background: var(--green); }
.tl-item.now .tl-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(110, 123, 255, 0.25); }
.tl-item.next .tl-dot { background: var(--amber); }
.tl-body {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 26px;
}
.tl-item.now .tl-body { border-color: rgba(110, 123, 255, 0.45); }
.tl-body h3 { font-size: 1.05rem; margin-bottom: 7px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-body p { color: var(--text-dim); font-size: 0.92rem; }
.tl-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(63, 185, 80, 0.4);
  color: var(--green);
  background: rgba(63, 185, 80, 0.08);
}
.tl-badge.now-badge {
  border-color: rgba(110, 123, 255, 0.45);
  color: var(--accent);
  background: rgba(110, 123, 255, 0.1);
}

/* ---------- CTA ---------- */
.section-cta { padding: 40px 0 96px; }
.cta-box {
  border: 1px solid rgba(110, 123, 255, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% -40%, rgba(110, 123, 255, 0.25), transparent 70%),
    var(--panel);
  padding: 64px 40px;
  text-align: center;
}
.cta-box h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-box > p { color: var(--text-dim); max-width: 60ch; margin: 0 auto 30px; }
.dl-note { margin-top: 22px; color: var(--text-faint); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 0.95rem; padding-bottom: 20px; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--panel-border);
  background: var(--bg-soft);
  padding: 40px 0 26px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}
.footer p { color: var(--text-faint); font-size: 0.88rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--panel-border);
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .app-window { transform: none; }
  .grid-feat { grid-template-columns: repeat(2, 1fr); }
  .grid-modes { grid-template-columns: repeat(2, 1fr); }
  .grid-two { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: repeat(2, 1fr); }
  .cli-box { grid-template-columns: 1fr; padding: 34px; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .grid-feat, .grid-modes { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 68px 0; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .cta-box { padding: 44px 22px; }
  .cli-box { padding: 26px 20px; }
  .hero-meta { gap: 18px; }
}