/* Design 5: the new AutoGive homepage. A calm, light take: design 4's clear hierarchy and gentle
   motion with the brand's font, logo hearts, hand-drawn underline and "together" bounding-box.
   Colors are the 2026 Figma style-guide colors plus soft blends between them (tints with white,
   and one dark ink between deep purple and black) so nothing on the page shouts. */

:root {
  /* Style guide */
  --white: #fff;
  --pink: #e940a5;
  --purple: #7c44e1;
  --rich: #4b0cbe;
  --deep: #593e8d;
  --lav: #e0d4f8;
  --blush: #fcf5fd;
  --gold: #ffd863;
  --gold-lt: #fbe9ab;
  --green: #60cb88;
  --gray: #f5f5f5;
  /* Blends between style-guide colors */
  --ink: #2a1a4a;        /* deep purple toward black: headlines */
  --lav-50: #f3eefc;     /* lavender toward white */
  --gold-50: #fdf5d9;    /* light gold toward white */
  --pink-50: #fdeaf5;    /* pink toward white */
  --green-50: #e4f6eb;   /* green toward white */
  --green-dk: #2f8f58;   /* green toward deep purple/black: text on green tint */
  --brand: linear-gradient(120deg, var(--pink), var(--purple));
  /* Goal meter gradient, sampled from Figma "AG UX For Team" › Progress_Meter (Goal_Gradient). It spans the whole track; the fill reveals part of it. */
  --meter: linear-gradient(90deg, #b893f5 0%, #8a56e6 17%, #c8a8fd 38%, #a74dd7 58%, #e940a5 78%, #ff00ff 95%);
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hair: 1px solid var(--lav);
  --sh-sm: 0 1px 2px rgba(89, 62, 141, 0.06), 0 6px 16px -6px rgba(89, 62, 141, 0.12);
  --sh-md: 0 2px 4px rgba(89, 62, 141, 0.04), 0 22px 44px -20px rgba(89, 62, 141, 0.28);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M20.84 1.96C18.36 0 14.78.5 12.65 2.86l-.83.93-.9-.86C8.62.73 5.01.49 2.68 2.64 0 5.09.02 9.33 2.57 11.8l8.85 8.47c.57.55 1.46.52 1.99-.07l8.21-9.1c2.38-2.65 2.08-6.88-.78-9.14Z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--deep);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.038em; }
h1 { letter-spacing: -0.042em; }
h3 { font-weight: 600; letter-spacing: -0.024em; line-height: 1.25; }
p { margin: 0; }
b, strong { font-weight: 600; color: var(--ink); }

.page { overflow-x: clip; }

.d5-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.d5-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.d5-pink { color: var(--pink); }
.d5-purple { color: var(--purple); }

/* ---------- Header ---------- */
.d5-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.d5-header.is-stuck { border-bottom-color: var(--lav); box-shadow: 0 6px 20px -14px rgba(89, 62, 141, 0.35); }
.d5-header-in { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: height 0.4s var(--ease); }
.d5-logo { width: 112px; height: auto; transition: width 0.4s var(--ease); }
.d5-header .d5-btn--sm { transition: transform 0.2s var(--ease), box-shadow 0.2s ease, min-height 0.4s var(--ease), padding 0.4s var(--ease), font-size 0.4s var(--ease); }
.d5-header.is-stuck .d5-header-in { height: 52px; }
.d5-header.is-stuck .d5-logo { width: 98px; }
.d5-header.is-stuck .d5-btn--sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.d5-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.d5-header.is-stuck .d5-progress { opacity: 1; }
.d5-nav { display: none; gap: 30px; font-size: 15px; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.d5-nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--pink), var(--pink)) left bottom / 0 2px no-repeat; transition: background-size 0.25s ease; }
.d5-nav a:hover { background-size: 100% 2px; }
.d5-header-btns { display: flex; gap: 10px; }
.d5-header .d5-signin { display: none; }

/* ---------- Buttons ---------- */
.d5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pink), #d942b3);
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(233, 64, 165, 0.25), 0 12px 24px -10px rgba(233, 64, 165, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.d5-btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(233, 64, 165, 0.25), 0 18px 30px -12px rgba(233, 64, 165, 0.6); }
.d5-btn:active { transform: translateY(0); filter: brightness(0.97); }
.d5-btn:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.d5-btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lav), var(--sh-sm); }
.d5-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--purple), var(--sh-sm); }
.d5-btn--black { background: linear-gradient(120deg, var(--pink), #d942b3); }
.d5-btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.d5-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: 0 6px 14px -8px rgba(233, 64, 165, 0.6); }
.d5-btn--sm.d5-btn--ghost { box-shadow: inset 0 0 0 1px var(--lav); }
.d5-btn--sm.d5-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--purple); }
/* Icon rule (CLAUDE.md, 2026-11-21): icons in buttons, pills, chips, callouts and title rows carry -8px top and bottom margins, so
   resizing one in the CSS Editor never makes its parent taller. */
.d5-btn-hearts { width: 18px; height: auto; flex: none; margin: -8px 0; transition: transform 0.4s var(--bounce); }
.d5-btn:hover .d5-btn-hearts { transform: translateY(-2px) scale(1.12); }

/* ---------- Brand marks: underline, highlighter, key words, hearts ---------- */
.d5-u { position: relative; display: inline-block; white-space: nowrap; }
.d5-u svg { position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: 0.16em; overflow: visible; }
/* Hidden dash sits wholly before the start (offset 1.05, gap 2), so its round end cap can't leave a dot before the draw (fixed 2026-11-18, all sizes). */
.d5-u path { stroke-width: 4; stroke-dasharray: 1 2; stroke-dashoffset: 1.05; animation: d5-draw 0.8s ease-out 0.7s forwards; }
@keyframes d5-draw { to { stroke-dashoffset: 0; } }

/* Soft highlighter that sweeps in behind a key phrase. */
.d5-hl {
  margin: 0 -0.06em;
  padding: 0 0.06em;
  background: linear-gradient(var(--gold-lt), var(--gold-lt)) no-repeat 0 86% / 0% 0.36em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1s var(--ease) calc(var(--rd, 0s) + 0.5s);
}
[data-reveal].is-in .d5-hl,
html:not(.js) .d5-hl { background-size: 100% 0.36em; }

/* Key words in running text, as on www: a little heavier, purple, softly underlined. */
.d5-kw {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--lav);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@keyframes d5-bob { 50% { transform: translateY(-6px); } }

/* Big soft hearts behind sections. */
.d5-blob { position: absolute; z-index: 0; height: auto; pointer-events: none; }

/* Small hearts that drift beside photos and the phone. */
.d5-float { position: absolute; z-index: 3; width: 26px; height: auto; animation: d5-bob 4s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(89, 62, 141, 0.18)); }

/* Entrance for the hero. */
.d5-rise { animation: d5-rise 0.8s var(--ease) var(--d, 0s) both; }
@keyframes d5-rise { from { opacity: 0; transform: translateY(18px); } }

.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: d5-in 1s var(--ease) var(--rd, 0s) backwards; }
@keyframes d5-in { from { opacity: 0; transform: translateY(26px); } }
.js [data-reveal]:not(.is-in) .d5-u path { animation: none; }
[data-reveal] .d5-u path { animation-delay: calc(var(--rd, 0s) + 0.45s); }
.d5-feature-grid > :nth-child(2),
.d5-quote-grid > :nth-child(2),
.d5-chat,
.d5-receipt,
.d5-private-copy { --rd: 0.14s; }
.d5-feature-grid > :nth-child(3),
.d5-quote-grid > :nth-child(3) { --rd: 0.28s; }

/* Lists marked d5-stag bring their items in one after another (--i is set by a small script). */
.d5-stag > * { transition: opacity 0.6s ease, transform 0.7s var(--ease); transition-delay: calc(var(--rd, 0s) + var(--i, 0) * 90ms + 0.25s); }
.js [data-reveal]:not(.is-in) .d5-stag > *,
.js .d5-stag[data-reveal]:not(.is-in) > * { opacity: 0; transform: translateY(12px); }

/* Shared little motions. */
@keyframes d5-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 48% { transform: scale(1); } }
@keyframes d5-fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.d5-hero {
  position: relative;
  padding: 32px 0 56px;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(224, 212, 248, 0.85), transparent 70%),
    radial-gradient(45% 45% at 2% 78%, rgba(251, 233, 171, 0.5), transparent 70%),
    radial-gradient(40% 40% at 55% 0%, rgba(253, 234, 245, 0.9), transparent 70%),
    linear-gradient(var(--blush), var(--white));
}
.d5-hero .d5-blob { display: none; }
.d5-hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.d5-hero-copy { text-align: center; }

.d5-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border: var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--deep);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.2;
}
.d5-pill-heart { width: 15px; height: auto; flex: none; margin: -8px 0; animation: d5-beat 2.6s ease-in-out infinite; }

.d5-hero h1 { margin-top: 22px; font-size: 37px; line-height: 1.14; }
.d5-lede { margin: 22px auto 0; max-width: 520px; font-size: 18px; letter-spacing: -0.016em; }
.d5-lede b { color: var(--pink); }
/* The sub-headline's "monthly gift" uses the headline's hand-drawn purple underline (agreed 2026-11-17, all sizes). */
.d5-lede .d5-u { font-weight: 600; }
.d5-lede .d5-u svg { top: auto; bottom: -0.04em; height: 0.32em; }
/* Padlock after "private" (agreed 2026-11-17, all sizes): the "love lock" animation, src/static/home/assets/home/love-lock.svg (plays once).
   The span is the lock's footprint in the text (drawing x 150-330, y 150-390); the image is the full 480x480 drawing so the
   swung-out shackle and the hearts have room, positioned so the lock lands in the span. */
.d5-padlock { position: relative; display: inline-block; width: 0.6525em; height: 0.87em; margin-left: 0.1em; vertical-align: -0.04em; }
.d5-padlock img { position: absolute; left: -0.544em; top: -0.544em; width: 1.74em; height: 1.74em; max-width: none; pointer-events: none; }

.d5-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.d5-cta-note { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.d5-nw { white-space: nowrap; }
.d5-link {
  flex: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--rich);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--lav), var(--lav)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s ease;
}
.d5-link:hover { color: var(--purple); background-image: linear-gradient(var(--purple), var(--purple)); }
.d5-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 4px; }
.d5-link .d5-arrow { width: 16px; height: 16px; transform: rotate(90deg); transition: transform 0.3s var(--bounce); }
.d5-link:hover .d5-arrow { transform: rotate(90deg) translateX(3px); }
/* "See how it works" (agreed 2026-11-17, all sizes): Streamline Core Line play icon before the text, matching the old arrow's weight; it will open the explainer video. */
.d5-link--play { gap: 7px; }
/* The hero's two links, all sizes (2026-11-21; built on mobile first, then applied everywhere).
   - Play link: the circle is 20px across with the old line weight, and the triangle inside is solid. The triangle keeps its
     original size: it is scaled back by 18/20 about its own center of mass, which is also the circle's center, so it stays
     exactly centered.
   - Share link ("Tell a Friend"): a button styled like the play link. A tap or click copies this page's link; for a moment
     the label reads "Link Copied!" and the link turns the darker green. The page script reserves room for the wider of the two labels.
   .d5-links wraps the pair so a layout can keep them side by side; by default it adds no box of its own. */
.d5-links { display: contents; }
/* Desktop (2026-11-21): the photo, callouts and card keep the sizes they have on the live site. Before the share link existed,
   the button row (button + "See how it works", 453px, never wrapping) set the text column's minimum width. The row is wider now,
   so that minimum is written out here instead of coming from the row, and the row may run a little into the 64px gap before
   the photo: its items sit 20px apart (was 28px) and it stops at least 15px short of the photo. While the share link reads
   "Link Copied!" its icon steps aside, so the longer words stay clear of the card. */
