/* giftgood — site styles */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0F063C;
  --lemon: #FFF58A;
  --lilac: #CDB8FF;
  --blush: #FFB0D0;
  --orange: #FF5A36;
  --cream: #FFFDF5;
  --lav: #F4EEFF;
  --muted: #4D4366;
  --line: #E4DCF3;
  --plumsoft: #3A2766;
  --white: #FFFFFF;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gap: clamp(10px, 1.4vw, 16px);
  --r: clamp(24px, 3vw, 40px);
  --r-in: clamp(16px, 1.8vw, 22px);
  --pad: clamp(24px, 5vw, 64px);
  --h-size: clamp(40px, 5vw, 72px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.023em; line-height: 0.95; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hand { font-family: var(--hand); font-weight: 700; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--lemon); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; }
.chip:hover { background: var(--lilac); }
a.btn { text-decoration: none; }

/* ===== Page: white, with rounded colour blocks ===== */
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); max-width: 1440px; margin: 0 auto; padding: 0 var(--gap) var(--gap); }
.block { border-radius: var(--r); padding: var(--pad); min-width: 0; }
.sec-title { font-size: var(--h-size); max-width: 16ch; }
.sec-lede { margin-top: 14px; font-size: clamp(17px, 1.5vw, 19px); max-width: 52ch; color: var(--muted); font-weight: 500; }

/* buttons: plum pill with a solid offset shadow */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; box-shadow: 6px 6px 0 var(--lilac); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--lilac); }
.btn:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--lilac); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 16px; box-shadow: 4px 4px 0 var(--lilac); }
.btn-sm:hover { box-shadow: 6px 6px 0 var(--lilac); }
.on-orange .btn { box-shadow: 6px 6px 0 var(--lemon); }
.on-orange .btn:hover { box-shadow: 8px 8px 0 var(--lemon); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--white); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav .wrap { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; padding-left: max(calc(var(--gap) + 12px), env(safe-area-inset-left, 0px)); padding-right: max(calc(var(--gap) + 12px), env(safe-area-inset-right, 0px)); }
.logo { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.027em; text-decoration: none; line-height: 1; }
.navlinks { display: flex; align-items: center; gap: 30px; font-weight: 600; }
.navlinks .tl { text-decoration: none; }
.navlinks .tl:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 860px) { .navlinks .tl { display: none; } .logo { font-size: 28px; } }

/* hero */
.hero { background: var(--lemon); display: grid; gap: 28px; overflow: hidden; }
.hero h1 { font-size: var(--h-size); line-height: 0.9; letter-spacing: -0.025em; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; max-width: 34ch; margin: 26px 0 32px; }
.vid { background: var(--cream); position: relative; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 17px; overflow: hidden; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.play { width: 76px; height: 76px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin: 0 auto 14px; }
.play i { width: 0; height: 0; border-left: 23px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
/* desktop: hero fills the screen, video fills the right side edge to edge */
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; min-height: clamp(480px, calc(100svh - 74px - 2 * var(--gap) - 124px), 760px); padding: 0; }
  .hero .copy { padding: var(--pad); }
  .vid { align-self: stretch; }
}
/* mobile: scroll down and the video fills the screen, like a phone video */
@media (max-width: 899px) {
  /* the yellow block fills the first screen; the video is its own block underneath */
  .hero { background: none; border-radius: 0; padding: 0; overflow: visible; gap: var(--gap); }
  .hero .copy { display: flex; flex-direction: column; justify-content: center; background: var(--lemon); border-radius: var(--r); padding: var(--pad); }
  /* order on mobile: yellow hero, charity carousel, then the video */
  .page > * { order: 10; }
  .hero { display: contents; }
  .hero .copy { order: 1; }
  .strip { order: 2; }
  .hero .vid { order: 3; }
  .vid { border-radius: var(--r); aspect-ratio: 4 / 5; width: 100%; box-shadow: inset 0 0 0 1.5px var(--line); }
}

