
:root {
    --bg: #08131e;
    --soft: #0e1d2b;
    --panel: #132535;
    --line: #274255;
    --text: #f3f7fa;
    --muted: #aabbc6;
    --accent: #6ec7d8;
    --yellow: #f3b98a;
    --purple: #a99cf5;
    --max: 1180px;
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif
}

    body:before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(circle at 85% 8%,rgba(110,199,216,.10),transparent 32%),radial-gradient(circle at 5% 60%,rgba(243,185,138,.06),transparent 30%)
    }

a {
    color: inherit;
    text-decoration: none
}

svg {
    display: block;
    max-width: 100%
}

button, input {
    font: inherit
}

.container {
    width: min(var(--max),calc(100% - 40px));
    margin: auto
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 9px 14px;
    z-index: 999
}

    .skip:focus {
        top: 20px
    }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(8,19,30,.88);
    backdrop-filter: blur(18px)
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-mark {
    width: 46px;
    height: 46px
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05
}

    .brand-text strong {
        font-size: 22px;
        letter-spacing: -.04em
    }

        .brand-text strong span, .footer-brand span {
            color: var(--accent)
        }

    .brand-text small {
        margin-top: 5px;
        color: var(--muted);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .13em
    }

.main-nav {
    display: flex;
    gap: 4px
}

.nav-link {
    padding: 10px 11px;
    border-radius: 10px;
    color: #b8c2ca;
    font-size: 14px
}

    .nav-link:hover, .nav-link.active {
        background: rgba(255,255,255,.06);
        color: #fff
    }

    .nav-link.active {
        box-shadow: inset 0 -2px var(--accent)
    }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel)
}

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 4px auto;
        background: #fff
    }

.hero {
    border-bottom: 1px solid var(--line);
    overflow: hidden
}

.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 36px;
    align-items: center
}

.hero h1, .page-hero h1, .article-hero h1 {
    font-size: clamp(46px,6vw,78px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 16px 0 24px
}

.lead {
    font-size: 20px;
    color: #bbc5ce;
    max-width: 720px
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    font-size: 12px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0
}

.button {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800
}

    .button.primary {
        background: var(--accent);
        color: #07141c
    }

    .button.secondary {
        border: 1px solid var(--line);
        background: rgba(255,255,255,.025)
    }

    .button:hover {
        transform: translateY(-3px);
    }

    .button:active {
        transform: translateY(-1px) scale(.98);
    }

    .button.primary:hover {
        box-shadow: 0 18px 45px rgba(110,199,216,.28), 0 0 30px rgba(110,199,216,.16);
    }

    .button.secondary:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(110,199,216,.45);
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
    }

.meta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #81909c;
    font-size: 13px
}

    .meta span:before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        margin-right: 8px;
        vertical-align: middle
    }

.hero-art {
    filter: drop-shadow(0 25px 55px rgba(0,0,0,.28))
}

.section {
    padding: 92px 0
}

    .section.muted {
        background: linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.008));
        border-block: 1px solid rgba(255,255,255,.05)
    }

.heading {
    margin-bottom: 34px
}

    .heading h2 {
        max-width: 780px;
        margin: 8px 0 0;
        font-size: clamp(32px,4vw,52px);
        line-height: 1.05;
        letter-spacing: -.045em
    }

    .heading.split {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 40px;
        align-items: end
    }

        .heading.split p {
            color: var(--muted);
            margin: 0
        }

    .heading.top {
        margin-top: 78px
    }

.cards {
    display: grid;
    gap: 18px
}

    .cards.three {
        grid-template-columns: repeat(3,1fr)
    }

    .cards.two {
        grid-template-columns: repeat(2,1fr)
    }

.feature, .article-card, .research-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg,rgba(255,255,255,.026),rgba(255,255,255,.008))
}

.feature {
    padding: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column
}

    .feature > span {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid #3a4955;
        border-radius: 14px;
        color: var(--accent);
        font-weight: 900
    }

    .feature h3 {
        font-size: 24px;
        margin: 26px 0 10px
    }

    .feature p, .article-card p, .research-card p {
        color: var(--muted)
    }

    .feature a {
        margin-top: auto;
        font-weight: 800
    }

.article-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    min-height: 310px
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: #8796a2;
    font-size: 13px
}

    .card-meta b {
        color: var(--accent)
    }