@media (min-width: 1024px) {
  .d5-hero .d5-hero-grid { grid-template-columns: minmax(453px, 1fr) 1.08fr; }
  .d5-hero .d5-hero-copy { min-width: 0; }
  .d5-hero .d5-hero-copy .d5-ctas { gap: 20px; }
  .d5-hero-copy .d5-link--share.is-copied .d5-share-ico { display: none; }
}
/* Tablet: the pair sits side by side, centered under the button (first pass 2026-11-21; to be refined). */
@media (min-width: 768px) and (max-width: 1023px) { .d5-links { display: flex; align-items: center; gap: 26px; } }
.d5-hero-copy a.d5-link--play .d5-play { width: 20px; height: 20px; }
.d5-hero-copy a.d5-link--play .d5-play path:first-child { fill: currentColor; transform-box: fill-box; transform-origin: 33.333% 50%; transform: scale(0.9); }
.d5-hero-copy a.d5-link--play .d5-play path:last-child { stroke-width: 1.8; }
.d5-link--share { border: 0; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.d5-share-label { display: inline-block; text-align: left; white-space: nowrap; }
.d5-share-ico { width: 13.1px; } /* the share drawing is narrower than it is tall; 18px high */
.d5-hero-copy .d5-link--share.is-copied, .d5-hero-copy .d5-link--share.is-copied:hover { color: var(--green-dk); }
.d5-link--share:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 6px; }
.d5-play { width: 18px; height: 18px; flex: none; margin: -8px 0; transition: transform 0.3s var(--bounce); }
.d5-link--play:hover .d5-play { transform: scale(1.12); }

.d5-uvps {
  list-style: none;
  margin: 34px auto 0;
  padding: 22px 0 0;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: var(--hair);
}
.d5-uvps li {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.3;
  text-align: center;
}
.d5-uvps strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.d5-ico { width: 30px; height: auto; overflow: visible; }
/* UVP icons stand on their own, no white circle (agreed 2026-11-17, all sizes). A soft purple shadow lifts them off the light background. */
.d5-uvps .d5-ico {
  width: 36px; height: 40px;
  filter: drop-shadow(0 4px 6px rgba(89, 62, 141, 0.16));
  transition: transform 0.3s var(--bounce);
}
.d5-uvps li:hover .d5-ico { transform: translateY(-3px); }

/* The stage: one family photo with two soft callouts (kept off the faces), then a live example AutoGive overlapping it. */
.d5-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
/* The three hearts sit on the photo's top-right corner (over sky, never a face) and bob gently. */
.d5-photo-hearts { position: absolute; z-index: 3; top: -16px; right: -10px; width: 46px; pointer-events: none; }
.d5-photo-hearts svg { display: block; width: 100%; height: auto; animation: d5-bob 4s ease-in-out infinite; }
/* The purple heart here is a light purple, a little deeper than the style guide's #E0D4F8 (agreed 2026-11-17, all sizes). */
.d5-photo-hearts path[fill="#593e8d"] { fill: #cdb9f5; }
/* The wrapper is exactly the photo's size; callouts sit in it (not in the clipped photo) so on tablet and desktop they can reach past its edges. */
.d5-photo-wrap { position: relative; }
.d5-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1600 / 925;
  border-radius: 28px;
  overflow: hidden;
  background: var(--lav);
  box-shadow: var(--sh-md);
}
.d5-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.08) contrast(1.02); } /* slightly brighter (agreed 2026-11-17, all sizes) */
.d5-callout {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px 7px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sh-sm);
  color: var(--deep);
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: d5-bob 5s ease-in-out infinite;
}
.d5-callout b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: -0.015em; }
.d5-callout-heart { width: 18px; height: auto; flex: none; margin: -8px 0; }
/* Dad (far left): on his shirt, below his face. Mom (far right): below her face. */
.d5-callout--dad { left: 3%; top: 52%; }
.d5-callout--mom { right: 3%; bottom: 7%; animation-delay: 1.4s; }
/* Kids (agreed 2026-11-17): top, a little left of center, in the sky above the grandchildren's heads. */
.d5-callout--kids { top: 3%; left: 43%; translate: -50% 0; animation-delay: 0.7s; }
/* Below desktop the photo is smaller: callouts are a little more compact but keep both lines, like desktop (agreed 2026-11-17).
   Dad and Mom sit in the bottom corners, below every face; the card sits under the photo. */
@media (max-width: 1023px) {
  .d5-callout { padding: 6px 11px 6px 8px; gap: 7px; font-size: 11px; }
  .d5-callout b { font-size: 12px; }
  .d5-callout-heart { width: 15px; }
  .d5-callout--dad { top: auto; bottom: 5%; }
  .d5-callout--mom { bottom: 5%; }
}
/* Phones: the photo is too small to hold two-line callouts without covering faces, so they straddle its edges instead:
   School over the top edge, Dad and Mom over the bottom edge, with extra room before the card. */
@media (max-width: 767px) {
  .d5-callout--kids { top: -18px; }
  .d5-callout--dad { left: 2%; bottom: -20px; }
  .d5-callout--mom { right: 2%; bottom: -20px; }
  .d5-photo-wrap + .d5-card { margin-top: 40px; width: 95%; max-width: none; }
  /* Like tablet and desktop: the UVPs sit between the sub-headline and the button. */
  .d5-hero-copy { display: flex; flex-direction: column; }
  .d5-hero-copy .d5-pill { align-self: center; }
  .d5-hero-copy .d5-uvps { order: 1; margin-top: 26px; padding: 18px 0; border-bottom: var(--hair); }
  .d5-hero-copy .d5-ctas, .d5-hero-copy .d5-cta-note { order: 2; }
}
/* Narrowest phones: tighter callouts so Dad's and Mom's never touch. */
@media (max-width: 359px) {
  .d5-photo-wrap .d5-callout { padding: 5px 8px 5px 6px; gap: 5px; font-size: 10px; }
  .d5-photo-wrap .d5-callout b { font-size: 11px; }
  .d5-photo-wrap .d5-callout-heart { width: 13px; }
  .d5-photo-wrap .d5-callout--dad { left: 1%; }
  .d5-photo-wrap .d5-callout--mom { right: 1%; }
}

.d5-card {
  position: relative;
  z-index: 4;
  margin: 26px auto 0;
  max-width: 430px;
  padding: 18px 20px 16px;
  border: var(--hair);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sh-md);
  text-align: left;
}
.d5-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d5-card-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; letter-spacing: -0.02em; }
.d5-card-heart { width: 18px; height: auto; flex: none; margin: -8px 0; }
.d5-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 7px;
  border-radius: 999px;
  background: var(--lav-50);
  color: var(--deep);
  font-size: 12px;
  font-weight: 500;
}
.d5-chip-ico { width: 12px; height: auto; flex: none; margin: -8px 0; overflow: visible; }
.d5-amt { margin-top: 8px; font-size: 14px; color: var(--deep); }
.d5-amt b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.d5-bar { height: 10px; margin-top: 8px; border-radius: 999px; background: var(--lav-50); overflow: hidden; }
.d5-bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width 0.8s var(--ease); }
/* Hero card: like Figma's mask, the gradient stays fixed to the full track and the fill uncovers it. */
#d5-bar { width: 100%; background: var(--meter); clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 0.8s var(--ease); }
.d5-bar--full span { background: linear-gradient(120deg, var(--green), #8bd9a6); }
.d5-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 30px; }
.d5-avs { list-style: none; display: flex; margin: 0; padding: 0 0 0 8px; }
.d5-avs li {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-left: -8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.d5-avs li.is-new { animation: d5-pop 0.5s var(--bounce) both; }
.d5-avs li.d5-avs-more { background: var(--lav-50); border-color: var(--white); color: var(--deep); font-size: 10.5px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
@keyframes d5-pop { from { transform: scale(0); } }
.d5-card-meta { font-size: 13px; color: var(--deep); }
.d5-toast {
  position: absolute;
  right: 16px;
  top: -15px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-dk);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--sh-sm);
  opacity: 0;
}
.d5-toast.is-on { animation: d5-toast 0.5s var(--bounce) both; }
/* Hearts that float up from the card when a supporter joins. */
.d5-burst {
  position: absolute;
  bottom: 50px;
  z-index: 5;
  width: 16px; height: 14px;
  background: var(--pink);
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  pointer-events: none;
  animation: d5-burst 1.5s var(--ease) both;
}
.d5-burst--1 { background: var(--purple); width: 12px; height: 11px; }
.d5-burst--2 { background: var(--gold); }
.d5-burst--3 { background: var(--green); width: 12px; height: 11px; }
@keyframes d5-burst {
  from { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  to { opacity: 0; transform: translate(var(--x, 0), -170px) scale(1.15); }
}
@keyframes d5-burst-tablet {
  from { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  to { opacity: 0; transform: translate(var(--x, 0), -80px) scale(1.15); }
}
@keyframes d5-toast { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: none; } }

/* ---------- Marquee of expenses ---------- */
.d5-uses { padding: 8px 0 30px; background: var(--white); }
.d5-uses-label { text-align: center; padding: 0 16px; font-size: 14.5px; }
.d5-uses-label b { color: var(--purple); }
.d5-marquee {
  display: flex;
  overflow: hidden;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.d5-marquee-track {
  flex: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 4px 5px;
  list-style: none;
  animation: d5-marquee 48s linear infinite;
}
.d5-marquee:hover .d5-marquee-track { animation-play-state: paused; }
.d5-marquee-track li {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border: var(--hair);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
}
.d5-marquee-track li svg { width: 13px; height: auto; opacity: 0.85; }
.d5-marquee-track li:nth-child(3n+2) { background: var(--gold-50); border-color: var(--gold-lt); }
.d5-marquee-track li:nth-child(3n) { background: var(--lav-50); }
@keyframes d5-marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.d5-section { position: relative; padding: 72px 0; }
.d5-section > .d5-wrap { position: relative; z-index: 1; }
.d5-section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.d5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px 6px 12px;
  border: var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--deep);
  font-size: 13px;
  font-weight: 500;
}
/* The pill's icon (a heart, or the lock in "Private by design") is a real svg in the page, not a ::before drawing, so the CSS
   Editor can select and resize it. -8px above and below: it can grow to about 31px tall before the pill gets any taller
   (icon rule, CLAUDE.md, 2026-11-21). */
.d5-kicker-ico { flex: none; width: 13px; height: auto; margin: -8px 0; overflow: visible; }
.d5-section h2 { font-size: 30px; text-wrap: balance; }
.d5-section-sub { margin-top: 14px; font-size: 18px; letter-spacing: -0.016em; }

/* The problem: the group chat everyone knows. */
.d5-pain { background: var(--white); padding-top: 56px; }
.d5-pain-grid { display: grid; gap: 40px; align-items: center; }
/* "Sound familiar?" list (2026-11-19, all sizes; Mobbin refs: Beside, Vizcom, Front): each problem is a row with a
   muted purple frown and a hairline between rows; the answer is the tinted last row with a green smile. Rows and the answer
   share the same side padding, so every face sits in one column. */
.d5-symptoms { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; }
.d5-symptoms li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0 11px 18px; }
.d5-symptoms li + li { border-top: var(--hair); }
.d5-face { flex: none; width: 22px; height: 22px; margin-top: 2px; stroke-width: 1.25; } /* 1.25 of 14 units = about 2px at 22px (Streamline supplies 1) */
.d5-face--sad { color: var(--deep); opacity: 0.45; }
.d5-face--happy { color: var(--green-dk); }
.d5-cross { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--deep); opacity: 0.4; }
.d5-check { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--green); }
.d5-pain-fix {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--green-50), var(--gold-50));
  color: var(--deep);
}
/* Family group chat as a phone screen (2026-11-19, all sizes). Same frame as the "How it works" phone, without the bob. */
.d5-pain-kicker { justify-self: start; margin-bottom: -24px; } /* its own grid row; -24 + the 40 gap = the kicker's usual 16 */
/* Button under the answer box (2026-11-21, all sizes): left-aligned with the copy; -16 + the 40 gap = 24 below the box. */
.d5-pain-cta { justify-self: start; margin: -16px 0 0; }
/* The headline is its own grid row (2026-11-21); -40 cancels the 40 gap, so the list still starts 20px under it. */
.d5-pain-h2 { margin-bottom: -40px; }
/* Wording that differs on tablet (2026-11-21): .d5-t-only is shown on tablet only, .d5-t-hide on phone and desktop only. */
.d5-t-only { display: none; }
/* Wording that differs on phones (2026-11-21): .d5-m-only is shown on phones only, .d5-m-hide on tablet and desktop only. */
.d5-m-only { display: none; }
/* Wording that differs on desktop (2026-11-21): .d5-d-only is shown on desktop only, .d5-d-hide on phone and tablet only. */
.d5-d-only { display: none; }
@media (min-width: 1024px) { .d5-d-only { display: inline; } .d5-d-hide { display: none; } }
.d5-chat-col { display: grid; justify-items: center; }
.d5-chat {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 310px;
  padding: 10px 12px 12px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(89, 62, 141, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.d5-chat .d5-phone-top { flex: none; padding: 0 6px; }
.d5-chat-head { flex: none; display: flex; align-items: center; gap: 8px; margin: 8px -12px 0; padding: 0 12px 10px; border-bottom: 1px solid var(--lav-50); }
.d5-chat-back { flex: none; width: 18px; height: 18px; color: var(--purple); }
.d5-chat-group { flex: none; display: flex; }
.d5-chat-group .d5-av { box-shadow: 0 0 0 2px var(--white); }
.d5-chat-group .d5-av + .d5-av { margin-left: -8px; }
.d5-chat-head p { min-width: 0; line-height: 1.25; }
.d5-chat-head b { display: block; font-size: 14px; }
.d5-chat-head p span { display: block; font-size: 11.5px; color: var(--deep); }
.d5-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 600; font-style: normal; }
.d5-av--pink { background: var(--pink-50); color: var(--pink); }
.d5-av--gold { background: var(--gold-50); color: #d9a93c; }
.d5-av--lav { background: var(--lav-50); color: var(--purple); }
/* Messages sit at the bottom of the screen, newest last; if the phone is shorter than the thread, the oldest scroll off the top. */
.d5-chat-thread { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 3px 0 10px; overflow: hidden; }
.d5-msg-in { display: flex; align-items: flex-end; gap: 6px; padding-top: 7px; }
.d5-msg--me .d5-msg-in { justify-content: flex-end; }
.d5-bubble { max-width: 82%; padding: 7px 12px 8px; border-radius: 17px 17px 17px 5px; background: var(--gray); color: var(--ink); font-size: 13px; line-height: 1.35; }
.d5-bubble small { display: block; font-size: 11px; font-weight: 600; color: var(--deep); }
.d5-bubble--me { border-radius: 17px 17px 5px 17px; background: var(--lav-50); }
.d5-say { display: block; }
.d5-typing { display: none; align-items: center; gap: 4px; height: 18px; }
.d5-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--deep); opacity: 0.35; animation: d5-dot 1.1s ease-in-out infinite; }
.d5-typing i:nth-child(2) { animation-delay: 0.15s; }
.d5-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes d5-dot { 30% { opacity: 0.9; transform: translateY(-2px); } 60% { opacity: 0.35; transform: none; } }
.d5-chat-dock { flex: none; position: relative; }
.d5-chat-input { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 5px 0 14px; border: var(--hair); border-radius: 999px; background: var(--white); opacity: 0; }
.d5-chat-field { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--ink); }
.d5-chat-typed:empty::before { content: "Message"; color: var(--deep); opacity: 0.55; }
.d5-chat-send { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lav-50); color: var(--purple); transition: background 0.25s ease, color 0.25s ease, transform 0.16s ease; }
.d5-chat-send svg { width: 15px; height: 15px; }
.d5-chat-send.is-ready { background: var(--purple); color: var(--white); }
.d5-chat-send.is-press { transform: scale(0.84); }
.d5-chat-fix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px 18px 24px 24px;
  background: linear-gradient(120deg, var(--pink-50), var(--lav-50));
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}
.d5-chat-fix svg { flex: none; width: 22px; height: auto; animation: d5-beat 2.2s ease-in-out infinite; }
.d5-chat-fix b { display: block; }
.d5-chat-fix span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--deep); }
/* The chat plays once when the phone scrolls into view (script in the page). "is-staged" is the script's starting state:
   messages folded away, the message field showing, the result hidden. Each message unfolds to its measured height, so
   the ones above glide up instead of jumping. */
