.home-page {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.hero {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hero-kicker {
    margin: 0 0 0.35rem;
    color: var(--text-sub);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero h1 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.25;
}

.hero-desc {
    max-width: 760px;
    margin: 0.6rem 0 0;
    color: var(--text-sub);
    font-size: 0.94rem;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.market-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.section-head h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 800;
}

.updated-at {
    color: var(--text-sub);
    font-size: 0.82rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.market-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-muted);
    padding: 0.85rem;
}

.market-name {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-sub);
    font-size: 0.86rem;
    font-weight: 700;
}

.stale-badge {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--warning-soft);
    color: var(--warning);
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.market-value {
    margin: 0.35rem 0 0;
    color: var(--text-main);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.25;
}

.market-change {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    font-weight: 800;
}

.market-change.positive {
    color: var(--positive);
}

.market-change.negative {
    color: var(--negative);
}

.market-change.neutral {
    color: var(--text-sub);
}

@media (max-width: 640px) {
    .hero,
    .market-section {
        padding: 1rem;
    }
}
