/* ============================
   BASE - Variables & Reset
   ============================ */

:root {
  /* Colors */
  --primary-green: #255c43;
  --secondary-green: #2d7052;
  --light-green: #6ba876;
  --accent-green: #8fb59f;

  --white: #ffffff;
  --off-white: #f9faf8;
  --gray-light: #e8eae7;
  --gray-mid: #999999;
  --gray-dark: #333333;
  --black: #000000;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: "Afacad Flux", sans-serif;

  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-lg: 1.125rem;
  --size-xl: 1.5rem;
  --size-2xl: 2rem;
  --size-3xl: 2.5rem;
  --size-4xl: 3.5rem;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Sizing */
  --max-width: 1200px;
  --section-padding: var(--space-2xl);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Normalize */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--size-base);
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
  font-weight: var(--weight-regular);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  color: var(--gray-dark);
}

h1 {
  font-size: var(--size-4xl);
}

h2 {
  font-size: var(--size-3xl);
}

h3 {
  font-size: var(--size-2xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--gray-dark);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-green);
  text-decoration: underline;
}

/* Helper: white links on green backgrounds */
.link-light,
.link-light:hover {
  color: var(--white);
}

/* Forms */
input, textarea, button {
  font-family: var(--font-family);
  font-size: var(--size-base);
}

button {
  cursor: pointer;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