.d5-chat.is-staged .d5-msg { overflow: hidden; transition: height 0.45s var(--ease); }
.d5-chat.is-staged .d5-msg.is-wait .d5-msg-in { visibility: hidden; }
.d5-chat.is-staged .d5-msg:not(.is-wait) .d5-bubble { animation: d5-msg-in 0.4s var(--ease) backwards; transform-origin: 0 100%; }
.d5-chat.is-staged .d5-msg:not(.is-wait) .d5-av { animation: d5-msg-in 0.4s var(--ease) backwards; }
.d5-chat.is-staged .d5-msg--me:not(.is-wait) .d5-bubble { animation-name: d5-msg-sent; transform-origin: 100% 100%; }
.d5-chat.is-staged .d5-msg.is-typing .d5-typing { display: flex; }
.d5-chat.is-staged .d5-msg.is-typing .d5-say { display: none; }
.d5-chat.is-staged .d5-msg.is-said .d5-say { animation: d5-say 0.35s ease backwards; }
@keyframes d5-msg-in { from { opacity: 0; transform: translateY(8px) scale(0.94); } }
@keyframes d5-msg-sent { from { opacity: 0; transform: translateY(26px) scale(0.9); } }
@keyframes d5-say { from { opacity: 0; } }
.d5-chat-input, .d5-chat-fix { transition: opacity 0.4s ease, transform 0.6s var(--ease); }
.d5-chat.is-staged .d5-chat-input { opacity: 1; }
.d5-chat.is-staged .d5-chat-fix { opacity: 0; transform: translateY(16px); }
.d5-chat.is-staged.is-done .d5-chat-input { opacity: 0; }
.d5-chat.is-staged.is-done .d5-chat-fix { opacity: 1; transform: none; }

/* Compare: the one-time ask vs. the monthly habit. */
.d5-compare { background: linear-gradient(var(--white), var(--lav-50)); }
/* Less white space above the comparison section (2026-11-21, all sizes): its top padding is a third of the usual, here and at each breakpoint. */
.d5-compare { padding-top: 24px; }
/* Button centered under the comparison table (2026-11-21, all sizes). */
.d5-compare-cta { margin: 40px 0 0; text-align: center; }
.d5-compare-wrap {
  max-width: 860px;
  margin: 0 auto;
  border: var(--hair);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.d5-compare-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--deep); }
.d5-compare-table th,
.d5-compare-table td { padding: 14px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lav-50); }
.d5-compare-table tbody tr:last-child th,
.d5-compare-table tbody tr:last-child td { border-bottom: 0; }
.d5-compare-table thead th { font-weight: 600; font-size: 14px; color: var(--deep); vertical-align: middle; }
.d5-compare-table tbody th { width: 27%; font-weight: 500; color: var(--deep); }
.d5-compare-table tbody td:nth-child(2) { opacity: 0.8; }
.d5-compare-table .is-ag { background: linear-gradient(120deg, var(--pink-50), var(--lav-50)); font-weight: 600; color: var(--ink); border-bottom-color: var(--white); }
.d5-compare-table thead .is-ag { color: var(--ink); }
.d5-th-heart { display: inline-block; width: 15px; height: auto; margin-right: 4px; vertical-align: -1px; animation: d5-beat 2.6s ease-in-out infinite; }

/* Features ("Helping happens here"). */
.d5-features { background: linear-gradient(var(--lav-50), var(--gold-50)); overflow: hidden; }
.d5-features .d5-blob { display: none; }
.d5-here { position: relative; display: inline-block; }
.d5-here-hearts { position: absolute; right: -0.9em; top: -0.3em; width: 0.7em; height: auto; animation: d5-bob 4s ease-in-out infinite; }
.d5-feature-grid { display: grid; gap: 18px; }
.d5-feature {
  padding: 14px 14px 24px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--sh-md);
  transition: transform 0.4s var(--ease), opacity 0.8s ease;
}
.d5-feature.is-in:hover { transform: translateY(-5px); }
.d5-feature h3 { margin: 20px 8px 0; font-size: 21px; }
.d5-feature > p { margin: 6px 8px 0; }
.d5-mini { min-height: 158px; padding: 16px; border-radius: 18px; font-size: 14px; color: var(--ink); }
.d5-feature:nth-child(1) .d5-mini { background: linear-gradient(135deg, var(--lav-50), var(--pink-50)); }
.d5-feature:nth-child(2) .d5-mini { background: linear-gradient(135deg, var(--gold-50), var(--green-50)); }
.d5-feature:nth-child(3) .d5-mini { background: linear-gradient(135deg, var(--pink-50), var(--gold-50)); }
.d5-mini-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.d5-mini-ico { width: 18px; height: auto; flex: none; margin: -8px 0; overflow: visible; }
.d5-mini-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.d5-mini-rows li { display: flex; align-items: center; gap: 10px; padding: 5px 8px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-weight: 500; }
.d5-mini-rows li span:nth-child(2) { flex: 1; }
.d5-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
}
.d5-tag { padding: 2px 10px; border-radius: 999px; background: var(--lav); color: var(--deep); font-size: 11.5px; font-weight: 500; }
.d5-tag--green { background: var(--green-50); color: var(--green-dk); }
/* Bars fill once their card has scrolled in. */
.js [data-reveal]:not(.is-in) .d5-bar span { width: 0 !important; }
[data-reveal] .d5-bar span { transition-delay: calc(var(--rd, 0s) + 0.5s); }
.d5-mini-amt { margin-top: 10px; }
.d5-mini-amt b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.d5-mini-meta { margin-top: 10px; font-size: 13px; color: var(--deep); }
.d5-mini-bubble { margin-top: 12px; padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: rgba(255, 255, 255, 0.8); line-height: 1.45; }
.d5-band { margin-top: 48px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.d5-band p { color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; }

/* How it works: five steps beside a phone that follows along. */
.d5-how { background: linear-gradient(var(--gold-50), var(--lav-50)); }
.d5-how-grid { display: grid; gap: 28px; align-items: center; }
.d5-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.d5-step {
  padding: 14px 16px 16px;
  border-radius: 20px;
  opacity: 0.6;
  transition: opacity 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}
.d5-step.is-on { opacity: 1; background: var(--white); box-shadow: var(--sh-md); }
.d5-step:not(.is-on):hover { opacity: 0.9; transform: translateX(3px); }
.d5-step-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  cursor: pointer;
}
.d5-step-btn:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 10px; }
.d5-step-btn b {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--lav);
  transition: background 0.35s ease, color 0.35s ease;
}
.d5-step.is-on .d5-step-btn b { background: var(--brand); color: var(--white); box-shadow: none; }
.d5-step p { margin: 6px 0 0 44px; font-size: 15.5px; line-height: 1.5; }
/* While the steps play on their own, a thin line shows how long until the next one. */
.d5-step { position: relative; cursor: pointer; } /* the whole step is clickable (2026-11-21) */
.d5-steps.is-auto .d5-step.is-on::after {
  content: "";
  position: absolute;
  left: 60px; right: 20px; bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.6;
  transform-origin: 0 50%;
  animation: d5-timer 3.8s linear both;
}
@keyframes d5-timer { from { transform: scaleX(0); } }

