:root {
  --terracotta: #D98C5F;
  --forest: #4B5945;
  --sage: #9CB69B;
  --amber: #F4D9A0;
  --cream: #FFF9F1;
  --charcoal: #1E231C;
  --text: #2C3028;
  --text-muted: #6B7068;
  --section-warm: #f4ede3;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navigation ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 241, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(75, 89, 69, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-symbol {
  height: 30px;
  width: auto;
}

.wordmark {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.025em;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--forest);
  opacity: 0.65;
  transition: opacity 0.15s ease;
}

.nav-links a:hover { opacity: 1; }

/* ── Container ──────────────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: 88px 0 80px;
  text-align: center;
  background: var(--cream);
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-symbol {
  height: 96px;
  width: auto;
}

.hero-wordmark {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin: 0 auto 32px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero h1 .accent { color: var(--terracotta); }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

/* ── Divider ────────────────────────────────────────────────────────────── */

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(75, 89, 69, 0.15), transparent);
  margin: 0 auto;
  max-width: 900px;
}

/* ── Features ───────────────────────────────────────────────────────────── */

.features {
  background: var(--section-warm);
  padding: 80px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.025em;
}

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

.feature-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 32px 28px;
  border-top: 3px solid var(--terracotta);
}

.feature-icon {
  font-size: 1.875rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  background: var(--charcoal);
  padding: 52px 0;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-symbol {
  height: 26px;
  width: auto;
  opacity: 0.9;
}

.wordmark-footer {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.025em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 249, 241, 0.55);
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 249, 241, 0.35);
}

/* ── Legal pages ────────────────────────────────────────────────────────── */

.legal-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(75, 89, 69, 0.12);
  margin-bottom: 56px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.legal-header .updated {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 32px;
  transition: opacity 0.15s;
}

.legal-back:hover { opacity: 0.75; }

.prose {
  max-width: 740px;
  padding-bottom: 100px;
}

.prose h2 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--forest);
  margin: 44px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.prose ul, .prose ol {
  margin: 0 0 16px 24px;
}

.prose li {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.prose .caps {
  font-size: 0.875rem;
  line-height: 1.75;
}

.prose a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .hero { padding: 64px 0 56px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 16px; }
  .footer-links { flex-direction: column; align-items: center; gap: 12px; }
}
