/* 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; }
.center-text { text-align: center; }
.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; }
.story__tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .72rem; font-weight: 700; background: #fff3b8; color: #5b4300; border: 1px dashed #c79a00; border-radius: 6px; padding: 2px 8px; }
.ph-note { display: inline-block; background: #fff3b8; color: #5b4300; border: 1px dashed #c79a00; border-radius: 8px; padding: 6px 12px; font-size: .85rem; margin-top: 10px; }

/* ---------- 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--caps { text-transform: uppercase; letter-spacing: .02em; }
.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; }

/* ---------- Header (inner pages) ---------- */
.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, .94); 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; text-decoration: none; }
.header__logo { height: 44px; width: auto; }
.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); }

/* ---------- Generic section helpers (inner pages) ---------- */
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; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: #fff; }
.section--sand { background: var(--sand); }
.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; }
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; }
.fineprint { font-size: .85rem; color: var(--ink-3); margin-top: 18px; }
.pagehead h1 { color: var(--teal-900); }

/* =====================================================================================
   Campaign landing page — one column, six folds
   ===================================================================================== */
.page-home { background: var(--teal-900) radial-gradient(900px 480px at 100% 0, rgba(242, 106, 46, .22), transparent 62%) no-repeat; scroll-padding-top: 12px; }
.page-home .fold { position: relative; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.fold__title { font: 800 clamp(2.2rem, 9vw, 3.6rem)/1.05 var(--display); letter-spacing: -.02em; }
.fold__title--sm { font-size: clamp(1.7rem, 6.8vw, 2.5rem); }

/* Ticker */
.ticker { background: var(--gold); color: #3b2a00; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .88rem; }
.ticker__track { display: inline-flex; animation: ticker 60s linear infinite; padding: 9px 0; }
.ticker__track span { flex: none; padding: 0 2.6rem; }
@keyframes ticker { to { transform: translateX(-12.5%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { text-align: center; }
  .ticker__track { display: block; }
  .ticker__track span { display: inline; padding: 0; white-space: normal; }
  .ticker__track span:nth-child(n+2) { display: none; }
}

/* 1 — hero card */
.fold--hero { padding: 18px 0 8px; }
.hero-card { background: #fff; border: 5px solid var(--teal-600); border-radius: 30px; padding: 16px 16px 26px; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); text-align: center; }
.hero-card__brand { display: flex; justify-content: center; margin: 2px 0 12px; text-decoration: none; }
.hero-card__logo { width: min(250px, 72%); height: auto; }
.banner { position: relative; border-radius: 14px; overflow: hidden; background: var(--teal-900); }
.banner__top { background: var(--teal-900); color: #fff; font: 700 clamp(1.05rem, 4.6vw, 1.55rem)/1.25 var(--display); padding: 14px 12px 12px; }
.banner__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
/* The mosaic and the pairs may be swapped for uploaded photos right after load; hold them back for a moment so the
   illustrations never flash. They reveal on their own after 1.2 s if the script is blocked. */
.banner__grid[data-media-hero], .pairs[data-media-pairs] { opacity: 0; animation: media-reveal .01s linear 1.2s forwards; }
html.media-ready .banner__grid[data-media-hero], html.media-ready .pairs[data-media-pairs] { opacity: 1; animation: none; }
@keyframes media-reveal { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .banner__grid[data-media-hero], .pairs[data-media-pairs] { opacity: 1; } }
.banner__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.banner__tile .animal { position: absolute; width: 190%; max-width: none; left: -45%; bottom: -16%; }
.banner__tile img { width: 100%; height: 100%; object-fit: cover; }
.banner__grid--n3 { grid-template-columns: repeat(3, 1fr); }
.banner__grid--n4 { grid-template-columns: repeat(4, 1fr); }
.banner__grid--n6, .banner__grid--n9 { grid-template-columns: repeat(3, 1fr); }
.banner__grid--n7, .banner__grid--n8 { grid-template-columns: repeat(4, 1fr); }
.banner__tile--0 { background: #f7c9b0; } .banner__tile--1 { background: #bfdcd4; } .banner__tile--2 { background: #e8d3b0; } .banner__tile--3 { background: #fbd9b7; } .banner__tile--4 { background: #cfe1db; }
.banner__bottom { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: #3b2a00; font-weight: 800; padding: 10px 8px; font-size: clamp(.82rem, 3.3vw, 1.08rem); }
.banner__bottom .icon { width: 1.9em; height: 1.9em; background: #fff; border-radius: 8px; padding: .3em; color: var(--teal-900); }
.banner .story__tag { top: auto; bottom: 62px; }
.banner__img { width: 100%; height: auto; border-radius: 14px; }
.hero-card__pillrow { margin: 14px 0 2px; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.pill .icon { width: 1.1em; height: 1.1em; }
.pill:hover { background: var(--coral-d); }
.hero-card__title { font: 800 clamp(1.4rem, 5.6vw, 2.2rem)/1.2 var(--body); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); text-align: left; margin: 14px 0 12px; text-wrap: balance; }
.hl { background: var(--coral); color: #fff; padding: 0 .25em; border-radius: 5px; }
.hero-card__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left; margin-bottom: 20px; color: var(--ink-2); font-size: 1.06rem; }
.hero-card__lead { font-weight: 700; color: var(--ink); }
.hero-card__quote { margin-top: 16px; font: 700 1.12rem/1.4 var(--body); color: var(--teal-700); }
.hero-card__video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; margin-top: 18px; background: #000; }

/* 2 — support this cause */
.fold--support { padding: 36px 0 8px; text-align: center; color: #fff; }
.fold--support .wrap { max-width: 980px; }
.support__kicker { max-width: 24em; margin: 0 auto 12px; font-size: 1.05rem; color: #d3e6e1; }
.fold--support .fold__title { color: #fff; }
.support__sub { margin: 14px auto 26px; font-size: 1.15rem; color: #fff; opacity: .94; max-width: 28em; }
.gifts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gift { position: relative; background: #fff; color: var(--ink); border-radius: 24px; padding: 34px 20px 22px; box-shadow: 0 14px 36px rgba(0, 0, 0, .24); text-align: center; overflow: hidden; }
.gift__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; }
.gift__badge { position: absolute; top: 0; right: 0; background: var(--coral); color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; padding: 8px 16px 8px 18px; border-radius: 0 0 0 16px; }
.gift__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 2px; }
.gift__icon .icon { width: 40px; height: 40px; }
.gift__icon--0 { background: var(--teal-100); color: var(--teal-800); }
.gift__icon--1 { background: var(--coral-l); color: var(--coral-d); }
.gift__icon--2 { background: var(--gold-l); color: #8a5a00; }
.gift__icon--3 { background: #fff; color: var(--coral); box-shadow: var(--shadow-sm); }
.gift__amount { display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 2.7rem/1 var(--display); color: var(--coral); }
.gift__amount .icon { width: 1.4rem; height: 1.4rem; color: var(--teal-700); }
.gift h3 { font: 800 1.3rem/1.2 var(--body); letter-spacing: 0; color: var(--ink); }
.gift__text { color: var(--ink-2); max-width: 26em; }
.gift .btn { margin-top: 8px; }
.gift--other { display: grid; gap: 10px; justify-items: center; margin-top: 20px; background: linear-gradient(160deg, #fff8e1, #fde7a6); border: 3px solid var(--gold); padding-top: 30px; }
.gift__star { position: absolute; top: 14px; right: 18px; color: var(--gold); }
.gift__star .icon { width: 38px; height: 38px; fill: var(--gold); }
.gift__othertitle { font: 800 clamp(1.8rem, 7vw, 2.4rem)/1.1 var(--display); letter-spacing: -.01em; color: #b9770e; }
.gift__tagline { font-weight: 800; font-size: 1.1rem; color: var(--ink); }

/* 3 — before / after */
.fold--gallery { padding: 46px 0 6px; text-align: center; color: #fff; }
.fold--gallery .fold__title { color: #fff; }
.pairs { display: grid; gap: 20px; margin: 22px 0 26px; }
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); padding: 8px; border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.pair::before, .pair::after { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--teal-900); z-index: 1; }
.pair::before { left: -12px; }
.pair::after { right: -12px; }
.pair__half { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.pair__half img { width: 100%; height: 100%; object-fit: cover; }
.pair__half figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(7, 43, 42, .84); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; }
.pair__half--ph { display: grid; place-items: end center; }
.pair__half--ph .animal { width: 80%; margin-bottom: -8%; }
.pair__half--before { background: linear-gradient(160deg, #c9cdd0, #a9b3b6); }
.pair__half--before .animal { filter: grayscale(.8) saturate(.6) brightness(.92); }
.pair__half--after { background: linear-gradient(160deg, #fde5d8, #f7c9b0); }
.fold--gallery .btn { margin-top: 4px; }

/* 4 — how the rescue works */
.fold--how { padding: 44px 0 6px; }
.how-card { background: var(--cream); border: 4px solid var(--gold); border-radius: 26px; padding: 26px 16px 20px; box-shadow: 0 14px 36px rgba(0, 0, 0, .24); }
.how-card__title { font: 800 clamp(1.6rem, 7vw, 2.3rem)/1.1 var(--body); letter-spacing: .01em; text-transform: uppercase; text-align: center; color: var(--coral-d); margin-bottom: 20px; }
.how-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.how-step { background: var(--teal-950); color: #e6efec; border: 2px solid var(--gold); border-radius: 16px; padding: 18px 18px 20px; }
.how-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.how-step__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--gold); color: var(--teal-950); }
.how-step h3 { font: 800 1.1rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.how-step p { line-height: 1.65; }

/* 5 — our rescue, since … */
.fold--about { padding: 44px 0 0; }
.about-card { background: var(--cream); border: 4px solid var(--gold); border-radius: 26px; overflow: hidden; box-shadow: 0 14px 36px rgba(0, 0, 0, .24); }
.about-card__strip { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--teal-950); color: var(--gold-l); text-align: center; font-weight: 700; font-size: 1.05rem; padding: 18px 16px; }
.about-card__strip .icon { color: var(--gold); }
.about-card__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 20px 28px; }
.about-card__title { font: 800 clamp(1.6rem, 7vw, 2.4rem)/1.12 var(--body); letter-spacing: -.01em; text-transform: uppercase; text-align: center; color: var(--teal-900); }
.about-card__since { display: inline-block; }
.about__lead, .about__body { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.about__quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 1.08rem; color: var(--ink-2); }
.about__callout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; background: #fff; border: 2px dashed var(--gold); border-radius: 16px; padding: 16px 18px; color: var(--ink-2); }
.about__callout-lead { font-weight: 800; color: var(--ink); }
.about__buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; }
.about__buttons .btn { min-width: 220px; }
.about__closing { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.about__dot { flex: none; width: 14px; height: 14px; margin-top: .45em; border-radius: 50%; background: var(--gold); }

/* 6 — closing logo block */
.fold--closing { padding: 26px 0 0; }
.closing__squiggle { display: flex; justify-content: center; color: var(--cream); }
.squiggle { width: 230px; height: auto; }
.squiggle__heart { fill: var(--flame); }
.closing { margin-top: 10px; padding: 42px 0 38px; background: var(--cream); }
.closing__logo { width: min(100%, 560px); height: auto; margin: 0 auto; }

/* ---------- Donation sheet (gift → details → Stripe payment) ---------- */
body.is-locked { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; }
.gate[hidden] { display: none; }
.gate__backdrop { position: absolute; inset: 0; background: rgba(7, 43, 42, .74); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.gate__sheet { position: relative; width: 100%; max-height: calc(100dvh - 20px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow); animation: sheet-in .22s ease-out; outline: 0; }
@keyframes sheet-in { from { transform: translateY(26px); opacity: 0; } }
.gate__close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--teal-50); color: var(--teal-900); cursor: pointer; }
.gate__close:hover { background: var(--teal-100); }
.gate .dm__heading { padding: 0 34px; }

/* ---------- Donation widget ---------- */
.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; }
.dw { position: relative; display: grid; gap: 12px; }
.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__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: grid; gap: 6px; }
.dw__otherlabel { font-weight: 800; font-size: .92rem; color: var(--ink); }
.dw__hint { font-weight: 500; color: var(--ink-3); }
.dw__otherfield { position: relative; }
.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(--line-cool); border-radius: 14px; font-size: 1.15rem; font-weight: 700; background: #fff; }
.dw__input:focus, .dw.is-other .dw__input { border-color: var(--teal-600); outline: 0; box-shadow: 0 0 0 3px rgba(27, 124, 117, .18); }
.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; }
.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); }
.dw__fine a { color: inherit; }
.dw--compact .dw__amounts { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dw--compact .dw__chip { min-height: 52px; font-size: 1rem; padding: 0; border-radius: 12px; }
.dw--compact .dw__impact { font-size: .9rem; padding: 9px 11px; }

.dm { display: grid; gap: 14px; }
.dm__heading { font-size: 1.3rem; line-height: 1.2; text-align: center; color: var(--teal-900); }
.dm__steps { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.dm__steps[hidden], .dm__step[hidden], .dm__live[hidden], .urgent__goal[hidden], .said[hidden], .said__item[hidden], [data-goal-title-wrap][hidden] { display: none; }
.dm__steps li { display: flex; align-items: center; gap: 6px; padding: 4px 11px 4px 5px; border-radius: 999px; background: var(--teal-50); }
.dm__steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-cool); font-size: .74rem; }
.dm__steps li.is-active { background: var(--teal-900); color: #fff; }
.dm__steps li.is-active span { background: var(--gold); border-color: var(--gold); color: #3b2a00; }
.dm__steps li.is-done { color: var(--teal-800); }
.dm__steps li.is-done span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.dm__title { font-size: 1.15rem; line-height: 1.25; text-align: center; color: var(--teal-900); }
.dm__summary { text-align: center; font-size: .94rem; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 9px 12px; }
.dm__form, .dm__pay { display: grid; gap: 12px; }
.dm__mount { min-height: 140px; border-radius: 14px; overflow: hidden; }
.dm__loading { text-align: center; color: var(--ink-3); padding: 36px 8px; }
.dm__track { height: 12px; border-radius: 999px; background: var(--teal-50); overflow: hidden; margin-top: 8px; }
.dm__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--coral), var(--flame)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.dm__goalfine { font-size: .78rem; line-height: 1.4; color: var(--ink-3); margin-top: 8px; }
.dm__live { padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.dm__livetitle { font-weight: 800; font-size: .9rem; color: var(--ink-2); }
.dm__live .fineprint { margin-top: 6px; font-size: .74rem; }
.live__list { display: grid; gap: 6px; margin-top: 8px; }
.live__list li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.live__list time { color: var(--ink-3); font-size: .82rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"] { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid var(--line-cool); border-radius: 12px; background: #fff; font-size: 1.02rem; }
.field input:focus { border-color: var(--teal-600); outline: 0; box-shadow: 0 0 0 3px rgba(27, 124, 117, .18); }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal-700); flex: none; }
.linklike { font-size: inherit; font-weight: 700; color: var(--teal-700); }

/* ---------- Urgency + real progress (top of step 1) ---------- */
.urgent { display: grid; gap: 10px; text-align: center; background: linear-gradient(160deg, #f6853a, var(--flame)); color: #fff; border-radius: 18px; padding: 16px 14px 14px; box-shadow: var(--shadow-sm); }
.urgent__title { font: 800 1.2rem/1.2 var(--body); letter-spacing: -.01em; }
.urgent__sub { font-size: .9rem; line-height: 1.4; opacity: .95; }
.urgent__goal { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 12px 10px; display: grid; gap: 8px; }
.urgent__pct { display: grid; gap: 2px; justify-items: center; font-size: .82rem; line-height: 1.35; color: var(--ink-2); font-weight: 600; }
.urgent__pct strong { font: 800 2rem/1 var(--display); color: var(--coral); }
.urgent__figures { font-size: .82rem; color: var(--ink-2); }
.urgent__figures[hidden] { display: none; }
.urgent__figures strong { color: var(--ink); }
.urgent .dm__goalfine { margin-top: 0; }
.urgent__note[hidden] { display: none; }
.urgent__note { background: rgba(255, 255, 255, .94); color: var(--teal-900); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .92rem; }
.urgent__secure { display: inline-flex; justify-self: center; align-items: center; gap: 6px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .8rem; }
.urgent__secure .icon { width: 1em; height: 1em; color: var(--teal-700); }
@media (max-height: 740px) { .urgent__sub { display: none; } }

/* ---------- Social proof: messages from real donors ---------- */
.said { border-top: 1px solid var(--line); padding-top: 14px; }
.said__title { font: 800 1.1rem/1.2 var(--body); letter-spacing: 0; text-align: center; color: var(--ink); margin-bottom: 4px; }
.said__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.said__item:last-child { border-bottom: 0; }
.said__avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-900); color: var(--gold); font-weight: 800; }
.said__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .92rem; }
.said__meta { color: var(--ink-3); font-size: .82rem; }
.said__amount { background: var(--teal-100); color: var(--teal-800); border-radius: 6px; padding: 1px 8px; font-weight: 800; font-size: .78rem; }
.said__text { color: var(--ink-2); font-size: .96rem; margin-top: 4px; }
.said__more { display: flex; margin: 6px auto 0; }
.said-form { display: grid; gap: 10px; width: 100%; text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.said-form > div { display: grid; gap: 10px; width: 100%; justify-items: stretch; }
.said-form h2 { font-size: 1.2rem; color: var(--teal-900); }
.said-form p { color: var(--ink-2); font-size: .95rem; }
.said-form textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line-cool); border-radius: 12px; background: #fff; font-size: 1rem; resize: vertical; min-height: 90px; }
.said-form textarea:focus { border-color: var(--teal-600); outline: 0; box-shadow: 0 0 0 3px rgba(27, 124, 117, .18); }
.said-form__count { text-align: right; font-size: .8rem !important; color: var(--ink-3) !important; }
.said-form .btn { justify-self: start; }
.said-form__done { color: var(--teal-800) !important; font-size: 1rem !important; }

/* Real-gift pop-up (confirmed payments only, opt-in first names) */
.proofpop { position: fixed; left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 50; max-width: 340px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 10px 10px 12px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: pop-in .3s ease-out; }
@keyframes pop-in { from { transform: translateY(14px); opacity: 0; } }
.proofpop__dot { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-900); color: var(--gold); font-weight: 800; }
.proofpop__text { flex: 1; font-size: .9rem; line-height: 1.3; }
.proofpop__text time { display: block; color: var(--ink-3); font-size: .78rem; }
.proofpop__x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.proofpop__x:hover { background: var(--teal-50); }
body.is-locked .proofpop { display: none; }

/* ---------- Transparency (about page) ---------- */
.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); }
.section--cream .panel { background: var(--cream); }
.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; }

/* ---------- 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; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-950); color: #b9d2cc; padding: 36px 0 28px; font-size: .94rem; text-align: center; }
.footer a { color: #e6f1ee; }
.footer__inner { display: grid; gap: 20px; justify-items: center; }
.footer__logo { display: inline-flex; }
.footer__logoimg { width: 240px; height: auto; }
.footer__socials { display: flex; gap: 12px; }
.footer__social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--teal-900); }
.footer__social:hover { background: var(--gold-l); color: var(--teal-900); }
.footer__social .icon { width: 22px; height: 22px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer__links a, .footer__links .linklike { color: #cfe3de; text-decoration: none; font-weight: 600; }
.footer__links a:hover, .footer__links .linklike:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: flex; align-items: center; gap: 8px; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.footer__legal { margin-top: 28px; 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: 80; 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, body.is-locked .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; }
  .transp__grid { grid-template-columns: 1fr 1fr; }
  .gate { place-items: center; }
  .gate__sheet { max-width: 520px; max-height: min(92dvh, 880px); border-radius: 24px; padding: 28px 26px 24px; }
  .about__buttons { grid-template-columns: repeat(2, max-content); justify-content: start; }
}
@media (min-width: 760px) {
  .gifts { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .gift__form { height: 100%; align-content: start; }
  .gift__form .btn { align-self: end; margin-top: auto; }
  .gift__text { font-size: .96rem; }
  .gift--other { max-width: 620px; margin-left: auto; margin-right: auto; }
  .hero-card { padding: 22px 28px 32px; }
  .pairs { grid-template-columns: 1fr 1fr; }
  .about-card__body { padding: 32px 36px 36px; }
  .how-card { padding: 32px 28px 26px; }
}
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: flex; gap: 2px; }
  .transp__grid { grid-template-columns: 1.1fr 1fr; }
  .sticky { display: none !important; }
  .consent { left: 20px; right: auto; bottom: 20px; }
  .proofpop { left: 20px; right: auto; bottom: 20px; }
}
