/* ═══════════════════════════════════════════════════════════════════════════
   Overdeck Landing Page — "Quiet Precision" dark mode
   Style guide: design/style-guide/STYLE-GUIDE.md
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* Surfaces — warm light palette from Command Deck sidebar */
  --bg:             #FAF9F7;
  --bg-raised:      #FFFFFF;
  --bg-surface-2:   #F7F6F3;
  --bg-hover:       #F3F2EF;
  --bg-emphasis:    #EDE9E3;

  /* Text */
  --text-primary:   #1f2937;
  --text-secondary: #4b5563;
  --text-muted:     #6b7280;
  --text-subtle:    #9ca3af;

  /* Borders */
  --border:         rgba(0, 0, 0, 0.06);
  --border-strong:  rgba(0, 0, 0, 0.12);

  /* Signal colors */
  --blue:           #2563eb;
  --blue-dim:       rgba(37, 99, 235, 0.08);
  --purple:         #9333ea;
  --purple-dim:     rgba(147, 51, 234, 0.08);
  --emerald:        #059669;
  --emerald-dim:    rgba(5, 150, 105, 0.08);
  --amber:          #d97706;
  --amber-dim:      rgba(217, 119, 6, 0.08);
  --cyan:           #0891b2;
  --cyan-dim:       rgba(8, 145, 178, 0.08);
  --red:            #dc2626;

  /* Radii (from style guide) */
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  10px;
  --radius-xl:  14px;
  --radius-2xl: 18px;
  --radius-3xl: 22px;

  /* Fonts */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "SF Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Dot Grid Texture ────────────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

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

/* All content above textures */
nav, section, footer { position: relative; z-index: 2; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.nav-eye { opacity: 0.9; }

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-primary); }

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-github:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Pills ───────────────────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.pill-blue {
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.pill-purple {
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid rgba(147, 51, 234, 0.15);
}
.pill-emerald {
  color: var(--emerald);
  background: var(--emerald-dim);
  border: 1px solid rgba(5, 150, 105, 0.15);
}
.pill-muted {
  color: var(--text-muted);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border-strong);
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost {
  color: var(--blue);
  background: transparent;
  text-decoration: none;
}
.btn-ghost:hover { color: #60a5fa; }

/* ─── Copy Button (npx overdeck) ────────────────────────────────────────────── */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 15px;
  color: #f3f4f6;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  position: relative;
}
.copy-btn:hover {
  background: #334155;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.copy-btn:active { transform: translateY(0); }

.copy-dollar {
  color: #60a5fa;
  font-weight: 500;
}
.copy-text { color: #f3f4f6; }
.copy-icon {
  color: #94a3b8;
  transition: color 0.2s;
}
.copy-btn:hover .copy-icon { color: #f3f4f6; }

.copy-toast {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border-radius: var(--radius-2xl);
  color: var(--emerald);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.copy-btn.copied .copy-toast { opacity: 1; }
.copy-btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }

/* ─── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.bg-purple  { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(147,51,234,0.2); }
.bg-amber   { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(217,119,6,0.2); }
.bg-emerald { background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(5,150,105,0.2); }
.bg-blue    { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(37,99,235,0.2); }

/* ─── Screenshot Frames ──────────────────────────────────────────────────── */
.screenshot-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase-block .screenshot-frame {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-block .screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}
.screenshot-hero {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 16px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  transform: perspective(2000px) rotateX(2deg);
  transition: transform 0.4s ease;
}
.screenshot-hero:hover {
  transform: perspective(2000px) rotateX(0deg);
}
.screenshot-sm {
  max-width: 800px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 80px 24px 40px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(37, 99, 235, 0.04), transparent);
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-compat {
  font-size: 13px;
  color: var(--text-subtle);
}
.hero-compat strong {
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SHOWCASE (big screenshot)
   ═══════════════════════════════════════════════════════════════════════════ */
.showcase {
  padding: 32px 24px 48px;
}
.showcase-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  padding: 28px 24px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}
.stat-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.stat-key {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS (generic)
   ═══════════════════════════════════════════════════════════════════════════ */
.section {
  padding: 72px 24px;
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section-alt {
  background: var(--bg-raised);
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PIPELINE
   ═══════════════════════════════════════════════════════════════════════════ */
.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 130px;
  text-align: center;
}

.pipe-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 40%, transparent);
  position: relative;
}
.pipe-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 15%, transparent);
}

.pipe-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), rgba(59,130,246,0.4), var(--border-strong));
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 1px;
}

