.chart-page {
    min-height: 100vh;
    background: #f8fafc;
}

.chart-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.chart-hero {
    padding: 72px 0 34px;
}

.chart-eyebrow,
.chart-card-label {
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}

.chart-hero h1 {
    margin-top: 14px;
    color: #0f172a;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
}

.chart-hero p {
    margin-top: 20px;
    max-width: 680px;
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
}

.chart-tools {
    padding: 18px 0 88px;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.chart-card {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #ffffff;
    box-shadow: 0 24px 48px -42px rgba(15, 23, 42, 0.4);
}

.chart-card h2 {
    margin-top: 14px;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.12;
}

.chart-card p {
    margin-top: 14px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.85;
}

.chart-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: auto;
    padding: 0 20px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }

    .chart-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .chart-shell {
        width: min(100% - 32px, 1120px);
    }

    .chart-hero {
        padding-top: 48px;
    }

    .chart-hero h1 {
        font-size: 38px;
    }

    .chart-card a {
        width: 100%;
    }
}
