/* ============================================================
   Donor Merchant — site design system
   Source of truth for every page (generated by site-src/gen.py)
   ============================================================ */

:root {
	--blue: #1950d1;
	--blue-dark: #123a99;
	--blue-deep: #0c2461;
	--coral: #ff5e5b;
	--coral-dark: #e74845;
	--ink: #131a26;
	--slate: #4b5565;
	--mist: #8b94a3;
	--line: #e3e7ee;
	--paper: #f6f8fc;
	--white: #ffffff;
	--green: #19854b;
	--green-bg: #e7f7ee;
	--amber-bg: #fff6e0;
	--amber: #8a6d1a;
	--radius: 12px;
	--shadow-sm: 0 1px 3px rgba(19, 26, 38, .07);
	--shadow-md: 0 8px 30px rgba(19, 26, 38, .09);
	--shadow-lg: 0 24px 60px rgba(12, 36, 97, .16);
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: all .15s ease; border: 0; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(25, 80, 209, .3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 4px 14px rgba(255, 94, 91, .35); }
.btn-coral:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--mist); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: var(--slate); font-size: 15px; font-weight: 500; }
.nav > a:hover { color: var(--ink); }
.nav > a.active { color: var(--blue); font-weight: 700; }
/* Buttons in the nav keep their own colors (higher specificity than .nav > a). */
.nav > a.btn { padding: 10px 18px; }
.nav > a.btn-ghost, .nav > a.btn-ghost:hover { color: var(--ink); }
.nav > a.btn-primary, .nav > a.btn-primary:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero (homepage) ---------- */
.hero { background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -300px; right: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(25,80,209,.08) 0%, transparent 65%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 90px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--green-bg); color: var(--green); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 19px; color: var(--slate); max-width: 480px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--slate); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { color: var(--green); flex-shrink: 0; }

