/* shared.css — included by all pages */
:root {
  --red: #b91c1c;
  --red-light: #dc2626;
  --red-dim: rgba(185,28,28,0.08);
  --surface: #f8fafc;
  --surface2: #f1f5f9;
  --border: #e2e8f0;
  --text: #111827;
  --muted: #6b7280;
  --label: #374151;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'SF Mono','Fira Code','Consolas','Courier New',monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 0 48px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 36px; height: 36px; background: var(--red);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: white;
  font-weight: 500; letter-spacing: -1px; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(185,28,28,0.28);
}
.nav-wordmark { font-size: 17px; font-weight: 800; letter-spacing: -.4px; color: var(--text); }
.nav-wordmark span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 13px; color: #4b5563; transition: color .15s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--red); font-weight: 600; }
.nav-cta {
  background: var(--red); color: white !important;
  padding: 8px 18px; border-radius: 7px;
  font-size: 13px; font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: var(--red-light) !important; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: var(--muted); font-family: var(--mono); margin-top: 4px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: #4b5563; margin-bottom: 7px; transition: color .12s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1100px; margin: 24px auto 0;
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 8px;
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
