/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --fg: #e8e8e0;
  --fg-2: #a0a095;
  --fg-3: #6b6b60;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --accent-glow: rgba(245, 166, 35, 0.25);
  --border: rgba(255,255,255,0.07);
  --success: #4ade80;
  --warn: #fbbf24;
  --error: #f87171;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 17px;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 28px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-headline {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-signal {
  display: flex;
  align-items: center;
  gap: 28px;
}

.signal-item { display: flex; flex-direction: column; gap: 2px; }

.signal-value {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}

.signal-label { font-size: 12px; color: var(--fg-3); }

.signal-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.cta-demo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  transition: background 0.15s;
}

.cta-demo:hover { background: var(--accent-dim); }

.cta-secondary {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s, color 0.15s;
}

.cta-secondary:hover { border-color: rgba(255,255,255,0.2); color: var(--fg); }

.cta-sub {
  font-size: 12px;
  color: var(--fg-3);
}

/* === TERMINAL === */
.hero-visual { position: relative; }

.terminal {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,166,35,0.08);
}

.terminal-bar {
  background: #1a1a1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-dots { display: flex; gap: 6px; }

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title { font-family: var(--mono); font-size: 12px; color: var(--fg-3); flex: 1; text-align: center; }

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--success);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.terminal-body {
  padding: 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal-line { display: flex; gap: 8px; align-items: center; }

.t-prompt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.t-cmd {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
}

.t-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  flex-shrink: 0;
  width: 40px;
}

.t-action { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }

.t-label { font-family: var(--mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; margin: 8px 0 4px; }

.t-info { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.t-success { font-family: var(--mono); font-size: 12px; color: var(--success); }
.t-amber { color: var(--accent); }

.t-comment { font-family: var(--mono); font-size: 12px; color: var(--fg-3); font-style: italic; }

.terminal-output { display: flex; flex-direction: column; gap: 2px; }

.terminal-cursor-line { display: flex; gap: 8px; align-items: center; margin-top: 8px; }

.cursor-block {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.terminal-glow {
  position: absolute;
  bottom: -60px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* === FEATURES === */
.features { padding: 100px 32px; border-bottom: 1px solid var(--border); }

.features-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 72px; }

.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(245,166,35,0.2); }

.feature-card-main { grid-column: span 2; flex-direction: row; flex-wrap: wrap; }

.feature-card-main .feature-label,
.feature-card-main .feature-title,
.feature-card-main .feature-desc { text-align: left; }

.feature-icon { margin-bottom: 4px; }

.feature-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

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

/* PR Preview */
.pr-preview {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  margin-top: 8px;
}

.pr-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pr-branch { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }

.pr-status {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
}

.pr-status-warn { background: rgba(251,188,36,0.15); color: var(--warn); }

.pr-diff { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }

.diff-line { display: flex; gap: 12px; align-items: center; padding: 4px 0; }

.diff-num { font-family: var(--mono); font-size: 11px; color: var(--fg-3); width: 28px; flex-shrink: 0; }
.diff-code { font-family: var(--mono); font-size: 12px; }
.diff-del .diff-code { color: var(--error); }
.diff-add .diff-code { color: var(--success); }
.diff-neutral .diff-code { color: var(--fg-3); font-style: italic; }

.diff-badge { font-family: var(--mono); font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.diff-badge-bug { background: rgba(248,113,113,0.15); color: var(--error); }

.pr-comment {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

.codio-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Coverage Bar */
.coverage-bar { margin-top: 8px; }

.coverage-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 8px;
}

.coverage-pct { font-family: var(--mono); color: var(--fg-2); }

.coverage-track {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  display: flex;
  overflow: hidden;
}

.coverage-fill {
  background: var(--success);
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}

.coverage-unfilled { height: 100%; }

.test-todo { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

.test-todo-label { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-bottom: 4px; }

.test-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}

.test-status { font-family: var(--mono); font-size: 14px; }
.test-status-done { color: var(--success); }
.test-status-active { color: var(--accent); }

/* Monitor Feed */
.monitor-feed { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-3);
}

.feed-time { font-family: var(--mono); font-size: 11px; color: var(--fg-3); flex-shrink: 0; }
.feed-text { font-size: 13px; color: var(--fg-2); }
.feed-item-warn { border-color: rgba(251,188,36,0.3); }
.feed-item-warn .feed-text { color: var(--warn); }
.feed-item-alert { border-color: rgba(248,113,113,0.3); }
.feed-item-alert .feed-text { color: var(--error); }
.feed-item-info { border-color: var(--border); }
.feed-item-done { border-color: rgba(74,222,128,0.2); }
.feed-item-done .feed-text { color: var(--success); }

/* Fix Preview */
.fix-preview { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.fix-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.fix-type {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  flex-shrink: 0;
}

.fix-desc { font-family: var(--mono); font-size: 12px; color: var(--fg-2); flex: 1; }

.fix-status {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fix-status-done { background: rgba(74,222,128,0.12); color: var(--success); }
.fix-status-branch { background: var(--accent-dim); color: var(--accent); }
.fix-status-active { background: rgba(245,166,35,0.15); color: var(--accent); animation: pulse 1.5s ease-in-out infinite; }

/* === HOW IT WORKS === */
.how-it-works { padding: 100px 32px; border-bottom: 1px solid var(--border); }
.how-inner { max-width: 900px; margin: 0 auto; }

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 60px; }

.step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  width: 60px;
}

.step-body { flex: 1; }

.step-title { font-size: 22px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }

.step-desc { font-size: 15px; color: var(--fg-2); line-height: 1.65; max-width: 560px; margin-bottom: 16px; }

.step-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  width: fit-content;
}

.step-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === MANIFESTO === */
.manifesto { padding: 100px 32px; border-bottom: 1px solid var(--border); }
.manifesto-inner { max-width: 1100px; margin: 0 auto; }

.manifesto-quote { margin-bottom: 60px; }

.manifesto-text {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.55;
  color: var(--fg-2);
  font-style: italic;
  max-width: 800px;
}

.manifesto-text-accent {
  color: var(--fg);
  font-style: normal;
  font-weight: 500;
  margin-top: 20px;
}

.manifesto-compare { }

.compare-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.compare-item-wrong {
  background: rgba(248,113,113,0.06);
  border: 1px solid rgba(248,113,113,0.15);
  color: var(--fg-3);
}

.compare-item-wrong .compare-icon { color: var(--error); }

.compare-item-right {
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  color: var(--fg-2);
}

.compare-item-right .compare-icon { color: var(--success); }

/* === CLOSING === */
.closing { padding: 100px 32px; position: relative; overflow: hidden; }
.closing-inner { max-width: 1000px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.closing-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--fg);
}

