/* ========================================================================
   MY BLACK DOLLAR MATTERS — SHARED STYLES
   ======================================================================== */

:root {
    /* Brand palette — Pan-African + complementary */
    --red:    #d62828;   /* Movement red */
    --gold:   #ffb703;   /* Wealth gold */
    --green:  #2a9d8f;   /* Community green */
    --ink:    #0a0a0a;   /* Deep black */
    --brown:  #6b4423;   /* Brown earth */
    --skin:   #f4a261;   /* Warm tan */

    /* Surfaces (dark theme) */
    --bg:          #0a0a0a;
    --bg-2:        #111114;
    --surface:     #16161b;
    --surface-2:   #1d1d24;
    --surface-3:   #25252e;
    --border:      #2a2a35;
    --border-2:    #3a3a48;

    /* Text */
    --text:        #f4f4f5;
    --text-2:      #c7c7d1;
    --text-3:      #8a8a99;
    --text-dim:    #5a5a6a;

    /* Accents */
    --accent:      #ffb703;
    --accent-2:    #d62828;
    --accent-3:    #2a9d8f;
    --purple:      #a371f7;
    --pink:        #ef476f;
    --blue:        #118ab2;

    /* Effects */
    --shadow-sm:   0 1px 2px rgba(0,0,0,.4);
    --shadow:      0 4px 16px rgba(0,0,0,.4);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.5);
    --grad-gold:   linear-gradient(135deg, #ffd166 0%, #ffb703 50%, #d62828 100%);
    --grad-green:  linear-gradient(135deg, #06d6a0 0%, #2a9d8f 100%);
    --grad-warm:   linear-gradient(135deg, #d62828 0%, #ffb703 100%);
    --grad-ink:    linear-gradient(180deg, #0a0a0a 0%, #16161b 100%);

    --radius:      14px;
    --radius-sm:   8px;
    --radius-lg:   20px;
    --radius-xl:   28px;
}

/* Light theme */
[data-theme="light"] {
    --bg:          #f8f7f4;
    --bg-2:        #f0eeeb;
    --surface:     #ffffff;
    --surface-2:   #f5f5f2;
    --surface-3:   #eaeaE5;
    --border:      #e0ddd8;
    --border-2:    #d0cdc8;
    --text:        #1a1a1a;
    --text-2:      #4a4a4a;
    --text-3:      #7a7a7a;
    --text-dim:    #aaaaaa;
    --shadow-sm:   0 1px 2px rgba(0,0,0,.08);
    --shadow:      0 4px 16px rgba(0,0,0,.1);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #fff;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
}
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

.btn-primary {
    background: var(--grad-gold);
    color: #1a0f00;
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--border-2);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #1a0f00; }

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-icon:hover { background: var(--surface-3); }

/* ========================================================================
   LANDING PAGE
   ======================================================================== */

.landing-body {
    background: var(--bg);
}

.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.8rem 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.landing-nav.scrolled { background: rgba(10, 10, 10, 0.92); }

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: #fff;
    text-decoration: none;
}
.brand-mark {
    width: 88px; height: 88px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    filter: drop-shadow(0 8px 24px rgba(245, 166, 35, 0.45));
}
.brand-text em { font-style: normal; color: var(--gold); }
.brand-light .brand-text { color: #fff; }

.nav-links {
    display: flex;
    gap: 1.6rem;
    margin-left: auto;
}
.nav-links a {
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }

.nav-cta { display: flex; gap: 0.6rem; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}
.nav-burger span {
    width: 18px; height: 2px;
    background: var(--text);
    transition: all 0.2s;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 0.5rem 0; color: var(--text-2); }
.mobile-menu a.btn { padding: 0.75rem 1.4rem; text-align: center; }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); }

/* ===== HERO ===== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 6rem;
    overflow: hidden;
    background: var(--grad-ink);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--red);    top: -100px;  left: -150px; }
.hero-orb-2 { width: 600px; height: 600px; background: var(--gold);   bottom: -200px; right: -200px; animation-delay: -7s; }
.hero-orb-3 { width: 400px; height: 400px; background: var(--green);  top: 30%; right: 20%; animation-delay: -14s; opacity: 0.3; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.05); }
    66%      { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.grad-gold { background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-green { background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-2);
    max-width: 660px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 2px solid var(--text-3);
    border-radius: 12px;
    display: grid; place-items: center;
}
.scroll-cue span {
    width: 4px; height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(12px); opacity: 0; }
}

/* ========================================================================
   SECTIONS
   ======================================================================== */

.section { padding: 6rem 0; position: relative; }
.section-movement { background: var(--bg); }
.section-platform { background: var(--ink); }
.section-impact   { background: var(--bg-2); }
.section-stories  { background: var(--bg); }
.section-action   { background: var(--ink); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}
.kicker-light { color: var(--gold); }
.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}
.section-head h2.light { color: #fff; }
.lead {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.7;
}
.lead.light { color: var(--text-2); }

/* ===== Pillars ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.pillar {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.pillar:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: var(--surface-2);
}
.pillar-icon {
    width: 56px; height: 56px;
    background: var(--grad-gold);
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--text-3); font-size: 0.95rem; }

/* ===== Features grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.feature-card {
    display: block;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c, var(--gold)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--c, var(--gold));
    text-decoration: none;
}
.feature-card:hover::before { opacity: 0.08; }
.feature-icon {
    width: 44px; height: 44px;
    background: var(--surface-3);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    position: relative;
}
.feature-card p {
    font-size: 0.88rem;
    color: var(--text-3);
    line-height: 1.5;
    position: relative;
}
.platform-cta { text-align: center; margin-top: 3rem; }

/* ===== Impact ===== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.impact-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: #fff;
}
.impact-gold   { background: var(--grad-warm); }
.impact-green  { background: var(--grad-green); }
.impact-red    { background: linear-gradient(135deg, #d62828 0%, #6b0f0f 100%); }
.impact-purple { background: linear-gradient(135deg, #a371f7 0%, #5b21b6 100%); }
.impact-num { font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 0.5rem; }
.impact-label { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; opacity: 0.95; }
.impact-note { font-size: 0.85rem; opacity: 0.85; }

.quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}
.quote-block blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text);
}
.quote-block cite { color: var(--text-3); font-style: normal; font-size: 0.9rem; }

/* ===== Stories ===== */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.story {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s;
}
.story:hover { transform: translateY(-3px); border-color: var(--green); }
.story-quote {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 0.5;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.story p { color: var(--text-2); margin-bottom: 1.5rem; font-size: 0.98rem; }
.story footer { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.story footer strong { display: block; color: var(--text); }
.story footer span { font-size: 0.82rem; color: var(--text-3); }

/* ===== Action ===== */
.action-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}
.action-list {
    list-style: none;
    margin: 2rem 0;
}
.action-list li {
    padding: 0.5rem 0;
    color: var(--text-2);
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 1.02rem;
}
.action-list li span {
    width: 24px; height: 24px;
    background: var(--grad-gold);
    color: #1a0f00;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.action-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.action-card {
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
}
.action-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.action-card p { color: var(--text-3); margin-bottom: 1.5rem; }

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.newsletter input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
}
.newsletter input:focus { border-color: var(--gold); }
.newsletter button {
    padding: 0.85rem 1.4rem;
    background: var(--grad-gold);
    color: #1a0f00;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}
.fine-print { font-size: 0.78rem; color: var(--text-dim); }

/* ===== Footer ===== */
.landing-footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-tag {
    color: var(--text-3);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 360px;
}
.footer-grid h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid a {
    color: var(--text-2);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer-flag { font-size: 1.2rem; letter-spacing: 4px; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .action-wrap { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .section { padding: 4rem 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .hero { padding: 7rem 1rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ========================================================================
   DONATE PICKER MODAL
   Reusable modal with preset amount chips + custom amount + email.
   ======================================================================== */
.mbdm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.mbdm-modal.open { display: flex; }
.mbdm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 25, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: mbdmFadeIn 0.18s ease-out;
}
.mbdm-modal-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl, 16px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 460px;
    padding: 2rem 1.8rem 1.6rem;
    animation: mbdmSlideUp 0.22s ease-out;
}
.mbdm-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: transparent;
    border: 0;
    color: var(--text-3);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.mbdm-modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}
@keyframes mbdmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mbdmSlideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
body.mbdm-modal-open { overflow: hidden; }

/* Donate picker specific */
.mbdm-donate-picker { text-align: center; }
.mbdm-donate-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 12px rgba(255, 183, 3, 0.5));
}
.mbdm-donate-picker h2 {
    font-size: 1.5rem;
    margin: 0 0 0.3rem;
    color: var(--text);
}
.mbdm-donate-sub {
    color: var(--text-3);
    font-size: 0.95rem;
    margin: 0 0 1.3rem;
}
.mbdm-donate-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.mbdm-chip {
    appearance: none;
    background: var(--surface-2, rgba(255,255,255,0.04));
    border: 1px solid var(--border-2);
    color: var(--text);
    padding: 0.85rem 0.4rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.mbdm-chip:hover {
    border-color: var(--gold, #f5a623);
    background: rgba(245, 166, 35, 0.08);
    transform: translateY(-1px);
}
.mbdm-chip.selected,
.mbdm-chip:active {
    background: linear-gradient(135deg, #ffd166 0%, #ffb703 50%, #d62828 100%);
    border-color: transparent;
    color: #1a0f00;
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.35);
}
#mbdm-donate-picker-form input[type="email"] {
    width: 100%;
    background: var(--surface-2, rgba(255,255,255,0.04));
    border: 1px solid var(--border-2);
    color: var(--text);
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    box-sizing: border-box;
}
#mbdm-donate-picker-form input[type="email"]::placeholder { color: var(--text-3); }
#mbdm-donate-picker-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold, #f5a623);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.mbdm-donate-custom {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--border-2);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2, rgba(255,255,255,0.04));
}
.mbdm-donate-currency {
    display: flex;
    align-items: center;
    padding: 0 0.7rem;
    color: var(--text-3);
    font-weight: 700;
    background: rgba(255,255,255,0.03);
}
.mbdm-donate-custom input[type="number"] {
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    min-width: 0;
    outline: none;
}
.mbdm-donate-custom input[type="number"]::placeholder { color: var(--text-3); }
.mbdm-donate-custom button {
    appearance: none;
    border: 0;
    background: linear-gradient(135deg, #ffd166 0%, #ffb703 50%, #d62828 100%);
    color: #1a0f00;
    font-weight: 700;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: filter 0.15s;
}
.mbdm-donate-custom button:hover { filter: brightness(1.08); }
.mbdm-donate-fine {
    color: var(--text-3);
    font-size: 0.8rem;
    margin: 1rem 0 0;
}

/* ===== Donation success page (share buttons + tier) ===== */
.success-block {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.06), rgba(6, 214, 160, 0.06));
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: var(--radius);
    animation: successPop 0.5s ease-out;
}
.success-icon { font-size: 3rem; animation: successBounce 0.8s ease-out; }
.success-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    margin: 0.5rem 0;
    letter-spacing: -0.02em;
}
.success-tier { margin: 0.6rem 0 0.2rem; }
@keyframes successPop {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes successBounce {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}
.success-share { margin: 1.2rem 0 0.4rem; }
.success-share-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-3);
    margin-bottom: 0.6rem;
}
.success-share-row {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.success-share-btn {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.35);
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    padding: 0;
}
.success-share-btn:hover {
    background: rgba(255, 183, 3, 0.22);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
    transform: translateY(-1px);
}
.success-share-btn:active { transform: translateY(0); }
.success-share-toast {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--gold);
    min-height: 1.2em;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.success-share-toast.show { opacity: 1; }

