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

/* ── Design tokens ── */
:root {
  /* Backgrounds — neutral dark, not blue-tinted */
  --bg:          #09090f;
  --bg-alt:      #0f0f19;
  --surface:     #131320;
  --surface-2:   #1a1a2e;
  --surface-3:   #22223a;

  /* Borders */
  --border:        rgba(148,163,184,0.1);
  --border-hover:  rgba(148,163,184,0.2);
  --border-accent: rgba(99,102,241,0.35);

  /* Text */
  --text:  #e2e8f0;
  --muted: #94a3b8;
  --dim:   #64748b;

  /* Accent — indigo-violet, not Tailwind sky-500 */
  --accent:      #6366f1;
  --accent-hover:#818cf8;
  --accent-glow: rgba(99,102,241,0.28);
  --accent-bg:   rgba(99,102,241,0.08);

  /* Supporting colors */
  --green:       #4ade80;
  --green-glow:  rgba(74,222,128,0.2);
  --violet:      #a78bfa;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;

  /* Shape */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max-w:     1100px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

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

/* ── Background ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--hero {
  width: 1000px; height: 600px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
}

.bg-glow--bottom {
  width: 800px; height: 500px;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(167,139,250,0.07) 0%, transparent 70%);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.scrolled {
  background: rgba(9,9,15,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  margin-right: auto;
}

.nav-mark { color: var(--accent); flex-shrink: 0; }

.nav-wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--accent-hover); box-shadow: 0 0 24px var(--accent-glow); }
.nav-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-hamburger:hover { border-color: var(--border-hover); color: var(--text); }
.nav-hamburger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(9,9,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer[hidden] { display: none; }

.nav-drawer a {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.nav-drawer a:hover { color: var(--accent); }

.nav-drawer-close {
  position: absolute;
  top: 18px; right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.nav-drawer-close:hover { border-color: var(--border-hover); color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-hover);
  background: var(--surface-3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 130px 24px 80px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-hover);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green-glow); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px var(--green-glow); }
}

.hero-title {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--text);
}

/* Indigo → violet → soft fuchsia — real visual drama */
.hero-title--accent {
  background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #f0abfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 400;
}

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

/* GitHub social proof under buttons */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.15s;
}

.hero-meta-link:hover { color: var(--muted); }

.hero-meta-link svg { flex-shrink: 0; }

.hero-meta-sep {
  color: var(--border);
  font-size: 16px;
  line-height: 1;
}

.hero-meta-item {
  font-size: 13px;
  color: var(--dim);
}

/* App frame chrome */
.app-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 60px rgba(99,102,241,0.12);
  background: var(--surface);
}

