@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --ink: #0d1117;
  --ink-soft: #3d4450;
  --ink-muted: #7a8394;
  --paper: #f7f6f2;
  --paper-warm: #edecea;
  --accent: #1a6b4a;
  --accent-light: #d4ede3;
  --accent-glow: #2a9b6a;
  --gold: #c9993a;
  --gold-light: #fdf3e0;
  --danger: #c0392b;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(13,17,23,0.08);
  --shadow-lg: 0 8px 40px rgba(13,17,23,0.13);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--paper-warm);
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}

.nav-logo .dot { color: var(--accent); }

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

.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; white-space: nowrap;
}

.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 20px rgba(26,107,74,0.3);
}
.btn-primary:hover { background: var(--accent-glow); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,107,74,0.4); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--paper-warm);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ── SECTIONS ── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 720px; margin: 0 auto; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 99px;
  margin-bottom: 1.25rem;
}

/* ── HEADINGS ── */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--ink-muted); }
.text-center { text-align: center; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--paper-warm);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(247,246,242,0.7);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

footer .footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1.5rem;
}

footer .footer-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
  color: var(--paper); text-decoration: none;
}

footer .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
footer .footer-links a {
  color: rgba(247,246,242,0.6); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--paper); }

footer .footer-copy { font-size: 0.8rem; opacity: 0.5; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}
.page-hero .badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ── PROSE ── */
.prose { max-width: 700px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.5rem; color: var(--ink); }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.75; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { color: var(--ink-soft); margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--paper-warm); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.show { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--paper); padding: 1.5rem; border-bottom: 1px solid var(--paper-warm); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
