:root {
  --bg: #f7f5f0;
  --ink: #1a1814;
  --muted: #6b6760;
  --accent: #2d6a4f;
  --accent-light: #e8f4ef;
  --border: #e0ddd6;
  --max: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  padding: 0 1.5rem;
}

/* Navigation */
header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.doc-type {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

/* Buttons */
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
a:hover { border-bottom-color: var(--accent); }

.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: none !important;
  transition: background 0.2s;
}

.btn:hover {
  background: #245a42;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  display: flex;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 5rem;
}

.feature {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.feature h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Footer */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Legal pages */
.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 0 6rem;
}

.legal h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.effective {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.intro {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 3rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.legal h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.legal p { margin-bottom: 1rem; font-size: 0.95rem; }

.legal ul {
  margin: 0.5rem 0 1rem 1.25rem;
  font-size: 0.95rem;
}

.legal li { margin-bottom: 0.4rem; }

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.contact-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-box h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.sms-keywords {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.keyword {
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 640px) {
  .features {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
