/* Shared design tokens and chrome — used by index.html, about.html, privacy.html.
   Page-specific layout (hero, blob pool, founding card, etc.) stays inline
   in each page's own <style> block. */

:root {
  --paper: #F6F4EC;
  --paper-dim: #EFECE0;
  --ink: #1F2A22;
  --ink-soft: #4A5750;
  --forest: #3B5A45;
  --forest-dark: #2A4132;
  --amber: #C6832E;
  --amber-soft: #EAD9BC;
  --line: #DAD5C4;
  --rose: #A75C4E;
  --slate: #4E5F7A;
  --gold: #A88A2E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; margin: 0; }
a { color: inherit; }
button { font-family: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: 0;
  top: -48px;
  background: var(--forest-dark);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
  z-index: 100;
}
.skip-link:focus { top: 0; }

/* ---------- Nav ---------- */
nav.site-nav { padding: 26px 0 0; }
nav.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wordmark { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.wordmark span { color: var(--forest); }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--forest); }
.nav-links a.nav-cta {
  color: white;
  background: var(--forest);
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta:focus-visible { background: var(--forest-dark); color: white; }

/* ---------- Section shared ---------- */
section { padding: 60px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 56ch; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.section-head p { margin-top: 10px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Simple content pages (About / Privacy) ---------- */
.page-hero { padding: 56px 0 8px; text-align: center; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
}
.page-hero p.lede {
  margin: 16px auto 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; margin-top: 26px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover, .prose a:focus-visible { color: var(--forest-dark); }

.faq-list { max-width: 68ch; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.faq-item p { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

.callout {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

/* ---------- Buttons (shared) ---------- */
button.primary-btn, a.primary-btn {
  padding: 13px 22px;
  background: var(--forest);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
button.primary-btn:hover, a.primary-btn:hover { background: var(--forest-dark); }
button.primary-btn:disabled { opacity: 0.7; cursor: default; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* ---------- Footer ---------- */
footer { padding: 36px 0 48px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
footer .footer-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .tagline { font-size: 0.85rem; color: var(--ink-soft); }
footer .footer-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
footer .footer-links a { font-size: 0.85rem; color: var(--ink-soft); text-decoration: none; }
footer .footer-links a:hover, footer .footer-links a:focus-visible { color: var(--forest); text-decoration: underline; }

@media (max-width: 640px) {
  nav.site-nav .wrap { justify-content: center; text-align: center; }
  footer .wrap { flex-direction: column; text-align: center; }
}
