:root {
    --md-primary-fg-color: #12344d;
    --md-accent-fg-color: #f97316;
    --brand-blue: #12344d;
    --brand-orange: #f97316;
    --surface-soft: rgba(18, 52, 77, 0.05);
    --surface-border: rgba(18, 52, 77, 0.14);
}

.md-typeset .md-button {
    border-radius: 999px;
    padding-inline: 1rem;
}

.md-typeset h1 {
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.md-typeset h2 {
    margin-top: 2.2rem;
}

.md-typeset p + .md-button {
    margin-top: 0.35rem;
}

.highlight pre {
    border-left: 4px solid var(--brand-orange);
    border-radius: 10px;
}

.grid.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.grid.cards > * {
    padding: 1.05rem 1.1rem;
    border: 1px solid var(--surface-border);
    background: linear-gradient(180deg, var(--surface-soft), transparent);
    border-radius: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.grid.cards > *:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(18, 52, 77, 0.08);
    border-color: rgba(249, 115, 22, 0.35);
}

.grid.cards strong {
    color: var(--brand-blue);
}

.md-typeset blockquote {
    border-left: 4px solid var(--brand-orange);
    background: rgba(249, 115, 22, 0.06);
    border-radius: 0 10px 10px 0;
    padding: 0.75rem 1rem;
}

.md-typeset code {
    border-radius: 6px;
}

@media screen and (max-width: 760px) {
    .grid.cards {
        grid-template-columns: 1fr;
    }
}
