@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@600;700;800&display=swap");

:root {
  --brand-green-700: #0f5a34;
  --brand-green-600: #1f7a43;
  --brand-green-500: #33a25a;

  --brand-red-700: #7f1f27;
  --brand-red-600: #a92a35;
  --brand-red-500: #cf3d4a;

  --brand-yellow-500: #f0c329;

  --neutral-950: #1a1f1b;
  --neutral-700: #324437;
  --neutral-100: #a92a35;
  --surface: #ffffff;
  --surface-alt: #f5f9f4;

  --color-bg: var(--neutral-100);
  --color-surface: var(--surface);
  --color-surface-alt: var(--surface-alt);
  --color-text: var(--neutral-950);
  --color-muted: #f3e9ec;
  --color-primary: var(--brand-green-600);
  --color-primary-hover: var(--brand-green-700);
  --color-accent: var(--brand-yellow-500);
  --color-accent-hover: var(--brand-yellow-500);
  --color-focus: var(--brand-yellow-500);
  --color-border: #d5dfd4;

  --font-family-body: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-family-heading: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;

  --font-size-0: 0.875rem;
  --font-size-1: 1rem;
  --font-size-2: clamp(1.25rem, 1.1rem + 0.7vw, 1.55rem);
  --font-size-3: clamp(2rem, 1.55rem + 2vw, 3rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;
  --shadow-card: 0 8px 18px rgba(15, 35, 24, 0.14);

  --content-width: min(74rem, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: var(--font-size-1);
  line-height: 1.65;
  background: var(--color-bg);
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-2);
  line-height: 1.15;
  font-family: var(--font-family-heading);
}

h1 {
  font-size: var(--font-size-3);
  color: #fff;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-2);
  color: var(--brand-red-700);
}

p,
ul {
  margin: 0 0 var(--space-3);
}

main {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-6);
}

.site-header,
.site-footer {
  width: 100%;
  padding-left: max(1rem, calc((100vw - var(--content-width)) / 2));
  padding-right: max(1rem, calc((100vw - var(--content-width)) / 2));
}

.site-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  background: var(--brand-green-700);
  border-bottom: 6px solid var(--brand-yellow-500);
}

.tagline {
  margin: 0;
  color: #f9eef1;
  max-width: 58ch;
  font-weight: 700;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
}

.hero {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.hero img {
  width: 100%;
  object-fit: cover;
  min-height: 15rem;
  border: 3px solid #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.info-band {
  grid-column: 1 / -1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--brand-yellow-500);
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) max(1rem, calc((100vw - var(--content-width)) / 2));
}

.info-band .card {
  background: var(--brand-green-700);
  border-color: #233128;
  color: #ffffff;
}

.info-band .card h2 {
  color: #ffffff;
  font-weight: 800;
}

.info-band .card p,
.info-band .card li {
  color: #ffffff;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding: 0.82rem 1.3rem;
  min-height: 2.8rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--color-primary);
  border: 2px solid transparent;
  text-decoration: none;
  font-size: var(--font-size-1);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 6px 16px rgba(15, 90, 52, 0.3);
}

.button:hover,
.button:active {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-accent-hover);
}


.funders-section {
  background: var(--brand-red-600);
  border: none;
  box-shadow: none;
  color: #ffffff;
  padding: var(--space-4);
}

.funders-section h2,
.funders-section p,
.funders-section li {
  color: #ffffff;
}

.funders-section h2 {
  white-space: nowrap;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin-bottom: var(--space-3);
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, max-content));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-list img {
  width: min(100%, 20rem);
  height: auto;
  display: block;
}

form {
  display: grid;
  gap: var(--space-2);
  max-width: 34rem;
}

label {
  font-size: var(--font-size-0);
  font-weight: 700;
}

input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:hover {
  border-color: #a2b2a3;
}

input::placeholder {
  color: #7b877d;
}



.hint {
  font-weight: 400;
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  align-items: start;
  margin-top: var(--space-1);
}

.consent-field input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.field-error {
  margin: 0;
  min-height: 1.1rem;
  font-size: var(--font-size-0);
  color: var(--brand-red-600);
  font-weight: 700;
}

.form-status {
  margin: var(--space-2) 0 0;
  min-height: 1.4rem;
  font-size: var(--font-size-0);
  font-weight: 700;
}

.form-status--pending {
  color: var(--neutral-700);
}

.form-status--success {
  color: var(--brand-green-700);
}

.form-status--error {
  color: var(--brand-red-600);
}

button:disabled,
.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
:is(a, button, .button, input):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.28);
}

.site-footer {
  background: var(--brand-green-700);
  color: #ffffff;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  font-size: var(--font-size-0);
  border-top: 6px solid var(--brand-yellow-500);
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

@media (min-width: 48rem) {
  main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .hero,
  .info-band,
  .card#signup {
    grid-column: 1 / -1;
  }

  .hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .info-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .card {
    padding: var(--space-5);
  }
}

@media (min-width: 70rem) {
  main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero,
  .info-band,
  .card#signup {
    grid-column: 1 / -1;
  }
}
