/* base.css */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --clr-white: #ffffff;
  --clr-bg: #fdfdfd; /* very light grey for texture */
  --clr-dark: #2B2D2F; /* neutral deep charcoal grey for headings/text */
  --clr-body: #444444; /* softer for body text */
  --clr-green: #2E7D32;
  --clr-green-light: #4E8B3E;
  --clr-primary: var(--clr-green);
  --clr-primary-light: #E8F5E9;
  --clr-orange: #F7931E;
  --clr-orange-light: #FBB040;
  --clr-footer-bg: #383838; /* Smile Foundation neutral matte charcoal */
  --clr-footer-strip: #262626; /* Smile Foundation bottom dark strip */
  --clr-card: var(--clr-white);
  --clr-border: #E2E8F0;
  
  --gradient-orange: linear-gradient(135deg, var(--clr-orange), var(--clr-orange-light));
  
  /* Typography */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
  --fs-h1: clamp(2rem, 4vw, 2.75rem);
  --fs-h2: 1.75rem;
  --fs-h3: 1.35rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  
  /* Radius & Shadows & Transitions */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.12);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--clr-body);
  background-color: var(--clr-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-dark);
  line-height: 1.2;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: var(--clr-green);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
