/* Positive Tree Foundation — design tokens & base styles */

:root {
  --color-primary: #986326;
  --color-accent: #20994D;
  --color-donate: #FC2516;
  --color-text: #2C2B2B;
  --color-text-muted: #69727d;
  --color-footer-bg: #0A0A0A;
  --color-footer-text: #ACACAC;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-family: "Josefin Sans", sans-serif;
  --max-width: 1200px;
  --nav-green-bar: 15px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

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

.section {
  padding: 4rem 0;
}

.section--alt {
  background: #f9f7f4;
}

.text-muted {
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn--donate {
  background: var(--color-donate);
  color: var(--color-white);
  border-color: var(--color-donate);
}

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

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.prose {
  max-width: 72ch;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  list-style: disc;
  margin: 1rem 0 1rem 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, #f9f7f4 0%, #fff 100%);
}

.page-hero h1 {
  margin-top: 0.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.page-content {
  padding: 2rem 0 4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
