/*
 * ez2bgood.com styles
 * Clean, fast, honest - like the software we build
 */

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-accent: #2d5a27;
  --color-accent-light: #e8f0e7;
  --color-border: #e0e0e0;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --max-width: 800px;
  --spacing-unit: 1rem;
}

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

/* Base */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* Sections */
section {
  padding: 4rem 0;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 0.25rem;
}

.hero .subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero .mission {
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Problem Section */
.problem {
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.problem p {
  font-size: 1.1rem;
}

/* Beliefs */
.beliefs {
  background: var(--color-accent-light);
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.belief {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.belief h3 {
  color: var(--color-accent);
}

.belief p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Projects */
.projects {
  background: white;
  border-top: 1px solid var(--color-border);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.project:hover {
  border-color: var(--color-accent);
}

.project-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.project-icon-svg {
  font-size: inherit;
  line-height: 1;
}

.project-icon-svg svg {
  display: block;
  border-radius: 8px;
}

.project h3 {
  margin-bottom: 0.5rem;
}

.project p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project .status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Name Story */
.name-story {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.name-story p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* Hope */
.hope {
  background: var(--color-accent-light);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.hope p {
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hope .donate-appeal {
  margin-top: 2rem;
  font-weight: 500;
}

.donate-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.donate-button:hover {
  background: #234a1e;
  text-decoration: none;
}

/* No Tracking */
.no-tracking {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 2rem 0;
  text-align: center;
}

.no-tracking p {
  font-size: 0.9rem;
  margin: 0;
}

.no-tracking strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  text-align: center;
}

.footer-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-contact {
  margin-bottom: 0.5rem;
}

.footer-location {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero .mission {
    font-size: 1.1rem;
  }

  .belief-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121212;
    --color-text: #e0e0e0;
    --color-text-muted: #999;
    --color-accent: #6abf5e;
    --color-accent-light: #1a2e18;
    --color-border: #333;
  }

  .problem,
  .projects {
    background: #1a1a1a;
  }

  .belief {
    background: #1a1a1a;
  }

  .no-tracking {
    background: #000;
  }

  .donate-button:hover {
    background: #7fcf73;
  }
}

/* Print */
@media print {
  .no-tracking {
    display: none;
  }
}
