/* Get a Life Foundation — pre-EIN static site
   Colors from brand/brand-kit.md. Copper is accent only (not small text).
   Fonts are self-hosted; no third-party requests. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --copper: #B87333;
  --copper-deep: #8A5526;
  --navy: #0B2545;
  --navy-mid: #16365c;
  --gold: #F2C14E;
  --gold-soft: #f8e7b0;
  --cream: #FAF7F2;
  --cream-2: #f1ebe1;
  --ink: #222222;
  --muted: #4a4a4a;
  --line: #d9d0c3;
  --white: #ffffff;
  --focus: #0B2545;
  --error: #8a1f1f;
  --ok: #1b5a3a;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(11, 37, 69, 0.1);
  --wrap: 70rem;
  --prose: 42rem;
  --header-h: 4.25rem;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--copper-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--navy); }
.logo img {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--cream-2); color: var(--navy); }
.site-nav a[aria-current="page"] {
  background: var(--cream-2);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.site-nav a.nav-donate {
  background: var(--navy);
  color: var(--white);
  margin-left: 0.35rem;
  padding-inline: 1rem;
}
.site-nav a.nav-donate:hover {
  background: var(--navy-mid);
  color: var(--white);
}
.site-nav a.nav-donate[aria-current="page"] {
  box-shadow: none;
  background: var(--navy-mid);
}

@media (max-width: 52rem) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { width: 100%; }
  .site-nav a.nav-donate { margin-left: 0; justify-content: center; }
}

/* ----- Hero ----- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}
.hero::before {
  content: "360";
  position: absolute;
  right: -0.1em;
  top: 40%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 28vw, 22rem);
  line-height: 1;
  color: rgba(242, 193, 78, 0.07);
  pointer-events: none;
  letter-spacing: -0.06em;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 16ch;
}
.hero .lede {
  margin: 0 0 1.75rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #e8eef6;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-aside {
  display: flex;
  justify-content: center;
}
.penny-badge {
  width: min(100%, 16rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #d4a05a 0%, var(--copper) 45%, var(--copper-deep) 100%);
  border: 8px solid #9a6328;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 6px rgba(242, 193, 78, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  padding: 1.5rem;
}
.penny-badge .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.penny-badge .amount-label {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 48rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-aside { order: -1; }
  .penny-badge { width: 12.5rem; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* ----- Sections ----- */
main { flex: 1; }
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-alt { background: var(--cream-2); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p, .section-navy li { color: #e8eef6; }
.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.section-navy .kicker { color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.lede { font-size: 1.2rem; max-width: var(--prose); }
.prose { max-width: var(--prose); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.center { text-align: center; }
.center .lede, .center.prose, .center .prose { margin-inline: auto; }

.page-hero {
  padding: clamp(2rem, 4vw, 3.25rem) 0 0.5rem;
}
.page-hero h1 { max-width: 18ch; }

/* ----- Cards ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 0.75rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 52rem) {
  .card-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ----- Donor wording / offer note ----- */
.donor-wording {
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  max-width: 46rem;
}
.section-navy .donor-wording {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-left-color: var(--gold);
}
.offer-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.section-navy .offer-note { color: #d5deea; }

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.status-banner strong {
  font-family: var(--font-display);
  font-weight: 800;
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

/* ----- Board ----- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.board-card h3 { margin-bottom: 0.15rem; }
.role {
  margin: 0;
  font-weight: 600;
  color: var(--copper-deep);
  font-size: 0.95rem;
}
@media (max-width: 52rem) {
  .board-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 30rem) {
  .board-grid { grid-template-columns: 1fr; }
}

/* ----- Principles ----- */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.principle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
}
.principle .p-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--copper-deep);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.principle h3 { margin: 0.15rem 0 0.35rem; }
.principle .question {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
}
.principle p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 44rem) {
  .principles { grid-template-columns: 1fr; }
}

/* ----- Forms ----- */
form {
  display: grid;
  gap: 0.9rem;
  max-width: 28rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  padding: 0.5rem 0.8rem;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus {
  border-color: var(--navy);
  outline: 3px solid var(--gold);
  outline-offset: 0;
}
.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: #e7f4ec;
  color: var(--ok);
  font-weight: 600;
}
.hint { margin: 0; font-size: 0.95rem; color: var(--muted); font-weight: 400; }

/* ----- Journey steps ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.45rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.steps strong { display: block; color: var(--navy); }
@media (max-width: 52rem) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 30rem) {
  .steps { grid-template-columns: 1fr; }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy);
  color: #d5deea;
  padding: 2.5rem 0 1.75rem;
  margin-top: auto;
  font-size: 1rem;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.footer-brand img { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  align-content: flex-start;
  justify-content: flex-end;
}
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal-lines {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: #c5d0de;
}
.legal-lines p { margin: 0 0 0.45rem; }
.copyright { margin: 1rem 0 0; font-size: 0.9rem; color: #9aacc0; }

@media (max-width: 44rem) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ----- Misc ----- */
.tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.stack { display: grid; gap: 1rem; }
.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
hr.soft {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
.small { font-size: 0.95rem; color: var(--muted); }
address { font-style: normal; }

@media print {
  .site-header, .nav-toggle, .hero::before, .btn, form { }
  .site-header { position: static; }
  .hero { color: var(--ink); background: white; }
  .hero h1, .section-navy, .section-navy h2 { color: var(--ink); }
  .site-footer { background: white; color: var(--ink); }
}

.section-continue { padding-top: 1.25rem; }
.mt-lg { margin-top: 2.5rem; }

@media (max-width: 52rem) {
  .donate-layout { display: flex; flex-direction: column; }
  .donate-waitlist { order: -1; }
}
