/* ==========================================================================
   I UNITE · Public site prototype styles (v2.5)
   Single shared stylesheet for all mockups. Tokens from docs/visual-system.md.
   Navy #1B3E70 primary · Light Blue #03A9EB accent (never text on white) · Poppins.
   Mobile-first: base styles = mobile layout; media queries upgrade at 640/1024px.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --navy: #1B3E70;
  --navy-800: #142E56;
  --navy-600: #2A5089;
  --navy-100: #D9E2F0;
  --navy-50: #F6F9FD;
  --light-blue: #03A9EB;
  --blue-600: #0288C4;
  --blue-100: #CDEDFB;
  --blue-50: #EAF7FE;
  --ink: #1E2A3B;
  --muted: #5A6B82;
  --success: #2E7D32;
  --warning: #B26A00;
  --error: #B3261E;
  --white: #FFFFFF;
  --shadow-card: 0 2px 12px rgba(27,62,112,.08);
  --shadow-lift: 0 10px 28px rgba(27,62,112,.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad-hero: radial-gradient(55% 85% at 86% 6%, rgba(3,169,235,.26), transparent 62%),
               radial-gradient(45% 75% at 3% 98%, rgba(3,169,235,.16), transparent 60%),
               linear-gradient(112deg, #F6F9FD 0%, #EAF7FE 52%, #DCE7F5 100%);
  --grad-media: linear-gradient(135deg, #EAF7FE 0%, #D9E2F0 100%);
  --grad-cta: radial-gradient(60% 120% at 88% -10%, rgba(3,169,235,.38), transparent 60%),
              radial-gradient(50% 110% at 4% 110%, rgba(3,169,235,.20), transparent 62%),
              linear-gradient(118deg, #142E56 0%, #1B3E70 55%, #2A5089 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--navy-50); }
.section-blue { background: var(--blue-50); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 7fr 5fr; }
  .section { padding: 6rem 0; }
}

/* ---------- Spacing (rem scale) ---------- */
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }
.mx-auto { margin-inline: auto; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-7 { padding: 1.75rem; } .p-8 { padding: 2rem; }
.px-4 { padding-inline: 1rem; } .px-5 { padding-inline: 1.25rem; } .px-6 { padding-inline: 1.5rem; } .px-8 { padding-inline: 2rem; }
.py-2 { padding-block: .5rem; } .py-3 { padding-block: .75rem; } .py-4 { padding-block: 1rem; }
.py-6 { padding-block: 1.5rem; } .py-8 { padding-block: 2rem; } .py-10 { padding-block: 2.5rem; } .py-12 { padding-block: 3rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
.text-xl { font-size: 1.25rem; } .text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; } .text-sm { font-size: .875rem; } .text-xs { font-size: .75rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .05em; } .tracking-wider { letter-spacing: .08em; }
.leading-snug { line-height: 1.35; }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); } .text-navy600 { color: var(--navy-600); }
.text-ink { color: var(--ink); } .text-muted { color: var(--muted); }
.text-blue600 { color: var(--blue-600); } .text-blue100 { color: var(--blue-100); }
.text-lightblue { color: var(--light-blue); }
.text-success { color: var(--success); } .text-error { color: var(--error); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--navy-600);
}
.eyebrow .dot { width: .375rem; height: .375rem; border-radius: 999px; background: var(--light-blue); }
.eyebrow-center { justify-content: center; }
.tagline { font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 12px; padding: .75rem 1.5rem; font-size: 1rem; font-weight: 600;
  line-height: 1.2; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,62,112,.16); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); }