.closing-sub { font-size: 16px; color: var(--fg-2); max-width: 520px; margin: 0 auto 60px; }

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.stat-value {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label { font-size: 13px; color: var(--fg-3); }

/* === FOOTER === */
footer { padding: 40px 32px; border-top: 1px solid var(--border); }

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

.footer-tagline { font-size: 13px; color: var(--fg-3); margin-top: 6px; }

.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }

/* === WAITLIST FORM === */
.waitlist-form-wrapper {
  max-width: 480px;
  margin: 0 auto 64px;
}

.waitlist-form { display: flex; flex-direction: column; gap: 12px; }

.waitlist-fields {
  display: flex;
  gap: 10px;
}

.waitlist-input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.waitlist-input::placeholder { color: var(--fg-3); }

.waitlist-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.waitlist-btn {
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, opacity 0.2s;
}

.waitlist-btn:hover:not(:disabled) { background: #f0b84a; }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 0.8s linear infinite; }

.waitlist-feedback {
  font-size: 13px;
  min-height: 18px;
  text-align: center;
}
.waitlist-feedback-success { color: var(--success); }
.waitlist-feedback-error { color: var(--error); }

/* === STANDARDS SECTION === */
.standards-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.standards-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.standards-section .section-header { margin-bottom: 48px; }

.section-sub {
  font-size: 15px;
  color: var(--fg-2);
  max-width: 520px;
  margin-top: 12px;
}

.standards-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.standards-file {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.standards-file-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}

.standards-code {
  padding: 20px 20px;
  margin: 0;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}

.s-comment { color: var(--fg-3); }
.s-rule { color: var(--fg); display: block; }
.s-num { color: var(--accent); margin-right: 8px; }

.standards-output {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.standards-output-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-2);
}

.standards-output-label { font-family: var(--mono); }

.standards-findings { padding: 16px; display: flex; flex-direction: column; gap: 16px; }

