:root {
    color-scheme: dark;
    --bg: #090d10;
    --bg-deep: #050708;
    --surface: #10171c;
    --surface-raised: #172229;
    --ink: #eef3f5;
    --muted: #b4c0c6;
    --line: #30434c;
    --gold: #13d5ff;
    --gold-bright: #13d5ff;
    --blue: #13d5ff;
    --danger: #d76b5f;
    --max-width: 1100px;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
}

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

a {
    color: var(--blue);
}

a:hover,
a:focus-visible {
    color: #a9efff;
}

.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--bg);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--bg-deep);
}

.nav-wrap {
    width: min(var(--max-width), calc(100% - 2rem));
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
}

.brand-link {
    width: 230px;
    height: 104px;
    flex: 0 0 230px;
    overflow: hidden;
}

.brand-link img {
    width: 230px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.3rem;
}

.site-nav a {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    color: var(--blue);
}

.button,
button.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    border: 2px solid var(--blue);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.button:hover,
.button:focus-visible {
    background: var(--blue);
    color: #001015;
}

.button-secondary {
    border-color: var(--line);
    background: rgba(13, 20, 29, 0.86);
    color: var(--ink);
    box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--surface-raised);
    color: #fff;
}

.site-nav .button {
    min-height: 46px;
    padding: 0.65rem 1.2rem;
    color: var(--ink);
}

.site-nav .button:hover,
.site-nav .button:focus-visible {
    color: #001015;
}

.hero {
    width: min(var(--max-width), calc(100% - 2rem));
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(520px, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4rem);
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 8rem) 0;
}

.hero h1 {
    font-size: clamp(3.5rem, 4.2vw, 4.25rem);
}

.hero h1 span {
    display: block;
    white-space: nowrap;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    letter-spacing: -0.045em;
}

h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.025em;
}

h3 {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
}

.hero-copy {
    max-width: 670px;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-media,
.feature-media {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.hero-media img,
.feature-media img {
    width: 100%;
}

.hero-media {
    aspect-ratio: 16 / 9;
}

.hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-media-portrait {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background:
        linear-gradient(rgba(3, 8, 12, 0.58), rgba(3, 8, 12, 0.72)),
        url("/bfe/images/world-map-first-look.png") center / cover no-repeat;
}

.feature-media-portrait img {
    width: 31.640625%;
    height: 100%;
    max-height: 100%;
    max-width: none;
    border-inline: 1px solid rgba(170, 214, 232, 0.28);
    object-fit: contain;
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.72);
}

.feature-media-landscape {
    aspect-ratio: 16 / 9;
}

.feature-media-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 1rem;
}

.section-alt {
    border-block: 1px solid rgba(98, 183, 216, 0.13);
    background: rgba(13, 20, 29, 0.62);
}

.section-inner {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
}

.section-intro {
    max-width: 760px;
    margin: 0 0 2.5rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.premise {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.premise p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.2rem;
}

.pillar-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar,
.card {
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(19, 30, 42, 0.94), rgba(8, 13, 20, 0.94));
}

.pillar-number {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

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

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.feature-row + .feature-row {
    margin-top: clamp(4rem, 8vw, 7rem);
}

.feature-row-reverse .feature-media {
    order: 2;
}

.feature-copy ul,
.content-page ul,
.content-page ol {
    padding-left: 1.35rem;
}

.feature-copy li + li,
.content-page li + li {
    margin-top: 0.45rem;
}

.cta-band {
    width: min(var(--max-width), calc(100% - 2rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: clamp(3rem, 7vw, 6rem) auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
}

.cta-band h2 {
    margin-bottom: 0.4rem;
}

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

.page-hero {
    padding: clamp(4rem, 9vw, 7rem) 1rem clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.page-hero-inner,
.content-page {
    width: min(900px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.page-hero p:last-child {
    max-width: 760px;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.2rem;
}

.content-page {
    padding: clamp(3rem, 7vw, 6rem) 1rem;
}

.content-page h2 {
    margin-top: 3rem;
    font-size: 2rem;
}

.content-page h2:first-child {
    margin-top: 0;
}

.content-page h3 {
    margin-top: 2rem;
}

.content-page p,
.content-page li {
    color: #c4ccd5;
}

.notice {
    padding: 1.25rem 1.4rem;
    border-left: 4px solid var(--blue);
    background: var(--surface);
}

.launch-panel {
    width: min(650px, calc(100% - 2rem));
    margin: clamp(4rem, 10vw, 8rem) auto;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.launch-panel .brand-link {
    display: none;
}

.launch-panel h1 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
}

.launch-panel p {
    color: var(--muted);
}

.launch-note {
    font-size: 0.85rem;
}

.site-footer {
    padding: 3rem 1rem;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-inner {
    width: min(var(--max-width), 100%);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin: 0 auto;
}

.footer-title {
    margin: 0 0 0.5rem;
    color: var(--ink);
    font-weight: 800;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 0.4rem;
}

.footer-links a {
    width: fit-content;
}

@media (max-width: 1120px) {
    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero > div {
        max-width: 820px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 7vw, 4.5rem);
    }

    .hero h1 span {
        white-space: normal;
    }

    .hero-media {
        width: min(760px, 100%);
    }
}

@media (max-width: 820px) {
    .nav-wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        padding-block: 0.8rem;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .brand-link,
    .brand-link img {
        width: 190px;
    }

    .brand-link {
        height: 86px;
        flex: none;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 1rem;
        overflow-x: visible;
    }

    .site-nav .button {
        width: 100%;
    }

    .feature-media-portrait {
        aspect-ratio: 4 / 5;
    }

    .feature-media-portrait img {
        width: 70.3125%;
    }

    .feature-media-landscape {
        aspect-ratio: 4 / 5;
    }

    .feature-row,
    .card-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .feature-row-reverse .feature-media {
        order: 0;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
