/* ── SHARED STYLES — edit once, applies to all pages ── */

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

:root {
  --surface: #F4F5F9;
  --card: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #4B5563;
  --text-tertiary: #6B7280;
  --green-dark: #16A34A;
  --green-mid: #22C55E;
  --green-light: #4ADE80;
  --cyan-dark: #06B6D4;
  --cyan-light: #22D3EE;
  --indigo-dark: #6366F1;
  --indigo-light: #8B5CF6;
  --orange-dark: #F97316;
  --orange-light: #FB923C;
  --font-voice: 'DM Serif Display', serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 245, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--text-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
}
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-menu-btn svg { width: 24px; height: 24px; color: var(--text-primary); }

/* ── FOOTER ── */
footer {
  background: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.8); }

/* ── LEGAL PAGES ── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 128px 24px 96px;
}
.legal h1 {
  font-family: var(--font-voice);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
}
.legal .effective {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal p, .legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal li { margin-bottom: 6px; }
.legal a { color: var(--green-dark); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(244, 245, 249, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  }
  .nav-open .nav-links { display: flex; }
  .nav-menu-btn { display: block; }
}
