*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #0f172a; background: #ffffff; line-height: 1.6; }
:where(article, aside, nav, section) h1, h1 { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); line-height: 1.1; }
:where(article, aside, nav, section) h2, h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2.25rem); line-height: 1.2; }
:root { --brand: #2563eb; --brand-2: #7c3aed; --text: #0f172a; --muted-text: #475569; --border: #e5e7eb; --bg-muted: #f8fafc; --white: #ffffff; --radius: 14px; --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04); --shadow-lg: 0 24px 40px rgba(2, 8, 23, 0.10); }
.hero { padding: 4rem 0; text-align: center; }
.hero-mesh { color: var(--text); position: relative; }
.hero-mesh .mesh-bg{ position: absolute; inset: -20%; background: radial-gradient(60% 60% at 20% 10%, rgba(124,58,237,.20) 0%, transparent 60%), radial-gradient(50% 50% at 85% 30%, rgba(37,99,235,.18) 0%, transparent 60%), radial-gradient(40% 40% at 50% 85%, rgba(14,165,233,.18) 0%, transparent 60%), linear-gradient(180deg, #ffffff, #f6f9ff 60%, #ffffff 100%); filter: saturate(120%); z-index: 0; }
.hero-mesh .container { position: relative; z-index: 1; }
.eyebrow { letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-size: .8rem; color: var(--brand); }
.gradient-text { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges { opacity: .85; }
section { background: transparent; }
section[data-reveal]:nth-of-type(odd){ background: radial-gradient(1200px 400px at 50% 0, rgba(99,102,241,.08), transparent 60%); }
.card, .card-glass { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
.card-glass::before { display: none !important; }
.card:hover, .card-glass:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(90deg, var(--brand), var(--brand-2)) border-box; border: 1px solid transparent; }
.icon-circle{ display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(37,99,235,.10); }
.btn-primary { background: var(--brand); border-color: var(--brand); }
.btn-primary:hover, .btn-primary:focus { background: #1d4ed8; border-color: #1d4ed8; }
.btn-outline-dark:hover { color: #fff !important; background: #111827; }
.btn-elevated { box-shadow: var(--shadow-lg); }
.btn-ghost { border: 1px solid var(--border); background: #fff; }
.btn-ghost:hover { border-color: #cbd5e1; }
.navbar { background: #fff !important; border-bottom: 1px solid var(--border); }
.navbar .navbar-brand { color: var(--brand) !important; font-weight: 700; letter-spacing: -0.02em; }
.navbar .nav-link { color: var(--text) !important; }
.navbar .nav-link:hover { color: var(--brand) !important; }
.navbar .brand-logo { height: 48px; width: auto; }
@media (min-width: 992px) { .navbar .brand-logo { height: 32px; } }
.navbar .brand-text { font-weight: 800; letter-spacing: -0.02em; color: inherit; }
footer { background: #0b1220; color: #e5e7eb; padding: 1rem 0; text-align: center; }
footer a { color: #c7d2fe; text-decoration: none; }
footer a:hover { color: #fff; }
.ratio video { width: 100%; height: 100%; object-fit: cover; }
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; transform-origin: 0 0; transform: scaleX(0); background: #3b82f6; z-index: 2000; will-change: transform; }
input, select, textarea { background: #fff !important; border-color: var(--border); color: #0f172a; }
.accordion-button::after { filter: saturate(0); }
.accordion-button:not(.collapsed){ color: var(--brand); }
[data-reveal] { opacity: 0; transition: opacity .35s ease; }
.reveal-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transition: none; } .card, .card-glass { transition: none; } }
.badge.bg-success-subtle { background: #ecfdf5 !important; color: #065f46 !important; }
.badge.bg-primary-subtle { background: #eef2ff !important; color: #3730a3 !important; }
/* Only the Donation (third) video: show full frame, no crop */
#charity-app .ratio video {
  object-fit: contain;
  background: #000; /* tidy letterboxing/pillarboxing */
}