:root {
    --bg: #07111f;
    --bg-soft: #091827;
    --bg-card: #0c1c2e;
    --bg-card-hover: #10233a;

    --text: #f4f7fa;
    --muted: #9eafc1;

    --gold: #d8b66d;
    --blue: #5ca9ff;
    --green: #58cf8a;

    --border: rgba(255,255,255,.09);

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.65;
}

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

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* ==================================================
   HEADER
   ================================================== */

.header {
    height: 76px;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(7,17,31,.93);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-right: auto;
}

.brand-logo {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-weight: 900;
}

.brand strong {
    display: block;

    font-size: 14px;
    letter-spacing: .14em;
}

.brand small {
    display: block;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: .27em;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 22px;

    color: #c0cad6;

    font-size: 14px;
}

.navigation a {
    height: 76px;

    display: flex;
    align-items: center;

    border-bottom: 2px solid transparent;
}

.navigation a:hover,
.navigation a.active {
    color: white;
    border-bottom-color: var(--gold);
}

.navigation .portal {
    height: auto;

    padding: 10px 17px;

    border: 1px solid var(--border);
    border-radius: 6px;
}

.navigation .portal:hover {
    border-color: rgba(255,255,255,.28);
}

.menu-button {
    display: none;

    border: 0;

    color: white;
    background: transparent;

    font-size: 26px;

    cursor: pointer;
}


/* ==================================================
   HERO
   ================================================== */

.hero {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(49,111,185,.19),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #07111f,
            #0a192b
        );
}

.hero.home {
    min-height: 690px;
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding: 90px 0;
}

.eyebrow {
    display: inline-block;

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .22em;
}

.hero h1 {
    max-width: 930px;

    margin: 17px 0 26px;

    font-size: clamp(48px, 7vw, 88px);

    line-height: 1;

    letter-spacing: -.05em;
}

.hero.home h1 {
    font-size: clamp(54px, 7.5vw, 96px);
}

.hero h1 span {
    color: #cad7e6;
}

.hero p {
    max-width: 760px;

    margin: 0;

    color: #b5c3d2;

    font-size: 19px;
}

.actions {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.button {
    min-height: 48px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
}

.button-primary {
    background: #f3f6f9;
    color: #07111f;
}

.button-secondary:hover {
    border-color: rgba(255,255,255,.3);
}

.hero-status {
    margin-top: 42px;

    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--muted);

    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 14px rgba(216,182,109,.5);
}


/* ==================================================
   CONTENT
   ================================================== */

.section {
    padding: 95px 0;
}

.section-dark {
    background: #081522;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    max-width: 780px;

    margin-bottom: 45px;
}

.section-header h2 {
    margin: 10px 0 15px;

    font-size: clamp(34px,5vw,52px);

    line-height: 1.1;

    letter-spacing: -.04em;
}

.section-header p {
    margin: 0;

    color: var(--muted);

    font-size: 18px;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 14px;
}

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

.card {
    min-height: 220px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #091725,
            #0c1b2e
        );

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.card:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,.16);

    background: var(--bg-card-hover);
}

.card-label {
    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .18em;
}

.card h3 {
    margin: 38px 0 9px;

    font-size: 23px;
}

.card p {
    margin: 0;

    color: var(--muted);
}


/* ==================================================
   TEXT LAYOUT
   ================================================== */

.two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 75px;
}

.two-column h2 {
    margin: 10px 0 0;

    font-size: clamp(36px,5vw,52px);

    line-height: 1.08;

    letter-spacing: -.04em;
}

.large-text {
    color: #b4c2d0;

    font-size: 18px;
}

.large-text p:first-child {
    margin-top: 0;
}


/* ==================================================
   RULES
   ================================================== */

.rule-list {
    display: grid;

    gap: 12px;
}

.rule-group {
    padding: 27px 30px;

    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 25px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--bg-soft);
}

.rule-id {
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .12em;
}

.rule-group h3 {
    margin: 0 0 6px;

    font-size: 20px;
}

.rule-group p {
    margin: 0;

    color: var(--muted);
}


/* ==================================================
   NEWS
   ================================================== */

.news-list {
    display: grid;

    gap: 14px;
}

.news-card {
    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--bg-soft);
}

.news-meta {
    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .17em;
}

.news-card h2 {
    margin: 12px 0 10px;

    font-size: 29px;
}

.news-card p {
    max-width: 760px;

    margin: 0;

    color: var(--muted);
}


/* ==================================================
   ROADMAP
   ================================================== */

.roadmap {
    display: grid;

    gap: 14px;
}

.roadmap-item {
    padding: 28px 30px;

    display: grid;

    grid-template-columns:
        180px 1fr auto;

    align-items: center;

    gap: 28px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--bg-soft);
}

.roadmap-status {
    color: var(--gold);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .13em;
}

.roadmap-item h3 {
    margin: 0 0 5px;
}

.roadmap-item p {
    margin: 0;

    color: var(--muted);
}

.roadmap-badge {
    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 5px;

    color: #becbd8;

    font-size: 11px;
}


/* ==================================================
   STEPS
   ================================================== */

.steps {
    display: grid;

    gap: 12px;
}

.step {
    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 25px;

    padding: 28px 30px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--bg-soft);
}

.step-number {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);

    font-weight: 800;
}

.step h3 {
    margin: 0 0 5px;
}

.step p {
    margin: 0;

    color: var(--muted);
}


/* ==================================================
   CALLOUT
   ================================================== */

.callout {
    padding: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border-radius: 8px;

    color: #07111f;
    background: #eef2f6;
}

.callout .eyebrow {
    color: #70591f;
}

.callout h2 {
    margin: 7px 0 7px;

    font-size: 38px;

    line-height: 1.1;

    letter-spacing: -.04em;
}

.callout p {
    max-width: 670px;

    margin: 0;

    color: #536170;
}

.callout-badge {
    min-width: 210px;

    padding: 23px;

    color: white;
    background: #07111f;

    border-radius: 7px;
}

.callout-badge small {
    display: block;

    color: var(--gold);

    letter-spacing: .16em;
}

.callout-badge strong {
    display: block;

    margin-top: 7px;

    font-size: 20px;
}


/* ==================================================
   FOOTER
   ================================================== */

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

.footer-inner {
    padding: 42px 0 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    color: var(--muted);

    font-size: 13px;
}

.footer strong {
    display: block;

    color: white;
}

.footer small {
    display: block;

    margin-top: 4px;
}

.footer-links {
    display: flex;

    gap: 24px;
}

.footer-links a:hover {
    color: white;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 950px) {

    .header {
        height: 68px;
    }

    .menu-button {
        display: block;
    }

    .navigation {
        display: none;

        position: absolute;

        top: 76px;
        left: 16px;
        right: 16px;

        padding: 15px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #0a192a;

        border: 1px solid var(--border);
        border-radius: 8px;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a,
    .navigation .portal {
        height: auto;

        padding: 12px 5px;

        border: 0;
    }

    .grid,
    .grid.three,
    .two-column {
        grid-template-columns: 1fr;
    }

    .two-column {
        gap: 28px;
    }

    .roadmap-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

@media (max-width: 650px) {

    .container {
        width: calc(100% - 32px);
    }

    .hero,
    .hero.home {
        min-height: 600px;
    }

    .hero h1,
    .hero.home h1 {
        font-size: 49px;
    }

    .hero p {
        font-size: 17px;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-status {
        flex-wrap: wrap;
    }

    .section {
        padding: 68px 0;
    }

    .rule-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .callout {
        padding: 32px;

        flex-direction: column;
        align-items: stretch;
    }

    .callout h2 {
        font-size: 32px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}
