/* ===========================================================
   REALITY CHECK — advocacy campaign stylesheet
   Rebrand the whole site by editing the variables below.
   =========================================================== */

:root {
  --ink: #14241d;          /* deep forest text */
  --forest: #1f4d3a;       /* primary brand green */
  --forest-700: #163a2c;
  --moss: #3c7a5a;
  --amber: #e0a226;        /* accent / call-to-action */
  --amber-700: #c4881a;
  --cream: #f6f1e7;        /* warm page background */
  --surface: #ffffff;
  --muted: #5e6b62;
  --border: #e4ded0;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(20, 36, 29, 0.10);
  --maxw: 1140px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --z-nav: 50;
}

/* Accessibility: visible keyboard focus + reduced motion */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.icon svg, .step-ic svg { width: 26px; height: 26px; stroke-width: 1.9; }
.btn svg { width: 18px; height: 18px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); color: var(--forest); margin: 0 0 .5em; line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  font-family: var(--sans); cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(224,162,38,.35); }
.btn-primary:hover { background: var(--amber-700); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-700); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,231,.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; color: var(--forest); font-size: 1.35rem; text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest); color: var(--amber);
  display: grid; place-items: center; font-weight: 800; font-family: var(--sans); font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav-links a:hover { color: var(--moss); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--forest); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,36,29,.55), rgba(20,36,29,.78)),
    linear-gradient(140deg, #1f4d3a 0%, #14241d 100%);
  padding: 110px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(224,162,38,.5), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(60,122,90,.6), transparent 45%);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .82rem; font-weight: 800; color: var(--amber); margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #e7e2d5; font-size: 1.22rem; max-width: 54ch; margin-top: .4em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Stats band ---------- */
.statband { background: var(--forest); color: #fff; }
.statband .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 46px 0; }
.statband .stat { text-align: center; }
.statband .num { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; color: var(--amber); line-height: 1; }
.statband .label { color: #cfe0d6; font-weight: 600; font-size: .96rem; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow-a {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 800; color: var(--amber-700); margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(20,36,29,.14); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(31,77,58,.1); color: var(--forest); font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius); min-height: 360px;
  background: linear-gradient(140deg, var(--moss), var(--forest-700));
  display: grid; place-items: center; color: rgba(255,255,255,.85);
  font-family: var(--serif); font-size: 1.1rem; text-align: center; padding: 28px;
  box-shadow: var(--shadow);
}

/* ---------- Stewards ---------- */
.steward { text-align: left; }
.steward .icon { background: rgba(224,162,38,.16); color: var(--amber-700); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 4px 22px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(20,36,29,.05);
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--forest);
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--amber-700); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ---------- Take Action / embed ---------- */
.action { background: linear-gradient(160deg, var(--forest), var(--forest-700)); color: #fff; }
.action h2 { color: #fff; }
.action .lead { color: #d8e4dc; }
.action-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.embed-card {
  background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  color: var(--ink);
}
/* >>> Push Politics form embeds inside #push-embed. Native form is the fallback. <<< */
.embed-note {
  border: 2px dashed var(--border); border-radius: 12px; padding: 18px;
  background: #fbf9f3; color: var(--muted); font-size: .88rem; margin-bottom: 22px;
}
.embed-note code { background: #efe9da; padding: 2px 7px; border-radius: 6px; color: var(--forest); font-size: .9em; }

/* Native fallback form */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--forest); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(60,122,90,.18);
}
.form-success {
  display: none; background: #e7f3ec; border: 1px solid #b6ddc4; color: #1f5e3c;
  padding: 16px; border-radius: 10px; font-weight: 600;
}

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.partner {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 28px; font-family: var(--serif); color: var(--forest); font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c6bd; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; margin: 0 0 14px; }
.site-footer a { color: #b9c6bd; display: block; margin-bottom: 8px; font-size: .94rem; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #87968b;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4, .statband .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .action-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: var(--cream); border-bottom: 1px solid var(--border); padding: 18px 26px; gap: 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .footer-grid, .statband .stats { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