.app-frame-bar {
  background: var(--surface-2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.app-frame-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-frame-dot--red    { background: #ff5f57; }
.app-frame-dot--yellow { background: #ffbd2e; }
.app-frame-dot--green  { background: #28c840; }

.app-frame-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  font-family: var(--mono);
  margin-left: -33px; /* offset the dots to truly center */
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual {
  position: relative;
}

/* ── Proof bar ── */
.proof-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 16px 24px;
}

.proof-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.proof-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.proof-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-chip {
  padding: 4px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.proof-chip--dim { color: var(--dim); background: transparent; }
.proof-sep { color: var(--dim); font-size: 12px; }

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

/* Eyebrow — colored dot, no all-caps */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Screenshots section ── */
.screenshots-container {
  max-width: 860px;
  margin: 0 auto;
}

.screenshot-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
}

.screenshot-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.screenshot-tab:hover { color: var(--muted); background: rgba(255,255,255,0.03); }
.screenshot-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.screenshot-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screenshot-panes { padding-top: 24px; }

.screenshot-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fixed aspect-ratio frame prevents layout jump on tab switch */
.screenshot-frame {
  width: 100%;
  aspect-ratio: 7 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Portrait screenshot (VS Code panel): constrain width */
.screenshot-img--portrait {
  max-height: 100%;
  width: auto;
  max-width: 55%;
}

.screenshot-caption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 540px;
  line-height: 1.6;
}

.screenshot-caption strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ── Features grid ── */
.features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:nth-child(1) { border-left-color: #6366f1; }
.feature-card:nth-child(2) { border-left-color: #a78bfa; }
.feature-card:nth-child(3) { border-left-color: #818cf8; }
.feature-card:nth-child(4) { border-left-color: #4ade80; }
.feature-card:nth-child(5) { border-left-color: #f0abfc; }
.feature-card:nth-child(6) { border-left-color: #7dd3fc; }

.feature-card:hover {
  border-color: var(--border-accent);
  border-left-width: 3px;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(99,102,241,0.05);
}

.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-bg);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature-card:nth-child(2) .feature-icon { color: #a78bfa; background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.18); }
.feature-card:nth-child(4) .feature-icon { color: var(--green); background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.18); }
.feature-card:nth-child(5) .feature-icon { color: #f0abfc; background: rgba(240,171,252,0.08); border-color: rgba(240,171,252,0.18); }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-desc code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--accent-bg);
  color: var(--accent-hover);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(99,102,241,0.15);
}

/* ── Download grid ── */
.download-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.download-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.download-card--featured {
  border-color: rgba(99,102,241,0.25);
  background: linear-gradient(160deg, rgba(99,102,241,0.05) 0%, var(--surface) 40%);
}

.download-card--featured:hover { border-color: var(--border-accent); }

.download-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-badge {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.download-version {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(74,222,128,0.08);
  color: var(--green);
  border: 1px solid rgba(74,222,128,0.18);
  padding: 2px 8px;
  border-radius: 100px;
}

.download-version--available {
  background: var(--accent-bg);
  color: var(--accent-hover);
  border-color: rgba(99,102,241,0.18);
}

.download-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Install options (VS Code card) */
.install-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 4px;
}

.install-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: background 0.15s;
}

.install-option--primary {
  background: var(--accent-bg);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.install-option--primary:hover { background: rgba(99,102,241,0.14); }
.install-option--primary svg { color: var(--accent); flex-shrink: 0; }

.install-option-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.install-option-sub {
  display: block;
  font-size: 11px;
  color: var(--dim);
}

.install-option-divider {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.install-option--code {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  cursor: default;
}

.install-option--code code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-hover);
}

.install-option--ghost {
  background: transparent;
  color: var(--dim);
  font-size: 13px;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.install-option--ghost:hover { background: rgba(255,255,255,0.04); color: var(--muted); }

/* Download quick-start */
.download-quick {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.quick-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}

.quick-cmd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
  display: block;
}

.cli-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cli-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.cli-feature svg { color: var(--green); flex-shrink: 0; }

.cli-feature code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--surface-2);
  color: var(--accent-hover);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ── How it works ── */
.steps {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 20px;
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 2px solid rgba(99,102,241,0.35);
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.step-connector {
  flex-shrink: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,0.35), rgba(99,102,241,0.08));
  margin-top: 23px;
  border-radius: 1px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Docs grid ── */
.docs-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.doc-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}

.doc-card:hover {
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.03);
  transform: translateY(-1px);
}

.doc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.doc-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--accent-bg);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.doc-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.doc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.footer-mark { color: var(--accent); opacity: 0.7; }

.footer-wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--muted); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.footer-by { font-size: 13px; color: var(--dim); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { align-items: center; }
  .hero-subtitle { max-width: 560px; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
}

@media (max-width: 900px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    width: 2px; height: 32px;
    background: linear-gradient(180deg, rgba(99,102,241,0.35), rgba(99,102,241,0.08));
    margin-top: 0;
  }

  .step { max-width: 440px; width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 110px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .section { padding: 72px 20px; }
  .screenshot-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 600px) {
  .features-grid,
  .download-grid,
  .docs-grid { grid-template-columns: 1fr; }

  .proof-bar-inner { flex-direction: column; gap: 10px; }
  .proof-chips { justify-content: center; }
}
