/* Save TRL — clean civic advocacy site. Calm, credible, mobile-first. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../assets/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../assets/fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../assets/fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../assets/fonts/AtkinsonHyperlegible-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --ink: #1f2937;          /* slate near-black for text */
  --ink-soft: #475569;
  --paper: #f1ece1;        /* deeper warm cream — page background */
  --paper-tint: #e7dfcf;   /* richer cream for alternating sections */
  --indigo: #2C266B;       /* logo indigo — primary, headings, header/footer */
  --brand: #195F4F;        /* logo teal — links, secondary */
  --brand-dark: #123f37;
  --accent: #E7A505;       /* logo gold (the sun) — CTAs */
  --accent-dark: #B5801A;  /* gold-dark — gold as text/hover (AAA-safe) */
  --leaf: #8EB923;         /* logo leaf-green — decorative accents */
  --green: #019331;        /* logo green — borders, icons, charts */
  --line: #ddd4c2;
  --maxw: 1240px;
  --radius: 12px;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --serif: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 19px;           /* larger base per design pref */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 1000px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--indigo); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0.2em 0 0.3em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; color: var(--brand-dark); }
a { color: var(--brand); }
em { color: var(--accent-dark); font-style: italic; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--indigo);
  border-bottom: 3px solid var(--leaf);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1.5rem; max-width: none; padding: 0 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #F8F7FC; text-decoration: none; line-height: 1.05; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-sub { font-size: .8rem; font-weight: 600; color: rgba(248,247,252,0.8); }
@media (max-width: 560px) { .brand-text { display: none; } }

/* Update callout */
.update-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; margin-top: 1.4rem; box-shadow: 0 2px 10px rgba(31,95,91,0.06); }
.update-label { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; font-weight: 800; color: var(--accent-dark); margin: 0 0 .4rem; }
.update-card p:last-child { margin-bottom: 0; }

/* Asks (the demands) */
.asks-list { counter-reset: ask; list-style: none; padding: 0; }
.asks-list li { counter-increment: ask; position: relative; padding: .9rem 0 .9rem 3rem; border-bottom: 1px solid var(--line); }
.asks-list li::before { content: counter(ask); position: absolute; left: 0; top: .8rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 999px; font-family: var(--font); font-weight: 800; font-size: 1rem; }
.site-header nav { display: flex; gap: 1.15rem; flex-wrap: nowrap; align-items: center; }
.site-header nav a { color: #F8F7FC; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; font-size: 1rem; font-weight: 400; white-space: nowrap; }
.site-header nav a:hover { color: var(--leaf); }
.nav-cta { background: var(--accent); color: #fff !important; padding: .45rem .9rem; border-radius: 999px; text-decoration: none !important; font-weight: 700; }
.nav-cta:hover { background: var(--accent-dark); }
@media (max-width: 1000px) { .site-header nav { flex-wrap: wrap; } }

/* Hero */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 4.5rem); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-tint) 100%); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; font-weight: 700; color: var(--accent-dark); margin: 0; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--ink); }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }

.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Sections */
.section { padding: clamp(2.8rem, 7vw, 4.5rem) 0; }
.section-tint { background: var(--paper-tint); }
.section-accent { background: var(--brand); }
.section-accent h2, .section-accent h3 { color: #fff; }
.section-accent p { color: #eafffb; }
.section-intro { font-size: 1.15rem; }
.aside { color: var(--ink-soft); }

.facts { list-style: none; padding: 0; }
.facts li { padding: .6rem 0 .6rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); }
.facts li::before { content: "▸"; color: var(--accent); position: absolute; left: 0; }

.placeholder-note {
  background: #fff6e0; border-left: 4px solid var(--accent); color: #6b5417;
  padding: .8rem 1rem; border-radius: 0 8px 8px 0; font-size: .98rem;
}
.placeholder-note.small { font-size: .9rem; padding: .6rem .8rem; }

/* Charts */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.chart-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1rem; box-shadow: 0 2px 10px rgba(31,95,91,0.06); }
.chart-holder { position: relative; height: 300px; }
.chart-card figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .7rem; }

/* Audit-findings card (in place of a 2nd chart) */
.findings-card .stat { font-size: 1.05rem; line-height: 1.5; margin: .2rem 0 .8rem; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--accent-dark); line-height: 1; }
.facts.tight li { padding: .4rem 0 .4rem 1.4rem; font-size: .98rem; }

/* Help grid */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 1.5rem; }
.help-card { background: #fff; border-radius: var(--radius); padding: 1.4rem; }
.help-card .step { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.help-card h3, .help-card p { color: var(--ink); }
.contacts { list-style: none; padding: 0; font-size: .98rem; }
.contacts li { padding: .25rem 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--brand-dark); color: #d9efec; padding: 2.5rem 0; margin-top: 2rem; }
.site-footer p { margin: .4rem 0; }
.site-footer .muted { color: #9fc4bf; font-size: .9rem; }

/* Stay-in-the-loop form */
.loop-form { max-width: 640px; margin-top: 1.5rem; }
.loop-form .field { margin-bottom: 1.1rem; }
.loop-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.loop-form input[type="text"], .loop-form input[type="email"], .loop-form textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.loop-form input:focus, .loop-form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.loop-form .checks { display: grid; gap: .4rem; }
.loop-form .checks label { font-weight: 400; display: flex; align-items: center; gap: .5rem; }
.loop-form button { margin-top: .5rem; border: 0; cursor: pointer; }

@media (max-width: 760px) {
  .charts, .help-grid { grid-template-columns: 1fr; }
  .site-header nav { gap: .8rem; font-size: .95rem; }
}
