/* WE SAFE PET — landing page styles. Mobile-first. No inline styles anywhere (strict CSP). */

@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #14262b; --ink-2: #3d5156; --ink-3: #62757a;
  --teal-950: #072b2a; --teal-900: #0b3c3a; --teal-800: #0f4f4b; --teal-700: #14645f; --teal-600: #1b7c75;
  --teal-100: #dceee9; --teal-50: #eef7f4;
  --cream: #fff8ee; --sand: #f7ebd9; --sand-2: #efdcc0;
  --coral: #c9430f; --coral-d: #a8360a; --coral-l: #fde5d8; --flame: #f26a2e;
  --gold: #f4b63f; --gold-l: #fdf0d2;
  --line: #e7dcc9; --line-cool: #cfe1db;
  --radius: 16px; --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7, 43, 42, .08), 0 2px 8px rgba(7, 43, 42, .06);
  --shadow: 0 2px 4px rgba(7, 43, 42, .06), 0 14px 36px rgba(7, 43, 42, .16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; transition: top .15s; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }
.center { text-align: center; margin-top: 36px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Placeholders for real data that has not been provided yet */
.ph { background: #fff3b8; color: #5b4300; border: 1px dashed #c79a00; border-radius: 6px; padding: 0 .3em; font-style: normal; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 14px; font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .12s, background-color .15s, box-shadow .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; border-radius: 12px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--xl { min-height: 60px; width: 100%; font-size: 1.12rem; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(201, 67, 15, .32); }
.btn--primary:hover { background: var(--coral-d); color: #fff; box-shadow: 0 8px 20px rgba(168, 54, 10, .38); }
.btn--primary[disabled] { opacity: .7; cursor: progress; }
.btn--ghost { background: transparent; border-color: var(--line-cool); color: var(--teal-900); }
.btn--ghost:hover { border-color: var(--teal-700); color: var(--teal-900); background: var(--teal-50); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--gold-l); color: var(--teal-900); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; text-align: left; }

/* ---------- Top ribbon + header ---------- */
.ribbon { background: var(--gold); color: #3b2a00; text-align: center; font-size: .85rem; padding: 7px 14px; }
.ribbon[hidden] { display: none; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 238, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(20, 38, 43, .08); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--coral); }
.logo__mark { width: 36px; height: 36px; }
.logo__word { font: 800 .95rem/1 var(--body); letter-spacing: .04em; color: var(--coral); white-space: nowrap; }
.logo__word b { color: var(--teal-900); font-weight: 800; }
.logo--light .logo__word b { color: var(--cream); }
.nav { display: none; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--coral); background: var(--coral-l); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(900px 420px at 90% -5%, rgba(242, 106, 46, .26), transparent 62%), radial-gradient(700px 400px at -10% 110%, rgba(27, 124, 117, .55), transparent 60%), var(--teal-900); padding: 20px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='white' fill-opacity='.05' transform='rotate(-18 70 70)'%3E%3Cellipse cx='52' cy='52' rx='6' ry='8'/%3E%3Cellipse cx='66' cy='42' rx='6.5' ry='9'/%3E%3Cellipse cx='82' cy='42' rx='6.5' ry='9'/%3E%3Cellipse cx='95' cy='52' rx='6' ry='8'/%3E%3Cpath d='M74 58c-10 0-18 10-18 17 0 5 4 7 9 6 3-.7 6-1.5 9-1.5s6 .8 9 1.5c5 1 9-1 9-6 0-7-8-17-18-17z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 140px 140px; pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 7px 12px; }
.chip--urgent { background: rgba(244, 182, 63, .16); color: var(--gold); border: 1px solid rgba(244, 182, 63, .4); }
.chip--soft { background: var(--teal-50); color: var(--teal-800); letter-spacing: .02em; text-transform: none; font-size: .82rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(244, 182, 63, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(244, 182, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 182, 63, 0); } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(1.95rem, 7vw + .1rem, 3.9rem); line-height: 1.04; margin: 14px 0 12px; letter-spacing: -.025em; text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, 1.4vw + .72rem, 1.22rem); line-height: 1.5; color: #d7e8e3; max-width: 36em; }
.hero__sub em { color: var(--gold); font-style: normal; font-weight: 700; }
.ticks { display: none; gap: 8px; margin-top: 18px; color: #e9f3f0; font-size: .95rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--gold); margin-top: 2px; width: 1.15em; height: 1.15em; stroke-width: 2.6; }

.hero__card { position: relative; margin-top: 58px; }
.peek { position: absolute; left: 0; right: 0; top: -52px; display: flex; justify-content: center; align-items: flex-end; gap: 2px; z-index: 0; pointer-events: none; }
.peek .animal { width: 88px; height: auto; }
.peek__dog { transform: rotate(-4deg); }
.peek__cat { transform: rotate(4deg) translateY(2px); }
.panel-card { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 18px 16px 16px; box-shadow: var(--shadow); }
.notice { position: relative; z-index: 1; background: var(--gold-l); color: #4a3500; border-radius: 12px; padding: 10px 12px; font-size: .9rem; margin-bottom: 14px; }
.notice--error { background: #fde8e6; color: #6b1710; }
.notice[hidden] { display: none; }

/* ---------- Donation widget ---------- */
.dw { position: relative; display: grid; gap: 12px; }
.dw__title { font-size: 1.25rem; line-height: 1.2; text-align: center; color: var(--teal-900); }
.dw__top { display: flex; gap: 10px; align-items: stretch; }
.dw__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dw__freq { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--teal-50); border: 1px solid var(--line-cool); border-radius: 14px; }
.dw__seg { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--teal-800); cursor: pointer; transition: background-color .15s, color .15s; user-select: none; }
.dw__seg .icon { width: 1.05em; height: 1.05em; }
.dw__radio:checked + .dw__seg { background: var(--teal-900); color: #fff; box-shadow: var(--shadow-sm); }
.dw__radio:focus-visible + .dw__seg, .dw__radio:focus-visible + .dw__chip { outline: 3px solid var(--gold); outline-offset: 2px; }
.dw__currency select { height: 100%; min-height: 54px; padding: 0 26px 0 12px; border: 1px solid var(--line-cool); border-radius: 14px; background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314262b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.dw__amounts { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dw__chip { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 2px solid var(--line-cool); border-radius: 14px; background: #fff; font-weight: 800; font-size: 1.15rem; color: var(--teal-900); cursor: pointer; transition: border-color .12s, background-color .12s, color .12s, transform .12s; user-select: none; -webkit-tap-highlight-color: transparent; }
.dw__chip:hover { border-color: var(--teal-600); }
.dw__chip--other { grid-column: span 2; font-size: 1rem; font-weight: 700; }
.dw__radio:checked + .dw__chip { background: var(--teal-900); border-color: var(--teal-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.dw__other { display: none; position: relative; }
.dw__amounts:has(input[value="other"]:checked) ~ .dw__other, .dw.is-other .dw__other { display: block; }
.dw__sym { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--teal-800); font-size: 1.1rem; }
.dw__input { width: 100%; min-height: 56px; padding: 0 16px 0 38px; border: 2px solid var(--teal-600); border-radius: 14px; font-size: 1.15rem; font-weight: 700; background: #fff; }
.dw__input::placeholder { color: var(--ink-3); font-weight: 500; }
.dw__impact { font-size: .93rem; line-height: 1.45; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 10px 12px; min-height: 3.6em; }
.dw__error { background: #fde8e6; color: #8a1c10; border-radius: 12px; padding: 10px 12px; font-size: .92rem; }
.dw__error[hidden] { display: none; }
.dw__fine { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .82rem; color: var(--ink-3); text-align: center; }
.dw__fine .icon { width: 1em; height: 1em; color: var(--teal-700); }

/* Compact widget (hero / final CTA): a single row of amount chips keeps the Donate button above the fold on phones */
.dw--compact .dw__amounts { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dw--compact .dw__chip { min-height: 52px; font-size: 1rem; padding: 0; border-radius: 12px; }
.dw--compact .dw__chip--other { grid-column: auto; font-size: .86rem; font-weight: 700; }
.dw--compact .dw__impact { font-size: .9rem; min-height: 0; padding: 9px 11px; }

/* ---------- Stats ---------- */
.stats { background: var(--teal-950); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; text-align: center; }
.stats__value { display: block; font: 600 clamp(2rem, 6vw, 3.1rem)/1 var(--display); color: var(--gold); }
.stats__label { display: block; margin-top: 8px; font-size: .92rem; color: #bcd5cf; }
.stats .ph { background: rgba(255, 243, 184, .14); color: var(--gold); border-color: rgba(244, 182, 63, .6); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: #fff; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal-900); color: #fff; position: relative; overflow: hidden; }
.section__head { max-width: 46rem; margin: 0 auto 38px; text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.eyebrow--light { color: var(--gold); }
h2 { font-size: clamp(1.75rem, 3.6vw + .7rem, 2.8rem); line-height: 1.1; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: 1.1rem; color: var(--ink-2); margin-top: 14px; }
.section--teal .lead { color: #cfe3de; }
.fineprint { font-size: .85rem; color: var(--ink-3); margin-top: 18px; }
.fineprint--light { color: #a9c7c0; text-align: center; }

.cards { display: grid; gap: 16px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--cream .card { background: var(--cream); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--ink-2); }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--coral-l); color: var(--coral); }
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--quote { background: var(--teal-100); color: var(--teal-800); }
.card--quote blockquote { margin: 14px 0 16px; font: 500 1.12rem/1.5 var(--display); color: var(--ink); }
.card--quote footer { display: grid; font-size: .92rem; color: var(--ink-3); }
.card--quote footer strong { color: var(--ink); }

.factbox { margin-top: 24px; display: grid; gap: 10px; align-items: center; background: var(--teal-900); color: #fff; border-radius: var(--radius-lg); padding: 24px; }
.factbox__value { font: 600 clamp(2rem, 5vw, 3rem)/1 var(--display); color: var(--gold); }
.factbox figcaption { color: #d3e6e1; }
.factbox__src { display: block; margin-top: 6px; font-size: .85rem; color: #a9c7c0; }
.factbox a { color: #fff; }
.factbox .ph { background: rgba(255, 243, 184, .14); color: var(--gold); border-color: rgba(244, 182, 63, .6); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 22px; box-shadow: var(--shadow-sm); }
.step__num { position: absolute; top: 18px; right: 18px; font: 600 2.2rem/1 var(--display); color: var(--sand-2); }
.step__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-900); color: var(--gold); }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { margin: 14px 0 6px; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Impact tiers ---------- */
.section--teal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 100% 0, rgba(242, 106, 46, .22), transparent 60%); pointer-events: none; }
.section--teal > .container { position: relative; }
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tier { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 18px 16px; }
.tier__amount { font: 600 2rem/1 var(--display); color: var(--gold); }
.tier h3 { font-size: 1.1rem; }
.tier p { color: #cfe3de; font-size: .92rem; flex: 1; }
.tier .btn { margin-top: 6px; width: 100%; }

/* ---------- Donate section ---------- */
.donate__grid { display: grid; gap: 30px; align-items: start; }
.donate__copy .lead { max-width: 34rem; }
.benefits { display: grid; gap: 16px; margin-top: 26px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefits .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--coral); box-shadow: var(--shadow-sm); }
.benefits h3 { font: 700 1.02rem/1.3 var(--body); letter-spacing: 0; }
.benefits p { color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
.donate__card { background: #fff; border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Stories ---------- */
.stories { display: grid; gap: 18px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__art { position: relative; display: grid; place-items: end center; aspect-ratio: 4 / 3; overflow: hidden; }
.story__art--0 { background: linear-gradient(160deg, #dceee9, #bfdcd4); }
.story__art--1 { background: linear-gradient(160deg, #fde5d8, #f7c9b0); }
.story__art--2 { background: linear-gradient(160deg, #f7ebd9, #e8d3b0); }
.story__art .animal { width: 58%; margin-bottom: -14%; }
.story__tag { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 700; background: #fff3b8; color: #5b4300; border: 1px dashed #c79a00; border-radius: 6px; padding: 2px 8px; }
.story__body { padding: 20px; display: grid; gap: 8px; }
.story__body p { color: var(--ink-2); }

/* ---------- Transparency ---------- */
.transp__grid { display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: 16px; }
.transp__grid--2 { margin-top: 16px; }
.person { display: flex; gap: 14px; align-items: flex-start; }
.person__avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-900); color: var(--gold); }
.person__avatar .icon { width: 28px; height: 28px; }
.person strong { display: block; font-size: 1.05rem; }
.person__role { display: block; font-size: .88rem; color: var(--ink-3); margin-bottom: 6px; }
.person p { color: var(--ink-2); }
.panel__text { color: var(--ink-2); margin-bottom: 14px; }
.alloc__list { display: grid; gap: 16px; }
.alloc__row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; margin-bottom: 6px; }
.alloc__track { height: 12px; border-radius: 999px; background: var(--teal-50); overflow: hidden; }
.alloc__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--teal-700), var(--teal-600)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.alloc__fill--empty { width: 100%; background: repeating-linear-gradient(45deg, #fff3b8, #fff3b8 8px, #ffe98a 8px, #ffe98a 16px); }
.facts { display: grid; gap: 12px; }
.facts div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font-weight: 600; }
.trust { display: grid; gap: 14px; margin-top: 22px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; background: var(--teal-50); border-radius: var(--radius); padding: 18px; }
.trust .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--teal-900); color: var(--gold); }
.trust h3 { font: 700 1rem/1.3 var(--body); letter-spacing: 0; }
.trust p { font-size: .92rem; color: var(--ink-2); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.1em; height: 1.1em; transform: rotate(90deg); transition: transform .2s; color: var(--coral); }
.faq details[open] summary .icon { transform: rotate(-90deg); }
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq__a { padding: 0 20px 20px; color: var(--ink-2); display: grid; gap: 10px; }

/* ---------- Final CTA ---------- */
.final { position: relative; color: #fff; background: radial-gradient(800px 380px at 10% 0, rgba(242, 106, 46, .26), transparent 60%), var(--teal-900); padding: clamp(56px, 8vw, 96px) 0; overflow: hidden; }
.final__grid { display: grid; gap: 28px; align-items: center; }
.final h2 { font-size: clamp(2rem, 4.4vw + .6rem, 3.2rem); }
.final__copy p { margin-top: 14px; font-size: 1.12rem; color: #d3e6e1; max-width: 30em; }
.final__card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-950); color: #b9d2cc; padding: 48px 0 28px; font-size: .94rem; }
.footer a { color: #e6f1ee; }
.footer__grid { display: grid; gap: 30px; }
.footer__brand p { margin-top: 12px; max-width: 26em; }
.footer__contact { display: flex; align-items: center; gap: 8px; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col h2 { font: 800 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__col a, .footer__col .linklike { color: #cfe3de; text-decoration: none; }
.footer__col a:hover, .footer__col .linklike:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: .84rem; color: #8fb0a8; }
.footer .ph { background: rgba(255, 243, 184, .14); color: var(--gold); border-color: rgba(244, 182, 63, .6); }

/* ---------- Sticky mobile CTA + consent ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 248, 238, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -6px 24px rgba(7, 43, 42, .16); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.sticky.is-visible { transform: none; visibility: visible; }
.sticky .btn { width: 100%; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 460px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.consent[hidden] { display: none; }
.consent__title { font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
body.has-consent .sticky { visibility: hidden; }

/* ---------- Thank-you + legal pages ---------- */
.thanks { padding: clamp(40px, 8vw, 96px) 0; min-height: 60vh; background: radial-gradient(700px 320px at 50% 0, var(--gold-l), transparent 70%), var(--cream); }
.thanks__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); text-align: center; display: grid; gap: 16px; justify-items: center; }
.thanks__card [hidden] { display: none !important; }
.thanks__card > div { display: grid; gap: 16px; justify-items: center; width: 100%; }
.thanks h1 { color: var(--teal-900); font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0; }
.thanks__lead { font: 600 1.25rem/1.4 var(--display); color: var(--coral-d); }
.thanks p { color: var(--ink-2); max-width: 34em; }
.thanks__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--coral-l); color: var(--coral); }
.thanks__icon .icon { width: 36px; height: 36px; fill: currentColor; }
.thanks__icon--wait, .thanks__icon--warn { background: var(--gold-l); color: #8a5a00; }
.thanks__icon--wait .icon, .thanks__icon--warn .icon { fill: none; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--teal-100); border-top-color: var(--teal-700); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.upsell { background: var(--teal-50); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 22px; gap: 12px !important; }
.upsell h2 { font-size: 1.4rem; color: var(--teal-900); }
.upsell[hidden] { display: none !important; }

.legal { padding: clamp(36px, 6vw, 80px) 0; background: #fff; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--teal-900); margin: 0 0 8px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.legal__updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 14px; }
.draftnote { background: #fff3b8; border: 1px dashed #c79a00; color: #5b4300; border-radius: 12px; padding: 12px 14px; margin-bottom: 22px; font-size: .92rem; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stories { grid-template-columns: repeat(3, 1fr); }
  .factbox { grid-template-columns: auto 1fr; gap: 24px; padding: 28px 32px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .ticks { display: grid; }
  .nav { display: flex; gap: 2px; }
  .hero { padding: 56px 0 84px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
  .hero__card { margin-top: 0; }
  .peek { top: -56px; }
  .peek .animal { width: 100px; }
  .panel-card { padding: 28px 26px 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .donate__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .donate__card { padding: 30px 28px; }
  .transp__grid { grid-template-columns: 1.1fr 1fr; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust li { flex-direction: column; }
  .final__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .final__card { padding: 28px; }
  .sticky { display: none !important; }
  .consent { left: 20px; right: auto; bottom: 20px; }
}