@media (max-width: 480px) {
    .mbdm-modal-card { padding: 1.5rem 1.2rem 1.2rem; }
    .mbdm-donate-presets { gap: 0.4rem; }
    .mbdm-chip { padding: 0.75rem 0.2rem; font-size: 0.95rem; }
}

/* ============================================================
   PRINT STYLES — landing page (manifesto, stories, donate info)
   ============================================================ */
@media print {
    /* Reset & base */
    *, *::before, *::after {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.5;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide chrome — nav, footer, donate CTAs, mobile FAB */
    .landing-nav,
    .landing-footer,
    .sticky-donate-bar,
    .sidebar-donate-btn,
    .landing-nav-cta,
    [data-action="donate"],
    .floating-fab,
    .scroll-top-btn,
    .cookie-banner,
    .donate-modal,
    .donate-modal-overlay,
    .success-share-toast,
    nav[aria-label="Primary"] {
        display: none !important;
    }

    /* Reveal print-only header */
    .print-only { display: block !important; }
    .print-only-header {
        display: block !important;
        border-bottom: 2px solid #000;
        padding-bottom: 12pt;
        margin-bottom: 24pt;
    }
    .print-only-header h1 {
        font-size: 18pt;
        margin: 0 0 6pt;
        color: #000;
    }
    .print-only-header p {
        font-size: 9pt;
        color: #333;
        margin: 0;
    }

    /* Hero — flatten to text */
    .hero, .hero-section, .landing-hero {
        background: #fff !important;
        padding: 24pt 0 !important;
        min-height: auto !important;
        page-break-after: avoid;
    }
    .hero h1, h1.landing-hero-title {
        color: #000 !important;
        font-size: 22pt;
        background: none !important;
        -webkit-text-fill-color: #000;
    }
    .hero h1 span, .hero .hero-accent {
        color: #8b5a00 !important;
        background: none !important;
        -webkit-text-fill-color: #8b5a00;
    }
    .hero p {
        color: #1a1a1a !important;
        font-size: 11pt;
    }

    /* Sections — clean borders */
    section {
        padding: 16pt 0 !important;
        margin: 0 !important;
        background: #fff !important;
        page-break-inside: avoid;
    }
    section h2 {
        color: #000 !important;
        font-size: 16pt;
        border-bottom: 1px solid #999;
        padding-bottom: 6pt;
        margin-bottom: 12pt;
        page-break-after: avoid;
    }
    section h3 {
        color: #000 !important;
        font-size: 12pt;
    }
    section p, section li {
        color: #1a1a1a !important;
        font-size: 11pt;
    }

    /* Cards/panels — flat */
    .card, .panel, .feature-card, .story-card, .impact-card {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    .stat, .impact-stat {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
    }
    .stat-number, .impact-stat-number {
        color: #8b5a00 !important;
    }

    /* Buttons → text */
    .btn, .cta, button:not(.print-only-show) {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #000 !important;
        padding: 4pt 8pt !important;
        box-shadow: none !important;
    }

    /* Form elements */
    input, textarea, select {
        border: 1px solid #999 !important;
        background: #fff !important;
        color: #000 !important;
        padding: 4pt !important;
    }

    /* Images */
    img { max-width: 100% !important; page-break-inside: avoid; }
    .brand-mark { max-width: 60pt !important; }

    /* Links: text + URL */
    a, a:visited {
        color: #1a1a1a !important;
        text-decoration: underline !important;
    }
    a[href^="http"]:not(.no-print-url)::after,
    a[href^="mailto:"]:not(.no-print-url)::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
        word-break: break-all;
    }
    /* Internal anchors: just keep as text */
    a[href^="#"]:not(.no-print-url)::after { content: ""; }

    /* Hide decorative halos / glows */
    .halo, .frame, .hero-gradient, .gradient-overlay {
        display: none !important;
    }

    /* Footer-bottom copyright */
    .footer-bottom {
        border-top: 1px solid #999;
        padding-top: 8pt;
        margin-top: 24pt;
        font-size: 9pt;
        color: #333 !important;
    }

    /* Donate form: keep visible, simplify */
    .donate-section, #donate-section {
        page-break-inside: avoid;
    }
    .donate-form input, .donate-form select {
        border: 1px solid #999;
        padding: 6pt;
    }

    /* Page setup */
    @page {
        size: letter;
        margin: 0.75in 0.6in;
    }
    body { print-color-adjust: economy; -webkit-print-color-adjust: economy; }
}

/* Default: print-only elements are hidden on screen */
.print-only { display: none; }

/* ============================================================
   ACCESSIBILITY — keyboard focus indicators
   ============================================================ */
/* Global focus ring — only shows on keyboard focus, not mouse clicks */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.mbdm-chip:focus-visible,
.donate-preset:focus-visible,
.pill:focus-visible,
.cta:focus-visible {
    outline: 3px solid #F5A623;
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.2);
}

/* Inputs with focus — gold border + visible glow */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #F5A623;
    outline-offset: 2px;
    border-color: #F5A623 !important;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

/* Skip link — visible only when focused */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}
.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    background: #F5A623;
    color: #0A2540;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Reduce motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode: thicker focus ring */
@media (prefers-contrast: more) {
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    [tabindex]:focus-visible {
        outline-width: 4px;
        outline-color: #FFD97A;
    }
}