.btn-accent { background: var(--light-blue); color: var(--navy); font-weight: 700; }
.btn-accent:hover { background: var(--blue-600); color: var(--white); }
.btn-ghost { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy-50); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-100); }
.btn-sm { padding: .6rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-referral {
  display: none; align-items: center; justify-content: center;
  border: 2px solid var(--navy); border-radius: 12px; padding: .6rem 1.1rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  transition: background-color .3s var(--ease);
}
.btn-referral:hover { background: var(--navy-100); }
@media (min-width: 768px) { .btn-referral { display: inline-flex; } }
.btn-referral-block { display: inline-flex; width: 100%; margin-top: .75rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-100);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.nav-logo { display: flex; align-items: center; line-height: 1; }
.nav-logo img { height: 2.5rem; width: auto; }
.nav-links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; border-radius: 8px; font-size: .875rem; font-weight: 500;
  background: none; border: 0; font-family: inherit;
  color: var(--ink); transition: background-color .2s, color .2s;
}
.nav-link:hover { background: var(--navy-50); color: var(--navy); }
.nav-link.active { background: var(--navy-50); color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: none; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--navy-600); }
@media (min-width: 1280px) { .nav-phone { display: inline-flex; } }
.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 8px; border: 0; background: transparent; color: var(--navy);
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Programs dropdown (CSS hover) */
.dropdown { position: relative; }
.dropdown-panel {
  display: none; position: absolute; left: 0; top: 100%; z-index: 50;
  min-width: 16rem; background: var(--white);
  border-radius: 12px; padding: .5rem; box-shadow: var(--shadow-lift); margin-top: .5rem;
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-item {
  display: block; padding: .5rem .75rem; border-radius: 8px;
  font-size: .875rem; color: var(--ink);
}
.dropdown-item:hover { background: var(--navy-50); }
.dropdown-item.bold { font-weight: 600; color: var(--navy); }
.dropdown-sep { height: 1px; background: var(--navy-100); margin: .4rem 0; }
.dropdown-item svg { vertical-align: -2px; }

/* Mobile menu: full-screen overlay (JS toggles .open) */
body.menu-open { overflow: hidden; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 1000; /* above navbar (z-40) */
  flex-direction: column; background: var(--white);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.navbar { z-index: 40; }
.mobile-menu .mm-bar { z-index: 5; }
.mm-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; border-bottom: 1px solid var(--navy-100);
  position: sticky; top: 0; background: var(--white); z-index: 2;
}
.mm-bar img { height: 2.25rem; width: auto; }
.menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 8px; border: 0;
  background: var(--navy-50); color: var(--navy); font-size: 1.25rem; line-height: 1;
}
.mm-scroll { padding: 1rem 1.25rem 2rem; flex: 1; }
.mm-label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--navy-600); margin: 1.5rem 0 .25rem; }
.mm-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-size: 1.0625rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--navy-100);
}
.mm-link:active { color: var(--blue-600); }
.mm-sublink { display: block; padding: .8rem 0 .8rem .75rem; font-size: .9375rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--navy-100); }
.mm-sublink:active { color: var(--blue-600); }
.mm-cta { padding: 1.25rem; border-top: 1px solid var(--navy-100); display: flex; flex-direction: column; gap: .75rem; }
.mm-contact { padding: 1rem 1.25rem; background: var(--navy-50); }
.mm-contact p { display: flex; align-items: center; gap: .625rem; font-size: .8125rem; color: var(--ink); padding: .3rem 0; }
.mm-contact p svg { color: var(--blue-600); flex-shrink: 0; }
.mm-credit { text-align: center; font-size: .6875rem; color: var(--muted); padding: 1rem 1.25rem 1.5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); border-bottom: 1px solid var(--navy-100); padding: 4rem 0; }
.hero-center { text-align: center; }
.hero h1 { color: var(--navy); margin-top: 1rem; }
.hero .sub { color: var(--navy-600); font-size: 1.125rem; max-width: 42rem; }
.hero-center .sub { margin-inline: auto; }
.hero .lead { margin-top: 1.25rem; }
.hero-mark { display: none; }
@media (min-width: 1024px) {
  .hero-mark {
    display: block; position: absolute; right: -6rem; top: 50%; transform: translateY(-50%);
    height: 34rem; opacity: 1; pointer-events: none;
  }
  .hero-left { text-align: left; }
  .hero-left .container { position: relative; }
}
.hero-anim > * { animation: fade-rise .7s var(--ease) both; }
.hero-anim > *:nth-child(1) { animation-delay: .05s; }
.hero-anim > *:nth-child(2) { animation-delay: .15s; }
.hero-anim > *:nth-child(3) { animation-delay: .25s; }
.hero-anim > *:nth-child(4) { animation-delay: .35s; }
.hero-anim > *:nth-child(5) { animation-delay: .45s; }
.hero-anim > *:nth-child(n+6) { animation-delay: .55s; }
@keyframes fade-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Cards & media ---------- */
.card {
  background: var(--white); border: 1px solid var(--navy-100); border-radius: 16px;
  box-shadow: var(--shadow-card); padding: 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-flat { padding: 0; overflow: hidden; }
.card-flat .card-body { padding: 1.5rem; }
.media {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--grad-media);
}
.media img { width: 6rem; opacity: .9; }
.media img.photo { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.media-sm { height: 7rem; } .media-sm img { width: 4rem; }
.media-md { height: 11rem; }
.media-lg { height: 15rem; }
.media-hero { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; }
.media-banner { aspect-ratio: 16 / 9; border-radius: 16px; } .media-banner img { width: 9rem; }
.media-tile { height: 11rem; border-radius: 16px 16px 0 0; }
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-600);
}
.letter-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--navy);
  color: var(--white); font-size: 1.25rem; font-weight: 700;
}
.initials-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy);
  color: var(--white); font-size: .75rem; font-weight: 700;
  line-height: 1; flex-shrink: 0;
}
.avatar-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 6rem; height: 6rem; border-radius: 50%;
  border: 2px dashed var(--blue-100); background: var(--navy-50); color: var(--blue-600);
  line-height: 1; flex-shrink: 0;
}
.avatar-circle.sm { width: 4rem; height: 4rem; }
.avatar-circle svg { width: 2.25rem; height: 2.25rem; }
.avatar-circle.sm svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  background: var(--white); border: 1px solid var(--navy-100); border-radius: 999px;
  padding: .375rem .75rem; font-size: .75rem; font-weight: 600; color: var(--navy);
}
.badge svg { color: var(--blue-600); }
.cat-chip {
  display: inline-flex; background: var(--navy); color: var(--white);
  border-radius: 999px; padding: .25rem .75rem;
  font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.tag-chip {
  display: inline-flex; background: var(--blue-50); color: var(--blue-600);
  border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 4rem 0; text-align: center;
  background-color: var(--navy); background-image: var(--grad-cta);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 38rem; margin-inline: auto; }
.cta-band .rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56rem; opacity: .12; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); color: rgba(255,255,255,.8); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.footer ul li { margin-bottom: .5rem; font-size: .875rem; }
.footer a:hover { color: var(--blue-100); }
.footer-logo { height: 5rem; width: auto; }
.footer-tagline { color: var(--blue-100); font-size: .875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: .75rem; }
.footer-contact { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; }
.footer-contact svg { color: var(--blue-100); flex-shrink: 0; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: .75rem; color: rgba(255,255,255,.5);
}
.footer-bottom a.credit { color: var(--light-blue); font-weight: 600; }
.footer-bottom a.credit:hover { filter: brightness(1.1); }

