:root {
    --ev-blue: #264f7f;
    --ev-blue-dark: #173b64;
    --ev-text: #263442;
    --ev-muted: #566575;
    --ev-border: #d8e0e8;
    --ev-surface: #f3f7fa;
    --ev-white: #fff;
    --ev-focus: #f2b705;
    --ev-radius: 10px;
}

.ev-page {
    color: var(--ev-text);
    background: var(--ev-white);
}

.ev-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ev-reading-width {
    max-width: 820px;
}

.ev-hero,
.ev-section {
    padding-block: clamp(48px, 7vw, 88px);
}

.ev-hero {
    border-bottom: 1px solid var(--ev-border);
    background: linear-gradient(180deg, #fff 0%, var(--ev-surface) 100%);
}

.ev-page h1 {
    max-width: 18ch;
    margin-bottom: 20px;
    color: var(--ev-blue-dark);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
}

.ev-page h2,
.ev-page h3 {
    color: var(--ev-blue-dark);
}

.ev-page p,
.ev-page li,
.ev-page dd,
.ev-page dt {
    color: var(--ev-muted);
}

.ev-eyebrow,
.ev-stock-card__label {
    margin-bottom: 10px;
    color: var(--ev-blue);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ev-answer {
    padding: 22px 24px;
    border-left: 4px solid var(--ev-blue);
    background: var(--ev-white);
    box-shadow: 0 8px 24px rgba(23, 59, 100, .08);
}

.ev-answer p:last-child,
.ev-empty p:last-child {
    margin-bottom: 0;
}

.ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ev-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid var(--ev-blue);
    border-radius: 8px;
    font-weight: 700;
}

.ev-button--primary {
    color: var(--ev-white);
    background: var(--ev-blue);
}

.ev-button--secondary {
    color: var(--ev-blue-dark);
    background: var(--ev-white);
}

.ev-button:hover,
.ev-text-link:hover,
.ev-topic-list a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ev-section--tinted {
    background: var(--ev-surface);
}

.ev-section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

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

.ev-stock-card {
    overflow: hidden;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius);
    background: var(--ev-white);
}

.ev-stock-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e6edf3;
}

.ev-stock-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev-stock-card__body {
    padding: 22px;
}

.ev-stock-card h3 {
    font-size: 1.25rem;
}

.ev-stock-card__facts {
    display: grid;
    gap: 8px;
    margin-block: 18px;
}

.ev-stock-card__facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--ev-border);
}

.ev-stock-card__facts dt {
    font-weight: 600;
}

.ev-stock-card__facts dd {
    margin: 0;
    color: var(--ev-text);
}

.ev-text-link,
.ev-topic-list a {
    color: var(--ev-blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ev-section-link {
    margin-top: 28px;
}

.ev-empty {
    padding: 28px;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius);
    background: var(--ev-white);
}

.ev-topic-list {
    display: grid;
    gap: 0;
}

.ev-topic-list section {
    padding-block: 26px;
    border-top: 1px solid var(--ev-border);
}

.ev-checklist {
    display: grid;
    gap: 14px;
    margin: 24px 0;
    padding-left: 24px;
}

.ev-cta {
    border-top: 1px solid var(--ev-border);
}

.ev-page a:focus-visible {
    outline: 3px solid var(--ev-focus);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .ev-stock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ev-container {
        width: min(100% - 28px, 1180px);
    }

    .ev-stock-grid {
        grid-template-columns: 1fr;
    }

    .ev-button {
        width: 100%;
    }
}
