/* =========================================================
   حضن بلا ألم — design tokens
   ========================================================= */
:root {
  --navy: #0B1E6B;
  --navy-deep: #081553;
  --royal: #1A3AB5;
  --purple: #7E2FD6;
  --purple-l: #A855F7;
  --yellow: #FFC91F;
  --yellow-l: #FFE55C;
  --sky: #4CC9F0;
  --mint: #5EEAD4;
  --white: #FFFFFF;
  --soft: #F2F3FF;
  --ink: #101A3A;
  --coral: #FF5A5A;

  --font-display: "Baloo Bhaijaan 2", "Tajawal", system-ui, sans-serif;
  --font-body: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-soft: 0 10px 30px -12px rgba(3, 8, 40, .55);
  --shadow-pop: 0 18px 50px -18px rgba(126, 47, 214, .7);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1160px;
  --pad: clamp(18px, 4vw, 32px);
  --section-y: clamp(64px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.75;
  color: var(--white);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.3; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }

.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }
.hl { color: var(--yellow); position: relative; white-space: nowrap; }
.i { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--purple); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 28px;
  border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; text-decoration: none;
  box-shadow: 0 8px 0 -2px rgba(0, 0, 0, .18), var(--shadow-soft);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-purple { --bg: var(--purple); }
.btn-purple:hover { --bg: #8d3ff0; box-shadow: var(--shadow-pop); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-yellow:hover { --bg: var(--yellow-l); box-shadow: 0 18px 40px -16px rgba(255, 201, 31, .8); }
.btn-ghost { --bg: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .2); }
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: .98rem; }
.btn-lg { min-height: 60px; padding: 14px 38px; font-size: 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 30, 107, .78);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 50%; background: #fff; }
.nav { display: none; }
.header-cta { margin-inline-start: auto; }
.menu-btn {
  display: grid; place-content: center; gap: 5px;
  width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1);
}
.menu-btn span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav.open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 100%; inset-inline: 0;
  padding: 12px var(--pad) 20px;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  animation: drop .3s var(--ease-out);
}
.nav.open a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.nav.open a:hover { background: rgba(255, 255, 255, .08); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav { display: flex; gap: 2px; margin-inline-start: auto; }
  .nav a { padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; opacity: .85; transition: background .2s, opacity .2s; }
  .nav a:hover { background: rgba(255, 255, 255, .1); opacity: 1; }
  .header-cta { margin-inline-start: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0 clamp(70px, 9vw, 110px);
  text-align: center;
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(126, 47, 214, .45), transparent 70%),
    var(--navy);
}
.blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; opacity: .35; }
.blob-sky { width: 340px; height: 340px; background: var(--sky); top: 8%; inset-inline-start: -140px; animation: floaty 12s ease-in-out infinite; }
.blob-mint { width: 280px; height: 280px; background: var(--mint); bottom: 10%; inset-inline-end: -120px; animation: floaty 14s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translate(20px, -24px) scale(1.06); } }

.floating-hearts span {
  position: absolute; z-index: -1; color: var(--coral); opacity: .55;
  font-size: 22px; animation: rise 9s linear infinite;
}
.floating-hearts span:nth-child(1) { inset-inline-start: 8%; bottom: -10%; animation-delay: 0s; }
.floating-hearts span:nth-child(2) { inset-inline-start: 22%; bottom: -10%; animation-delay: 3s; color: var(--yellow); font-size: 16px; }
.floating-hearts span:nth-child(3) { inset-inline-start: 78%; bottom: -10%; animation-delay: 1.5s; color: var(--mint); }
.floating-hearts span:nth-child(4) { inset-inline-start: 90%; bottom: -10%; animation-delay: 5s; font-size: 14px; color: var(--purple-l); }
.floating-hearts span:nth-child(5) { inset-inline-start: 60%; bottom: -10%; animation-delay: 6.5s; color: var(--sky); font-size: 18px; }
@keyframes rise { to { transform: translateY(-115vh) rotate(25deg); opacity: 0; } }

