@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --brown:        #3D2D0A;
  --brown-light:  #5a4218;
  --brown-dark:   #271c04;
  --yellow:       #D4A91A;
  --yellow-light: #f0cb4a;
  --yellow-pale:  #fdf3c8;
  --orange:       #E07A4D;
  --cream:        #FFF8E0;
  --cream-dark:   #f5edca;
  --text:         #2a1f06;
  --text-mid:     #5a4a28;
  --text-muted:   #8c7a52;
  --white:        #ffffff;
  --border:       rgba(61,45,10,0.15);
  --shadow:       0 4px 24px rgba(61,45,10,0.10);

  --font-head: 'Lora', 'Merriweather', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 6px;
  --tr: 0.22s ease;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--brown); }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--brown);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2.5rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-brand img {
  height: 38px; width: 38px;
  object-fit: contain; border-radius: 5px;
}
.nav-brand span {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.8rem;
  color: rgba(255,248,224,0.82);
  text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: color var(--tr), background var(--tr);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--yellow);
  background: rgba(212,169,26,0.12);
}
.nav-cta a {
  background: var(--yellow) !important;
  color: var(--brown) !important;
  font-weight: 600;
  padding: 0.4rem 1.1rem !important;
}
.nav-cta a:hover { background: var(--yellow-light) !important; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display:block; width:26px; height:2px; background:var(--cream); transition: all var(--tr); }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--brown-dark);
  border-top: 1px solid rgba(212,169,26,0.2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.8rem 1.5rem;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--tr), background var(--tr);
}
.nav-mobile a:hover { color: var(--yellow); background: rgba(212,169,26,0.08); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--brown-dark);
  color: rgba(255,248,224,0.7);
  margin-top: auto;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem,5vw,4rem) clamp(1rem,4vw,2.5rem) 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col p { font-size: 0.88rem; line-height: 1.65; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul a {
  color: rgba(255,248,224,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--tr);
}
.footer-col ul a:hover { color: var(--yellow); }
.footer-logo { height: 44px; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(212,169,26,0.15);
  padding: 1.2rem clamp(1rem,4vw,2.5rem);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,248,224,0.4);
  max-width: var(--max);
  margin: 0 auto;
}

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); }
.section { padding: clamp(3rem,7vw,6rem) clamp(1rem,4vw,2.5rem); max-width: var(--max); margin: 0 auto; }
.section-sm { padding: clamp(2rem,4vw,3.5rem) clamp(1rem,4vw,2.5rem); max-width: var(--max); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }

.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem,3.5vw,2.4rem); color: var(--brown); margin-bottom: 0.6rem; }
.section-head p { color: var(--text-mid); font-size: 1.05rem; max-width: 620px; }

.ruled { border-top: 2px solid var(--yellow); padding-top: 1.5rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border-radius: var(--radius);
  transition: all var(--tr); cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--yellow); color: var(--brown);
  border-color: var(--yellow);
}
.btn-primary:hover { background: var(--yellow-light); border-color: var(--yellow-light); }
.btn-outline {
  background: transparent; color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-outline-light {
  background: transparent; color: var(--cream);
  border-color: rgba(255,248,224,0.5);
}
.btn-outline-light:hover { background: rgba(255,248,224,0.1); border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

/* step number */
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--brown);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  flex-shrink: 0; margin-bottom: 1rem;
}

/* stat block */
.stat-num {
  font-family: var(--font-head); font-size: clamp(2rem,5vw,3rem);
  color: var(--yellow); font-weight: 700; line-height: 1;
}
.stat-label { font-size: 0.9rem; color: rgba(255,248,224,0.75); margin-top: 0.4rem; }

/* divider */
.divider { width: 56px; height: 3px; background: var(--yellow); margin: 1.2rem 0; }

/* ══════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════ */
.page-header {
  background: var(--brown);
  padding: clamp(3rem,6vw,5rem) clamp(1rem,4vw,2.5rem);
  text-align: center;
}
.page-header .eyebrow { color: var(--orange); opacity: 0.9; }
.page-header h1 {
  font-size: clamp(2.2rem,5vw,3.8rem);
  color: var(--yellow);
  margin-bottom: 0.7rem;
}
.page-header p {
  color: rgba(255,248,224,0.75);
  font-size: 1.1rem; max-width: 620px; margin: 0 auto;
}
.page-header .meta {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255,248,224,0.45);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════
   POLICY / PROSE PAGES
══════════════════════════════════════ */
.policy-body {
  max-width: 800px; margin: 0 auto;
  padding: clamp(2rem,5vw,4rem) clamp(1rem,4vw,2.5rem);
}
.policy-body h2 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--brown);
  margin-top: 2.5rem; margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--yellow-pale);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.policy-body h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--brown-light);
  margin-top: 1.4rem; margin-bottom: 0.3rem;
}
.policy-body p { color: var(--text-mid); margin-bottom: 0.9rem; font-size: 0.97rem; }
.policy-body ul, .policy-body ol { margin: 0.5rem 0 1rem 1.6rem; }
.policy-body li { color: var(--text-mid); font-size: 0.97rem; margin-bottom: 0.35rem; line-height: 1.7; }
.policy-body strong { color: var(--text); }
.policy-body a { color: var(--brown); }
.policy-body a:hover { color: var(--yellow); }
.policy-intro {
  background: var(--yellow-pale);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
  font-family: var(--font-head); font-style: italic;
  font-size: 1rem; color: var(--text-mid); line-height: 1.7;
}
.policy-contact {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 0.8rem 0;
  display: inline-block;
}
.policy-contact p { margin: 0.2rem 0; font-size: 0.93rem; }
.policy-quote {
  background: var(--yellow-pale);
  border-left: 3px solid var(--yellow);
  padding: 0.8rem 1.1rem;
  margin: 0.6rem 0 1rem;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-head); font-style: italic;
  font-size: 0.93rem; color: var(--text-mid); line-height: 1.7;
}

