/* ============================================================
   SukaBase — Design System
   Premium dark theme. Linear/Vercel inspired. One accent color.
   ============================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #09090b;
    --bg-card:   #111113;
    --bg-raised: #18181b;
    --border:    #27272a;
    --border-hi: #3f3f46;
    --text:      #fafafa;
    --text-dim:  #a1a1aa;
    --text-mute: #71717a;
    --accent:    #ef4444;
    --accent-hi: #f87171;
    --accent-bg: rgba(239,68,68,.08);
    --green:     #22c55e;
    --amber:     #f59e0b;
    --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono:      'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
    --radius:    12px;
    --radius-sm: 8px;
    --ease:      cubic-bezier(.4,0,.2,1);
    --shadow:    0 0 0 1px var(--border), 0 4px 24px rgba(0,0,0,.4);
    --max-w:     720px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent-hi); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--text); }

.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-card); }

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: .5rem;
    text-align: center;
}
.section-sub {
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: .95rem;
}

/* --- Header --- */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(9,9,11,.75);
    border-bottom: 1px solid var(--border);
    transition: background .3s var(--ease);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    max-width: 960px;
}
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.75rem; height: 1.75rem;
    border-radius: 6px;
    overflow: hidden;
}
.logo-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .875rem; }
.nav a { color: var(--text-dim); }
.nav a:hover { color: var(--text); }
.nav-donate {
    padding: .35rem .75rem;
    background: var(--accent-bg);
    color: var(--accent-hi) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid rgba(239,68,68,.2);
}
.nav-donate:hover { background: rgba(239,68,68,.15); }

/* --- Hero --- */
.hero {
    position: relative;
    padding: 10rem 0 5rem;
    text-align: center;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(239,68,68,.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-container {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent-hi);
    background: var(--accent-bg);
    border: 1px solid rgba(239,68,68,.2);
    padding: .3rem .8rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.accent { color: var(--accent); }
.hero-sub {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.hero-cta {
    display: inline-block;
    padding: .7rem 2rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius-sm);
    transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239,68,68,.35);
    color: #fff;
}
.hero-stats {
    margin-top: 2.5rem;
    font-size: .8rem;
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
}

/* --- Card --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* --- Tabs --- */
.tab-bar { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.tab {
    flex: 1;
    padding: .6rem 1rem;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s var(--ease);
    font-family: var(--font);
}
.tab:hover { color: var(--text); border-color: var(--border-hi); }
.tab.active { color: var(--text); background: var(--bg-raised); border-color: var(--border-hi); }
.tab-icon { margin-right: .3rem; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Input area --- */
.input-area {
    width: 100%;
    padding: .85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--mono);
    font-size: .85rem;
    line-height: 1.55;
    resize: vertical;
    transition: border-color .15s var(--ease);
    outline: none;
}
.input-area::placeholder { color: var(--text-mute); }
.input-area:focus { border-color: var(--accent); }
.input-context { margin-top: .75rem; font-family: var(--font); }
.input-meta { text-align: right; font-size: .75rem; color: var(--text-mute); margin-top: .35rem; }

/* --- Upload zone --- */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
    position: relative;
}
.upload-zone.dragover { border-color: var(--accent); background: var(--accent-bg); }
.upload-prompt p { color: var(--text-dim); margin: .5rem 0 .25rem; font-size: .9rem; }
.upload-prompt small { color: var(--text-mute); font-size: .75rem; }
.upload-link { color: var(--accent-hi); text-decoration: underline; cursor: pointer; }
.upload-icon { font-size: 1.75rem; }
.upload-preview { display: none; position: relative; }
.upload-zone.has-file .upload-prompt { display: none; }
.upload-zone.has-file .upload-preview { display: block; }
#preview-img {
    max-width: 100%; max-height: 280px;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}
