:root {
  --accent: #3a7d44;
  --accent-dark: #2a5c32;
  --accent-light: #eaf3ec;
  --text: #1a1d1a;
  --muted: #5f655f;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --border: #e6e3dc;
  --shadow-sm: 0 1px 2px rgba(26, 29, 26, 0.04);
  --shadow-md: 0 1px 3px rgba(26, 29, 26, 0.05), 0 8px 20px -6px rgba(26, 29, 26, 0.10);
  --shadow-lg: 0 2px 6px rgba(26, 29, 26, 0.06), 0 16px 36px -10px rgba(26, 29, 26, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5fb86d;
    --accent-dark: #8fd198;
    --accent-light: #15241a;
    --text: #edefec;
    --muted: #9aa39b;
    --bg: #14161a;
    --surface: #1c1f23;
    --border: #2b2e33;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.35), 0 8px 20px -6px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 20px 44px -12px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: inherit; }

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
nav a {
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
nav a:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.brand-mark {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 0.35rem;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

footer {
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