/* Back and next arrows and progress marks for "How it works": phones only (see the mobile block). */
.d5-how-arrow, .d5-how-dots { display: none; }
.d5-phone-col { position: relative; order: -1; display: grid; justify-items: center; }
.d5-float--p1 { left: calc(50% - 166px); top: 16%; width: 30px; }
.d5-float--p2 { left: calc(50% + 138px); bottom: 14%; width: 22px; animation-delay: 1s; }
.d5-phone {
  position: relative;
  width: 264px;
  height: 468px;
  padding: 10px 14px 16px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(89, 62, 141, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.5);
  animation: d5-bob 6s ease-in-out infinite;
}
.d5-phone-top { position: relative; display: flex; align-items: center; height: 22px; font-size: 12px; font-weight: 600; }
.d5-phone-top i { position: absolute; left: 50%; top: 2px; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: var(--ink); }
.d5-phone-logo { width: 92px; height: auto; margin: 12px auto 0; }
.d5-screens { position: relative; margin-top: 10px; height: 342px; }
.d5-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.d5-screen.is-on { opacity: 1; transform: none; }
.d5-screen-h { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
/* The five app screens (redesigned 2026-11-21, all sizes; Mobbin refs are listed in the template). */
.d5-prog { display: flex; gap: 4px; margin-top: 16px; }
.d5-prog i { flex: 1; height: 4px; border-radius: 999px; background: var(--lav-50); transition: background-color 0.3s ease; }
.d5-prog i.is-on { background: var(--pink); }
.d5-screen-btn { margin-top: auto; padding: 11px; border-radius: 999px; background: linear-gradient(120deg, var(--pink), #d942b3); color: var(--white); text-align: center; font-size: 14px; font-weight: 600; }
.d5-screen-note { font-size: 12px; color: var(--deep); }
.d5-screen-note--c { text-align: center; }
/* 1. Who is it for: two choice cards, each with a radio. */
.d5-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: var(--hair); border-radius: 14px; background: var(--white); font-size: 12px; line-height: 1.4; color: var(--deep); }
.d5-opt > span { flex: 1; min-width: 0; }
.d5-opt b { display: block; font-size: 14px; }
.d5-radio { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--lav); border-radius: 50%; background: var(--white); }
.d5-opt.is-picked { border-color: var(--pink); background: var(--pink-50); }
.d5-opt.is-picked .d5-radio { border-color: var(--pink); background: var(--pink); box-shadow: inset 0 0 0 3.5px var(--white); }
/* 2. Monthly goal: the amount, with quick picks under it. */
.d5-amount { display: grid; justify-items: center; gap: 0; padding: 9px 0 4px; }
/* The digits are the centered box; the dollar sign hangs off their left, and only the digits roll (stageshow craft rule). */
/* Each rolling line is 56px tall for 46px digits, so a comma's tail never shows from the line above or below. */
.d5-amount b { position: relative; display: block; height: 56px; font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 56px; }
.d5-amount b i { position: absolute; right: 100%; top: 0; font-style: normal; }
.d5-roll { display: block; height: 56px; overflow: hidden; }
.d5-roll span { display: block; height: 56px; transform: translateY(-100%); }
.d5-amount > span { font-size: 13px; color: var(--deep); }
/* Goal slider: a track from $0 to $5,000, filled to the thumb. It rests at $2,500 (half way). */
.d5-range { position: relative; height: 24px; margin: 0 11px; }
.d5-range::before { content: ""; position: absolute; left: -11px; right: -11px; top: 9px; height: 6px; border-radius: 999px; background: var(--lav-50); }
.d5-range span { position: absolute; left: -11px; top: 9px; width: calc(50% + 11px); height: 6px; border-radius: 999px; background: var(--pink); }
.d5-range i { position: absolute; left: 50%; top: 1px; width: 22px; height: 22px; margin-left: -11px; border: 1px solid var(--lav); border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 6px rgba(89, 62, 141, 0.28); }
.d5-chips { display: flex; gap: 6px; }
.d5-chips span { flex: 1; padding: 7px 0; border: var(--hair); border-radius: 999px; background: var(--white); text-align: center; font-size: 13px; font-weight: 600; color: var(--deep); }
.d5-chips span.is-on { border-color: var(--pink); background: var(--pink-50); color: var(--ink); }
/* 3. Details: a note field with its character count, and who can see it. */
.d5-note-card { display: flex; flex-direction: column; min-height: 108px; padding: 12px; border: var(--hair); border-radius: 14px; font-size: 13px; line-height: 1.5; }
.d5-note-card small { margin-top: auto; align-self: flex-end; font-size: 11px; color: var(--deep); opacity: 0.75; }
.d5-screen-lock { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--lav-50); font-size: 12px; line-height: 1.35; color: var(--deep); }
/* 4. Invite: a search field and contacts with round checks. */
.d5-search { padding: 8px 14px; border-radius: 999px; background: var(--lav-50); font-size: 13px; color: var(--deep); }
.d5-contacts,
.d5-gifts { list-style: none; margin: 0; padding: 0; display: grid; }
.d5-contacts { gap: 7px; }
.d5-contacts li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.d5-contacts i { margin-left: auto; width: 20px; height: 20px; border: 1.5px solid var(--lav); border-radius: 50%; }
.d5-contacts i.is-on { border-color: var(--pink); background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* 5. Collect: this month's progress, then who gives what. */
.d5-month { display: grid; gap: 6px; padding: 12px; border-radius: 16px; background: linear-gradient(120deg, var(--pink-50), var(--lav-50)); }
.d5-month-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--deep); }
.d5-month .d5-bar { margin-top: 2px; background: var(--white); }
.d5-goal { display: flex; align-items: baseline; gap: 8px; }
.d5-goal b { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.d5-goal span { font-size: 13px; color: var(--deep); }
.d5-gifts li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; font-weight: 500; }
.d5-gifts li + li { border-top: 1px solid var(--lav-50); }
.d5-gifts li b { margin-left: auto; }
/* Five supporter rows: on the shorter phone frame (below 768px) the rows and card are a little tighter so everything fits. */
@media (max-width: 767px) {
  .d5-screen--collect { gap: 8px; }
  .d5-screen--collect .d5-month { padding: 10px 12px; gap: 4px; }
  .d5-screen--collect .d5-goal b { font-size: 30px; }
  .d5-gifts li { padding: 3px 0; }
  .d5-gifts .d5-av { width: 22px; height: 22px; font-size: 11px; }
}
/* Motion (2026-11-21), following the stageshow skill's rules (.claude/skills/stageshow/references/motion.md):
   - the logo and progress line are steady chrome; only the body changes, as a 200ms crossfade with an 8px rise, never a sideways slide;
   - each screen opens finished, then one thing happens in it, after a short beat: a choice is picked, the amount rolls to the picked
     value as the goal slider is dragged to it, the privacy line arrives from just above, the checks are ticked in turn,
     the goal fills and its tag arrives;
   - a picked state fades in quickly (about 180ms); travel and arrivals use the skill's two curves; nothing bounces.
   Keyframes only have a "from", so with reduced motion (animations off) every screen simply shows its finished state. */
@keyframes d5-s-unpicked { from { border-color: var(--lav); background-color: var(--white); color: var(--deep); box-shadow: none; } }
@keyframes d5-s-waspicked { from { border-color: var(--pink); background-color: var(--pink-50); color: var(--ink); } }
@keyframes d5-s-uncheck { from { border-color: var(--lav); background-color: var(--white); background-size: 0; } }
@keyframes d5-s-roll { from { transform: translateY(0); } }
@keyframes d5-s-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes d5-s-fill { from { width: 0; } }
.d5-how-grid.is-in .d5-screen.is-on .d5-opt.is-picked,
.d5-how-grid.is-in .d5-screen.is-on .d5-opt.is-picked .d5-radio { animation: d5-s-unpicked 0.18s ease-out 0.6s backwards; }
/* Screen 2, about 1.6s in all: the screen opens on $1,000; at 0.4s the thumb is pressed (it swells and gains a soft touch ring),
   from 0.6s it is dragged along the track to $2,500 on the travel curve, the amount rolls while it moves and lands just after it,
   the $1,000 pick lets go as the thumb leaves and $2,500 is picked as it arrives, then the press is released. */
@keyframes d5-s-range-fill { from { width: calc(20% + 11px); } }
@keyframes d5-s-range-thumb { from { left: 20%; } }
@keyframes d5-s-range-press {
  0%, 100% { scale: 1; box-shadow: 0 2px 6px rgba(89, 62, 141, 0.28); }
  14%, 84% { scale: 1.14; box-shadow: 0 2px 6px rgba(89, 62, 141, 0.28), 0 0 0 9px rgba(233, 64, 165, 0.16); }
}
.d5-how-grid.is-in .d5-screen.is-on .d5-range span { animation: d5-s-range-fill 0.7s cubic-bezier(0.45, 0, 0.1, 1) 0.6s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-range i { animation: d5-s-range-thumb 0.7s cubic-bezier(0.45, 0, 0.1, 1) 0.6s backwards, d5-s-range-press 1.15s ease-out 0.4s; }
.d5-how-grid.is-in .d5-screen.is-on .d5-chips span:first-child { animation: d5-s-waspicked 0.18s ease-out 0.65s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-chips span.is-on { animation: d5-s-unpicked 0.18s ease-out 1.2s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-roll span { animation: d5-s-roll 0.6s cubic-bezier(0.45, 0, 0.1, 1) 0.75s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-screen-lock { animation: d5-s-drop 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-contacts i.is-on { animation: d5-s-uncheck 0.15s ease-out calc(0.5s + var(--k, 0) * 0.22s) backwards; }
.d5-contacts li:nth-child(2) { --k: 1; }
.d5-contacts li:nth-child(3) { --k: 2; }
.d5-how-grid.is-in .d5-screen.is-on .d5-month .d5-bar span { animation: d5-s-fill 0.9s cubic-bezier(0.45, 0, 0.1, 1) 0.3s backwards; }
.d5-how-grid.is-in .d5-screen.is-on .d5-month .d5-tag { animation: d5-s-drop 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 1.1s backwards; }
.d5-how-cta { margin-top: 44px; text-align: center; }
/* A primary button centered under a section (2026-11-21, all sizes): "Where every dollar goes" and "Private by design". */
.d5-section-cta { margin: 48px 0 0; padding: 0 20px; text-align: center; }

/* Where every dollar goes. */
.d5-money { background: linear-gradient(var(--lav-50), var(--white) 70%); }
.d5-money-grid { display: grid; gap: 40px; align-items: center; }
.d5-money-copy { text-align: center; }
/* All sizes (2026-11-21): the kicker is always on its own line above the big "100%", never beside it. Both were inline, so on
   wide-enough screens (tablet) they sat side by side. */
.d5-money-copy .d5-kicker { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.d5-hundred {
  display: inline-block;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  padding-right: 0.06em;
}
.d5-money h2 { margin-top: 14px; font-size: 26px; }
.d5-money-p { margin: 16px auto 0; max-width: 500px; }
.d5-receipt {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  padding: 22px 22px 20px;
  border: var(--hair);
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sh-md);
}
.d5-receipt-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; }
.d5-receipt-head svg { width: 18px; height: auto; }
.d5-receipt dl { margin: 12px 0 0; }
.d5-receipt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lav-50); font-size: 15px; color: var(--deep); }
.d5-receipt-row dt { display: flex; align-items: center; gap: 8px; }
.d5-receipt-row dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.d5-receipt-row--big dd { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.d5-receipt-row--to { margin-top: 10px; padding: 11px 14px; border: 0; border-radius: 14px; background: var(--green-50); color: var(--green-dk); font-weight: 600; }
.d5-receipt-row--to dd { color: var(--green-dk); }
.d5-receipt.is-in .d5-receipt-row--to { animation: d5-glow 1.8s ease-out 1.2s 1; }
@keyframes d5-glow { from { box-shadow: 0 0 0 0 rgba(96, 203, 136, 0.55); } to { box-shadow: 0 0 0 14px rgba(96, 203, 136, 0); } }
.d5-receipt-row--to .d5-check { width: 18px; height: 18px; margin: 0; color: var(--green); }
.d5-receipt-sub { margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--deep); opacity: 0.8; }
.d5-receipt-sub + dl { margin-top: 0; }
.d5-receipt-sub + dl .d5-receipt-row:last-child { border-bottom: 0; }
.d5-receipt-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--lav-50); font-size: 13px; color: var(--deep); }

/* Private by design. */
.d5-private { background: linear-gradient(var(--white), var(--blush)); }
.d5-private-grid { display: grid; gap: 44px; align-items: center; }
.d5-family { position: relative; margin: 0; }
.d5-family::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--lav), var(--pink-50) 40%, var(--gold-lt) 70%, var(--lav)) 0 0 / 220% 220%;
  opacity: 0.8;
  animation: d5-shift 12s ease-in-out infinite alternate;
}
@keyframes d5-shift { to { background-position: 100% 100%; } }
.d5-family img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 20%; border-radius: 28px; box-shadow: var(--sh-md); }
.d5-lock-sticker {
  position: absolute;
  right: -4px;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--sh-md);
  animation: d5-bob 4.4s ease-in-out infinite;
}
.d5-lock-sticker .d5-ico { width: 28px; }
/* All sizes (2026-11-21): the "Private by design" pill shows the lock icon instead of the pink heart. Other pills keep hearts. */
.d5-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.d5-checks li { display: flex; gap: 12px; align-items: flex-start; }