.preview-remove {
    position: absolute; top: .5rem; right: .5rem;
    width: 1.75rem; height: 1.75rem;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s var(--ease);
}
.preview-remove:hover { background: var(--accent); border-color: var(--accent); }

/* --- Toggle --- */
.roast-options { margin: 1rem 0; }
.toggle-label {
    display: inline-flex; align-items: center; gap: .6rem;
    cursor: pointer; font-size: .85rem; color: var(--text-dim);
}
.toggle-track {
    position: relative;
    width: 2.5rem; height: 1.35rem;
    background: var(--border);
    border-radius: 999px;
    transition: background .2s var(--ease);
}
.toggle-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: calc(1.35rem - 4px); height: calc(1.35rem - 4px);
    background: var(--text);
    border-radius: 50%;
    transition: transform .2s var(--ease);
}
.sr-only:checked + .toggle-track { background: var(--accent); }
.sr-only:checked + .toggle-track .toggle-thumb { transform: translateX(calc(2.5rem - 1.35rem)); }
.toggle-text { user-select: none; }

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .02em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform .1s var(--ease), box-shadow .2s var(--ease), opacity .2s;
    position: relative;
    overflow: hidden;
}
.submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(239,68,68,.4);
}
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.submit-btn .btn-loading { display: none; }
.submit-btn.loading .btn-idle { display: none; }
.submit-btn.loading .btn-loading { display: inline-flex; align-items: center; gap: .5rem; }
.submit-btn--again { background: var(--bg-raised); border: 1px solid var(--border); margin-top: .5rem; }
.submit-btn--again:hover:not(:disabled) { box-shadow: none; border-color: var(--border-hi); }

.submit-disclaimer {
    text-align: center;
    font-size: .75rem;
    color: var(--text-mute);
    margin-top: .6rem;
}

/* --- Spinner --- */
.spinner {
    display: inline-block;
    width: 1rem; height: 1rem;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Result Card --- */
.result-card { border-color: var(--accent); }
.result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.result-title { font-size: 1.1rem; font-weight: 800; }
.result-actions { display: flex; gap: .5rem; }
.icon-btn {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 2rem; height: 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-hi); }
.result-body {
    font-family: var(--mono);
    font-size: .82rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-dim);
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.result-body strong, .result-body b { color: var(--text); font-weight: 700; }
.result-footer { margin-top: 1rem; }

/* --- Donate card (inline) --- */
.donate-card { text-align: center; border-color: var(--amber); background: rgba(245,158,11,.04); }
.donate-text { font-size: .9rem; color: var(--text-dim); margin-bottom: .75rem; }
.donate-btn {
    display: inline-block;
    padding: .6rem 1.5rem;
    background: var(--amber);
    color: #000;
    font-weight: 800;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    transition: transform .1s var(--ease);
}
.donate-btn:hover { transform: translateY(-1px); color: #000; }

/* --- Donate section tiers --- */
.donate-section { text-align: center; }
.donate-sub { color: var(--text-dim); font-size: .95rem; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.donate-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.tier-card {
    display: flex; flex-direction: column; align-items: center;
    gap: .35rem;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s var(--ease);
    cursor: pointer;
}
.tier-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.tier-card--pop { border-color: var(--accent); background: var(--accent-bg); }
.tier-emoji { font-size: 1.5rem; }
.tier-price { font-size: 1.5rem; font-weight: 900; color: var(--text); }
.tier-label { font-size: .75rem; color: var(--text-dim); }
.donate-thanks { font-size: .8rem; color: var(--text-mute); }

/* --- Steps --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.step {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.step-num {
    font-size: .75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: .5rem;
    letter-spacing: .1em;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.step p { font-size: .85rem; color: var(--text-dim); line-height: 1.5; }

/* --- FAQ --- */
.faq-container { max-width: 600px; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.faq-item summary {
    padding: .85rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    list-style: none;
    transition: background .15s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--text-mute);
    transition: transform .2s var(--ease);
}
.faq-item[open] summary::before { content: '−'; }
.faq-item summary:hover { background: var(--bg-raised); }
.faq-item p { padding: 0 1rem .85rem; font-size: .85rem; color: var(--text-dim); }

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.gallery-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: all .2s var(--ease);
    position: relative;
    cursor: pointer;
}
.gallery-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.gallery-card-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: .75rem;
    border: 1px solid var(--border);
}
.gallery-input {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-mute);
    margin-bottom: .5rem;
    padding: .5rem;
    background: var(--bg-raised);
    border-radius: 4px;
    max-height: 60px;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-all;
}
.gallery-roast {
    font-family: var(--mono);
    font-size: .78rem;
    color: var(--text-dim);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 180px;
    overflow: hidden;
    position: relative;
}
.gallery-roast::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3rem;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}
.gallery-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    padding-top: .5rem;
    border-top: 1px solid var(--border);
    font-size: .7rem;
    color: var(--text-mute);
}
.gallery-delete {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font);
    transition: all .15s var(--ease);
}
.gallery-delete:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn {
    background: transparent;
    border: none;
    color: var(--text-mute);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all .2s var(--ease);
    font-family: var(--font);
}