.eyebrow {
  display: inline-block; padding: 6px 16px; margin-bottom: 18px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(94, 234, 212, .4); color: var(--mint); font-weight: 700; font-size: .92rem;
}
.hero-title {
  font-size: clamp(3rem, 11vw, 6.6rem); line-height: 1.1;
  background: linear-gradient(180deg, #fff 30%, #d9c4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 10px 50px rgba(168, 85, 247, .35);
}
.hero-slogan {
  margin-top: 6px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 4.4vw, 2.4rem); color: var(--purple-l);
}
.hero-slogan .hl { color: var(--yellow); }
.hero-lead { max-width: 560px; margin: 16px auto 0; color: rgba(255, 255, 255, .85); font-size: clamp(1rem, 2.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.hero-actions .btn { flex: 1 1 180px; max-width: 240px; }
.hero-art { margin: clamp(36px, 6vw, 56px) auto 0; width: min(100%, 440px); }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(3, 8, 40, .5)); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.025); } }
.wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: 60px; fill: var(--navy-deep); }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section:nth-of-type(even) { background: var(--navy-deep); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.9rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 10px; color: var(--yellow); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.kicker::before { content: "♥"; color: var(--coral); }
.hint { margin-top: 8px; color: rgba(255, 255, 255, .7); }
.lead-p { margin-top: 12px; color: rgba(255, 255, 255, .82); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-deep) !important; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 22px); }
.stat {
  position: relative; overflow: hidden;
  padding: clamp(20px, 3vw, 32px) 16px; border-radius: var(--r-lg); text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.stat::before {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  top: -46px; inset-inline-end: -40px; background: var(--c); opacity: .3;
}
.stat-sky { --c: var(--sky); } .stat-purple { --c: var(--purple-l); } .stat-mint { --c: var(--mint); } .stat-yellow { --c: var(--yellow); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 3.6rem); line-height: 1.1; color: var(--c); font-variant-numeric: tabular-nums; }
.stat p { margin-top: 6px; font-weight: 700; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.stat-split { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.stat-split > span { display: flex; flex-direction: column; align-items: center; }
.stat-split small { font-family: var(--font-body); font-size: .85rem; font-weight: 700; color: #fff; opacity: .8; }
.stat-split .amp { align-self: center; margin-bottom: 22px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); font-family: var(--font-body); font-size: 1rem; color: #fff; }
.stat-split b { font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Flip cards ---------- */
.flip-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .flip-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .flip { height: 290px; } }
.flip { background: none; border: 0; padding: 0; perspective: 1200px; height: 230px; text-align: center; border-radius: var(--r-lg); }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.flip-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 28px; border-radius: var(--r-lg);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-soft);
}
.front { color: var(--ink); overflow: hidden; }
.front::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; bottom: -70px; inset-inline-start: -50px; background: rgba(255, 255, 255, .35); }
.f-sky { background: var(--sky); } .f-purple { background: var(--purple-l); color: #fff; } .f-mint { background: var(--mint); }
.flip-icon { font-size: 3rem; line-height: 1; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.flip-title { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.flip-title.sm { font-size: 1.25rem; color: var(--yellow); }
.flip-num { position: absolute; top: 16px; inset-inline-start: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; opacity: .5; }
.back { transform: rotateY(180deg); background: var(--soft); color: var(--ink); font-size: 1.08rem; font-weight: 500; line-height: 1.8; border: 3px solid var(--purple-l); }
.back .flip-title.sm { color: var(--purple); }
.flip:hover .flip-inner, .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
@media (hover: none) { .flip:hover .flip-inner { transform: none; } .flip.is-flipped .flip-inner { transform: rotateY(180deg); } }

/* ---------- Why schools ---------- */
.why-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.why-quote { font-size: clamp(1.6rem, 4.4vw, 2.6rem); margin-top: 4px; }
.why-note {
  margin-top: 22px; padding: 18px 22px; border-radius: var(--r-md);
  background: rgba(76, 201, 240, .1); border-inline-start: 5px solid var(--sky); color: rgba(255, 255, 255, .9);
}
.why-panels { display: grid; gap: 14px; }
.panel {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-md); background: var(--soft); color: var(--ink);
  box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-spring);
}
.panel:hover { transform: translateX(-6px) rotate(-.5deg); }
.panel-dot { grid-row: span 2; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 18px; background: var(--c); }
.panel h3 { font-size: 1.35rem; }
.panel p { color: #3d4566; font-size: .98rem; line-height: 1.6; }
.p-yellow { --c: var(--yellow-l); } .p-coral { --c: #ffc2c2; } .p-sky { --c: #bfefff; }

/* ---------- Difference ---------- */
.vs { display: grid; gap: 16px; align-items: stretch; max-width: 940px; margin: 0 auto; }
@media (min-width: 760px) { .vs { grid-template-columns: 1fr auto 1fr; gap: 22px; } }
.vs-card { position: relative; padding: 34px 26px 28px; border-radius: var(--r-lg); color: var(--ink); box-shadow: var(--shadow-soft); }
.vs-card.ok { background: linear-gradient(160deg, #e2fffa, var(--mint)); }
.vs-card.bad { background: linear-gradient(160deg, #fff0f0, #ffb3b3); }
.vs-badge {
  position: absolute; top: -22px; inset-inline-start: 26px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; font-weight: 800; font-size: 1.4rem; color: #fff; border: 4px solid var(--navy);
}
.ok .vs-badge { background: #12a38c; } .bad .vs-badge { background: var(--coral); }
.vs-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-card li { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .65); font-weight: 500; }
.vs-card li b { color: var(--purple); }
.bad li b { color: #c62828; }
.vs-mid {
  align-self: center; justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 0 0 8px rgba(255, 201, 31, .2);
}

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-progress { margin-bottom: 22px; }
.qp-label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; color: var(--mint); }
.qp-bar { height: 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); overflow: hidden; }
.qp-bar span { display: block; height: 100%; width: 10%; border-radius: inherit; background: linear-gradient(90deg, var(--purple-l), var(--yellow)); transition: width .6s var(--ease-out); }
[dir="rtl"] .qp-bar span { margin-inline-start: 0; }
.quiz-stage { perspective: 1400px; }
.q-card {
  position: relative; padding: clamp(26px, 5vw, 40px); border-radius: var(--r-lg);
  background: var(--soft); color: var(--ink); box-shadow: var(--shadow-soft);
  transform-origin: center; transition: transform .45s var(--ease-out), opacity .45s;
}
.q-card.out { transform: rotateY(-90deg); opacity: .3; }
.q-card.in { transform: rotateY(90deg); opacity: .3; transition: none; }
.q-num {
  position: absolute; top: -18px; inset-inline-start: 26px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  border: 4px solid var(--navy);
}
.quiz .q-num { border-color: var(--navy-deep); }
.q-text { font-size: clamp(1.35rem, 3.6vw, 1.75rem); margin: 10px 0 20px; }
.q-options { display: grid; gap: 12px; }
.q-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 18px;
  border: 2px solid #dcdcf5; border-radius: 18px; background: #fff; text-align: start; font-weight: 700; font-size: 1.05rem; color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s var(--ease-spring);
}
.q-opt::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #b8b8e0; transition: .2s; }
.q-opt:hover { border-color: var(--purple-l); transform: translateY(-2px); }
.q-opt.picked { border-color: var(--purple); background: #f3eaff; }
.q-opt.picked::before { border-color: var(--purple); background: var(--purple); box-shadow: inset 0 0 0 4px #fff; }

.result-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(34px, 6vw, 54px) clamp(20px, 5vw, 44px);
  border-radius: var(--r-lg); background: var(--navy); border: 2px solid rgba(255, 201, 31, .4);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  animation: pop .7s var(--ease-spring);
}
@keyframes pop { from { transform: scale(.85) rotateY(40deg); opacity: 0; } }
.rc-dot { position: absolute; border-radius: 50%; background: var(--yellow); opacity: .85; }
.rc-dot.d1 { width: 120px; height: 120px; top: -40px; inset-inline-start: -30px; }
.rc-dot.d2 { width: 60px; height: 60px; bottom: 30px; inset-inline-end: -14px; opacity: .6; }
.rc-dot.d3 { width: 24px; height: 24px; top: 40%; inset-inline-end: 12%; opacity: .5; }
.rc-dot.d4 { width: 170px; height: 170px; bottom: -90px; inset-inline-start: 18%; opacity: .2; }
.rc-logo { position: relative; margin: 0 auto 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.rc-label { position: relative; color: var(--mint); font-weight: 700; }
.rc-score { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 12vw, 5rem); line-height: 1.1; color: var(--yellow); }
.rc-score small { font-size: .4em; color: rgba(255, 255, 255, .7); }
.rc-msg { position: relative; max-width: 420px; margin: 8px auto 26px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 3.4vw, 1.5rem); }
.rc-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rc-actions .btn { flex: 1 1 150px; }

/* ---------- Pledge widget ---------- */
.pw { display: grid; gap: 28px; align-items: center; justify-items: center; }
@media (min-width: 900px) { .pledge .pw.has-card { grid-template-columns: 1fr auto; justify-items: stretch; gap: 56px; } }
.pw-form { width: 100%; max-width: 520px; justify-self: center; }
.pw-form label { display: block; font-weight: 700; margin-bottom: 10px; }
.pw-field {
  display: flex; flex-direction: column; gap: 12px;
}
.pw-input {
  width: 100%; min-height: 60px; padding: 14px 22px; border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff;
  font: 700 1.2rem var(--font-display); transition: border-color .2s, background .2s;
}
.pw-input::placeholder { color: rgba(255, 255, 255, .5); }
.pw-input:focus { outline: none; border-color: var(--yellow); background: rgba(255, 255, 255, .14); }
.pw-form .btn { width: 100%; }
.pw-err { margin-top: 8px; color: #ffb3b3; font-weight: 700; }
.pw-result { display: none; width: 100%; flex-direction: column; align-items: center; gap: 18px; }
.pw.has-card .pw-result { display: flex; }
.pw-canvas-wrap {
  width: min(78vw, 300px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .08);
  animation: pop .7s var(--ease-spring);
}
.pw-canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.pw-colors { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); background: var(--c);
  transition: transform .2s var(--ease-spring), border-color .2s;
}
.swatch[aria-pressed="true"] { border-color: var(--yellow); transform: scale(1.15); box-shadow: 0 0 0 3px rgba(255, 201, 31, .35); }
.pw-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: min(100%, 420px); }
.pw-actions .btn { flex: 1 1 120px; min-height: 48px; padding: 10px 16px; font-size: 1rem; }
.pw-redo { background: none; border: 0; color: rgba(255, 255, 255, .7); text-decoration: underline; font-weight: 700; }
.pledge .pw-form { align-self: center; }

/* ---------- Wall ---------- */
.wall-count { margin-top: 10px; font-weight: 700; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.wall-count b { color: var(--yellow); font-family: var(--font-display); font-size: 1.6rem; }
.wall-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px;
  padding: clamp(16px, 3vw, 28px); border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 201, 240, .14), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(94, 234, 212, .12), transparent 40%),
    rgba(255, 255, 255, .03);
  border: 2px dashed rgba(255, 255, 255, .14);
}
@media (min-width: 700px) { .wall-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 14px; } }
.w-heart {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  color: var(--c, rgba(255, 255, 255, .07));
}
.w-heart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-heart.empty svg path { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; stroke-dasharray: 4 4; }
.w-heart span {
  position: relative; max-width: 70%; margin-top: -8%; text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(.75rem, 2.4vw, .95rem); line-height: 1.25; color: var(--ink); word-break: break-word;
}
.w-heart.filled { animation: heartIn .8s var(--ease-spring) both; }
.w-heart.filled:hover { transform: scale(1.08) rotate(-4deg); transition: transform .3s var(--ease-spring); }
.w-heart.mine span::after { content: " ★"; color: var(--purple); }
@keyframes heartIn { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.wall-cta { text-align: center; margin-top: 28px; }

/* ---------- Support hearts ---------- */
.hearts-game { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 960px; margin: 0 auto; }
@media (min-width: 900px) { .hearts-game { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.h-btn {
  position: relative; min-height: 200px; padding: 22px 14px; border: 0; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  transition: background .4s var(--ease-out), transform .3s var(--ease-spring), box-shadow .3s;
}
.h-btn:hover { transform: translateY(-4px); }
.h-shape { font-size: 4.6rem; line-height: 1; color: var(--c); filter: drop-shadow(0 8px 14px rgba(0,0,0,.3)); animation: beat 1.6s ease-in-out infinite; }
.h-tap { font-weight: 700; color: rgba(255,255,255,.7); font-size: .92rem; }
.h-open { display: none; flex-direction: column; gap: 8px; }
.h-open strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.3; }
.h-open small { font-size: .95rem; line-height: 1.6; color: #2e3658; font-weight: 500; }
.h-btn.open { background: var(--c); box-shadow: 0 20px 40px -20px var(--c); }
.h-btn.open .h-shape { font-size: 2rem; color: #fff; animation: none; }
.h-btn.open .h-tap { display: none; }
.h-btn.open .h-open { display: flex; animation: fadeUp .5s var(--ease-out); }
.c-sky { --c: var(--sky); } .c-purple { --c: var(--purple-l); } .c-mint { --c: var(--mint); } .c-yellow { --c: var(--yellow); }
.c-purple.open .h-open strong, .c-purple.open .h-open small { color: #fff; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.support-foot {
  max-width: 640px; margin: clamp(30px, 5vw, 48px) auto 0; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 3.4vw, 1.7rem); color: var(--yellow);
}

/* ---------- Voices ---------- */
.voices-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .voices-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.voice {
  position: relative; margin: 0; padding: 40px 26px 24px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px;
  background: var(--soft); color: var(--ink); box-shadow: var(--shadow-soft);
}
.voice::before {
  content: "”"; position: absolute; top: -18px; inset-inline-start: 22px; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--c); color: var(--ink); font: 800 2.6rem/1 Georgia, serif; padding-top: 14px;
}
.v1 { --c: var(--yellow); } .v2 { --c: var(--mint); } .v3 { --c: var(--sky); }
.voice blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.5; }
.voice figcaption { margin-top: 12px; color: #6a7194; font-size: .92rem; font-weight: 500; }

/* ---------- Challenges ---------- */
.ch-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .ch-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ch {
  padding: 28px 24px; border-radius: var(--r-lg); text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s var(--ease-spring), background .3s;
}
.ch:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.ch-ico { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 14px; font-size: 2rem; border-radius: 22px; background: rgba(168, 85, 247, .25); }
.ch h3 { font-size: 1.35rem; color: var(--purple-l); }
.ch p { margin-top: 6px; color: rgba(255,255,255,.78); font-size: .98rem; }
.ch-foot { margin: clamp(30px, 5vw, 48px) auto 0; max-width: 680px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3.6vw, 1.8rem); }

/* ---------- Vision ---------- */
.vision { overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--purple), var(--royal)) !important; }
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); }
.ring.r1 { width: 520px; height: 520px; top: -260px; inset-inline-end: -160px; border-color: rgba(94, 234, 212, .4); }
.ring.r2 { width: 360px; height: 360px; bottom: -200px; inset-inline-start: -100px; border-color: rgba(76, 201, 240, .45); border-width: 18px; opacity: .3; }
.vision-inner { position: relative; max-width: 860px; }
.vision .kicker { color: var(--yellow-l); }
.vision-quote { font-size: clamp(1.7rem, 4.8vw, 3rem); line-height: 1.45; }
.vision-sub { margin: 20px auto 32px; max-width: 600px; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { padding: var(--section-y) 0 40px; background: var(--navy-deep); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.letter-wrap { position: relative; }
.letter, .letter-thanks {
  position: relative; padding: clamp(28px, 5vw, 44px); border-radius: var(--r-md);
  background:
    repeating-linear-gradient(transparent 0 37px, rgba(126, 47, 214, .12) 37px 38px),
    #fffdf6;
  color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transform: rotate(-.6deg);
}
.letter::before {
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(126, 47, 214, .25); border-radius: 16px; pointer-events: none;
}
.letter-stamp {
  position: absolute; top: 18px; inset-inline-end: 20px; width: 60px; height: 70px; display: grid; place-items: center;
  background: var(--coral); color: #fff; font-size: 1.8rem; border-radius: 6px; transform: rotate(8deg);
  outline: 3px dotted #fff; outline-offset: -7px;
}
.letter h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--purple); padding-inline-end: 70px; }
.letter-sub { margin: 6px 0 18px; color: #4d5576; }
.letter textarea {
  width: 100%; min-height: 170px; padding: 14px 16px; border-radius: 14px; resize: vertical;
  border: 2px solid #e5def5; background: rgba(255, 255, 255, .7); color: var(--ink);
  font: 500 1.05rem/1.9 var(--font-body);
}
.letter textarea:focus { outline: none; border-color: var(--purple-l); background: #fff; }
.letter .btn { margin-top: 14px; }
.form-err { color: #c62828; font-weight: 700; margin-top: 8px; }
.letter-thanks { text-align: center; animation: pop .7s var(--ease-spring); }
.thanks-heart { display: inline-block; font-size: 3.6rem; color: var(--coral); animation: beat 1.6s infinite; }
.letter-thanks h3 { font-size: 1.9rem; color: var(--purple); }
.letter-thanks p { font-size: 1.25rem; font-weight: 700; margin: 6px 0 18px; }
.letter-thanks .btn-ghost { color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple-l); }

.footer-side { display: grid; gap: 26px; }
.safety {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255, 201, 31, .12); border: 2px solid rgba(255, 201, 31, .5); font-size: 1.15rem;
}
.safety b { color: var(--yellow); }
.safety-ico { font-size: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; background: #fff; }
.fb-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.fb-slogan { color: var(--purple-l); font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(255, 255, 255, .08); transition: background .2s, transform .25s var(--ease-spring), color .2s;
}
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }
.copy { color: rgba(255, 255, 255, .55); font-size: .92rem; }

/* ---------- Modal ---------- */
.modal {
  width: min(94vw, 480px); max-height: 92dvh; padding: 30px 22px 26px; border: 0; border-radius: var(--r-lg);
  background: var(--navy); color: #fff; box-shadow: 0 40px 90px -30px #000;
  overflow-y: auto; overscroll-behavior: contain;
}
.modal[open] { animation: pop .5s var(--ease-spring); }
.modal::backdrop { background: rgba(4, 9, 40, .7); backdrop-filter: blur(6px); }
.modal-title { text-align: center; font-size: 1.8rem; margin-bottom: 16px; color: var(--yellow); }
.modal-x {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); font-size: 1.6rem; line-height: 1;
}
.modal .pw-canvas-wrap { width: min(62vw, 230px); }
.modal .pw.has-card .pw-form { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 20px; left: 50%; z-index: 200; transform: translate(-50%, 140%);
  padding: 12px 22px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-weight: 800;
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-spring), visibility .4s; pointer-events: none; text-align: center; max-width: 90vw;
  visibility: hidden; transform: translate(-50%, calc(100% + 40px));
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .floating-hearts { display: none; }
  .reveal { opacity: 1; transform: none; }
}
