/* ===== TOKENS ===== */
:root {
  --bg: #fbf6ec;
  --bg-alt: #f5ecd9;
  --surface: #fffefb;
  --ink: #1a1612;
  --ink-2: #4a4138;
  --ink-3: #8a8074;
  --green: #246B3C;
  --green-deep: #173d22;
  --green-soft: #e9f1ea;
  --orange: #e87a3b;
  --orange-soft: #f5c6a0;
  --border: #e5dcc8;
  --shadow-sm: 0 1px 2px rgba(26,22,18,0.04);
  --shadow-md: 0 1px 2px rgba(26,22,18,0.04), 0 8px 24px rgba(26,22,18,0.06);
  --shadow-lg: 0 4px 12px rgba(26,22,18,0.06), 0 24px 48px rgba(26,22,18,0.10);

  /* ===== ADDED (no color changes) ===== */
  /* Spacing scale (8px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
  /* Section vertical rhythm */
  --section-y: clamp(48px, 6vw, 64px);
  /* Radii */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 100px;
  /* Extra shadow tiers (same ink/green/orange rgba family as above) */
  --shadow-xs: 0 1px 1px rgba(26,22,18,0.03);
  --shadow-xl: 0 8px 20px rgba(26,22,18,0.08), 0 40px 80px rgba(26,22,18,0.12);
  --shadow-green: 0 18px 40px rgba(36,107,60,0.18);
  --shadow-orange: 0 14px 30px rgba(232,122,59,0.18);
  --ring: inset 0 0 0 1px var(--border);
  /* Layout widths */
  --maxw: 1180px; --maxw-narrow: 760px;
}

/* ===== LAYOUT ===== */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ===== HEADER ===== */
header {
  padding: 16px 0;
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(23,61,34,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav .nav-link { font-size: 14px; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--green-deep);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-download:hover {
  transform: translateY(-1px);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(23,61,34,0.28);
}
.brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  color: var(--bg);
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.nav-link {
  font-size: 14px;
  color: rgba(251, 246, 236, 0.78);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--bg); }

/* ===== FOOTER ===== */
footer {
  padding: 36px 0;
  background: var(--green);
  position: relative;
  z-index: 1;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(251, 246, 236, 0.65);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom .brand { font-size: 18px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a {
  color: rgba(251, 246, 236, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.foot-links a:hover { color: var(--bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .site-nav { gap: 14px; }
  .site-nav .nav-link { display: none; }
}
@media (max-width: 520px) {
  header { padding: 14px 0; }
  .nav-link { display: none; }
  .btn-download { padding: 8px 14px; font-size: 14px; }
}
