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

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #f0ebe1;
  --color-surface: #ffffff;
  --color-text: #1c1a16;
  --color-text-muted: #6b6456;
  --color-accent: #2d6a4f;
  --color-accent-hover: #1b4332;
  --color-accent-light: #d8f3dc;
  --color-amber: #c77c2e;
  --color-border: #ddd6cb;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --max-width: 1080px;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ---- Header / Nav ---- */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Main Content ---- */

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero ---- */

.hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: linear-gradient(160deg, var(--color-bg) 60%, var(--color-accent-light));
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-text);
}

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

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Sections ---- */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 44px;
  font-size: 1.05rem;
}

/* ---- Cards Grid ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.1);
  transform: translateY(-2px);
}

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

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--color-text);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---- Legal / Policy Pages ---- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.legal h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.legal .effective-date {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.legal p,
.legal ul {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
}

/* ---- Contact Page ---- */

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 64px 24px 88px;
  text-align: center;
}

.contact-wrapper h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.contact-wrapper .lead {
  color: var(--color-text-muted);
  margin-bottom: 44px;
  font-size: 1.05rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 44px 36px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.contact-card .label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-card .email-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.contact-card .email-link:hover {
  color: var(--color-accent-hover);
}

.contact-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding: 40px 24px;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9c9286;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #faf7f2;
}

.footer-copy {
  color: #6b6456;
  font-size: 0.82rem;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 64px 20px 52px;
  }

  .section {
    padding: 48px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