.article-card h3 {
    font-size: 24px;
    line-height: 1.18;
    margin: 28px 0 12px
}

.article-card .more {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-weight: 800
}

.principle {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel)
}

    .principle h2 {
        font-size: 40px;
        line-height: 1.08;
        letter-spacing: -.04em;
        margin: 10px 0
    }

    .principle p {
        color: var(--muted)
    }

.status-list {
    display: grid;
    gap: 16px
}

    .status-list span, .evidence span {
        display: flex;
        align-items: center;
        gap: 11px
    }

.dot {
    width: 11px !important;
    height: 11px !important;
    border-radius: 50%;
    display: inline-block !important;
    flex: none
}

    .dot.confirmed {
        background: var(--accent)
    }

    .dot.estimate {
        background: var(--yellow)
    }

    .dot.hypothesis {
        background: var(--purple)
    }

.cta {
    padding-top: 10px
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    border: 1px solid rgba(110,199,216,.35);
    border-radius: 28px;
    background: linear-gradient(135deg,rgba(110,199,216,.12),rgba(243,185,138,.05))
}

    .cta-card h2 {
        font-size: 34px;
        margin: 8px 0
    }

    .cta-card p {
        margin: 0;
        color: var(--muted)
    }

.page-hero {
    padding: 100px 0 78px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg,rgba(110,199,216,.06),transparent)
}

    .page-hero p {
        max-width: 820px;
        font-size: 20px;
        color: #b7c2cb
    }

.sidebar-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 46px
}

.side {
    position: sticky;
    top: 110px;
    align-self: start
}

    .side h2 {
        font-size: 13px;
        color: #81909b;
        text-transform: uppercase;
        letter-spacing: .14em
    }

.filter {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aab6bf;
    text-align: left;
    cursor: pointer
}

    .filter:hover, .filter.active {
        background: var(--panel);
        color: #fff
    }

.side-note {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel)
}

    .side-note p {
        color: var(--muted);
        font-size: 14px;
        margin-bottom: 0
    }

.notice {
    padding: 18px 20px;
    border: 1px solid #3a4955;
    border-radius: 16px;
    background: #10202e;
    color: #bdc7cf
}

.news-list {
    margin-top: 0px;
    border-top: 1px solid var(--line)
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 26px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line)
}

.news-type {
    display: flex;
    flex-direction: column;
    color: var(--accent);
    font-weight: 900;
    font-size: 13px
}

    .news-type small {
        color: #82909b;
        font-weight: 500
    }

.news-item h2, .news-item h3 {
    font-size: 27px;
    line-height: 1.2;
    margin: 0 0 10px
}

.news-item p {
    color: var(--muted)
}

.news-years {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px
}

.news-years a:hover, .news-years a:focus-visible {
    border-color: var(--accent);
    background: rgba(110,199,216,.22)
}

.news-note {
    max-width: 900px;
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 14px
}

.news-year + .news-year {
    margin-top: 52px
}

.news-year > h2 {
    scroll-margin-top: 120px;
    margin: 0 0 20px;
    font-size: 32px
}

.news-year .links {
    flex-wrap: wrap;
    row-gap: 8px
}

.news-year .links a {
    overflow-wrap: anywhere
}

.links {
    display: flex;
    gap: 18px
}

    .links a {
        color: var(--accent);
        font-weight: 800;
        font-size: 14px
    }

.topic {
    cursor: pointer;
    transition: .25s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    padding: 36px;
    border: 1px solid rgba(110,199,216,.28);
    border-radius: 26px;
    background: linear-gradient(135deg,rgba(110,199,216,.08),rgba(243,185,138,.025))
}

    .topic h2 {
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -.035em;
        margin: 14px 0 8px
    }

    .topic p {
        color: var(--muted);
        max-width: 760px
    }

    .topic:hover {
        transform: translateY(-3px);
        border-color: #6ec7d8;
        background: rgba(110,199,216,.05);
    }

.pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(110,199,216,.12);
    border: 1px solid rgba(110,199,216,.22);
    color: var(--accent);
    font-size: 12px
}