.finding {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.finding-block { border-color: rgba(248,113,113,0.3); }
.finding-warn { border-color: rgba(251,191,36,0.3); }

.finding-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.finding-rule { font-size: 11px; font-family: var(--mono); color: var(--accent); font-weight: 600; }
.finding-file { font-size: 11px; font-family: var(--mono); color: var(--fg-3); }

.finding-diff {
  background: var(--bg);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.diff-code { display: block; }
.diff-del { color: #f87171; }
.diff-add { color: var(--success); }
.diff-comment { color: var(--fg-3); font-style: italic; }

.finding-code {
  background: var(--bg);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  margin-bottom: 6px;
}

.finding-reason { font-size: 12px; color: var(--fg-2); line-height: 1.5; }

.standards-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(248,113,113,0.08);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-2);
}

.codio-badge {
  display: inline-block;
  background: var(--accent);
  color: #0d0d0d;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* === FOOTER LINKS === */
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-3);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--mono);
}

.footer-link:hover { color: var(--fg); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-main { grid-column: span 1; flex-direction: column; }
  .compare-grid { grid-template-columns: 1fr; }
  .closing-stats { flex-direction: column; gap: 32px; align-items: center; }
  .hero-signal { flex-wrap: wrap; }
  .steps { gap: 0; }
  .step { flex-direction: column; gap: 16px; }
  .step-arrow { display: none; }
  .nav-links { display: none; }
  .standards-layout { grid-template-columns: 1fr; }
  .waitlist-fields { flex-direction: column; }
  .waitlist-btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 60px; }
  .features { padding: 60px 20px; }
  .how-it-works { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .closing { padding: 60px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .section-title br { display: none; }
}

/* === OVERNIGHT REPORT PAGE === */
.overnight-page { background: var(--bg); }

.overnight-nav { border-bottom: 1px solid var(--border); }

.overnight-nav .nav-inner { max-width: 1000px; }

.overnight-nav .nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
}

.overnight-main { max-width: 1000px; margin: 0 auto; padding: 0 32px 80px; }

/* Header */
.overnight-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.overnight-header-inner { display: flex; flex-direction: column; gap: 20px; }

.overnight-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overnight-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  text-decoration: none;
}

.overnight-brand { color: var(--fg); }

.overnight-badge {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overnight-title { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 8px; }

.overnight-timeframe { font-family: var(--mono); font-size: 13px; color: var(--fg-3); }

/* Summary */
.overnight-summary { margin-bottom: 56px; }

.summary-grid {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.summary-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 20px;
}

.summary-value {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.summary-label { font-size: 12px; color: var(--fg-3); text-align: center; }

.summary-divider { width: 1px; height: 64px; background: var(--border); flex-shrink: 0; }

/* Section labels */
.overnight-section { margin-bottom: 56px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 24px;
}

.section-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-label-dot-green { background: var(--success); }
.section-label-dot-red { background: var(--error); }
.section-label-dot-amber { background: var(--warn); }

/* PR Timeline */
.pr-timeline { display: flex; flex-direction: column; gap: 16px; }

.pr-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.pr-repo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.pr-repo-name { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }

.pr-branch-icon { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }

.pr-branch-name { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }

.pr-status-badge {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.pr-status-approval { background: rgba(245,166,35,0.15); color: var(--accent); }
.pr-status-changes { background: rgba(251,188,36,0.15); color: var(--warn); }
.pr-status-approved { background: rgba(74,222,128,0.12); color: var(--success); }

.pr-title { font-size: 16px; font-weight: 600; color: var(--fg); line-height: 1.35; }

.pr-summary { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

.pr-finding {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.pr-finding-text { font-size: 13px; color: var(--fg-2); line-height: 1.5; }

.pr-finding-text code { font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-dim); padding: 1px 5px; border-radius: 3px; }

.pr-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.pr-reviewer { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }

.pr-expand { font-family: var(--mono); font-size: 12px; color: var(--accent); text-decoration: none; }
.pr-expand:hover { text-decoration: underline; }

/* Tests */
.tests-list { display: flex; flex-direction: column; gap: 12px; }

.test-file-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.test-file-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.test-file-path { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }

.test-file-lang {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  text-transform: uppercase;
}

.test-code-block {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-x: auto;
}

.test-code-block span {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
  white-space: pre;
}

/* Security */
.security-findings { display: flex; flex-direction: column; gap: 16px; }

.security-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-card-high { border-color: rgba(248,113,113,0.3); }
.security-card-medium { border-color: rgba(251,188,36,0.3); }

.security-card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.severity-badge { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0; }
.severity-high { background: rgba(248,113,113,0.15); color: var(--error); }
.severity-medium { background: rgba(251,188,36,0.15); color: var(--warn); }

.security-file { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.security-time { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-left: auto; }

.security-title { font-size: 15px; font-weight: 600; color: var(--fg); }

.security-body { font-size: 13px; color: var(--fg-2); line-height: 1.65; }

.security-body code { font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-dim); padding: 1px 5px; border-radius: 3px; }

.security-body strong { color: var(--fg); font-weight: 600; }

.security-diff {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-x: auto;
}

.security-diff span { font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.diff-del { color: var(--error); }
.diff-add { color: var(--success); }

/* Standards Block */
.standards-block {
  background: var(--bg-2);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 12px;
  overflow: hidden;
}

.standards-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(248,113,113,0.08);
  border-bottom: 1px solid var(--border);
}

.standards-block-title { font-size: 14px; font-weight: 500; color: var(--fg-2); }

.standards-block-detail { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.standards-pr-info { display: flex; align-items: center; gap: 10px; }

.standards-repo { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.standards-pr-ref { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }

.standards-desc { font-size: 14px; color: var(--fg-2); line-height: 1.65; }

.standards-rule { display: flex; flex-direction: column; gap: 10px; }

.standards-rule-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); }

.standards-rule-block {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.standards-rule-num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); }

.standards-rule-text { font-family: var(--mono); font-size: 12px; color: var(--fg-2); line-height: 1.6; }

.standards-rule-text code { background: var(--accent-dim); color: var(--accent); padding: 1px 5px; border-radius: 3px; }

.standards-fix { display: flex; flex-direction: column; gap: 8px; }

.standards-fix-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--success); }

.standards-fix-code {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.standards-fix-code span { font-family: var(--mono); font-size: 12px; line-height: 1.7; }

.standards-verdict-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(74,222,128,0.08);
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--success);
}