/* ---------- Forms ---------- */
.field-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; color: var(--ink); }
.field-label .req { color: var(--error); }
.field {
  width: 100%; border: 1px solid var(--navy-100); border-radius: 8px;
  padding: .75rem 1rem; font-size: .875rem; font-family: inherit; color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: rgba(90,107,130,.6); }
.field:focus { outline: none; border-color: var(--light-blue); box-shadow: 0 0 0 4px var(--blue-100); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; }
.fieldset-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-600);
}
.fieldset-title .step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-600);
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; border: 2px dashed var(--navy-100); border-radius: 12px;
  padding: 1.75rem 1rem; text-align: center; background: var(--white);
  transition: border-color .25s, background-color .25s;
}
.upload-zone:hover { border-color: var(--navy-600); background: var(--navy-50); }
.upload-zone svg { color: var(--blue-600); width: 1.75rem; height: 1.75rem; }
.upload-zone .strong { font-size: .875rem; font-weight: 600; color: var(--navy); }
.upload-zone .hint { font-size: .75rem; color: var(--muted); }
.form-error { display: flex; align-items: center; gap: .375rem; margin-top: .375rem; font-size: .75rem; font-weight: 500; color: var(--error); }
.form-error svg { flex-shrink: 0; width: 1rem; height: 1rem; }