/* charity carousel */
.strip { background: none; padding-inline: 0; padding-block: 8px; overflow: hidden; }
.ch-viewport { overflow: hidden; padding-block: 22px; }
.ch-track { display: flex; width: max-content; }
.ch-tile { flex: 0 0 auto; margin-right: 44px; display: flex; align-items: center; gap: 12px; padding: 6px; background: none; border: none; border-radius: 16px; color: var(--ink); transition: transform .15s ease; }
.ch-tile .mono { width: 58px; height: 58px; border-radius: 50%; }
.ch-tile .nm { font-family: var(--body); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .ch-track { animation: slide 50s linear infinite; will-change: transform; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .ch-viewport { overflow-x: auto; } }
.mono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; flex-shrink: 0; }
.m-lemon { background: var(--lemon); color: var(--ink); }
.m-lilac { background: var(--lilac); color: var(--ink); }
.m-orange { background: var(--orange); color: var(--ink); }

/* how it works */
.how { background: var(--lilac); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { padding: 0 8px 0 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.num { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.steps h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.018em; line-height: 1.02; }
.steps p { color: var(--ink); }

/* meet the charities */
.catalogue { background: var(--lav); display: flex; flex-direction: column; gap: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .chip { background: var(--white); border: 0; box-shadow: none; }
.filters .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.ccard { background: var(--white); border-radius: var(--r-in); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ccard .ctop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.logo-ph { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.013em; }
.cpill { font-size: 12px; font-weight: 700; background: #F1EBFF; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.ccard h3 { font-size: 25px; letter-spacing: -0.018em; line-height: 1.02; }
.ccard p { font-size: 17px; color: var(--muted); }
.ccard .web { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--lilac); }
.ccard .web:hover { text-decoration-color: var(--ink); }
.ccard .demo-note { font-size: 13px; font-weight: 600; color: var(--muted); }
.ccard .btn { min-height: 48px; padding: 0 20px; font-size: 15px; white-space: nowrap; box-shadow: 4px 4px 0 var(--lilac); align-self: flex-start; }

/* faq */
.faq { background: var(--lemon); display: grid; gap: 28px; }
@media (min-width: 900px) { .faq { gap: 32px; } }
.qs { display: grid; gap: 0; }
.qs details { border-bottom: 1.5px solid rgba(31, 18, 53, 0.25); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.qs details[open] summary::after { transform: rotate(180deg); }
.qs details p { padding: 0 0 20px; max-width: 80ch; color: var(--muted); }

/* closing block + footer */
.end { background: var(--ink); color: var(--cream); display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); padding-top: clamp(64px, 9vw, 120px); }
.end-cta { display: grid; gap: 28px; align-items: end; }
.end h2 { font-size: var(--h-size); line-height: 0.92; letter-spacing: -0.025em; color: var(--lemon); max-width: 12ch; }
.end-side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.end-side p { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; max-width: 32ch; color: var(--lav); }
@media (min-width: 900px) { .end-cta { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.btn-lemon { background: var(--lemon); color: var(--ink); box-shadow: 6px 6px 0 var(--lilac); }
.btn-lemon:hover { box-shadow: 8px 8px 0 var(--lilac); }
.end-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-top: 28px; border-top: 1px solid rgba(255, 253, 245, 0.18); font-size: 15px; color: #CFC5E3; }
.end-logo { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.027em; line-height: 1; color: var(--cream); }
.end-foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; color: var(--cream); }
.end-foot nav a { text-decoration: none; }
.end-foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.end-mail { color: var(--cream); font-weight: 600; text-decoration: none; }
.end-mail:hover { text-decoration: underline; text-underline-offset: 4px; }


/* ===== gift flow ===== */

/* ===== Simple pages (privacy, 404) ===== */
.page-simple { background: var(--lav); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(48px, 8vw, 88px); line-height: 0.92; letter-spacing: -0.025em; }
.prose h2 { font-family: var(--body); font-weight: 800; font-size: 20px; letter-spacing: 0; line-height: 1.3; margin-top: 32px; }
.prose p { margin-top: 10px; max-width: 64ch; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.updated { margin-top: 14px; color: var(--muted); }
.lost { background: var(--lemon); min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; }
.lost h1 { font-size: clamp(48px, 9vw, 104px); line-height: 0.92; letter-spacing: -0.025em; max-width: 12ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Note shown when a "Gift a donation" button is tapped (gift flow not built yet) */
.ch-tile { text-decoration: none; }

/* ===== Mobile: tighter, less oversized scale ===== */
@media (max-width: 699px) {
  :root { --pad: 20px; --h-size: min(40px, 10.2vw); }
  body { font-size: 17px; }
  .logo { font-size: 24px; }
  .nav .btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: 3px 3px 0 var(--lilac); }
  .btn { min-height: 48px; padding: 0 24px; font-size: 16px; box-shadow: 5px 5px 0 var(--lilac); }
  .btn-lemon { box-shadow: 5px 5px 0 var(--lilac); }
  .hero .copy { padding-top: 40px; padding-bottom: 40px; min-height: 330px; }
  .how, .catalogue, .faq { padding-top: 40px; }
  .hero .lede { font-size: 17px; margin: 18px 0 24px; }
  .play { width: 60px; height: 60px; margin-bottom: 10px; }
  .play i { border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; }
  .sec-lede { font-size: 17px; margin-top: 10px; }
  .steps { margin-top: 36px; }
  .steps li { padding: 0; gap: 8px; }
  .num { width: 42px; height: 42px; font-size: 20px; margin-bottom: 6px; }
  .steps h3, .ccard h3 { font-size: 21px; }
  .catalogue, .faq { gap: 20px; }
  .ccard { padding: 20px; gap: 10px; }
  .ccard p { font-size: 16px; }
  .logo-ph { width: 56px; height: 56px; border-radius: 16px; font-size: 16px; }
  .qs summary { padding: 16px 0; font-size: 17px; }
  .qs details p { padding: 0 0 16px; }
  .end { gap: 40px; padding-top: 48px; }
  .end-side { gap: 20px; }
  .end-side p { font-size: 17px; }
  .end-logo { font-size: 26px; }
  .ch-tile .mono { width: 48px; height: 48px; }
  .ch-tile .nm { font-size: 17px; }
}

/* How it works: swipe carousel with a segmented bar on mobile */
.seg { display: none; }
@media (max-width: 759px) {
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: calc(2 * var(--pad)); margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 4px; scroll-padding-inline: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .seg { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .catalogue .seg { margin-top: -6px; }
  .seg button { flex: 0 1 34px; min-width: 14px; height: 24px; padding: 0; border: 0; background: none; position: relative; }
  .seg button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; background: rgba(31, 18, 53, 0.22); transition: background .2s ease; }
  .seg button.on::before { background: var(--ink); }
}

img.mono, img.logo-ph { object-fit: cover; display: block; }

/* charity names in the neutral body font */
.ccard h3 { font-family: var(--body); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }

/* charity pagination (tablet/desktop) */
.ccard.pg-off { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pager button { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); font-weight: 700; font-size: 16px; }
.pager button:hover:not(:disabled) { background: var(--lilac); }
.pager button.on { background: var(--lilac); }
.pager button:disabled { opacity: .35; cursor: default; }
@media (max-width: 700px) { .pager { display: none !important; } }

/* placeholder charity logos (carousel and cards): neutral grey */
.ch-tile span.mono { background: #ECEAF0; color: #6E6880; }
.ccard span.logo-ph { background: #ECEAF0; color: #6E6880; }

/* Meet our partners on lilac */
.catalogue .sec-lede { color: var(--ink); }
.ccard .web { text-decoration-color: var(--ink); }
.pager button.on { background: var(--ink); color: var(--white); }
.pager button:hover:not(:disabled):not(.on) { background: var(--lilac); }

/* charity card: divider, then website + social icons */
.clinks { display: flex; gap: 0; margin-top: auto; padding-top: 14px; border-top: 1.5px solid #E7E1F2; }
.clinks a:first-child { margin-left: -6px; }
.clinks svg { width: 24px; height: 24px; }
.ccard p { margin-bottom: 4px; }
.clinks a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .15s ease; }
.clinks a:hover { background: var(--lav); }
.clinks a[aria-disabled="true"] { opacity: .35; cursor: default; }
.clinks a[aria-disabled="true"]:hover { background: none; }

/* simple footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 22px 12px 14px; font-size: 16px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-weight: 600; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-links a + a::before { content: "·"; display: inline-block; margin: 0 12px; color: #A49DB5; }
.foot-right { display: flex; align-items: center; gap: 20px; }
.foot-social { display: flex; align-items: center; gap: 2px; padding-left: 20px; border-left: 1.5px solid var(--line); }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.foot-social a:hover { background: var(--lav); }
.foot-social a[aria-disabled="true"] { opacity: .4; cursor: default; }
.foot-social a[aria-disabled="true"]:hover { background: none; }
.end { padding-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 699px) {
  .foot { flex-direction: column; align-items: flex-start; padding: 18px 8px 10px; }
  .foot-links { gap: 10px 16px; font-size: 15px; }
  .foot-links a + a::before { display: none; }
  .foot-right { width: 100%; justify-content: space-between; }
  .foot-social { padding-left: 0; border-left: 0; order: -1; margin-left: -8px; }
}
.qs details p a { color: var(--ink); text-decoration-color: var(--ink); text-underline-offset: 3px; }

/* contact block */
.end-email { font-family: var(--body); font-weight: 800; font-size: clamp(20px, 2vw, 26px); color: var(--lemon); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--lilac); word-break: break-word; }
.end-email:hover { text-decoration-color: var(--lemon); }
.end-social { display: flex; gap: 6px; margin-left: -10px; }
.end-social svg { width: 32px; height: 32px; }
.end-social a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); }
.end-social a:hover { background: rgba(255, 253, 245, 0.12); }
.end-social a[aria-disabled="true"] { opacity: .45; cursor: default; }
.end-social a[aria-disabled="true"]:hover { background: none; }
@media (min-width: 900px) { .end-cta { align-items: start; } }

/* Mobile swipe rows: filters on one line; partner cards and steps peek the next one */
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex: 0 0 auto; }
  .cgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .cgrid::-webkit-scrollbar { display: none; }
  .ccard { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 759px) {
  /* same swipe UX as the charity cards: next card peeks, no bar */
  .steps { gap: 12px; padding-bottom: 8px; }
  .steps li { flex: 0 0 84%; scroll-snap-align: start; scroll-snap-stop: normal; background: var(--white); border-radius: var(--r-in); padding: 20px; }
  #stepSeg { display: none !important; }
}
.cempty { background: var(--white); border-radius: var(--r-in); padding: 24px; color: var(--muted); }

/* Mobile: Send a gift pinned to the bottom; centred logo */
.mcta { display: none; }
@media (max-width: 699px) {
  .nav .btn-sm { display: none; }
  .nav .wrap { justify-content: flex-start; }
  .navlinks { display: none; }
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; transform: translateY(110%); transition: transform .25s ease; visibility: hidden; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
  .mcta .btn { width: 100%; box-sizing: border-box; box-shadow: 4px 4px 0 var(--lilac); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 899px) { .hero .vid { display: none; } }
@media (max-width: 699px) { .mcta.show { transform: none; visibility: visible; } }

/* Mobile: centred logo with more room; centred hero; simple soft pill button with a gift icon */
.btn-ic { display: none; }
@media (max-width: 699px) {
  .nav .wrap { justify-content: center; padding-block: 22px; }
  .hero .copy { text-align: center; align-items: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .mcta .btn { gap: 10px; min-height: 56px; padding: 0 28px; background: var(--lilac); color: var(--ink); font-weight: 700; font-size: 18px; box-shadow: none; }
  .hero-cta:hover, .hero-cta:active, .mcta .btn:hover, .mcta .btn:active { box-shadow: none; transform: none; }
  .hero-cta:active, .mcta .btn:active { transform: scale(.98); }
  .btn-ic { display: block; flex: none; }
}

/* Mobile: no yellow hero block; medium-weight headings */
@media (max-width: 699px) {
  .hero .copy { background: none; min-height: 0; padding-top: 36px; padding-bottom: 36px; }
  h1, h2, h3 { font-weight: 500; letter-spacing: -0.015em; }
  .hero h1 { line-height: 1; letter-spacing: -0.02em; }
  .btn-ic { width: 28px; height: 28px; }
}

/* Mobile: bigger hero text */
@media (max-width: 699px) {
  .hero h1 { font-size: min(48px, 12.3vw); }
  .hero .lede { font-size: 19px; }
}

/* Mobile: tighter, more compact charity carousel */
@media (max-width: 699px) {
  .strip { padding-block: 0; }
  .ch-viewport { padding-block: 4px; }
  .ch-tile { margin-right: 24px; gap: 8px; padding: 4px; }
  .ch-tile .mono { width: 34px; height: 34px; font-size: 11px; }
  .ch-tile .nm { font-size: 15px; font-weight: 700; }
  .hero .copy { padding-bottom: 24px; }
}

/* Hero intro in two short paragraphs */
.hero .lede-a { margin-bottom: 12px; }
.hero .lede-b { margin-top: 0; }
@media (max-width: 699px) {
  .hero .lede { font-size: 16px; line-height: 1.5; max-width: 34ch; text-wrap: balance; }
  .hero .lede-a { margin-bottom: 10px; }
}

/* Mobile hero spacing modelled on an airy, centred layout */
@media (max-width: 699px) {
  .hero .copy { padding-top: 56px; padding-bottom: 40px; }
  .hero h1 { line-height: 1.06; }
  .hero .lede { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 37ch; }
  .hero .lede-a { margin: 26px auto 14px; }
  .hero .lede-b { margin: 0 auto 48px; }
}
@media (max-width: 699px) { .hero .lede { text-wrap: pretty; max-width: 330px; } }

/* Mobile: a little less white space above the logo and hero */
@media (max-width: 699px) {
  .nav .wrap { padding-block: 16px; }
  .hero .copy { padding-top: 28px; }
}

/* Mobile: peekaboo heart icon size; hero intro a touch larger, soft colour kept */
@media (max-width: 699px) {
  .btn-ic { width: 38px; height: 38px; margin-left: -8px; }
  .hero-cta, .mcta .btn { gap: 6px; }
  .hero .lede { font-size: 18px; line-height: 1.55; max-width: 340px; }
}

/* Mobile: even space above and below the charity carousel */
@media (max-width: 699px) { .strip { margin-bottom: 40px; } }

/* How it works: step illustrations, star stickers and arrows (mobile only) */
.step-art, .sticker, .step-arrow { display: none; }
@media (max-width: 699px) {
  .steps { gap: 28px; }
  .steps li { position: relative; gap: 12px; padding: 22px; }
  .steps li:nth-child(1) { background: var(--lav); }
  .steps li:nth-child(2) { background: var(--cream); }
  .steps li:nth-child(3) { background: var(--lemon); }
  .steps .num { display: none; }
  .step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .steps h3 { font-size: 29px; line-height: 1; letter-spacing: -0.02em; max-width: 7.5ch; }
  .steps p { font-size: 15px; line-height: 1.5; }
  .sticker { display: block; position: relative; flex: none; width: 72px; height: 72px; margin: -6px -4px 0 0; transform: rotate(-12deg); }
  .steps li:nth-child(2) .sticker { transform: rotate(10deg); }
  .steps li:nth-child(3) .sticker { transform: rotate(-8deg); }
  .sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sticker path { fill: var(--lemon); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
  .steps li:nth-child(2) .sticker path { fill: var(--blush); }
  .steps li:nth-child(3) .sticker path { fill: var(--orange); }
  .sticker b { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 3px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--ink); }
  .step-art { display: block; margin-top: auto; }
  .step-svg { display: block; width: 100%; height: auto; }
  .step-svg * { vector-effect: non-scaling-stroke; }
  .step-arrow { display: block; position: absolute; right: -46px; top: 150px; z-index: 2; overflow: visible; pointer-events: none; }
  .steps li:nth-child(2) .step-arrow { transform: scaleY(-1) rotate(-6deg); top: 140px; }
}

/* Charities (mobile): one doodle arrow above the filters, hinting the sideways swipe */
.cswipe { display: none; }
@media (max-width: 700px) {
  .chead { position: relative; }
  .cswipe { display: block; position: absolute; right: 4px; bottom: -18px; width: 62px; height: 48px; pointer-events: none; }
}

/* ===== Desktop and tablet: the same look as the updated mobile site ===== */
@media (min-width: 700px) {
  h1, h2, h3 { font-weight: 500; letter-spacing: -0.015em; }

  /* nav: soft lilac pill with the gift icon */
  .nav-cta { gap: 4px; background: var(--lilac); color: var(--ink); font-weight: 700; box-shadow: none; padding: 0 22px 0 14px; }
  .nav-cta:hover, .nav-cta:active { box-shadow: none; transform: none; background: #C0A6FF; }
  .nav-cta .btn-ic { display: block; width: 32px; height: 32px; }

  /* hero: white, centred, no yellow block or video placeholder (same as mobile) */
  .hero { display: block; background: none; min-height: 0; padding: 0; border-radius: 0; }
  .hero .vid { display: none; }
  .hero .copy { background: none; text-align: center; display: flex; flex-direction: column; align-items: center; padding: clamp(56px, 7vw, 104px) var(--pad) 40px; }
  .hero h1 { font-size: clamp(56px, 6.4vw, 92px); line-height: 1.04; letter-spacing: -0.025em; max-width: 14ch; }
  .hero .lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 520px; margin-inline: auto; }
  .hero .lede-a { margin: 28px auto 14px; }
  .hero .lede-b { margin: 0 auto 44px; }
  .hero-cta { gap: 6px; min-height: 60px; padding: 0 32px 0 22px; background: var(--lilac); color: var(--ink); font-weight: 700; font-size: 19px; box-shadow: none; }
  .hero-cta:hover, .hero-cta:active { box-shadow: none; transform: none; background: #C0A6FF; }
  .hero-cta .btn-ic { display: block; width: 42px; height: 42px; margin-left: -6px; }
  .strip { margin-bottom: 48px; }

  /* how it works: three colour cards with star stickers, illustrations and doodle arrows */
  .steps { gap: 40px; margin-top: 40px; }
  .steps li { position: relative; gap: 14px; padding: 26px; border-radius: var(--r-in); }
  .steps li:nth-child(1) { background: var(--lav); }
  .steps li:nth-child(2) { background: var(--cream); }
  .steps li:nth-child(3) { background: var(--lemon); }
  .steps .num { display: none; }
  .step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .steps h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1; letter-spacing: -0.02em; max-width: 7.5ch; }
  .steps p { font-size: 16px; line-height: 1.5; }
  .sticker { display: block; position: relative; flex: none; width: 80px; height: 80px; margin: -8px -6px 0 0; transform: rotate(-12deg); }
  .steps li:nth-child(2) .sticker { transform: rotate(10deg); }
  .steps li:nth-child(3) .sticker { transform: rotate(-8deg); }
  .sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sticker path { fill: var(--lemon); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
  .steps li:nth-child(2) .sticker path { fill: var(--blush); }
  .steps li:nth-child(3) .sticker path { fill: var(--orange); }
  .sticker b { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 3px; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink); }
  .step-art { display: block; margin-top: auto; padding-top: 8px; }
  .step-svg { display: block; width: 100%; height: auto; }
  .step-svg * { vector-effect: non-scaling-stroke; }
  .step-arrow { display: block; position: absolute; right: -52px; top: 46%; z-index: 2; overflow: visible; pointer-events: none; }
  .steps li:nth-child(2) .step-arrow { transform: scaleY(-1) rotate(-6deg); }
}
/* tablet: steps swipe like mobile, so the arrows sit where mobile has them */
@media (min-width: 700px) and (max-width: 759px) {
  .step-arrow { top: 150px; right: -46px; }
}

/* Hero in a rounded yellow container (mobile and desktop), white gift button */
.hero .copy { background: var(--lemon) !important; border-radius: var(--r); }
.hero .lede { color: #4D4366; }
.hero-cta, .hero-cta:hover, .hero-cta:active { background: var(--white) !important; }
@media (max-width: 699px) {
  .hero .copy { padding: 44px 20px 40px; }
  .hero .lede-b { margin-bottom: 32px; }
}
@media (min-width: 700px) {
  .hero { padding: 0; }
  .hero .copy { padding: clamp(64px, 8vw, 120px) var(--pad); }
  .hero-cta:hover { background: #FFFDF5 !important; }
}
/* even space above and below the charity carousel */
@media (max-width: 699px) { .strip { margin-top: 26px; margin-bottom: 26px; } }
@media (min-width: 700px) { .strip { margin-top: 10px; margin-bottom: 10px; } }

/* How it works: four steps */
.steps li:nth-child(4) { background: var(--white); }
.steps li:nth-child(4) .sticker path { fill: var(--lilac); }
.steps li:nth-child(4) .sticker { transform: rotate(8deg); }
.steps li:nth-child(1) .step-svg * { stroke-width: 0.9px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 700px) {
  .steps li { padding: 22px; }
  .steps h3 { font-size: clamp(24px, 2.1vw, 32px); }
  .sticker { width: 66px; height: 66px; }
  .sticker b { font-size: 28px; }
  .step-arrow { right: -44px; width: 52px; height: 40px; }
  .steps li:nth-child(3) .step-arrow { transform: rotate(4deg); }
}

/* How it works: five steps */
.steps li:nth-child(5) { background: #FFE3EE; }
.steps li:nth-child(5) .sticker path { fill: var(--lemon); }
.steps li:nth-child(5) .sticker { transform: rotate(-10deg); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 700px) {
  .steps li { padding: 20px; }
  .steps h3 { font-size: clamp(22px, 1.8vw, 28px); }
  .steps p { font-size: 15px; }
  .sticker { width: 58px; height: 58px; margin: -6px -6px 0 0; }
  .sticker b { font-size: 25px; }
  .step-arrow { right: -40px; width: 46px; height: 36px; }
}
/* tablet: five columns are too tight, so swipe like mobile */
@media (min-width: 700px) and (max-width: 1099px) {
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 28px; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .steps li { flex: 0 0 300px; scroll-snap-align: start; }
}
/* How it works: every card in the same cream */
@media (min-width: 0px) { .steps li, .steps li:nth-child(n) { background: var(--cream) !important; } }
/* tax deductible tag on charity cards */
.ctax { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #1F6B45; background: #E3F5EA; border-radius: 999px; padding: 4px 10px; margin-top: -2px; margin-bottom: 4px; }
.ctax::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
/* tax deductible tag: plain pill, same family as the category tag */
.ctax { color: var(--ink); background: #F1EBFF; gap: 0; }
.ctax::before { display: none; }
