/* styles.css */
:root {
  --ds-navy: #06255c;
  --ds-blue: #377291;
  --ds-coral: #fd5f40;
  --ds-amber: #ea9d0d;
  --ds-text: #333333;

  --bg: #f7f9fc;
  --card: #ffffff;
  --border: #e6edf5;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(6, 37, 92, 0.10);

  --focus: 0 0 0 3px rgba(234, 157, 13, 0.45);
  --maxw: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ds-text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(55, 114, 145, 0.18), transparent 50%),
              radial-gradient(900px 500px at 90% 10%, rgba(253, 95, 64, 0.12), transparent 55%),
              var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.5;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ds-navy);
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 18px 0;
}

.header-inner {
  display: flex;

  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
}

.hero {
  padding: 18px 0 8px;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(6, 37, 92, 0.85);
  font-size: 0.95rem;
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ds-navy);
}

.lead {
  margin: 0 0 16px;
  font-size: 1.12rem;
  color: rgba(51, 51, 51, 0.9);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 8px;
  justify-content: center;
}

.fineprint {
  margin: 10px 0 0;
  color: rgba(51, 51, 51, 0.75);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.card {
  margin: 18px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ds-navy);
}

.card p {
  margin: 10px 0;
}

.muted {
  color: rgba(51, 51, 51, 0.72);
  margin: 0;
}


./* Impact section: light container + dark text */
.impact {
  margin: 18px 0;
  border-radius: calc(var(--radius) + 6px);
  background: transparent;                 /* use page background */
  color: var(--ds-text);                   /* dark text */
  box-shadow: none;                        /* optional: keep it clean */
  overflow: visible;
}

/* Keep spacing similar */
.impact-inner {
  padding: 22px 18px;
}

/* Heading + lead: dark like the rest of the page */
.impact-head h2 {
  color: var(--ds-navy);
  margin: 0 0 6px;
  font-size: 1.55rem;
}

.impact-lead {
  margin: 0 0 14px;
  color: rgba(51, 51, 51, 0.85);
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

/* The stat boxes remain navy */
.impact .stat {
  background: var(--ds-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

/* Text inside boxes stays white */
.impact .stat dt {
  color: rgba(255, 255, 255, 0.85);
}

.impact .stat dd {
  color: #ffffff;
}

/* Optional: note under stats - dark text (outside the boxes) */
.impact-note {
  margin: 12px 0 0;
  color: rgba(51, 51, 51, 0.75);
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.stat dt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 6px;
}

.stat dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.impact-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

.faq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.faq-controls {
  display: flex;
  gap: 10px;
}

.faq-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 14px;
  font-weight: 650;
  color: var(--ds-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▾";
  flex: 0 0 auto;
  color: rgba(6, 37, 92, 0.75);
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 14px 14px;
  border-top: 1px solid var(--border);
  color: rgba(51, 51, 51, 0.92);
  text-align: left;
}

.support-callout {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(55, 114, 145, 0.06);
  text-align: left;
}

.support-callout h3 {
  margin: 0 0 6px;
  color: var(--ds-navy);
  font-size: 1.12rem;
  text-align: left;
}

.site-footer {
  padding: 24px 0 30px;
  color: rgba(51, 51, 51, 0.70);
}

.footer-inner {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ds-navy);
  color: #ffffff;
  border-color: rgba(6, 37, 92, 0.35);
}

.btn-primary:hover {
  background: #073071;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--border);
  color: var(--ds-navy);
}

.btn-ghost:hover {
  background: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(6, 37, 92, 0.25);
  color: var(--ds-navy);
}

.btn-outline:hover {
  border-color: rgba(6, 37, 92, 0.40);
  background: rgba(6, 37, 92, 0.04);
}

.btn-small {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

@media (min-width: 740px) {
  .hero {
    padding: 26px 0 10px;
  }

  .card {
    padding: 22px;
  }

  .impact-inner {
    padding: 26px 22px;
  }

  .brand-logo {
    width: 260px;
  }
}

/* Impact stats - flex row layout that works */
.impact .stats-grid {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;          /* keep them in one row */
  align-items: stretch;
  margin: 14px 0 12px;
  padding: 0;
}

.impact .stat {
  flex: 1 1 0;                /* all three equal width */
  min-width: 0;               /* prevents overflow issues */
}

/* Mobile only: stack */
@media (max-width: 640px) {
  .impact .stats-grid {
    flex-direction: column;
  }
}

/* Left-align body text inside content cards, keep headings centered.
   Does not affect FAQ or impact sections. */
.card:not(.faq) {
  text-align: left;
}

.card:not(.faq) h2 {
  text-align: center;
}

/* Make the FAQ section match the page background (keep accordion items unchanged) */
.card.faq {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}