/* ---------- FAQ (native details + light JS) ---------- */
.faq {
  background: var(--white); border: 1px solid var(--navy-100); border-radius: 16px;
  box-shadow: var(--shadow-card); margin-bottom: .75rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; border-left: 4px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--navy-50); }
.faq summary h3 { font-size: .875rem; color: var(--navy); }
@media (min-width: 640px) { .faq summary h3 { font-size: 1rem; } }
.faq[open] summary { border-left-color: var(--light-blue); }
.faq .chevron { color: var(--navy); transition: transform .3s var(--ease); }
.faq[open] .chevron { transform: rotate(180deg); }
.faq .faq-answer { padding: 0 1.5rem 1.25rem; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.faq[open] .faq-answer { animation: faq-open .5s var(--ease) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Steps / numbered ---------- */
.step-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--navy);
  color: var(--white); font-size: .875rem; font-weight: 700; flex-shrink: 0;
}
.step-row { display: flex; gap: 1rem; align-items: flex-start; }
.step-row .strong { font-weight: 600; color: var(--navy); }

/* ---------- Misc ---------- */
.rounded-lg { border-radius: 12px; } .rounded-xl { border-radius: 16px; } .rounded-2xl { border-radius: 24px; }
.rounded-full { border-radius: 999px; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.absolute-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.sticky-top { position: sticky; top: 6rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); } .bg-navy800 { background: var(--navy-800); }
.bg-navy50 { background: var(--navy-50); } .bg-blue50 { background: var(--blue-50); }
.border { border: 1px solid var(--navy-100); }
.border-t { border-top: 1px solid var(--navy-100); }
.border-2 { border-width: 2px; }
.border-navy { border-color: var(--navy); }
.border-blue100 { border-color: var(--blue-100); }
.border-dashed { border-style: dashed; }
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-lift { box-shadow: var(--shadow-lift); }
.opacity-90 { opacity: .9; } .opacity-80 { opacity: .8; } .opacity-60 { opacity: .6; } .opacity-40 { opacity: .4; }
.hidden { display: none; }
.icon-sm { width: 1rem; height: 1rem; } .icon-md { width: 1.25rem; height: 1.25rem; }

/* Checklist rows */
.check-row { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; font-weight: 500; }
.check-row .tick {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.5rem; height: 1.5rem; margin-top: .125rem; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-600);
}
.check-row .tick svg { width: 1rem; height: 1rem; }

/* Quote (testimonials) */
.quote-icon { color: var(--light-blue); width: 1.75rem; height: 1.75rem; }
blockquote.testimonial { font-style: italic; font-size: .875rem; color: var(--ink); flex: 1; }
.fig-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--navy-100); }
.fig-author .name { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); }
.fig-author .role { display: block; font-size: .75rem; color: var(--muted); }

/* Share buttons */
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--navy-50);
  color: var(--navy-600); transition: background-color .25s, color .25s;
}
.share-btn:hover { background: var(--blue-50); color: var(--blue-600); }
.share-btn svg { width: 1rem; height: 1rem; }

