/* Palette sampled from Tal's flyer: cream paper, blush/lilac watercolor,
   pink ribbon, deep plum type, pink hearts. */
@font-face {
  font-family: 'Heebo';
  src: url('/heebo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --cream: #fdfbf7;
  --blush: #fbf0f5;
  --pink-pale: #fae5ec;
  --pink: #f1cadd;
  --lilac: #e8cfe2;
  --heart: #d98fb8;
  --plum: #4a1538;
  --plum-mid: #7a2e62;
  --ink: #2e1a28;
  --muted: #6b5563;
  --line: #f0d9e5;
  --focus: #147a96;
  --wa: #1f7a44;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(122, 46, 98, 0.10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(40rem 30rem at 100% 0%, #f7e3ee 0%, transparent 60%),
    radial-gradient(36rem 28rem at 0% 100%, #f1e2f0 0%, transparent 60%),
    var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--plum-mid); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: #fff; padding: 0.5rem 1rem; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 1rem; }
.wrap { max-width: 50rem; margin: 0 auto; padding-inline: 1.25rem; position: relative; }

/* ---------- decorative sprigs ---------- */
.sprig { position: absolute; pointer-events: none; z-index: 0; width: 9rem; height: auto; aspect-ratio: 160 / 220; }
.sprig-a { top: -0.5rem; inset-inline-end: -2.5rem; transform: scaleX(-1) rotate(-8deg); }
.sprig-b { top: 1rem; inset-inline-start: -3rem; width: 7rem; transform: rotate(14deg); opacity: 0.85; }
.sprig-c { bottom: -1.5rem; inset-inline-end: -2rem; width: 8rem; transform: scaleX(-1) rotate(180deg); opacity: 0.9; }

/* ---------- flyer-style hero ---------- */
.flyer {
  position: relative; overflow: hidden;
  margin-block: 1.25rem 1.5rem;
  padding: 1.75rem 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.flyer > :not(.sprig) { position: relative; z-index: 1; }
.flyer-grid {
  display: grid; gap: 1rem 1.75rem; align-items: center;
  grid-template-areas: "logo" "portrait" "partner" "title";
  justify-items: center; text-align: center;
}
.logo { grid-area: logo; width: 13rem; }
.portrait { grid-area: portrait; margin: 0; position: relative; width: 12rem; }
.portrait::before {
  content: ""; position: absolute; inset: 6% -8% -4% -8%;
  background: radial-gradient(circle at 40% 40%, #f3dcea, var(--lilac));
  border-radius: 58% 42% 50% 50% / 48% 55% 45% 52%;
}
.portrait img {
  position: relative; display: block; width: 100%;
  border-radius: 50% 50% 46% 54% / 44% 48% 52% 56%;
}
.partner {
  grid-area: partner;
  background: var(--pink-pale); border-radius: 14px;
  padding: 0.55rem 1.25rem; line-height: 1.45; margin: 0;
  font-size: 1.125rem; color: var(--ink);
}
.partner strong { color: var(--plum); font-weight: 800; }
.title { grid-area: title; }
.date-chip {
  display: inline-block; margin: 0 0 0.6rem;
  padding: 0.2rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--heart); color: var(--plum-mid);
  font-weight: 700; font-size: 0.9375rem; background: #fff;
}
h1 {
  margin: 0; color: var(--plum);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.1rem);
  line-height: 1.1; font-weight: 900; letter-spacing: -0.01em;
}
.ribbon {
  display: block; width: fit-content; margin: 0.6rem auto 0;
  padding: 0.15rem 2.25rem;
  background: var(--pink); color: var(--plum);
  font-size: 0.5em; font-weight: 700; letter-spacing: 0;
  border-radius: 6px 22px 6px 22px;
}
@media (min-width: 44rem) {
  .flyer { padding: 2rem 2.5rem 2.25rem; }
  .flyer-grid {
    grid-template-columns: 14rem 1fr;
    grid-template-areas:
      "portrait logo"
      "portrait partner"
      "portrait title";
    justify-items: center;
  }
  .portrait { width: 14rem; }
  .logo { width: 14rem; }
}

/* ---------- hearts list ---------- */
.topics-head {
  margin: 1.75rem 0 1rem; text-align: center;
  font-size: 1.375rem; color: var(--plum);
}
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem 2rem; }
.topics li {
  padding-inline-start: 1.9rem; line-height: 1.5;
  background: no-repeat right 0 top 0.2em / 1.15rem
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d98fb8' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 2.9 4.5 6.6 4.5c2.2 0 3.7 1.3 5.4 3.2 1.7-1.9 3.2-3.2 5.4-3.2 3.7 0 5.7 3.9 4.2 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
  font-weight: 500;
}
@media (min-width: 40rem) {
  .topics { grid-template-columns: 1fr 1fr; }
}
.more {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.25rem 0 0; color: var(--plum); font-weight: 800; font-size: 1.125rem;
}
.more::before, .more::after { content: ""; flex: 1; height: 1px; background: var(--heart); opacity: 0.6; }

/* ---------- cards ---------- */
.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem; margin-block: 1.25rem;
}
h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 1rem; color: var(--plum); }
.lead { margin: 0; text-align: center; font-size: 1.1875rem; }

.price { text-align: center; background: linear-gradient(160deg, #fff 0%, var(--blush) 100%); }
.badge {
  display: inline-block; margin: 0 0 0.5rem;
  background: var(--pink); color: var(--plum);
  border-radius: 999px; padding: 0.15rem 1rem; font-size: 0.9375rem; font-weight: 700;
}
.price-now { font-size: 3rem; font-weight: 900; line-height: 1.1; color: var(--plum); margin: 0; }
.price-now small { font-size: 1.25rem; font-weight: 700; }
.price-was { color: var(--muted); margin: 0.25rem 0 0; }
.price-was s { color: var(--ink); }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 1.25rem; padding: 0.85em 1.9em; min-height: 3rem;
  background: var(--wa); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.1875rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(31, 122, 68, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta:hover { background: #17613a; transform: translateY(-2px); }
.cta svg { width: 1.5rem; height: 1.5rem; flex: none; }
.pay-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9375rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1rem; margin: 0; }
.facts dt { font-weight: 700; color: var(--plum-mid); }
.facts dd { margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.steps li { counter-increment: s; display: flex; gap: 0.9rem; align-items: flex-start; }
.steps li::before {
  content: counter(s); flex: none; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--pink); color: var(--plum); font-weight: 800;
}

.final { text-align: center; background: linear-gradient(120deg, var(--pink-pale) 0%, #f1e4f2 100%); border: 0; }
.final p { margin: 0; font-size: 1.1875rem; color: var(--plum); font-weight: 600; }

.ended { text-align: center; background: #fff4e5; border-color: #f0d3a8; }

footer { padding-block: 1.5rem 2.5rem; text-align: center; color: var(--muted); font-size: 0.9375rem; }
footer p { margin: 0.35rem 0; }

/* accessibility page */
.doc h1 { font-size: 2rem; margin-bottom: 1rem; }
.doc-logo { display: block; margin: 1.25rem auto 0; width: 10rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- narrow phones ---------- */
.nw { white-space: nowrap; }
.cta { white-space: nowrap; }
@media (max-width: 26rem) {
  .cta { padding-inline: 1.3em; font-size: 1.0625rem; }
  .flyer { padding-inline: 1.1rem; }
  .logo { width: 11rem; }
  .sprig-a { width: 6rem; inset-inline-end: -2.25rem; }
  .sprig-b { width: 5rem; inset-inline-start: -2.25rem; top: 2.5rem; }
  .sprig-c { width: 6rem; }
}
