:root {
    --bg: #0b0f14;
    --bg-raised: #121821;
    --border: #1f2a37;
    --text: #e7edf3;
    --text-muted: #8a97a6;
    --accent: #26e0a4;
    --accent-dim: #16513f;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f7f9fb;
        --bg-raised: #ffffff;
        --border: #e2e8f0;
        --text: #10151b;
        --text-muted: #5b6572;
        --accent: #0f9d6c;
        --accent-dim: #d6f5e8;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

.hero {
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at top, var(--accent-dim), transparent 60%);
}

.hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.logo {
    display: block;
    margin: 0 auto 1.25rem;
    border-radius: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
}

.lede {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 0 2rem;
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta {
    padding: 0.75rem 1.5rem;
    border-radius: 0.6rem;
    background: var(--accent);
    color: #04140f;
    font-weight: 600;
    text-decoration: none;
}

.cta-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.howto h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.howto-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
}

.howto-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.howto-steps li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.howto-steps li:last-child {
    border-bottom: none;
}

.howto-steps .step-num {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.howto-steps h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.howto-steps h3 code {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 0.1rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.9rem;
}

.howto-steps p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.currency-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.currency-list li {
    display: flex;
    justify-content: space-between;
}

.currency-list .amount {
    color: var(--accent);
    font-weight: 600;
}

.feed h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tip-list li {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.tip-list .addresses {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--text-muted);
}

.tip-list .amount {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.tip-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
}

footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 2rem 0;
}