/* ══════════════════════════════════════
   HOME — HERO
══════════════════════════════════════ */
.hero {
  background: var(--brown);
  position: relative; overflow: hidden;
  padding: clamp(4rem,10vw,8rem) clamp(1rem,4vw,2.5rem) clamp(3rem,7vw,6rem);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(224,122,77,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(212,169,26,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo {
  width: clamp(100px,20vw,160px);
  height: clamp(100px,20vw,160px);
  object-fit: contain;
  margin: 0 auto 1.8rem;
  animation: fadeUp 0.8s ease both 0.1s;
  filter: drop-shadow(0 6px 24px rgba(212,169,26,0.2));
}
.hero h1 {
  font-size: clamp(2.8rem,8vw,6rem);
  color: var(--yellow);
  line-height: 1.05;
  animation: fadeUp 0.8s ease both 0.2s;
}
.hero-sub {
  font-size: clamp(1rem,2.5vw,1.35rem);
  color: rgba(255,248,224,0.8);
  max-width: 620px; margin: 1.2rem auto 0;
  line-height: 1.65;
  animation: fadeUp 0.8s ease both 0.3s;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: 2.2rem;
  animation: fadeUp 0.8s ease both 0.4s;
}
.hero-org {
  margin-top: 2.8rem;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,248,224,0.38);
  animation: fadeUp 0.8s ease both 0.5s;
}
.hero-org a { color: rgba(212,169,26,0.6); text-decoration: none; transition: color var(--tr); }
.hero-org a:hover { color: var(--yellow); }

/* stats bar */
.stats-bar {
  background: var(--brown-dark);
  padding: clamp(2rem,4vw,3rem) clamp(1rem,4vw,2.5rem);
}
.stats-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  text-align: center;
}
.stats-inner .divider { margin: 0.6rem auto 0; }

/* how it works */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
  margin-top: 2.5rem;
}

/* why it matters */
.matters-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 2rem;
}
.matters-grid li {
  list-style: none; display: flex; gap: 0.8rem;
  align-items: flex-start;
}
.matters-grid .icon { font-size: 1.5rem; flex-shrink: 0; }

/* CTA banner */
.cta-banner {
  background: var(--brown);
  padding: clamp(3rem,6vw,5rem) clamp(1rem,4vw,2.5rem);
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem,4vw,2.8rem);
  color: var(--yellow); margin-bottom: 0.8rem;
}
.cta-banner p { color: rgba(255,248,224,0.75); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-mission {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start;
}
.partner-logos {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
  margin-top: 1.5rem;
}
.partner-logo-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.5rem;
  font-family: var(--font-head); font-weight: 700;
  color: var(--brown); font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.news-placeholder {
  background: var(--cream-dark);
  border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; color: var(--text-muted);
  font-style: italic;
}

/* ══════════════════════════════════════
   CONTRIBUTE
══════════════════════════════════════ */
.safety-box {
  background: #fff3e0;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem; margin-top: 1.5rem;
}
.safety-box h4 {
  font-family: var(--font-head); font-weight: 700;
  color: var(--orange); margin-bottom: 0.6rem;
}
.tips-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.5rem;
}
.tip-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.tip-item strong { color: var(--brown); display: block; margin-bottom: 0.25rem; }

/* ══════════════════════════════════════
   DATA PAGE
══════════════════════════════════════ */
.data-counter {
  background: var(--brown);
  border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center;
  margin-bottom: 2.5rem;
}
.data-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.8rem; }
.tier-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.tier-card .tier-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem;
}
.tier-card h4 { font-family: var(--font-head); color: var(--brown); margin-bottom: 0.5rem; }
.tier-card p { font-size: 0.9rem; color: var(--text-mid); }

/* ══════════════════════════════════════
   NEWS
══════════════════════════════════════ */
.news-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
}
.news-card .news-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 0.5rem;
}
.news-card h3 { font-size: 1.2rem; color: var(--brown); margin-bottom: 0.6rem; }
.news-card p { font-size: 0.93rem; color: var(--text-mid); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; text-align: center;
}
.contact-card .contact-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.contact-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; color: var(--brown);
  margin-bottom: 0.5rem;
}
.contact-card p, .contact-card a {
  font-size: 0.92rem; color: var(--text-mid); text-decoration: none;
}
.contact-card a:hover { color: var(--yellow); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-mission { grid-template-columns: 1fr; }
  .matters-grid { grid-template-columns: 1fr; }
  .data-tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