.pipe-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
}

.pipe-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════════════════════════════════════════ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg);
  border-radius: var(--radius-2xl);
  padding: 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.section-alt .card {
  background: var(--bg-surface-2);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ci-blue    { background: var(--blue-dim); color: var(--blue); }
.ci-purple  { background: var(--purple-dim); color: var(--purple); }
.ci-cyan    { background: var(--cyan-dim); color: var(--cyan); }
.ci-emerald { background: var(--emerald-dim); color: var(--emerald); }
.ci-amber   { background: var(--amber-dim); color: var(--amber); }
.ci-muted   { background: rgba(0,0,0,0.04); color: var(--text-muted); }

.card-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE BLOCKS (screenshot + text side-by-side)
   ═══════════════════════════════════════════════════════════════════════════ */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.showcase-block:last-child { margin-bottom: 0; }

.showcase-reverse {
  grid-template-columns: 1.3fr 1fr;
}
.showcase-reverse .showcase-text {
  order: 2;
}
.showcase-reverse .screenshot-frame {
  order: 1;
}

.showcase-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.showcase-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.showcase-features {
  list-style: none;
  padding: 0;
}
.showcase-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.showcase-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MINI CARDS (grid of additional views)
   ═══════════════════════════════════════════════════════════════════════════ */
.mini-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s;
}
.section-alt .mini-card {
  background: var(--bg-surface-2);
}
.mini-card:hover {
  border-color: var(--border-strong);
}

.mini-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  aspect-ratio: 16 / 9;
}
.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.mini-card svg {
  margin-bottom: 4px;
}

.mini-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
}

.mini-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DIFF CARDS ("Built Different" section)
   ═══════════════════════════════════════════════════════════════════════════ */
.diff-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-2xl);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.diff-card:nth-child(2) { border-left-color: var(--purple); }
.diff-card:nth-child(3) { border-left-color: var(--cyan); }
.diff-card:nth-child(4) { border-left-color: var(--amber); }
.diff-card:hover {
  border-color: var(--border-strong);
  border-left-width: 3px;
}

.diff-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   CODE BLOCK (CLI preview)
   ═══════════════════════════════════════════════════════════════════════════ */
.code-block {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-dots {
  display: flex;
  gap: 6px;
}
.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.code-dots span:first-child { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:last-child { background: #28c840; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #64748b;
}

.code-body {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
  margin: 0;
}
.code-comment { color: #64748b; }
.code-prompt { color: #60a5fa; font-weight: 500; }
.code-output { color: #94a3b8; }

/* ═══════════════════════════════════════════════════════════════════════════
   BOTTOM CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.section-cta {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.hero-eye-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
}
.cta-eye {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--text-primary);
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 36px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}
.footer-sep { opacity: 0.3; }
.footer-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-subtle);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .showcase-block,
  .showcase-reverse {
    grid-template-columns: 1fr;
  }
  .showcase-reverse .showcase-text { order: 0; }
  .showcase-reverse .screenshot-frame { order: 0; }
}

@media (max-width: 900px) {
  .hero { padding: 60px 24px 32px; }
  .hero-title { font-size: 36px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .pipeline { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .pipe-line { display: none; }
  .pipe-step { width: 100px; }

  .stats-bar-inner { flex-wrap: wrap; gap: 16px; }
  .stat-sep { display: none; }
  .stat-item { padding: 8px 16px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-link:not(.nav-github) { display: none; }
  .hero-title { font-size: 28px; }
  .section-heading { font-size: 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-val { font-size: 22px; }
  .code-body { font-size: 11px; padding: 16px; }
}