.verdict-check { font-size: 16px; }

/* Overnight footer CTA */
.overnight-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 48px 32px;
}

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

.footer-headline { font-size: 22px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.footer-sub { font-size: 14px; color: var(--fg-2); }

.footer-cta {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: #0d0d0d;
  background: var(--accent);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.footer-cta:hover { background: #f0b84a; }

/* Overnight page mobile */
@media (max-width: 768px) {
  .overnight-main { padding: 0 20px 60px; }
  .overnight-header { padding: 40px 0 32px; }
  .overnight-title { font-size: 28px; }
  .summary-grid { flex-direction: column; }
  .summary-divider { width: 100%; height: 1px; }
  .summary-stat { padding: 20px; }
  .overnight-footer-inner { flex-direction: column; text-align: center; }
  .footer-cta { width: 100%; text-align: center; }
  .pr-card-header { flex-direction: column; gap: 8px; }
  .security-card-head { flex-wrap: wrap; }
  .security-time { margin-left: 0; }
}

@media (max-width: 600px) {
  .overnight-title { font-size: 24px; }
  .summary-value { font-size: 28px; }
}

/* === EXAMPLES INDEX === */
.examples-page { background: var(--bg); }

.examples-header {
  padding: 80px 32px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.examples-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.examples-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin: 20px 0 16px;
}

.examples-sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 600px;
  line-height: 1.65;
}

.examples-grid-wrap {
  padding: 64px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.example-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.example-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-2px);
}

.example-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.example-card-tags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.severity-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.severity-high, .severity-tag.severity-high { background: rgba(248,113,113,0.15); color: var(--error); }
.severity-medium, .severity-tag.severity-medium { background: rgba(251,191,36,0.15); color: var(--warn); }
.severity-tag.severity-block { background: rgba(248,113,113,0.2); color: #f87171; border: 1px solid rgba(248,113,113,0.4); }

.example-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.example-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

.example-card-teaser {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  flex: 1;
}

.example-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.example-card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
}

.examples-cta-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.examples-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.examples-cta-text h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.examples-cta-text p {
  font-size: 14px;
  color: var(--fg-2);
}

/* === EXAMPLE DETAIL PAGE === */
.example-page { background: var(--bg); }

.example-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.example-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 0 0;
  font-family: var(--mono);
  font-size: 12px;
}

.example-breadcrumb a {
  color: var(--fg-2);
  text-decoration: none;
}

.example-breadcrumb a:hover { color: var(--fg); }

.breadcrumb-sep { color: var(--fg-3); }
.breadcrumb-lang { color: var(--accent); }
.breadcrumb-slug { color: var(--fg-3); }

.example-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.example-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.example-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 14px;
}

