/* Base components. Requires tokens.css. Adapt class names to the codebase; keep the values. */

body { margin: 0; background: var(--paper); color: var(--ink-muted); font: 400 17px/28px var(--font-literata); }
h1, h2, h3, nav, button, label, .btn { font-family: var(--font-archivo); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.prose { max-width: var(--measure); }
.section { padding-block: var(--section-pad); }
.section--giving { background: var(--terracotta-tint); }
.section--educators { background: var(--leaf-tint); }

/* Buttons: 4px corners, never pills */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 15px/20px var(--font-archivo);
  padding: 12px 20px; border-radius: var(--radius-md); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; }
.btn--donate { background: var(--terracotta); color: #fff; }           /* one per view */
.btn--books  { background: var(--leaf); color: #fff; }                 /* Give books, Browse the bookshelf */
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--on-ink  { background: transparent; color: var(--on-ink); border-color: var(--on-ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Cards: white, hairline border, no shadow */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.card-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Tags (partner type, age, format) */
.tag { display: inline-block; font: 600 12px/16px var(--font-archivo); padding: 4px 8px;
  border-radius: var(--radius-sm); background: var(--leaf-tint); color: var(--ink); }
.tag--neutral { background: var(--paper); border: 1px solid var(--line); }

/* The stripe: two places only */
.stripe-mark { width: 84px; height: 6px; background: var(--stripe); margin-bottom: var(--space-4); }
.stripe-bar  { height: 6px; background: var(--stripe); }               /* top edge of footer */

/* Page header (replaces the green-hills wave hero on inner pages) */
.page-header { padding: var(--space-16) 0 var(--space-10); border-bottom: 1px solid var(--line); }
.page-header .eyebrow { margin-bottom: var(--space-2); }
.page-header .reading-lead { margin-top: var(--space-4); max-width: var(--measure); }

/* Stats (Home): numeral in terracotta-text over a short saffron bar */
.stat-num { font: 800 48px/1 var(--font-archivo); color: var(--terracotta-text); }
.stat-num::after { content: ""; display: block; width: 32px; height: 4px; background: var(--saffron); margin: var(--space-2) 0; }

/* Photos and media */
.photo, .video-embed { border-radius: var(--radius-lg); overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); }
.site-footer a { color: var(--on-ink); }

/* Form fields */
input, select, textarea { font: 400 16px/24px var(--font-literata); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