.research-card {
    padding: 30px
}

    .research-card > span {
        color: var(--accent);
        font-weight: 900;
        letter-spacing: .14em;
        font-size: 12px
    }

    .research-card h3 {
        font-size: 28px;
        margin: 20px 0 10px
    }

    .research-card ul {
        list-style: none;
        padding: 18px 0 0;
        margin: 24px 0 0;
        border-top: 1px solid var(--line);
        display: flex;
        gap: 8px;
        flex-wrap: wrap
    }

    .research-card li {
        padding: 5px 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: #aab6bf;
        font-size: 12px
    }

.roadmap {
    border-top: 1px solid var(--line)
}

    .roadmap > div {
        display: grid;
        grid-template-columns: 120px 1fr 80px;
        gap: 24px;
        align-items: center;
        padding: 24px 0;
        border-bottom: 1px solid var(--line)
    }

    .roadmap b {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #85939e
    }

        .roadmap b.green {
            color: var(--accent)
        }

        .roadmap b.yellow {
            color: var(--yellow)
        }

    .roadmap h3 {
        margin: 0;
        font-size: 21px
    }

    .roadmap p {
        margin: 4px 0 0;
        color: var(--muted)
    }

.history-layout {
    display: grid;
    grid-template-columns: 1fr;
}

.timeline {
    position: relative
}

    .timeline:before {
        content: "";
        position: absolute;
        left: 24px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--line)
    }

    .timeline article,
    .timeline-item {
        position: relative;
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 28px;
        padding-bottom: 54px
    }

        .timeline article > i,
        .timeline-item > i {
            z-index: 1;
            display: grid;
            place-items: center;
            width: 50px;
            height: 50px;
            border: 1px solid #465560;
            border-radius: 50%;
            background: var(--bg);
            color: var(--accent);
            font-style: normal;
            font-weight: 900
        }

        .timeline article.focus > i,
        .timeline-item.focus > i {
            background: var(--accent);
            color: #07141c;
            border-color: var(--accent)
        }

        .timeline article div > b,
        .timeline-item div > b {
            color: var(--accent);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .12em
        }

    .timeline h2 {
        font-size: 29px;
        line-height: 1.16;
        margin: 10px 0
    }

    .timeline p {
        color: var(--muted)
    }

.evidence {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13px
}

.sticky {
    position: sticky;
    top: 110px
}

.search-box {
    display: block;
    padding: 10px 14px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel)
}

    .search-box small {
        display: block;
        color: #84929d;
        text-transform: uppercase;
        letter-spacing: .12em
    }

    .search-box input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        font-size: 21px
    }

.alphabet {
    margin: 24px 4px 34px;
    color: #71808b;
    letter-spacing: .3em;
    font-size: 13px
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 40px
}

.source-card {
    display: grid;
    grid-template-columns: 85px 1fr 170px;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel)
}

    .source-card > b {
        color: var(--accent);
        font-size: 12px;
        letter-spacing: .14em
    }

    .source-card h3 {
        font-size: 24px;
        margin: 0
    }

    .source-card small {
        color: #7f8d98
    }

    .source-card p {
        color: var(--muted)
    }

    .source-card > div {
        display: flex;
        flex-direction: column;
        gap: 10px
    }

        .source-card > div a {
            color: var(--accent);
            font-weight: 800
        }

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

    .chips span {
        padding: 5px 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: #9ba8b2;
        font-size: 11px
    }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 70px;
    align-items: start
}

.prose {
    color: #c2ccd4
}

    .prose h2 {
        margin: 46px 0 14px;
        color: #fff;
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -.035em
    }

        .prose h2:first-child {
            margin-top: 0
        }

    .prose p, .prose li {
        font-size: 18px
    }

.contact-card {
    position: sticky;
    top: 110px;
    padding: 30px;
    border: 1px solid rgba(110,199,216,.28);
    border-radius: 24px;
    background: linear-gradient(145deg,rgba(110,199,216,.08),rgba(243,185,138,.025))
}

    .contact-card h2 {
        font-size: 30px;
        line-height: 1.15
    }

    .contact-card p, .contact-card small {
        color: var(--muted)
    }

    .contact-card > a {
        display: block;
        margin: 24px 0;
        color: var(--accent);
        font-size: 22px;
        font-weight: 900;
        overflow-wrap: anywhere
    }

    .contact-card hr {
        border: 0;
        border-top: 1px solid var(--line)
    }

.article-hero {
    padding: 92px 0 70px;
    border-bottom: 1px solid var(--line)
}

.narrow {
    max-width: 900px
}

