/* =========================================================================
   The Charity Governance Pack — sales page
   Restrained editorial palette: deep ink + warm paper + one sage-teal accent.
   Type: Fraunces (display) / Inter (body). Whitespace-led, conversion-first.
   ========================================================================= */

:root {
  --ink:        #14201f;   /* near-black deep green-ink */
  --ink-soft:   #2c3a38;
  --paper:      #faf7f1;   /* warm off-white */
  --paper-2:    #f1ece2;   /* tinted section */
  --line:       #e2dccf;
  --muted:      #5d6b67;
  --accent:     #2f6f5e;   /* sage-teal — the single accent (trust, calm, charity) */
  --accent-dk:  #234f43;
  --accent-bg:  #e8f0ec;
  --gold:       #b08a3e;   /* used sparingly for the value anchor */
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(20,32,31,.04), 0 12px 32px -12px rgba(20,32,31,.14);
  --shadow-lg:  0 2px 4px rgba(20,32,31,.05), 0 28px 60px -20px rgba(20,32,31,.22);
  --maxw:       1140px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .7em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--accent-dk); }

p { color: var(--ink-soft); }
a { color: var(--accent-dk); text-decoration: none; }
em { font-style: italic; }

.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow.center { display: block; }

.accent-text { color: var(--accent); }
.note { color: var(--muted); font-size: .92em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(47,111,94,.6); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(47,111,94,.55); }
.btn-ghost { background: transparent; color: var(--accent-dk); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-bg); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-sub { font-weight: 400; opacity: .82; font-size: .82em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); letter-spacing: -.01em; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { color: var(--ink-soft); font-size: .94rem; font-weight: 500; }
.header-nav a:hover { color: var(--accent-dk); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(64px, 11vw, 130px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(47,111,94,.10), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(176,138,62,.06), transparent 50%),
    var(--paper);
}
.hero .lede { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--ink-soft); max-width: 660px; margin: 1.5rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-reassure { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: var(--paper); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-grid > div { display: flex; flex-direction: column; gap: 3px; text-align: center; }
.trust-grid strong { font-family: 'Fraunces', serif; font-size: 1.55rem; color: #fff; font-weight: 500; }
.trust-grid span { font-size: .82rem; color: #b9c6c2; letter-spacing: .02em; }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tint { background: var(--paper-2); }
.body-lg { font-size: 1.12rem; line-height: 1.7; margin-bottom: 1.2rem; color: var(--ink-soft); }

.pain-list { list-style: none; margin: 1.6rem 0; display: grid; gap: 12px; }
.pain-list li {
  position: relative; padding: 16px 18px 16px 50px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.pain-list li::before {
  content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-dk);
  font-weight: 700; font-size: .85rem; display: grid; place-items: center;
}

.callout {
  margin-top: 1.8rem; padding: 20px 24px; border-left: 4px solid var(--accent);
  background: var(--accent-bg); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-num { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .98rem; }

/* ---------- how it works ---------- */
.how-block { margin-top: 3.2rem; }
.how-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--accent-dk); margin-bottom: 1.4rem; }
.how-steps { list-style: none; display: grid; gap: 14px; }
.how-steps li { display: flex; align-items: flex-start; gap: 16px; font-size: 1.04rem; color: var(--ink-soft); }
.how-steps li span {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; margin-top: 1px;
}

/* ---------- what's inside ---------- */
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 2.6rem; align-items: start; }
.inside-col h4 { margin-bottom: 1rem; }
.check-list { list-style: none; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 30px; font-size: 1rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 700;
}
.check-list li.highlight { color: var(--ink); font-weight: 600; }
.check-list li.highlight::before { content: "★"; color: var(--gold); }
.format-note {
  margin-top: 1.4rem; padding: 16px 18px; background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius); font-size: .93rem; color: var(--muted);
}
.format-note code { background: var(--accent-bg); color: var(--accent-dk); padding: 1px 6px; border-radius: 5px; font-size: .9em; }

/* ---------- price card ---------- */
.price-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 2.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stack { padding: 34px 32px; border-right: 1px solid var(--line); }
.stack-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--ink-soft); }
.stack-row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack-total { display: flex; justify-content: space-between; padding-top: 16px; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--ink); }
.stack-total .anchor { color: var(--gold); position: relative; }
.stack-total .anchor::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; background: var(--gold); transform: rotate(-7deg); opacity: .8; }

.price-now { padding: 34px 32px; background: var(--accent-bg); display: flex; flex-direction: column; }
.price-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dk); font-weight: 600; }
.price-figure { font-family: 'Fraunces', serif; font-size: 3.2rem; color: var(--ink); line-height: 1; margin: 6px 0 18px; }
.price-then { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-fine { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.price-fine.subtle { font-size: .8rem; opacity: .85; }
.price-now .btn { margin-top: 4px; }

/* ---------- guarantee ---------- */
.section-guarantee { background: var(--ink); color: var(--paper); }
.section-guarantee h2 { color: #fff; }
.section-guarantee .body-lg { color: #cdd8d4; }
.section-guarantee .note { color: #95a5a0; margin-top: 1.4rem; font-size: .85rem; }
.guarantee-badge {
  width: 116px; height: 116px; margin: 0 auto 1.8rem; border-radius: 50%;
  border: 2px solid var(--accent); color: #fff; background: rgba(47,111,94,.18);
  display: grid; place-items: center; text-align: center; font-family: 'Fraunces', serif;
  font-size: 1.15rem; line-height: 1.15;
}

/* ---------- faq ---------- */
.faq { margin: 2.4rem 0 2rem; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px;
  box-shadow: var(--shadow); transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: .98rem; color: var(--ink-soft); }

.final-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2.6rem; }

/* ---------- footer ---------- */
.site-footer { background: #0f1817; color: #97a6a1; padding: 48px 0 56px; font-size: .85rem; }
.footer-disclaimer { color: #b6c3be; max-width: 880px; line-height: 1.65; margin-bottom: 1rem; }
.footer-disclaimer strong { color: #e4ebe8; }
.footer-ai { margin-bottom: 1rem; }
.footer-meta a { color: var(--accent); }
.footer-meta { color: #748480; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .header-nav a:not(.btn) { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr; gap: 30px; }
  .price-card { grid-template-columns: 1fr; }
  .stack { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .btn { width: 100%; }
  .hero-cta, .final-cta { flex-direction: column; align-items: stretch; }
  .trust-grid { grid-template-columns: 1fr; }
}
