:root {
    --surface: #f7f8fb;
    --line: #e6eaf0;
    --muted: #647087;
}

body {
    background: #fff;
    color: #172033;
}

.hero,
.rebuild-hero {
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #172033;
}

.hero::before,
.hero::after {
    display: none;
}

.hero h1,
.hero .lead,
.rebuild-hero h1 {
    color: #172033;
    text-shadow: none;
}

.hero .lead {
    color: #58657b;
}

.section-muted,
.menu-index-section,
.section-tint,
.context-section,
.intro-section,
.history-section,
.how-section,
.decline-section,
.timeline-section,
.sites-section,
.dos-section,
.catalog {
    background: #f7f8fb;
}

.section:nth-of-type(even) {
    background-color: #f7f8fb;
}

.timeline-section,
.tool-section,
.game-section,
.decline-section {
    color: #172033;
}

.timeline-section .eyebrow,
.timeline-section h2,
.timeline-section .section-lead,
.tool-section .section-lead,
.game-section .section-lead,
.decline-section .section-lead {
    color: #172033;
}

.timeline-section .eyebrow {
    color: #3459df;
}

.timeline-section::before,
.timeline-section::after {
    display: none;
}

.timeline-section .timeline::before {
    background: linear-gradient(90deg, transparent, #dce2ed 10%, #aebbe0 50%, #dce2ed 90%, transparent);
    box-shadow: none;
}

.timeline-section .era {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(32, 45, 75, .045);
    color: #172033;
    backdrop-filter: none;
}

.timeline-section .era:hover {
    border-color: #cbd5f5;
    background: #fff;
}

.timeline-section .era time {
    color: #3459df;
}

.timeline-section .era h3 {
    color: #172033;
}

.timeline-section .era p {
    color: #59667b;
}

.tool-section .tool-grid .info-card,
.decline-section .decline-card {
    border-color: var(--line);
    background: #fff;
    color: #172033;
}

.tool-section .tool-grid .info-card p,
.decline-section .decline-card p,
.decline-section .decline-card strong {
    color: #59667b;
}

.decline-section .decline-card strong {
    color: #3459df;
}

.footer {
    background: #fff;
}

@media (max-width: 1280px) {
    .header .header-inner {
        position: relative;
        min-height: 66px;
    }

    .header .menu-toggle {
        display: inline-flex;
        flex: none;
    }

    .header .nav {
        position: absolute;
        z-index: 1;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 2px;
        padding: 9px;
        border: 1px solid var(--line);
        border-radius: 0 0 13px 13px;
        background: #fff;
        box-shadow: 0 14px 28px rgba(32, 45, 75, .12);
        font-size: 14px;
        white-space: normal;
    }

    .header .nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .header .nav a {
        min-height: 44px;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .header .nav .nav-cta {
        justify-content: center;
        margin-top: 4px;
    }
}