/* Testimonials. */
.d5-quotes { background: linear-gradient(var(--blush), var(--white)); }
.d5-quote-grid { display: grid; gap: 20px; }
.d5-quote { margin: 0; padding: 22px 22px 24px; border: var(--hair); border-radius: 26px; background: var(--white); box-shadow: var(--sh-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s ease, opacity 0.8s ease; }
.d5-quote.is-in:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
/* Button under the testimonials (a copy of the hero button; all sizes). */
.d5-quotes-cta { display: flex; justify-content: center; margin-top: 32px; }
.d5-quote-top { display: flex; align-items: center; justify-content: space-between; }
.d5-qmark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  padding-top: 18px;
  /* Curly quote marks: Inter draws “ as slanted strokes, a serif face draws the round "66" shape. */
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 0;
}
.d5-quote--pink .d5-qmark { background: var(--pink-50); color: var(--pink); }
.d5-quote--gold .d5-qmark { background: var(--gold-50); color: #d9a93c; }
.d5-quote--purple .d5-qmark { background: var(--lav-50); color: var(--purple); }
.d5-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; text-shadow: 0 0 0.5px #d9a93c; }
/* Testimonial stars: the deeper gold of the gold quote mark, for contrast on the white card (all sizes). */
.d5-quote .d5-stars { color: #d9a93c; }
/* Stars pop in one by one. */
.d5-stars i { display: inline-block; font-style: normal; transition: transform 0.5s var(--bounce), opacity 0.3s ease; transition-delay: calc(var(--rd, 0s) + 0.55s); }
.d5-stars i:nth-child(2) { transition-delay: calc(var(--rd, 0s) + 0.65s); }
.d5-stars i:nth-child(3) { transition-delay: calc(var(--rd, 0s) + 0.75s); }
.d5-stars i:nth-child(4) { transition-delay: calc(var(--rd, 0s) + 0.85s); }
.d5-stars i:nth-child(5) { transition-delay: calc(var(--rd, 0s) + 0.95s); }
.js [data-reveal]:not(.is-in) .d5-stars i { opacity: 0; transform: scale(0); }
.d5-quote blockquote { margin: 16px 0 0; }
.d5-quote h3 { font-size: 19px; }
.d5-quote blockquote p { margin-top: 8px; font-size: 16px; }
.d5-quote figcaption { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; color: var(--ink); font-size: 15px; }
.d5-quote figcaption svg { width: 15px; height: auto; }

/* FAQ. */
.d5-faq { background: linear-gradient(var(--white), var(--lav-50)); }
.d5-faq-grid { display: grid; gap: 30px; }
.d5-faq-first { margin-top: 16px; }
.d5-terms { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.d5-terms li { padding: 12px 16px; border-radius: 16px; background: var(--white); border: var(--hair); font-size: 14.5px; line-height: 1.45; }
.d5-terms b { display: block; font-size: 15px; }
.d5-tip { display: inline-block; margin-top: 14px; padding: 9px 14px; border-radius: 14px; background: var(--gold-50); color: var(--deep); font-size: 14px; line-height: 1.4; }
.d5-faq-list { display: grid; gap: 8px; align-content: start; }
.d5-faq-list details { border: var(--hair); border-radius: 18px; background: var(--white); color: var(--deep); transition: box-shadow 0.3s ease; }
.d5-faq-list details[open] { box-shadow: var(--sh-sm); }
.d5-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 500;
  font-size: 16.5px;
  letter-spacing: -0.018em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.d5-faq-list summary::-webkit-details-marker { display: none; }
.d5-faq-list summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 16px; }
.d5-plus { flex: none; width: 24px; height: 24px; color: var(--lav); transition: transform 0.3s ease, color 0.3s ease; }
.d5-plus path { stroke: var(--rich); }
.d5-faq-list summary:hover .d5-plus { color: var(--pink-50); }
.d5-faq-list details[open] .d5-plus { transform: rotate(180deg); }
.d5-faq-list details[open] .d5-plus-v { display: none; }
.d5-faq-list details p { padding: 0 18px 18px; font-size: 16px; }
.d5-faq-list details[open] p { animation: d5-fade 0.4s var(--ease); }
.d5-faq-list details a { color: var(--rich); font-weight: 600; }

/* Closing card. */
.d5-final { padding: 40px 0 80px; background: linear-gradient(var(--lav-50), var(--blush)); }
.d5-final-card {
  position: relative;
  padding: 56px 20px 40px;
  border-radius: 34px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(224, 212, 248, 0.9), transparent 70%),
    radial-gradient(55% 80% at 100% 100%, rgba(251, 233, 171, 0.7), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(253, 234, 245, 1), transparent 70%),
    var(--white);
  text-align: center;
  box-shadow: var(--sh-md);
}
.d5-love {
  position: absolute;
  right: 18px;
  top: -18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: var(--sh-md);
  transform: rotate(3deg);
  animation: d5-sway 6s ease-in-out infinite;
}
@keyframes d5-sway { 50% { transform: rotate(1deg) translateY(-3px); } }
/* Hearts drifting up inside the closing card. */
.d5-rising { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.d5-rising i {
  position: absolute;
  bottom: -28px;
  width: 20px; height: 18px;
  background: var(--pink);
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  opacity: 0;
  animation: d5-rising 11s linear infinite;
}
.d5-rising i:nth-child(1) { left: 6%; }
.d5-rising i:nth-child(2) { left: 19%; background: var(--purple); width: 13px; height: 12px; animation-delay: 3.2s; animation-duration: 13s; }
.d5-rising i:nth-child(3) { left: 33%; background: var(--gold); animation-delay: 6.5s; }
.d5-rising i:nth-child(4) { left: 64%; background: var(--green); width: 14px; height: 13px; animation-delay: 1.6s; animation-duration: 12s; }
.d5-rising i:nth-child(5) { left: 79%; animation-delay: 5s; animation-duration: 14s; }
.d5-rising i:nth-child(6) { left: 92%; background: var(--purple); width: 16px; height: 14px; animation-delay: 8s; }
.d5-rising i:nth-child(7) { left: 48%; background: var(--gold); width: 12px; height: 11px; animation-delay: 9.5s; animation-duration: 15s; }
@keyframes d5-rising {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  12% { opacity: 0.4; }
  80% { opacity: 0.25; }
  100% { transform: translateY(-460px) scale(1.1); opacity: 0; }
}
.d5-final-card > h2,
.d5-final-card > .d5-final-p,
.d5-final-card > ul,
.d5-final-card > .d5-final-btns { position: relative; }
.d5-love span { text-shadow: 0 0 0.5px #d9a93c; }
.d5-love b { padding: 4px 12px; border-radius: 999px; background: var(--gold-50); color: var(--ink); font-size: 12.5px; font-weight: 500; letter-spacing: 0; }
/* "Share the love!" is a button at every size (2026-11-21): a tap or click copies this page's link, and the pill turns light
   green and reads "Link Copied!" for a moment. The page script fixes the pill's width first, so it never changes size. */
.d5-love b { cursor: pointer; text-align: center; white-space: nowrap; transition: background-color 0.25s ease, color 0.25s ease; -webkit-tap-highlight-color: transparent; }
.d5-love b:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.d5-love b.is-copied { background: var(--green-50); color: var(--green-dk) !important; } /* !important: on phones the resting label is set to black in the page; "Link Copied!" stays green at every size */
.d5-final-hearts { position: absolute; left: 20px; top: 22px; width: 34px; height: auto; animation: d5-bob 4s ease-in-out infinite; }
.d5-final h2 { font-size: 30px; line-height: 1.2; text-wrap: balance; }
.d5-final-p { margin: 16px auto 0; max-width: 500px; }
/* The closing paragraph is three sentences, each starting on its own line (2026-11-21, all sizes). */
.d5-final-p span { display: block; }
.d5-final-p span + span { margin-top: 8px; } /* 8px of air between the sentences, all sizes */
.d5-final-uvps { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.d5-final-uvps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--sh-sm);
}
.d5-final-uvps .d5-ico { width: 16px; }
.d5-final-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.d5-footer { padding: 48px 0 30px; background: linear-gradient(135deg, var(--deep), #6a41b8 60%, var(--purple)); color: var(--white); }
.d5-footer-top { display: grid; gap: 28px; }
.d5-footer-logo { width: 132px; height: auto; filter: brightness(0) invert(1); }
.d5-footer-brand p { margin-top: 12px; opacity: 0.9; }
.d5-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.d5-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease); }
.d5-social a:hover { background: var(--white); color: var(--deep); transform: translateY(-2px); }
.d5-social svg { width: 18px; height: 18px; }
.d5-footer-links { display: grid; gap: 12px; font-weight: 500; }
.d5-footer-links a { text-decoration: none; opacity: 0.92; }
.d5-footer-links a:hover { opacity: 1; text-decoration: underline; }
.d5-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; opacity: 0.9; }
.d5-footer-bottom nav { display: flex; gap: 18px; }
.d5-footer-bottom a { text-decoration: none; }
.d5-footer-bottom a:hover { text-decoration: underline; }

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  .d5-pill { font-size: 12.5px; padding: 6px 13px 6px 10px; gap: 6px; }
  .d5-ctas .d5-btn { width: 100%; max-width: 340px; }
  .d5-final-btns .d5-btn { width: 100%; max-width: 340px; }
  /* Mobile only (2026-11-21): in the footer, the two credits ("Icons by Streamline", "Illustrations by StorySet") start on
     their own line under "© 2026 AutoGive, Inc." instead of the first one sharing the copyright line. */
  .d5-footer-bottom :not(.d5-credit) + .d5-credit { margin-left: 0; }
  .d5-footer-bottom :not(.d5-credit) + .d5-credit::before { content: ""; display: block; }
  /* Mobile only (2026-11-21): in the final "Cover costs together" card, the headline and the three sentences are left-aligned.
     The chips and the buttons under them stay centered. */
  .d5-final-card > h2,
  .d5-final-card > .d5-final-p { text-align: left; }
  /* Mobile only (2026-11-21): the five stars above the final card use the deeper gold of the testimonial stars (#d9a93c). */
  .d5-love span { color: #d9a93c; }
  /* Mobile only (2026-11-21): "How it works" is paged in place instead of being a long list under the phone (Mobbin refs:
     Citi Bike and Cal AI walkthroughs). Top to bottom: the phone at 80% size, then one row with a back arrow, five progress
     marks and a next arrow, then the step's title and description, centered, with no card and no number. The arrows (or a
     sideways swipe on the phone) change the step; nothing else moves, so nobody scrolls up and down. Progress marks: steps
     done are pink dots, the current step is a pink dash, steps to come are pale dots. All five steps share one grid cell, so
     the text block is always as tall as the longest step and nothing below it jumps. */
  .d5-how-grid { grid-template-columns: 1fr 40px auto 40px 1fr; gap: 16px 18px; align-items: center; }
  .d5-how .d5-phone-col { order: 0; grid-area: 1 / 1 / 2 / -1; }
  .d5-how .d5-phone { zoom: 0.8; animation: none; } /* stands still (no up-and-down drift); it still fades and rises in once, with the rest of this block, when scrolled to */
  .d5-how .d5-float--p1 { left: calc(50% - 140px); }
  .d5-how .d5-float--p2 { left: calc(50% + 114px); }
  .d5-how-arrow {
    grid-row: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 0; border-radius: 50%; background: var(--white); color: var(--purple); box-shadow: var(--sh-sm); cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .d5-how-arrow--prev { grid-column: 2; }
  .d5-how-arrow--next { grid-column: 4; }
  .d5-how-arrow:disabled { opacity: 0.4; box-shadow: none; cursor: default; }
  .d5-how-arrow:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
  .d5-how-chev { width: 8px; height: auto; }
  .d5-how-dots { grid-area: 2 / 3; display: flex; align-items: center; gap: 6px; }
  .d5-how-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--lav); transition: width 0.3s var(--ease), background-color 0.3s ease; }
  .d5-how-dots i.is-done { background: var(--pink); }
  .d5-how-dots i.is-on { width: 20px; background: var(--pink); }
  .d5-how .d5-steps { grid-area: 3 / 1 / 4 / -1; gap: 0; margin-top: 4px; }
  .d5-how .d5-step { grid-area: 1 / 1; padding: 0; background: none; box-shadow: none; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; transition-delay: 0s; }
  .d5-how .d5-step.is-on { visibility: visible; opacity: 1; background: none; box-shadow: none; }
  .d5-how .d5-step:not(.is-on):hover { transform: none; }
  .d5-how .d5-step-btn { justify-content: center; text-align: center; font-size: 18px; cursor: default; }
  .d5-how .d5-step-btn b { display: none; }
  .d5-how .d5-step p { margin: 6px 0 0; font-size: 15px; text-align: center; text-wrap: balance; }
  /* Mobile only (2026-11-21): the comparison table is laid out for a phone (Mobbin refs: TradingView's feature sheet, Public's
     account comparison, Brilliant's highlighted column). Three squeezed columns become two wide ones: each question
     ("Who sees it") is a small caption across the top of its row, with the two answers side by side under it. The AutoGive
     answer keeps its pink tint as a rounded tile; the fundraiser answer is a plain outlined tile. Same table, same words. */
  .d5-compare-wrap .d5-compare-table,
  .d5-compare-wrap .d5-compare-table thead,
  .d5-compare-wrap .d5-compare-table tbody { display: block; }
  .d5-compare-wrap .d5-compare-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 12px 16px; border-bottom: 1px solid var(--lav-50); }
  .d5-compare-wrap .d5-compare-table tbody tr:last-child { border-bottom: 0; }
  .d5-compare-wrap .d5-compare-table th,
  .d5-compare-wrap .d5-compare-table td { display: block; width: auto; padding: 10px 12px; border: 0; border-radius: 12px; font-size: 14.5px; line-height: 1.35; }
  .d5-compare-wrap .d5-compare-table thead tr { padding: 12px 12px; align-items: center; }
  .d5-compare-wrap .d5-compare-table thead td { display: none; }
  .d5-compare-wrap .d5-compare-table thead th { padding: 8px 12px; font-size: 13px; line-height: 1.3; }
  /* The "Public online fundraiser" heading gets the same outlined white tile as the answers under it (2026-11-21). Both
     heading tiles are the same height, with their text centered top to bottom. */
  .d5-compare-wrap .d5-compare-table thead tr { align-items: stretch; }
  .d5-compare-wrap .d5-compare-table thead th { display: flex; align-items: center; }
  .d5-compare-wrap .d5-compare-table thead th:not(.is-ag) { box-shadow: inset 0 0 0 1px var(--lav-50); }
  .d5-compare-wrap .d5-compare-table tbody th { grid-column: 1 / -1; padding: 0 12px; border-radius: 0; font-size: 13px; font-weight: 600; text-align: center; } /* centered over its two answers (2026-11-21); its size is set in the page (16px) */
  .d5-compare-wrap .d5-compare-table tbody td:nth-child(2) { box-shadow: inset 0 0 0 1px var(--lav-50); }
  /* Mobile only (2026-11-21): no underline under the hero's "See how it works", not even on hover (same as tablet and desktop). */
  .d5-hero-copy .d5-link--play, .d5-hero-copy .d5-link--play:hover { background: none; }
  /* Mobile only (2026-11-21): the hero's button row wraps: the full-width button takes the first line, the two links
     ("How it works", "Tell a Friend") share the second. */
  .d5-hero .d5-hero-copy .d5-ctas { flex-direction: row; gap: 18px 26px; }
  .d5-hero-copy .d5-link--share.is-copied, .d5-hero-copy .d5-link--share.is-copied:hover { color: var(--green-dk); }
  .d5-link--share:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 6px; }
  /* Mobile only (2026-11-21): once the page is scrolled, the header is slimmer still (44px, was 52px), with a smaller logo
     and button and a lighter button shadow, so it takes less of a small screen. At the top of the page it is unchanged (62px). */
  .d5-header.is-stuck .d5-header-in { height: 44px; }
  .d5-header.is-stuck .d5-logo { width: 86px; }
  .d5-header.is-stuck .d5-btn--sm { min-height: 32px; padding: 0 12px; font-size: 13px; box-shadow: 0 4px 10px -8px rgba(233, 64, 165, 0.6); }
  /* Mobile only (2026-11-21): the hero's soft gold glow (bottom left) ran past the section's bottom edge and was cut off in a
     straight line where "Loved by Families" begins. It is raised and a little shorter (was 45% 45% at 2% 78%), so it fades out
     fully above the bottom: the hero ends in plain white, which is the color the next section starts with. Other layers unchanged. */
  .d5-hero {
    background:
      radial-gradient(60% 55% at 88% 8%, rgba(224, 212, 248, 0.85), transparent 70%),
      radial-gradient(45% 40% at 2% 68%, rgba(251, 233, 171, 0.5), transparent 70%),
      radial-gradient(40% 40% at 55% 0%, rgba(253, 234, 245, 0.9), transparent 70%),
      linear-gradient(var(--blush), var(--white));
  }
  /* Mobile only (2026-11-21): in "Sound familiar?" the family-chat phone sits right under the headline, before the list,
     and the button is centered under the answer box (same order as tablet). 40px above and below the phone. */
  .d5-pain-h2 { margin-bottom: 0; }
  .d5-pain .d5-chat-col { order: 1; }
  .d5-pain-copy { order: 2; }
  .d5-pain-copy .d5-symptoms { margin-top: 0; }
  .d5-pain-cta { order: 3; justify-self: center; }
  /* Mobile only (2026-11-21): the three callouts no longer float over the photo's edges. They are full-width rows stacked above
     the photo (Dad, Kids, Mom), each 46px tall with 12px between, and they stand still. When the visitor scrolls down to them they
     fade in and rise 12px, one after another (the page script adds .is-seen to the wrapper). The three hearts keep their place
     on the photo's top-right corner: the photo starts 182px down (three rows, two gaps, 20px), minus 10px. */
  .d5-photo-wrap { display: flex; flex-direction: column; gap: 12px; }
  .d5-photo-wrap .d5-photo { margin-top: 8px; } /* 20px between the last row and the photo */
  .d5-photo-wrap .d5-callout {
    position: static; order: -1; display: flex; width: 100%; height: 46px; box-sizing: border-box;
    padding: 0 14px 0 12px; gap: 10px; font-size: 12.5px; translate: none; animation: none;
    background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .d5-photo-wrap .d5-callout b { font-size: 14px; }
  .d5-photo-wrap .d5-callout-heart { width: 21px; } /* 30% larger than the first 16px (2026-11-21) */
  .d5-photo-hearts { top: 172px; }
  .d5-hero .d5-stage { margin-top: -14px; } /* the rows start 40px under "See how it works" */
  @media (prefers-reduced-motion: no-preference) {
    .d5-photo-wrap .d5-callout { transition: opacity 0.6s ease, transform 0.7s var(--ease); }
    .d5-photo-wrap .d5-callout--kids { transition-delay: 0.09s; }
    .d5-photo-wrap .d5-callout--mom { transition-delay: 0.18s; }
    .js .d5-photo-wrap:not(.is-seen) .d5-callout { opacity: 0; transform: translateY(12px); }
  }
  /* Mobile only (2026-11-21): the card moves up to overlap the bottom of the photo. Its top edge sits at the grandmother's
     collar (far right), below every face. A percentage, so it keeps that spot as the photo scales with the screen. */
  .d5-photo-wrap + .d5-card { margin-top: -13.5%; }
  /* The hearts that float up when a supporter joins rise 80px instead of 170px (as on tablet), so they fade out inside the card
     and never drift over the faces just above it. */
  .d5-stage .d5-burst { animation-name: d5-burst-tablet; }
  /* Mobile only (2026-11-21): the hero's AutoGive card, condensed for a phone (Mobbin refs: Neo Financial goal progress,
     Copilot goals). Tighter padding and type, and the last row is one line that never wraps: faces and the supporter
     count on the left, "100% to Mom" on the right. The "+N" bubble is hidden here: the count beside it says the same. */
  .d5-stage .d5-card { padding: 14px 16px; border-radius: 20px; }
  .d5-stage .d5-card-name { font-size: 15px; gap: 7px; }
  .d5-stage .d5-card-heart { width: 16px; }
  .d5-stage .d5-amt { margin-top: 6px; font-size: 13.5px; white-space: nowrap; }
  .d5-stage .d5-amt b { font-size: 26px; }
  .d5-stage .d5-bar { height: 8px; margin-top: 6px; }
  .d5-stage .d5-card-foot { gap: 8px; margin-top: 10px; min-height: 26px; }
  .d5-stage .d5-avs li { width: 26px; height: 26px; font-size: 11.5px; }
  .d5-stage .d5-avs li.d5-avs-more { display: none; }
  .d5-stage .d5-card-meta { flex: 1; display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
  .d5-stage .d5-meta-dot { display: none; }
  .d5-stage .d5-meta-to { font-weight: 600; }
  /* Mobile only (2026-11-21): the card's goal reads "of $2.5K/mo" (tablet and desktop: "of $2,500 per month"). */
  .d5-m-only { display: inline; }
  .d5-m-hide { display: none; }
  .d5-m-strong { font-weight: 600; } /* bold on phones only (set in the CSS Editor on mobile, 2026-11-21) */
  /* Mobile only (2026-11-21): the green "+$250/mo" pill shows the amount only (no name) and sits inside the card, on the
     goal line to the right of "$2.5K/mo". Its right edge lines up with the "Private" chip above it. */
  .d5-stage .d5-toast { top: 55px; right: 16px; box-shadow: none; }
}
@media (max-width: 359px) {
  .d5-wrap { padding: 0 16px; }
  /* Narrowest phones (2026-11-21): the card's last row still fits on one line. */
  .d5-stage .d5-avs li { width: 22px; height: 22px; font-size: 10.5px; }
  .d5-stage .d5-card-meta { font-size: 12px; }
  /* Narrowest phones (2026-11-21): a slightly smaller amount and pill, so the pill still clears "$2.5K/mo". */
  .d5-stage .d5-amt { font-size: 12.5px; }
  .d5-stage .d5-amt b { font-size: 23px; }
  .d5-stage .d5-toast { top: 54px; padding: 4px 9px; font-size: 11.5px; }
  .d5-hero h1 { font-size: 33px; }
  .d5-pill { font-size: 11.5px; padding-right: 11px; }
  .d5-uvps li { font-size: 11.5px; }
  .d5-uvps strong { font-size: 14px; }
  .d5-btn--sm { font-size: 13.5px; padding: 0 14px; }
  .d5-callout b { font-size: 11px; }
  .d5-compare-table { font-size: 13px; }
  .d5-compare-table th,
  .d5-compare-table td { padding: 12px 8px; }
  .d5-hundred { font-size: 84px; }
  .d5-love { font-size: 14px; }
  .d5-phone { width: 250px; }
}

/* ---------- Tablet and up (≥768px) ---------- */
@media (min-width: 768px) {
  .d5-wrap { padding: 0 32px; }
  .d5-header-in { height: 70px; }
  .d5-logo { width: 126px; }
  .d5-header .d5-signin { display: inline-flex; }
  .d5-header.is-stuck .d5-header-in { height: 56px; }
  .d5-header.is-stuck .d5-logo { width: 106px; }
  .d5-hero { padding: 52px 0 72px; }
  /* Tablet + desktop (agreed 2026-11-17): the three UVPs sit between the sub-headline and the button. Phones keep them last. */
  .d5-hero-copy { display: flex; flex-direction: column; }
  .d5-hero-copy .d5-pill { align-self: center; }
  .d5-hero-copy .d5-uvps { order: 1; margin-top: 30px; padding: 22px 0; border-bottom: var(--hair); --d: .2s !important; }
  .d5-hero-copy .d5-ctas, .d5-hero-copy .d5-cta-note { order: 2; }
  .d5-hero h1 { font-size: 52px; }
  .d5-lede { font-size: 19px; }
  .d5-uvps li { font-size: 13.5px; }
  .d5-uvps strong { font-size: 16px; }
  .d5-section { padding: 100px 0; }
  .d5-compare { padding-top: 32px; }
  .d5-pain { padding-top: 72px; }
  .d5-section h2 { font-size: 40px; }
  .d5-section-sub { font-size: 19px; }
  .d5-compare-table { font-size: 16px; }
  .d5-compare-table th,
  .d5-compare-table td { padding: 18px 22px; }
  .d5-compare-table thead th { font-size: 15px; }
  .d5-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .d5-band p { font-size: 26px; }
  .d5-how-grid { grid-template-columns: 1fr auto; gap: 40px; }
  .d5-phone-col { order: 0; }
  .d5-phone { width: 290px; height: 520px; }
  .d5-screens { height: 390px; }
  .d5-float--p1 { left: -30px; }
  .d5-float--p2 { left: auto; right: -30px; }
  .d5-hundred { font-size: 132px; }
  .d5-money h2 { font-size: 30px; }
  .d5-quote-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .d5-final { padding: 56px 0 100px; }
  .d5-final-card { padding: 68px 40px 52px; }
  .d5-final h2 { font-size: 42px; }
  .d5-love { right: 40px; }
  .d5-final-hearts { left: 36px; top: 34px; width: 44px; }
  .d5-footer-top { grid-template-columns: 1fr auto; }
  .d5-footer-links { text-align: right; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet (agreed 2026-11-17): callouts reach past the photo's edges like desktop; the card is 95% of the photo's width.
     Tablet only (2026-11-21): Dad's callout sits by his collar, under his chin; Mom's sits above her head, just under the corner hearts. */
  .d5-callout--dad { top: 44%; bottom: auto; }
  .d5-callout--mom { top: 11%; bottom: auto; }
  /* Tablet only (2026-11-21): the example AutoGive rides up over the photo so its top edge is at Mom's collar (73% down the photo,
     below every face). The margin is a share of the photo's width, so it tracks the photo if the photo ever changes size. */
  .d5-stage #d5-card { margin-top: -15.6% !important; padding: 13px 20px 12px; }
  /* ...and is more compact: same four rows, tighter spacing, a slightly smaller amount, slimmer bar and smaller avatars. */
  .d5-stage .d5-amt { margin-top: 2px; }
  .d5-stage .d5-amt b { font-size: 26px; }
  .d5-stage .d5-bar { height: 8px; margin-top: 5px; }
  .d5-stage .d5-card-foot { margin-top: 8px; min-height: 26px; }
  .d5-stage .d5-avs li { width: 26px; height: 26px; font-size: 11.5px; }
  .d5-stage .d5-avs li.d5-avs-more { font-size: 10px; }
  .d5-stage #d5-toast { top: 47px !important; }
  /* The hearts that float up when a supporter joins rise less here, so they fade out before reaching anyone's face. */
  .d5-stage .d5-burst { bottom: 40px; animation-name: d5-burst-tablet; }
  /* Tablet only (2026-11-21): the button and "See how it works" sit right under the sub-headline, and the three UVPs come after them.
     The UVPs keep the hairline above them and lose the one below, which used to separate them from the button. */
  .d5-hero-copy .d5-uvps { margin-top: 34px; padding: 22px 0 0; border-bottom: 0; --d: .36s !important; }
  /* Tablet only (2026-11-21): the stage (photo, callouts, example AutoGive) sits between the sub-headline and the button.
     The stage is not inside .d5-hero-copy in the markup, so here the copy block's children are laid out directly in the hero's
     column (display: contents) and the order is: pill, headline, sub-headline, stage, button + "See how it works", UVPs. */
  /* Tablet only (2026-11-21): one even gap between sections. Every section has 56px above and 72px below its content, so each
     join is 128px, the spacing between "Loved by Families" and "Sound familiar?" that was picked as just right. (Sections used
     to have 100px above and below, so most joins were 200px.) The hero's own 72px bottom padding gives the same 128px. */
  .d5-section { padding: 56px 0 72px; }
  .d5-final { padding: 56px 0 80px; }
  /* Tablet only (2026-11-21): the little hearts after "here" in "Helping happens here" sit off the top-right of the last "e".
     The selector is deliberately long: a CSS Editor rule on the page (div.d5-section-head.is-in svg { top: 39.99px !important }),
     meant for the headline underlines, also catches this svg and was pinning it low. This one outranks it. */
  .d5-section-head h2 .d5-here svg.d5-here-hearts { top: -12px !important; right: -27px; }
  /* Tablet only (2026-11-21): "Private by design" copy sits in its own white card, 80px narrower than the photo, pulled up so
     its top 110px overlaps the bottom of the photo (well below every face: the lowest chin is about halfway down).
     -154px = the grid's 44px gap + the 110px overlap. The lock sticker is centered on the card's top-right corner: it lives
     inside the photo's figure, so its position is worked out from the photo's bottom-right (110 - 34 up, 40 - 34 in). */
  .d5-private-copy {
    position: relative; z-index: 1;
    width: calc(100% - 80px);
    margin: -154px auto 0;
    padding: 30px 36px 32px;
    border: var(--hair);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--sh-md);
  }
  .d5-family .d5-lock-sticker { z-index: 2; right: 6px; bottom: 76px; }
  /* ...its headline fits on one line (29px, was 40px)... */
  .d5-private-copy h2 { font-size: 29px; white-space: nowrap; }
  /* ...and the section's button sits inside the card, left-aligned with the text, 28px under the list. The button is not
     inside the card in the markup (it follows the section's wrap), so the card keeps 114px free at the bottom (28 gap +
     54 button + 32 padding) and the button is pulled up into that space. 109px = 32 page gutter + 40 card inset + 1 border
     + 36 card padding. The 32px bottom margin keeps the usual 72px between the card and the next section. */
  .d5-private-copy { padding-bottom: 114px; }
  .d5-private .d5-section-cta { position: relative; z-index: 2; margin: -86px 0 32px; padding: 0 0 0 109px; text-align: left; }
  /* Tablet only (2026-11-21): every cell of the comparison table fits on one line. Text is 15px (was 16px), side padding is
     16px (was 22px), and the first column is as wide as its longest label instead of a fixed 27%, which frees room for the
     two longer columns. */
  .d5-compare-table { font-size: 15px; }
  .d5-compare-table th,
  .d5-compare-table td { padding: 18px 16px; white-space: nowrap; }
  .d5-compare-table thead th { font-size: 14.5px; }
  .d5-compare-table tbody th { width: auto; }
  /* Tablet only (2026-11-21): the three sentences in the final "Cover costs together" card each stay on one line. The 500px
     limit on their width is lifted, so they can use the card's full inner width. */
  .d5-final-p { max-width: none; }
  /* Tablet only (2026-11-21): the two hearts beside the "How it works" phone sit on its corners instead of its sides. Pink on the
     top-left corner, gold on the bottom-right, each overlapping the frame's rounded corner from the outside. The gold heart is a slightly deeper
     gold (#f3c84b, the same one as the "Kids' tuition" callout heart in the hero) so it shows up against the pale background. */
  /* Tablet only (2026-11-21): the "How it works" phone stands still; it no longer drifts up and down. */
  .d5-phone, .d5-phone-col .d5-float { animation: none; } /* the two corner hearts stand still too */
  .d5-float--p1 { left: -9px; top: -8px; }
  .d5-float--p2 { left: auto; right: -4px; bottom: -3px; }
  .d5-float--p2 path { fill: #f3c84b; }
  /* Tablet only (2026-11-21): in "Sound familiar?" the family-chat phone sits right under the headline, before the list.
     Order: kicker, headline, phone, list + answer box, button. 40px above and below the phone. */
  .d5-pain-h2 { margin-bottom: 0; }
  .d5-t-only { display: inline; }
  .d5-t-hide { display: none; }
  .d5-pain .d5-chat-col { order: 1; }
  .d5-pain-copy { order: 2; }
  .d5-pain-copy .d5-symptoms { margin-top: 0; }
  .d5-pain-cta { order: 3; justify-self: center; } /* centered under the answer box on tablet (2026-11-21) */
  .d5-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  /* Tablet only (2026-11-21): no underline under the hero's "See how it works", not even on hover (same as desktop). */
  .d5-hero-copy .d5-link--play, .d5-hero-copy .d5-link--play:hover { background: none; }
  /* Tablet only (2026-11-21): the hero's soft gold glow (bottom left) ran past the section's bottom edge and was cut off in a
     hard line above the testimonials. It now sits a little higher and is shorter, so it fades out fully (by 88% of the hero's
     height) and the hero ends in plain white, which is what the testimonials start with. Other layers unchanged. */
  .d5-hero {
    background:
      radial-gradient(60% 55% at 88% 8%, rgba(224, 212, 248, 0.85), transparent 70%),
      radial-gradient(45% 32% at 2% 66%, rgba(251, 233, 171, 0.5), transparent 70%),
      radial-gradient(40% 40% at 55% 0%, rgba(253, 234, 245, 0.9), transparent 70%),
      linear-gradient(var(--blush), var(--white));
  }
  .d5-hero-copy { display: contents; }
  .d5-hero .d5-stage { order: 1; }
  .d5-hero-copy .d5-ctas, .d5-hero-copy .d5-cta-note { order: 2; }
  .d5-hero-copy .d5-uvps { order: 3; }
  .d5-stage .d5-card { width: 95%; max-width: none; }
  /* Tablet only (2026-11-21): the stage (photo, callouts, example AutoGive) is one invisible group with room around it:
     80px wider than before with 40px of padding, so the photo keeps its size and the callouts, which reach 5% past the photo,
     stay inside the group. No border, background or shadow. The hearts keep their place on the photo's top-right corner. */
  .d5-stage { max-width: 640px; padding: 40px 40px 32px; }
  .d5-photo-hearts { top: 24px; right: 30px; }
  .d5-callout--dad { left: -5%; }
  .d5-callout--mom { right: -5%; }
  .d5-callout--kids { top: -5%; }
  .d5-feature { padding: 12px 12px 20px; }
  .d5-feature h3 { font-size: 18px; margin-left: 4px; margin-right: 4px; }
  .d5-feature > p { font-size: 15px; margin-left: 4px; margin-right: 4px; }
  .d5-mini { min-height: 178px; padding: 12px; }
  .d5-mini-rows li { gap: 6px; font-size: 13px; }
  /* Tablet only (2026-11-21): "Helping happens here" cards line up across the row, like desktop. Every preview panel is the same
     height with its title on one line at the top, its content on a soft white surface and the "supporters" line pinned to the
     bottom, so the three headings and descriptions start level. The preview text is a little smaller so nothing wraps:
     "Invite family & friends" and "Aunt Linda" each fit on one line. */
  .d5-feature { display: flex; flex-direction: column; }
  .d5-feature .d5-mini { height: 178px; min-height: 0; display: flex; flex-direction: column; font-size: 13px; }
  .d5-feature .d5-mini-title { gap: 6px; font-size: 12.5px; white-space: nowrap; }
  .d5-feature .d5-mini-ico { width: 16px; }
  .d5-feature .d5-mini-rows { margin-top: 10px; gap: 6px; }
  .d5-feature .d5-mini-rows li { font-size: 12px; padding: 4px 6px 4px 4px; }
  .d5-feature .d5-mini-rows li span:nth-child(2) { white-space: nowrap; }
  .d5-feature .d5-tag { padding: 2px 7px; font-size: 10.5px; }
  .d5-feature .d5-mini-body { margin-top: 10px; padding: 10px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.8); }
  .d5-feature .d5-mini-body .d5-mini-amt { margin-top: 0; font-size: 12.5px; }
  .d5-feature .d5-mini-amt b { font-size: 22px; }
  .d5-feature .d5-mini-bubble { margin-top: 10px; padding: 9px 11px; font-size: 12.5px; line-height: 1.4; }
  .d5-feature .d5-mini-meta { margin-top: auto; padding-top: 8px; font-size: 12px; white-space: nowrap; }
  .d5-quote { padding: 18px 16px 20px; }
  /* Tablet only (2026-11-21): each testimonial's name is pinned to the bottom of its card, so the three names line up
     however long the quote above is. */
  .d5-quote { display: flex; flex-direction: column; }
  .d5-quote figcaption { margin-top: auto; padding-top: 18px; }
  .d5-quote h3 { font-size: 17px; }
  .d5-quote blockquote p { font-size: 15px; }
  .d5-stars { font-size: 13px; letter-spacing: 1px; }
}

/* ---------- Desktop (≥1024px) ---------- */
/* Narrow desktops: the side callouts reach out a little less so Mom's never runs off the screen. */
@media (min-width: 1024px) and (max-width: 1199px) { .d5-photo-wrap .d5-callout--dad { left: -4%; } .d5-photo-wrap .d5-callout--mom { right: -4%; } }
@media (min-width: 1024px) {
  .d5-header-in { height: 76px; }
  .d5-logo { width: 134px; }
  /* Header links sit on the right, 30px before Sign In (16px row gap + 14px) (agreed 2026-11-17). */
  .d5-nav { display: flex; margin-left: auto; margin-right: 14px; }
  .d5-btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
  .d5-hero { padding: 64px 0 96px; }
  .d5-hero-grid { grid-template-columns: 1fr 1.08fr; gap: 64px; }
  .d5-hero-copy { text-align: left; }
  .d5-hero-copy .d5-pill { align-self: flex-start; }
  /* Desktop (agreed 2026-11-17): "Mom's rent" sits 10px higher. */
  .d5-callout--mom { bottom: calc(7% + 10px); }
  /* Desktop (agreed 2026-11-17): callouts reach past the photo's edges: Dad out to the left, Mom out to the right, School up over the top. */
  .d5-callout--dad { left: -8%; }
  .d5-callout--mom { right: -8%; }
  .d5-callout--kids { top: -7%; }
  .d5-hero h1 { font-size: 52px; }
  .d5-lede { margin-left: 0; }
  .d5-ctas { justify-content: flex-start; }
  .d5-cta-note { flex-direction: row; gap: 18px; }
  .d5-header.is-stuck .d5-header-in { height: 58px; }
  .d5-header.is-stuck .d5-logo { width: 112px; }
  .d5-header.is-stuck .d5-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
  /* The card drifts slightly as the hero scrolls away. */
  /* Desktop only (agreed 2026-11-17): the photo's top lines up with the top of the headline's capital letters (pill + gap + the line's top space). */
  .d5-hero-grid { align-items: start; }
  .d5-stage { max-width: none; margin-top: 65px; }
  /* The card is 95% of the photo's width, centered below it (agreed 2026-11-17; was 80%). */
  .d5-card { width: 95%; max-width: none; margin: 26px auto 0; translate: 0 calc(var(--sy, 0) * -0.02px); }
  .d5-uvps { margin-left: 0; }
  .d5-uvps li { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
  .d5-section { padding: 120px 0; }
  /* The comparison section starts 40px down instead of 120, so the white gap after the section above is 160px, not 240 (2026-11-21). */
  .d5-compare { padding-top: 40px; }
  /* Desktop: wide enough for the third sentence of the closing paragraph to stay on one line. */
  .d5-final-p { max-width: 800px; }
  .d5-quotes { padding-top: 40px; padding-bottom: 48px; } /* sits closer to the hero above it; bottom tightened once the use-case carousel below was parked (2026-11-19) */
  .d5-pain { padding-top: 88px; }
  .d5-section h2 { font-size: 44px; }
  .d5-section-head { margin-bottom: 56px; }
  .d5-pain-grid { grid-template-columns: 1.1fr 1fr; gap: 0 72px; align-items: stretch; }
  .d5-pain-kicker { grid-column: 1; margin-bottom: 16px; }
  .d5-pain-h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .d5-pain-copy { grid-column: 1; grid-row: 3; }
  .d5-pain-cta { grid-column: 1; grid-row: 4; margin-top: 28px; }
  /* The phone fills its cell without adding height, so it is exactly as tall as the copy: headline top to answer-box bottom. */
  .d5-chat-col { grid-column: 2; grid-row: 2 / span 2; position: relative; }
  .d5-chat { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; }
  .d5-symptoms li { font-size: 18px; }
  .d5-feature { padding: 16px 16px 28px; }
  .d5-feature-grid { gap: 24px; }
  .d5-how-grid { grid-template-columns: 1fr 1fr; gap: 72px; max-width: 960px; margin: 0 auto; }
  .d5-step-btn { font-size: 20px; }
  .d5-step p { font-size: 16.5px; }
  .d5-money-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
  .d5-money-copy { text-align: left; }
  .d5-money-copy .d5-kicker { margin-left: 0; }
  .d5-money-p { margin-left: 0; }
  .d5-hundred { font-size: 156px; }
  .d5-money h2 { font-size: 34px; }
  .d5-private-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .d5-checks li { font-size: 18px; }
  .d5-quote-grid { gap: 24px; }
  .d5-quote { padding: 26px 26px 28px; display: flex; flex-direction: column; }
  .d5-quotes-cta { margin-top: 48px; }
  /* Names line up across the three cards: each sits the same distance above its card's bottom edge. */
  .d5-quote figcaption { margin-top: auto; padding-top: 18px; }
  .d5-faq-grid { grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
  .d5-faq-side { position: sticky; top: 108px; }
  .d5-faq h2 { font-size: 40px; }
  .d5-final-card { padding: 84px 60px 64px; }
  .d5-final h2 { font-size: 48px; }
  /* Desktop (2026-11-21): the underline under "together" sits 4px higher, closer to the word (was -0.14em). */
  .d5-final h2 .d5-u svg { bottom: -0.057em; }
}

/* Visitors who prefer less motion get the finished page, standing still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .d5-u path { stroke-dashoffset: 0; }
  .js [data-reveal]:not(.is-in),
  .js [data-reveal]:not(.is-in) .d5-stag > *,
  .js .d5-stag[data-reveal]:not(.is-in) > *,
  .js [data-reveal]:not(.is-in) .d5-stars i { opacity: 1; transform: none; }
  .d5-toast.is-on { opacity: 1; }
  .d5-hl { background-size: 100% 0.36em; }
  .d5-rising, .d5-card { translate: none; }
  .d5-callout { animation: none; }
  .d5-rising { display: none; }
}

/* ---------- Legal pages: /home/terms/, /home/privacy/, /home/dmca/ (agreed 2026-11-17) ----------
   Same calm look as the homepage: soft gradient hero, pill tabs between the three pages, the text in a white card,
   and an "On this page" list (sticky beside the text on desktop, a fold-out above it on phones and tablets). */
.d5-legal-hero {
  padding: 44px 0 28px;
  text-align: center;
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(224, 212, 248, 0.8), transparent 70%),
    radial-gradient(45% 60% at 8% 100%, rgba(251, 233, 171, 0.45), transparent 70%),
    linear-gradient(var(--blush), var(--white));
}
.d5-legal-hero h1 { margin-top: 16px; font-size: 36px; line-height: 1.12; }
/* The homepage pill leaves extra room on the left for its heart; this one has no heart, so equal padding centers the word. */
.d5-legal-hero .d5-pill { padding: 7px 16px; }
.d5-legal-date { margin-top: 10px; color: var(--deep); font-size: 15px; }
.d5-legal-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px;
}
.d5-legal-tabs a {
  padding: 8px 16px; border: var(--hair); border-radius: 999px;
  background: rgba(255, 255, 255, 0.6); color: var(--deep);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.d5-legal-tabs a:hover { background: var(--white); color: var(--ink); }
.d5-legal-tabs a[aria-current="page"] { background: var(--white); color: var(--ink); border-color: var(--purple); box-shadow: var(--sh-sm); }
.d5-legal-tabs a:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.d5-legal { padding: 8px 0 80px; background: var(--white); }
.d5-legal-grid { display: grid; gap: 16px; max-width: 1080px; }
.d5-legal-card {
  min-width: 0;
  padding: 28px 22px 32px;
  border: var(--hair); border-radius: 24px;
  background: var(--white); box-shadow: var(--sh-sm);
}

/* "On this page" */
.d5-toc details { border: var(--hair); border-radius: 16px; background: var(--lav-50); padding: 12px 16px; }
.d5-toc summary { cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 600; list-style: none; }
.d5-toc summary::-webkit-details-marker { display: none; }
.d5-toc summary::after { content: "▾"; float: right; color: var(--deep); transition: transform 0.2s ease; }
.d5-toc details:not([open]) summary::after { transform: rotate(-90deg); }
.d5-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.d5-toc a {
  display: block; padding: 5px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
  color: var(--deep); font-size: 13.5px; line-height: 1.35; text-decoration: none;
}
.d5-toc a:hover { color: var(--ink); background: var(--white); }
.d5-toc a.is-on { color: var(--purple); border-left-color: var(--purple); background: var(--white); font-weight: 600; }

/* The legal text itself: comfortable reading width and rhythm. */
.d5-prose { color: var(--deep); font-size: 16px; line-height: 1.7; letter-spacing: -0.006em; }
.d5-prose > :first-child { margin-top: 0; }
.d5-prose h2, .d5-prose h3, .d5-prose h4 { color: var(--ink); scroll-margin-top: 96px; }
.d5-prose h2 { margin: 40px 0 12px; font-size: 24px; letter-spacing: -0.024em; }
.d5-prose h3 { margin: 34px 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.d5-prose h3 strong, .d5-prose h4 strong { font-weight: inherit; }
.d5-prose h4 { margin: 24px 0 8px; font-size: 16.5px; font-weight: 600; }
.d5-prose p { margin: 0 0 14px; }
.d5-prose ul, .d5-prose ol { margin: 0 0 16px; padding-left: 1.4em; }
.d5-prose li { margin: 0 0 8px; padding-left: 0.2em; }
.d5-prose li::marker { color: var(--purple); }
.d5-prose strong, .d5-prose b { color: var(--ink); font-weight: 600; }
.d5-prose a { color: var(--purple); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lav); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.d5-prose a:hover { text-decoration-color: var(--purple); }

@media (min-width: 768px) {
  .d5-legal-hero { padding: 64px 0 36px; }
  .d5-legal-hero h1 { font-size: 48px; }
  .d5-legal-card { padding: 40px 48px 44px; }
  .d5-prose { font-size: 16.5px; }
  .d5-prose h2 { font-size: 28px; }
  .d5-prose h3 { font-size: 20px; }
}
@media (min-width: 1024px) {
  .d5-legal { padding: 16px 0 112px; }
  .d5-legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
  .d5-toc { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow: auto; }
  .d5-toc details { background: none; border: 0; padding: 0; }
  .d5-toc summary { pointer-events: none; padding: 0 10px 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep); }
  .d5-toc summary::after { display: none; }
  .d5-legal-card { padding: 48px 56px 52px; }
}
@media (min-width: 1024px) {
  /* Pages without an "On this page" list (DMCA) use one centered column. */
  .d5-legal-grid > .d5-legal-card:only-child { grid-column: 1 / -1; width: 100%; max-width: 860px; margin: 0 auto; }
}

/* Footer: license credit for the social icons (Streamline Logos Solid, CC BY 4.0; added 2026-11-18, all sizes). Kept small and quiet. */
/* Credits sit 10px apart. The space is on each credit's right, so one that wraps to a new line on a phone starts flush left. */
.d5-credit { margin-right: 10px; font-size: 12px; opacity: 0.75; white-space: nowrap; }
:not(.d5-credit) + .d5-credit { margin-left: 7px; }

/* Explainer video lightbox (2026-11-18, all sizes; Mobbin refs: Voicenotes, GetYourGuide). Calm: ink-tinted, softly blurred page behind,
   rounded video, white round close button at the video's top-right corner. Landscape 16:9 on desktop, portrait 9:16 on tablet and phone. */
.d5-video { padding: 0; border: 0; background: none; overflow: visible; max-width: none; max-height: none; color: var(--ink); }
.d5-video::backdrop { background: rgba(42, 26, 74, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.d5-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px -24px rgba(20, 10, 40, 0.6);
}
.d5-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d5-video--landscape .d5-video-frame { aspect-ratio: 16 / 9; width: min(1040px, calc(100vw - 112px), calc((100vh - 112px) * 16 / 9)); }
.d5-video--portrait .d5-video-frame {
  aspect-ratio: 9 / 16;
  width: min(calc(100vw - 32px), calc((100vh - 120px) * 9 / 16));
  width: min(calc(100vw - 32px), calc((100dvh - 120px) * 9 / 16));
  border-radius: 18px;
}
.d5-video-close {
  position: absolute;
  top: -18px; right: -18px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.3s var(--bounce), color 0.2s ease;
}
.d5-video-close svg { width: 18px; height: 18px; }
.d5-video-close:hover { transform: scale(1.08); color: var(--purple); }
.d5-video-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Portrait: the button sits just above the video's top-right corner, so it never covers the player or runs off a phone screen. */
.d5-video--portrait .d5-video-close { top: -52px; right: 0; }
.d5-video[open] { animation: d5-video-in 0.4s var(--ease) both; }
.d5-video[open]::backdrop { animation: d5-video-fade 0.3s ease both; }
@keyframes d5-video-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes d5-video-fade { from { opacity: 0; } to { opacity: 1; } }
html:has(.d5-video[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .d5-video[open], .d5-video[open]::backdrop { animation: none; } }