.example-teaser {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* PR Meta Header */
.pr-meta-header {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.pr-meta-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.pr-meta-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  width: 100px;
  flex-shrink: 0;
}

.pr-meta-value {
  font-size: 14px;
  color: var(--fg);
}

.pr-meta-value.mono { font-family: var(--mono); font-size: 13px; }

/* Diff Section */
.example-diff-section { margin-bottom: 48px; }

.diff-file-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}

.diff-file-icon { color: var(--fg-3); }

.diff-body {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px 20px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.diff-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
}

.diff-gutter {
  font-family: var(--mono);
  font-size: 12px;
  width: 20px;
  flex-shrink: 0;
  text-align: center;
}

.diff-gutter.del { color: var(--error); }
.diff-gutter.add { color: var(--success); }
.diff-gutter.add { color: var(--success); }

.diff-code {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre;
}

.diff-neutral .diff-code { color: var(--fg-2); }
.diff-del .diff-code { color: var(--error); }
.diff-add .diff-code { color: var(--success); }

/* Review Section */
.example-review { margin-bottom: 48px; }

.review-block {
  margin-bottom: 36px;
}

.review-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.review-body {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
}

.review-body strong { color: var(--fg); font-weight: 600; }

.review-list {
  margin: 16px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-list li {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* Finding blocks */
.finding {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.finding-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.finding-rule {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.severity-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.severity-high { background: rgba(248,113,113,0.15); color: var(--error); }
.severity-medium { background: rgba(251,191,36,0.15); color: var(--warn); }
.severity-low { background: rgba(74,222,128,0.1); color: var(--success); }

.finding-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finding-body p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

.finding-body code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 6px;
  border-radius: 4px;
}

.finding-list {
  margin: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finding-list li {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
}

.finding-list ol {
  margin: 8px 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finding-list ol li {
  font-size: 13px;
  color: var(--fg-3);
}

.finding-code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
  overflow-x: auto;
}

.finding-code .diff-del { color: var(--error); }
.finding-code .diff-add { color: var(--success); }

/* Suggested code block */
.suggested-code {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.suggested-code-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.code-block {
  padding: 20px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg-2);
  overflow-x: auto;
  white-space: pre;
}

.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-fn { color: #82aaff; }
.code-type { color: #ffcb6b; }
.code-number { color: #f78c6c; }
.code-comment { color: var(--fg-3); font-style: italic; }
.code-subst { color: #c3e88d; }
.code-block .diff-del { color: var(--error); display: block; }
.code-block .diff-add { color: var(--success); display: block; }

/* Explainer */
.example-explainer {
  margin-bottom: 48px;
}

.explainer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--accent-dim);
  border-radius: 12px;
  padding: 20px 24px;
}

.explainer-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.explainer-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.explainer-text p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* Example CTA */
.example-cta {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 48px;
  margin-bottom: 48px;
}

.example-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.example-cta-text h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.example-cta-text p {
  font-size: 14px;
  color: var(--fg-2);
}

/* Example navigation */
.example-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.example-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex: 1;
  max-width: 280px;
  transition: border-color 0.2s;
}

.example-nav-link:hover { border-color: rgba(245,166,35,0.3); }

.example-nav-prev { align-items: flex-start; }
.example-nav-next { align-items: flex-end; margin-left: auto; }

.example-nav-dir {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.example-nav-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
}

/* 404 page */
.not-found-page { background: var(--bg); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.not-found-inner { text-align: center; padding: 40px; }
.not-found-code { font-family: var(--mono); font-size: 72px; font-weight: 700; color: var(--accent); }
.not-found-msg { font-size: 18px; color: var(--fg-2); margin: 16px 0; }
.not-found-link { font-family: var(--mono); font-size: 14px; color: var(--accent); text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-cta-inner { flex-direction: column; text-align: center; }
  .example-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta { width: 100%; justify-content: center; }
  .example-nav { flex-direction: column; }
  .example-nav-link { max-width: 100%; }
  .example-nav-next { align-items: flex-start; margin-left: 0; }
}

@media (max-width: 600px) {
  .examples-grid { grid-template-columns: 1fr; }
  .examples-header { padding: 48px 20px 40px; }
  .examples-grid-wrap { padding: 40px 20px; }
  .examples-cta-band { padding: 32px 20px; }
  .example-main { padding: 0 20px 60px; }
  .example-cta { padding: 28px 24px; }
  .pr-meta-row { flex-direction: column; gap: 4px; }
}