.breadcrumbs {
    color: #81909b;
    font-size: 13px;
    margin-bottom: 22px
}

.article-hero > div > p {
    font-size: 22px;
    color: #b7c2cb
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #7f8d98;
    font-size: 13px
}

.article-layout {
    display: grid;
    grid-template-columns: 230px minmax(0,760px);
    gap: 70px;
    justify-content: center;
    align-items: start
}

.toc {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid var(--line)
}

    .toc a {
        color: #8e9ca7;
        font-size: 14px
    }

.prose h2 {
    scroll-margin-top: 110px
}

.compare {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin: 34px 0
}

    .compare div {
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel)
    }

    .compare b, .compare span {
        display: block
    }

    .compare span {
        margin-top: 6px;
        color: var(--muted);
        font-size: 14px
    }

.article-end {
    margin-top: 56px;
    padding-top: 30px;
    border-top: 1px solid var(--line)
}

.site-footer {
    padding: 66px 0 24px;
    border-top: 1px solid var(--line);
    background: #06101a
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .6fr .7fr;
    gap: 70px
}

.footer-brand {
    font-size: 27px;
    font-weight: 900
}

.footer-grid p {
    max-width: 450px;
    color: #788793
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: #7e8c97;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: #b6c1c9
}

.footer-grid .small {
    font-size: 13px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid #1c252c;
    color: #687681;
    font-size: 12px
}

.feature-link,
.article-card-link {
    display: flex;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

    .feature-link:hover,
    .article-card-link:hover {
        transform: translateY(-4px);
        border-color: rgba(110, 199, 216, .42);
        background: linear-gradient(145deg, rgba(110,199,216,.075), rgba(243,185,138,.02));
        box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
    }

    .feature-link:focus-visible,
    .article-card-link:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 4px;
    }

.feature-more {
    margin-top: auto;
    font-weight: 800;
}

.article-card-link .more {
    display: block;
    color: inherit;
}

.timeline-item {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, opacity .22s ease;
}

    .timeline-item > div {
        padding: 18px 22px;
        margin: -18px -22px;
        border: 1px solid transparent;
        border-radius: 18px;
        transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
    }

@media (hover: hover) and (pointer: fine) {

    .timeline-item:hover {
        transform: translateX(5px);
    }

        .timeline-item:hover > div {
            background: rgba(255,255,255,.025);
            border-color: rgba(110,199,216,.28);
            box-shadow: 0 14px 35px rgba(0,0,0,.12);
        }

        .timeline-item:hover h2 {
            color: var(--accent);
        }
}

.timeline-item:focus-visible {
    outline: none;
}

    .timeline-item:focus-visible > div {
        outline: 2px solid var(--accent);
        outline-offset: 4px;
    }

@media (prefers-reduced-motion: reduce) {
    .timeline-item,
    .timeline-item > div {
        transition: none;
    }

        .timeline-item:hover {
            transform: none;
        }
}

@media(max-width:980px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #0c1a26
    }

        .main-nav.open {
            display: flex
        }

    .menu-toggle {
        display: block
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 90px 0 40px
    }

    .hero-art {
        max-width: 700px;
        margin: auto
    }

    .cards.three {
        grid-template-columns: 1fr 1fr
    }

    .heading.split, .principle, .history-layout, .about-grid, .article-layout {
        grid-template-columns: 1fr
    }

        .history-layout aside {
            display: none
        }

    .toc, .contact-card {
        position: static
    }

    .toc {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        padding: 0 0 20px;
        border-left: 0;
        border-bottom: 1px solid var(--line)
    }
}

