@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --raised: #F1ECE1;
  --ink: #2A1F28;
  --muted: #7C6E78;
  --plum: #6E3566;
  --plum-deep: #3E1E38;
  --green: #2D4A40;
  --moss: #6E8C4B;
  --rose: #A8466B;
  --cream: #FBF6EC;
  --border: rgba(62, 30, 56, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.serif { font-family: Fraunces, Georgia, "Times New Roman", serif; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background: #2a1226 url('/welcome-floral.jpg') center/cover no-repeat;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,18,38,0.55) 0%, rgba(42,18,38,0.62) 50%, rgba(42,18,38,0.78) 100%);
}
.hero-content { position: relative; max-width: 640px; }
.kicker {
  color: rgba(251, 246, 236, 0.82);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin: 0 0 18px;
}
.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(64px, 14vw, 128px);
  line-height: 0.9;
  color: var(--cream);
  margin: 0;
  letter-spacing: -1px;
}
.tagline {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(19px, 3.4vw, 27px);
  color: var(--cream);
  margin: 18px 0 14px;
}
.sub {
  color: rgba(251, 246, 236, 0.9);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
section { padding: 80px 24px; }
.section-inner { max-width: 760px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--moss);
  margin: 0 0 12px;
}
section h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 18px;
  color: var(--ink);
}
section p.lead { font-size: 19px; color: #4a3f47; margin: 0 0 16px; }
section p { color: #4a3f47; margin: 0 0 14px; }

.well { background: var(--plum-deep); }
.well .eyebrow { color: #C9A8C4; }
.well h2 { color: var(--cream); }
/* All paragraphs on the dark section read cream — including .lead, which the
   generic rule would otherwise darken (it's more specific). */
.well p,
.well p.lead { color: rgba(251, 246, 236, 0.92); }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.feature h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--plum);
}
.feature p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- Founding / CTA ---------- */
.founding { background: var(--raised); text-align: center; }
.cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--plum);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
}
.cta:hover { background: var(--plum-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep);
  color: rgba(251, 246, 236, 0.7);
  text-align: center;
  padding: 48px 24px;
  font-size: 14px;
}
.site-footer a { color: var(--cream); text-decoration: none; margin: 0 12px; }
.site-footer .fmark {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  color: var(--cream);
  display: block;
  margin-bottom: 14px;
}

/* ============ Legal pages (privacy.html / terms.html) ============ */
.wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.brand {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--plum);
  text-decoration: none;
  font-weight: 600;
}
.wrap h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  margin: 28px 0 6px;
  color: var(--ink);
}
.updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.wrap h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin: 32px 0 8px;
  color: var(--ink);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 8px;
  margin-top: 24px;
}
.lede { font-size: 18px; color: var(--ink); }
.nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }
.nav a { margin-right: 18px; text-decoration: none; color: var(--plum); }
footer { color: var(--muted); font-size: 13px; margin-top: 48px; }

/* Story / founder's letter */
.story p { font-size: 17px; }
.signoff {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  color: var(--plum);
  margin-top: 32px;
}
.signature { color: var(--ink); margin-top: 6px; }
.story figure { margin: 38px auto; max-width: 440px; }
.story figure.half { max-width: 220px; }
/* Floated so the surrounding text wraps around it */
.story figure.float {
  float: right;
  max-width: 210px;
  margin: 6px 0 14px 28px;
}
@media (max-width: 560px) {
  .story figure.float { float: none; margin: 30px auto; max-width: 240px; }
}
.story .signoff, .story .signblock { clear: both; }
.story figure img {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 1px solid var(--border);
}
.story figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
/* Portrait sits beside the signature */
.signblock {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.signblock .portrait { margin: 0; max-width: 150px; flex-shrink: 0; }
.signblock .portrait figcaption { margin-top: 6px; }
.signblock .signature { margin: 0; }

/* Model / giving page: lists, table, profit split */
.wrap ul { margin: 0 0 16px; padding-left: 20px; }
.wrap li { color: #4a3f47; margin-bottom: 8px; }
.wrap table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 15px; }
.wrap th, .wrap td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
.wrap thead th { color: var(--muted); font-weight: 600; font-size: 13px; }
.wrap td:first-child { font-weight: 600; color: var(--ink); }
.split { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; }
.split + .split { border-top: 1px solid var(--border); }
.split .pct { font-family: Fraunces, Georgia, serif; font-size: 28px; color: var(--plum); min-width: 64px; }
.split p { margin: 0; color: #4a3f47; }