/* ---------- Donation form mockup ---------- */
.mockup { position: relative; }
.mockup-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px; max-width: 420px; margin-left: auto; position: relative; }
.mockup-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.mock-pills { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.mock-pill { padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mock-pill.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.mock-fee { display: flex; gap: 9px; align-items: flex-start; background: #f4f7ff; border-radius: 10px; padding: 11px 13px; font-size: 13px; color: var(--slate); margin-bottom: 18px; }
.mock-check { width: 17px; height: 17px; border-radius: 4px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.mock-btn { display: block; width: 100%; background: var(--blue); color: #fff; text-align: center; font-weight: 700; font-size: 16px; padding: 14px; border-radius: 10px; }
.mock-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--mist); margin-top: 12px; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 12px 16px; font-size: 13px; }
.float-receipt { top: -18px; left: -10px; display: flex; align-items: center; gap: 10px; }
.float-receipt .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.float-receipt strong { display: block; font-size: 13px; }
.float-receipt small { color: var(--mist); font-size: 12px; }
.float-recur { bottom: -16px; left: 26px; display: flex; align-items: center; gap: 8px; color: var(--slate); font-weight: 600; }
.float-recur .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,133,75,.15); }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip .wrap { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); padding: 22px 24px; flex-wrap: wrap; font-size: 14.5px; color: var(--slate); font-weight: 600; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--paper); }
.kicker { display: block; color: var(--blue); font-weight: 800; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.15; font-weight: 800; margin-bottom: 16px; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 17.5px; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: #eef3ff; color: var(--blue); }
.card h3 { font-size: 18.5px; letter-spacing: -.01em; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--slate); font-size: 15px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; }
.card .tag-free { display: inline-block; margin-left: 8px; background: var(--green-bg); color: var(--green); font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; vertical-align: middle; letter-spacing: .03em; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th { background: var(--paper); font-size: 14px; letter-spacing: .02em; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; }
.compare-table .hl { background: #f2f6ff; font-weight: 700; }
.compare-table th.hl { background: var(--blue); color: #fff; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--mist); }
.compare-note { font-size: 13px; color: var(--mist); margin-top: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 28px 30px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 26px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(25,80,209,.35); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15px; }
.step code, .article code, .price-desc code { background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; color: var(--blue-deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.badge-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.price-amount { font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.price-amount small { font-size: 15.5px; font-weight: 600; color: var(--mist); letter-spacing: 0; }
.price-desc { color: var(--slate); font-size: 14.5px; margin: 10px 0 22px; }
.price-list { list-style: none; margin-bottom: 28px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; color: var(--ink); }
.price-list li.soon { color: var(--mist); }
.price-list svg { flex-shrink: 0; margin-top: 4px; color: var(--green); }
.price-list li.soon svg { color: var(--mist); }
.soon-pill { background: var(--paper); border: 1px solid var(--line); color: var(--mist); font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; letter-spacing: .03em; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { padding: 19px 24px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--mist); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 20px; color: var(--slate); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 85%); border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-coral { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cta-band .sub-link { display: block; margin-top: 16px; color: rgba(255,255,255,.75); font-size: 14px; }
.cta-band .sub-link a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #0d1320; color: #aab3c2; padding: 64px 0 36px; margin-top: 92px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #aab3c2; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #717b8c; }

/* ============================================================
   Interior pages
   ============================================================ */

/* ---------- Breadcrumb + page hero ---------- */
.page-hero { background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 13.5px; color: var(--mist); margin-bottom: 26px; }
.breadcrumb a { color: var(--mist); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 7px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.028em; font-weight: 800; margin-bottom: 16px; max-width: 800px; }
.page-hero .lede { font-size: 18.5px; color: var(--slate); max-width: 680px; }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 0; }

/* ---------- Article / prose ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 64px 0; align-items: start; }
.article-wrap.no-side { grid-template-columns: minmax(0, 760px); justify-content: center; }
.article { font-size: 16.5px; color: #2a3242; }
.article h2 { font-size: 27px; letter-spacing: -.02em; margin: 44px 0 14px; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article th { background: var(--paper); }
.article blockquote { border-left: 4px solid var(--blue); background: var(--paper); padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 0 0 18px; color: var(--slate); }
.article .btn { margin-top: 6px; }
.note, .tip, .warn { border-radius: 12px; padding: 16px 20px; margin: 0 0 18px; font-size: 15px; }
.note { background: #f2f6ff; border: 1px solid #d4e0fa; }
.tip { background: var(--green-bg); border: 1px solid #c4e8d2; }
.warn { background: var(--amber-bg); border: 1px solid #f0dfa8; }
.note strong, .tip strong, .warn strong { display: block; margin-bottom: 2px; }
pre { background: #0d1320; color: #d6e0f0; border-radius: 12px; padding: 18px 22px; overflow-x: auto; font-size: 14px; margin: 0 0 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
pre code { background: none; border: 0; color: inherit; padding: 0; font-size: inherit; }

/* ---------- Sidebar ---------- */
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.side-card h4 { font-size: 15px; margin-bottom: 10px; }
.side-card p { font-size: 14px; color: var(--slate); margin-bottom: 14px; }
.side-card ul { list-style: none; }
.side-card li { margin-bottom: 9px; font-size: 14.5px; }
.side-card .btn { display: block; text-align: center; }

/* ---------- Docs hub ---------- */
.doc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.doc-col h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.doc-col ul { list-style: none; }
.doc-col li { margin-bottom: 10px; }
.doc-col a { font-size: 15px; }

/* ---------- Reviews ---------- */
.stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.quote-card p { font-size: 15.5px; color: #2a3242; margin: 12px 0 16px; }
.quote-card .who { font-size: 14px; font-weight: 700; }
.quote-card .org { font-size: 13px; color: var(--mist); font-weight: 500; }

/* ---------- Related links ---------- */
.related { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.related h3 { font-size: 18px; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: all .15s ease; }
.related-grid a:hover { border-color: var(--blue); color: var(--blue); }
.related-grid a small { display: block; font-weight: 500; color: var(--mist); margin-top: 3px; }

/* ---------- Checklist ---------- */
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; list-style: none; margin: 0 0 18px !important; }
.check-cols li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; margin: 0 !important; }
.check-cols svg { flex-shrink: 0; margin-top: 5px; color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 60px; padding-top: 52px; padding-bottom: 64px; }
	.mockup-form { margin: 0 auto; }
	.grid-3, .grid-2, .steps, .pricing, .doc-cols, .related-grid { grid-template-columns: 1fr; }
	.steps { gap: 40px; }
	.article-wrap { grid-template-columns: 1fr; }
	.side { position: static; }
	.check-cols { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.nav { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; padding: 24px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow-md); }
	.nav.open { display: flex; }
	.menu-toggle { display: block; }
	.compare-table { min-width: 640px; }
}