.like-btn:hover {
    transform: scale(1.1);
    color: var(--accent-hi);
}

.like-btn.liked {
    color: var(--accent);
}

.like-count {
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 1.2rem;
    text-align: left;
}

/* Top Roasts Section */
.top-roasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.top-roasts-empty { text-align: center; }
.top-roasts-empty p { color: var(--text-mute); font-size: .9rem; padding: 2rem 0; }

.gallery-empty { text-align: center; }
.gallery-empty p { color: var(--text-mute); font-size: .9rem; padding: 2rem 0; }

.load-more {
    display: block;
    margin: 1.5rem auto 0;
    padding: .5rem 1.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .15s var(--ease);
}
.load-more:hover { border-color: var(--border-hi); color: var(--text); }

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(2rem);
    background: var(--bg-raised);
    color: var(--text);
    border: 1px solid var(--border);
    padding: .6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
    z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-copy { font-size: .8rem; color: var(--text-mute); max-width: 480px; line-height: 1.6; }
.footer-links { font-size: .8rem; color: var(--text-mute); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.footer-dot { color: var(--border-hi); }
.footer-vibe { color: var(--text-mute); }

/* --- Modal --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}
.modal-content {
    position: relative;
    background: var(--bg-hi);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    animation: slideUp 0.3s ease;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}
.modal-close:hover {
    background: var(--border);
    color: var(--text);
}
.modal-header {
    padding: 1.5rem 3rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.modal-date {
    font-size: 0.85rem;
    color: var(--text-mute);
}
.modal-body {
    padding: 1.5rem;
}
.modal-body h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.modal-image {
    margin-bottom: 1.5rem;
}
.modal-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.modal-input {
    margin-bottom: 1.5rem;
}
.modal-input-text {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dim);
    white-space: pre-wrap;
    word-break: break-word;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease;
    position: relative;
}
.modal-input-text.collapsed {
    max-height: 150px;
    overflow: hidden;
}
.modal-input-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}
.show-more-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}
.show-more-btn:hover {
    color: var(--accent-hi);
}
.modal-roast-text {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}
.modal-roast-text strong {
    color: var(--accent-hi);
    font-weight: 700;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Utility --- */
.hidden { display: none !important; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .hero { padding: 7rem 0 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-image { opacity: 0.08; }
    .section { padding: 3rem 0; }
    .card { padding: 1.25rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .donate-tiers { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .nav { gap: .75rem; font-size: .8rem; }
    .modal { padding: 0.5rem; }
    .modal-content { max-height: 95vh; }
    .modal-header { padding: 1rem 2.5rem 0.75rem 1rem; }
    .modal-body { padding: 1rem; }
    .modal-title { font-size: 1.1rem; }
}