/* Category filter pills */
.pill {
  border-radius: 999px; padding: .5rem 1rem; font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.pill-active { background: var(--navy); color: var(--white); border: 0; }
.pill-idle { background: var(--white); color: var(--navy-600); border: 1.5px solid var(--navy-100); }
.pill-idle:hover { border-color: var(--navy); color: var(--navy); }

/* Mobile preview frame (shown on every page) */
.preview-section { background: var(--navy-50); border-top: 1px solid var(--navy-100); padding: 3.5rem 0; }
.phone-frame {
  width: 375px; max-width: 100%; margin-inline: auto;
  border-radius: 2.2rem; border: 8px solid var(--navy-800);
  background: var(--white); box-shadow: var(--shadow-lift); overflow: hidden;
}
.phone-bar { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--navy-100); }
.phone-bar img { height: 2rem; width: auto; }
.phone-hero { background: var(--grad-hero); border-bottom: 1px solid var(--navy-100); padding: 2rem 1.25rem; text-align: center; }
.phone-hero h2 { font-size: 1.25rem; }
.phone-hero p { font-size: .875rem; color: var(--navy-600); margin-top: .5rem; }
.phone-body { padding: 1.25rem; }
.phone-footer { background: var(--navy-800); padding: 1.25rem; text-align: center; }
.phone-footer p { font-size: .6875rem; color: rgba(255,255,255,.5); }
.phone-footer .mini-tagline { color: var(--blue-100); font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-anim > *, .faq[open] .faq-answer { animation: none; }
  .btn, .card, .nav-link, .faq summary, .faq .chevron { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Donate segmented toggle + amount pills ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; background: var(--navy-50); padding: .25rem; border-radius: 12px; }
.seg-btn { border: 0; background: transparent; border-radius: 8px; padding: .75rem; font-weight: 600; font-size: .875rem; font-family: inherit; color: var(--navy-600); transition: background-color .3s var(--ease), color .3s var(--ease); }
.seg-btn:hover { color: var(--navy); }
.seg-active { background: var(--navy); color: var(--white); }
.seg-active:hover { color: var(--white); }
.amount-pill {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--navy-100); background: var(--white); border-radius: 12px;
  padding: .75rem; font-weight: 600; font-size: 1rem; font-family: inherit; color: var(--navy);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.amount-pill:hover { border-color: var(--navy-600); }
.amount-pill.seg-active { background: var(--blue-50); border-color: var(--light-blue); box-shadow: 0 0 0 4px var(--blue-100); }

/* ---------- Responsive row (base = column) ---------- */
@media (min-width: 640px) { .sm-row { flex-direction: row; } }
.mb-6 { margin-bottom: 1.5rem; }

/* ---------- Side-by-side text-left / image-right sections ---------- */
.side { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .side { grid-template-columns: 1fr 1fr; } }
.media-hero { max-width: 26rem; margin-inline: auto; }
@media (min-width: 768px) { .media-hero { max-width: 24rem; } }


/* ---------- Scroll-reveal entrances (subtle, once, via prototype.js observer) ---------- */
html.js [data-reveal], html.js [data-stagger] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js [data-reveal].in, html.js [data-stagger].in { opacity: 1; transform: none; }
html.js [data-stagger] > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-stagger].in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-stagger], html.js [data-stagger] > * {
    opacity: 1; transform: none; transition: none;
  }
}

.media-square { aspect-ratio: 1 / 1; border-radius: 16px 16px 0 0; }

/* ---------- Forms: reset browser chrome + breathing submit row ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.form-submit {
  display: flex; flex-direction: column; gap: .75rem; align-items: stretch;
  margin-top: 2.5rem; margin-bottom: 2rem; padding-top: 1.75rem;
  border-top: 1px solid var(--navy-100);
}
@media (min-width: 640px) { .form-submit { flex-direction: row; align-items: center; } }
