html, body {
    color-scheme: light;
    background: #f4f7fa;
    color: #14253d;
}

body .hero,
body .section,
body footer {
    background: #ffffff;
    color: #14253d;
    border-color: #dce4ec;
}

body .section.alt {
    background: #f4f7fa;
}

body .wrap {
    max-width: 1440px;
}

body .card,
body .architecture {
    background: #ffffff;
    color: #14253d;
    border: 1px solid #dce4ec;
    box-shadow: none;
}

body h1,
body h2,
body h3,
body .brand,
body strong {
    color: #14253d;
}

body p,
body .lead,
body .intro,
body .note,
body figcaption,
body footer span,
body .brand small {
    color: #53657b;
}

body .eyebrow,
body .kicker,
body .brand > span {
    color: #147749;
}

body a,
body nav a {
    color: #147749;
}

body .button {
    background: #147749;
    border-color: #147749;
    color: #ffffff;
}

body .button.secondary {
    background: #ffffff;
    border: 1px solid #147749;
    color: #147749;
}

body .hero {
    padding-top: 42px;
    padding-bottom: 32px;
}

body .hero h1 {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.15;
}

body #performance-overview .perf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body #performance-overview .perf-chart {
    padding: 18px;
}

@media (max-width: 1100px) {
    body #performance-overview .perf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body #performance-overview .perf-grid {
        grid-template-columns: 1fr;
    }
}

/* Light theme: explicit button and navigation contrast */
body a.button,
body a.button:link,
body a.button:visited {
    background: #147749 !important;
    color: #ffffff !important;
    border-color: #147749 !important;
}

body a.button:hover {
    background: #105c39 !important;
    color: #ffffff !important;
}

body a.button.secondary,
body a.button.secondary:link,
body a.button.secondary:visited {
    background: #ffffff !important;
    color: #147749 !important;
    border: 1px solid #147749 !important;
}

body a.button.secondary:hover {
    background: #e7f4ec !important;
    color: #105c39 !important;
}

body header nav a,
body header nav a:link,
body header nav a:visited {
    background: #ffffff !important;
    color: #14253d !important;
    border: 1px solid #cbd5e1 !important;
}

body header nav a:hover {
    background: #e7f4ec !important;
    color: #147749 !important;
    border-color: #147749 !important;
}