@media(max-width:720px) {
    .container {
        width: calc(100% - 28px)
    }

    .header-inner {
        min-height: 72px
    }

    .brand-mark {
        width: 40px
    }

    .brand-text small {
        display: none
    }

    .main-nav {
        top: 72px;
        left: 14px;
        right: 14px
    }

    .hero-grid {
        min-height: auto;
        padding-top: 70px
    }

    .hero h1, .page-hero h1, .article-hero h1 {
        font-size: 46px
    }

    .lead, .page-hero p, .article-hero > div > p {
        font-size: 18px
    }

    .section {
        padding: 68px 0
    }

    .cards.three, .cards.two, .footer-grid {
        grid-template-columns: 1fr
    }

    .heading.split {
        gap: 16px
    }

    .principle, .cta-card, .topic {
        padding: 28px
    }

    .cta-card, .topic {
        align-items: flex-start;
        flex-direction: column
    }

    .sidebar-layout {
        grid-template-columns: 1fr
    }

    .side {
        position: static
    }

        .side h2, .filter {
            display: inline-block;
            width: auto
        }

    .news-item {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .roadmap > div, .source-card {
        grid-template-columns: 1fr
    }

    .compare {
        grid-template-columns: 1fr
    }

    .toc {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column
    }
}

/* Responsive article tables */
.article-layout > *,
.prose {
    min-width: 0;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 16px;
}

    .table-wrap table {
        width: 100%;
        min-width: 720px;
        border-collapse: collapse;
        background: rgba(255,255,255,.015);
    }

    .table-wrap th,
    .table-wrap td {
        padding: 14px 16px;
        border-bottom: 1px solid var(--line);
        border-right: 1px solid var(--line);
        text-align: left;
        vertical-align: top;
    }

    .table-wrap th {
        color: #fff;
        background: var(--panel);
        font-size: 14px;
        line-height: 1.35;
    }

    .table-wrap td {
        color: #c2ccd4;
        font-size: 15px;
        line-height: 1.5;
    }

        .table-wrap th:last-child,
        .table-wrap td:last-child {
            border-right: 0;
        }

    .table-wrap tbody tr:last-child td {
        border-bottom: 0;
    }

.toc a,
.prose p,
.prose li,
.prose h2,
.prose h3 {
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    .timeline-item,
    .timeline article {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 16px;
    }

        .timeline-item > div {
            min-width: 0;
            margin: 0;
            padding: 18px;
        }

        .timeline-item:hover {
            transform: none;
        }
}

.timeline-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 800;
    transition: transform .2s ease;
}

/* Reviews and the illustrative EV demand calculator */
.review-cards > * {
    min-width: 0;
}

.review-cards h2 {
    margin: 28px 0 12px;
    font-size: 24px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.review-cards .card-meta {
    flex-wrap: wrap;
    gap: 8px 16px;
}

.review-formula {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-page .table-wrap caption {
    padding: 14px 16px;
    color: var(--muted);
    text-align: left;
    font-size: 14px;
}

.demand-calculator {
    margin: 28px 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.calculator-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.calculator-fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-size: 15px;
}

.calculator-fields input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #647886;
    border-radius: 8px;
    background: #08131e;
    color: #fff;
    font: inherit;
    font-size: 18px;
    color-scheme: dark;
}

.calculator-fields input:focus-visible,
.calculator-reset:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.calculator-fields input[aria-invalid="true"] {
    border-color: #ffbdad;
}

.calculator-error {
    color: #ffbdad;
}

.calculator-results {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.prose .calculator-total {
    margin: 0 0 24px;
    line-height: 1.15;
}

.calculator-total output {
    display: block;
    color: var(--accent);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.calculator-total span {
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

.calculator-details {
    margin: 0;
}

.calculator-details > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 20px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.calculator-details dt {
    font-size: 14px;
}

.calculator-details dd {
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.calculator-reset {
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid #647886;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.calculator-reset:hover {
    background: rgba(255,255,255,.06);
}

@media (max-width: 600px) {
    .demand-calculator {
        padding: 20px;
    }

    .calculator-fields,
    .calculator-details > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .calculator-details dd {
        text-align: left;
    }
}

@media (hover: hover) and (pointer: fine) {
    .timeline-item:hover .timeline-more {
        transform: translateX(4px);
    }
}

/* Language navigation is always visible, including beside the mobile menu. */
.language-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
}

.language-nav > * {
    padding: 9px 8px;
    border-radius: 8px;
}

.language-current {
    color: var(--muted);
}

.language-switch {
    color: var(--accent);
    border: 1px solid var(--line);
}

.language-switch:hover {
    background: var(--panel);
}

.language-switch:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .header-inner {
        gap: 16px;
    }

    .header-inner .brand {
        margin-right: auto;
        min-width: 0;
    }

    .menu-toggle {
        flex-shrink: 0;
    }
}

@media (max-width: 420px) {
    .header-inner {
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .language-nav {
        font-size: 12px;
        gap: 0;
    }

    .language-nav > * {
        padding: 9px 6px;
    }
}
