@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

:root {
  --color-white: #ffffff;
  --color-gray-bg: #f6f6f2;
  --color-dark: #231f20;
  --color-muted: #6b7280;
  --color-yellow: #ffd819;
  --color-yellow-hover: #f5cc00;
  --color-donate: #4a90e2;
  --color-donate-hover: #3a7bc8;
  --color-border: #d1e3f6;
  --container-max: 1024px;
  --hero-content-max: 560px;
  --section-padding: 4rem 1.5rem;
  --fru-test-bar-height: 2.75rem; /* ~44px — clears FRU test banner */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-dark);
  background: var(--color-white);
}

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

h1,
h2,
h3,
h4,
.button {
  font-family: 'IBM Plex Sans', sans-serif;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section-heading {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-copy {
  margin: 0 0 1.5rem;
  max-width: 30rem;
}

.section-copy p {
  margin: 0;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button--primary {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.button--primary:hover {
  background: var(--color-yellow-hover);
}

.button--donate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-donate);
  color: var(--color-white);
  padding: 12px 24px;
  font-size: 15px;
}

.button--donate:hover {
  background: var(--color-donate-hover);
}

.button--donate svg {
  width: 1rem;
  height: 1rem;
  fill: var(--color-yellow);
}

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

.split__media img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 2px;
}

.bg-white {
  background: var(--color-white);
}

.bg-gray {
  background: var(--color-gray-bg);
}

.section {
  padding: var(--section-padding);
}

.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.5rem 3.5rem;
  color: var(--color-white);
  text-align: center;
  background:
    linear-gradient(rgba(20, 30, 24, 0.55), rgba(20, 30, 24, 0.55)),
    url('../img/hero-misty-forest.jpg') center / cover no-repeat;
}

.hero__logo {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  width: min(220px, 36vw);
  margin: 0;
}

.hero__inner {
  width: 100%;
  max-width: var(--hero-content-max);
  margin: 0 auto;
}

.hero__title {
  margin: 0 auto 1.5rem;
  max-width: 100%;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.12;
}

.hero__title .accent {
  color: var(--color-yellow);
}

.hero__meter {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  min-height: 64px;
}

.hero__inner > .button--primary {
  margin-bottom: 1rem;
}

.hero__subline {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-white);
}

.hero__subline strong {
  font-weight: 700;
}

.steps-section {
  position: relative;
  color: var(--color-white);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url('../img/parallax-monstera.jpg') center / cover no-repeat;
}

.steps-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.steps-section .section-heading {
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  align-items: stretch;
}

.step-card {
  border: 2px solid transparent;
  padding: 2.5rem 2rem;
}

.step-card--highlight {
  border-color: var(--color-yellow);
}

.step-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-yellow);
}

.step-card p {
  margin: 0 0 1.25rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

#leading-by-example.section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#leading-by-example .split {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

#leading-by-example .leaderboard-slot {
  max-width: 300px;
  width: 100%;
  margin-inline: auto;
  min-height: 0;
}

.rally-section {
  text-align: center;
}

.rally-section .section-heading {
  font-size: 1.75rem;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.rally-section .section-copy {
  margin-left: auto;
  margin-right: auto;
}

.map-slot {
  width: min(860px, 100%);
  min-height: 360px;
  margin: 0 auto 1.5rem;
}

.map-slot iframe {
  width: 100% !important;
  min-height: 360px;
}

.panoramic-break img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.faq-section {
  text-align: center;
  padding-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: #374151;
}

.faq-item a {
  color: var(--color-donate);
}

#donate-fallback {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.donate-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.25rem 2.5rem;
  border: 2px solid var(--color-donate);
  border-radius: 0;
  background: var(--color-white);
}

.donate-box__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.donate-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.donate-box p {
  margin: 0;
  max-width: 32rem;
  font-size: 15px;
}

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.25rem 1.5rem calc(1.25rem + var(--fru-test-bar-height));
}

.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-footer__inner img {
  height: 2.25rem;
  width: auto;
}

.fru-anchor {
  display: none;
}

@media (max-width: 900px) {
  .split,
  .steps-grid,
  .faq-grid,
  .donate-box__grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__content {
    order: 1;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split__media img {
    min-height: 260px;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero__logo {
    top: 1rem;
    left: 1rem;
    width: min(180px, 50vw);
  }

  .hero__title {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.625rem;
  }

  .donate-box__grid {
    justify-items: start;
  }
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 3rem;
  }
}
