:root {
    --obsidian: #0B1018;
    --gunmetal: #22262D;
    --graphite: #2E343D;
    --titanium: #8C939E;
    --platinum: #C9CED6;
    --ice: #A8D4EA;
    --ice-deep: #6FA8CC;
    --white: #F5F7FA;
    --ease: cubic-bezier(.2, .7, .2, 1)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    background: var(--obsidian);
    color: var(--white);
    font: 300 1rem/1.7 Inter, system-ui, sans-serif;
    overflow-x: hidden;
    min-height: 100vh
}

body.lock {
    overflow: hidden
}

img {
    display: block;
    max-width: 100%
}

#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.glow {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    left: 0;
    top: 0;
    background: radial-gradient(circle, rgba(168, 212, 234, .13), transparent 65%);
    transform: translate(-50%, -50%);
    transition: opacity .4s
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

main,
nav,
footer {
    position: relative;
    z-index: 3
}

/* loader */
#loader {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--obsidian);
    display: grid;
    place-items: center;
    transition: opacity .9s var(--ease), visibility .9s
}

#loader.done {
    opacity: 0;
    visibility: hidden
}

#loader .ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(201, 206, 214, .15);
    border-top-color: var(--ice);
    animation: spin 1.1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* floating nav */
nav {
    position: fixed;
    z-index: 50;
    top: calc(14px + env(safe-area-inset-top));
    left: 50%;
    translate: -50% 0;
    width: min(980px, calc(100% - 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px 9px 18px;
    border-radius: 99px;
    background: rgba(34, 38, 45, .5);
    border: 1px solid rgba(201, 206, 214, .14);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
    animation: drop 1s .6s var(--ease) both;
    transition: background .4s, border-color .4s, width .5s var(--ease)
}

nav.sc {
    background: rgba(11, 16, 24, .78);
    border-color: rgba(168, 212, 234, .22);
    width: min(760px, calc(100% - 24px))
}

@keyframes drop {
    from {
        opacity: 0;
        translate: -50% -30px
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font: 600 .8rem Sora;
    letter-spacing: .38em;
    color: var(--platinum);
    text-decoration: none;
    white-space: nowrap
}

.brand img {
    width: 30px;
    height: 30px
}

.links {
    display: flex;
    gap: 6px;
    margin: 0 auto
}

.links a {
    font: 400 .66rem Inter;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--titanium);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 99px;
    transition: .3s
}

.links a:hover {
    color: var(--white);
    background: rgba(168, 212, 234, .1)
}

.pill {
    font: 500 .62rem Inter;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ice);
    border: 1px solid rgba(168, 212, 234, .3);
    padding: 9px 16px;
    border-radius: 99px;
    background: rgba(168, 212, 234, .07);
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap
}

.pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ice);
    box-shadow: 0 0 10px var(--ice);
    animation: pulse 2s infinite
}

@keyframes pulse {
    50% {
        opacity: .3
    }
}

@media (max-width:760px) {
    .links {
        display: none
    }
}

@media (max-width:420px) {
    nav {
        padding: 7px 8px 7px 14px
    }

    .brand {
        font-size: .68rem;
        letter-spacing: .26em;
        gap: 9px
    }

    .brand img {
        width: 26px;
        height: 26px
    }

    .pill {
        padding: 8px 11px;
        font-size: .54rem;
        letter-spacing: .18em;
        gap: 7px
    }
}

/* hero */
.hero {
    overflow-x: clip;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 22px 70px;
    gap: clamp(14px, 2.4vh, 26px)
}

.emblem {
    position: relative;
    margin-bottom: clamp(14px, 3vh, 34px);
    width: clamp(190px, 42vw, 340px);
    aspect-ratio: 1
}

.emblem::before {
    content: "";
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 212, 234, .55), transparent 40%, rgba(201, 206, 214, .25), transparent 75%);
    -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 65%, transparent 66%);
    mask: radial-gradient(circle, transparent 62%, #000 63%, #000 65%, transparent 66%);
    animation: spin 14s linear infinite
}

.emblem::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(168, 212, 234, .18), transparent 62%);
    z-index: -1;
    animation: breathe 5s ease-in-out infinite
}

@keyframes breathe {
    50% {
        transform: scale(1.12);
        opacity: .6
    }
}

.tilt {
    width: 100%;
    height: 100%;
    animation: float 7s ease-in-out infinite
}

.tilt img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(168, 212, 234, .22))
}

.emblem .shine {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none
}

.emblem .shine::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    width: 30%;
    left: -60%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    animation: sweep 6s 2s infinite
}

@keyframes sweep {
    0% {
        left: -60%
    }

    30%,
    100% {
        left: 140%
    }
}

@keyframes float {
    50% {
        translate: 0 -12px
    }
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.tag {
    font: 300 clamp(1rem, 3.4vw, 1.7rem) Sora;
    letter-spacing: .55em;
    text-indent: .55em;
    color: var(--platinum);
    text-transform: uppercase
}

.tag b {
    color: var(--ice);
    font-weight: 300;
    margin: 0 .35em
}

.lead {
    max-width: 540px;
    color: var(--titanium);
    font-size: clamp(.92rem, 2vw, 1.05rem)
}

.scroll {
    margin-top: 10px;
    width: 22px;
    height: 36px;
    border: 1px solid rgba(201, 206, 214, .3);
    border-radius: 12px;
    position: relative
}

.scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 2px;
    height: 7px;
    margin-left: -1px;
    background: var(--ice);
    border-radius: 2px;
    animation: wheel 1.8s infinite
}

@keyframes wheel {
    70% {
        transform: translateY(12px);
        opacity: 0
    }
}

/* sections */
section {
    padding: clamp(70px, 12vh, 130px) clamp(20px, 5vw, 60px);
    max-width: 1180px;
    margin: auto
}

.kicker {
    font: 400 .7rem Inter;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: var(--ice);
    margin-bottom: 14px
}

h2 {
    font: 300 clamp(1.7rem, 4.6vw, 3rem)/1.15 Sora;
    letter-spacing: .04em;
    max-width: 760px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, var(--white), var(--titanium));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.sub {
    color: var(--titanium);
    max-width: 600px;
    margin-bottom: 46px
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px
}

.card {
    position: relative;
    padding: 34px 28px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(46, 52, 61, .55), rgba(34, 38, 45, .3));
    border: 1px solid rgba(201, 206, 214, .1);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform .5s var(--ease), border-color .4s
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 212, 234, .14), transparent 60%);
    opacity: 0;
    transition: opacity .4s
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 212, 234, .35)
}

.card:hover::before {
    opacity: 1
}

.card svg {
    width: 44px;
    height: 44px;
    stroke: var(--ice);
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 22px
}

.card h3 {
    font: 400 1.15rem Sora;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 10px
}

.card p {
    color: var(--titanium);
    font-size: .93rem
}

.card em {
    position: absolute;
    right: 20px;
    top: 14px;
    font: 200 3.4rem Sora;
    font-style: normal;
    color: rgba(201, 206, 214, .06)
}

.simu {
    padding: 22px 16px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(201, 206, 214, .12);
    background: linear-gradient(135deg, var(--white), var(--ice));
    font: 400 .78rem Sora;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--obsidian);
    transition: .4s var(--ease);
    text-decoration: none;
}

.simu:hover {
    color: var(--obsidian);
    font: 800 1.25rem Sora;
    background: linear-gradient(135deg, var(--white), var(--ice));
    transform: translateY(-10px);
}

.modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 8px
}

.mode {
    padding: 22px 16px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(201, 206, 214, .12);
    background: rgba(34, 38, 45, .35);
    font: 400 .78rem Sora;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--platinum);
    transition: .4s var(--ease)
}

.mode:hover {
    color: var(--obsidian);
    background: linear-gradient(135deg, var(--white), var(--ice));
    transform: translateY(-4px)
}

.note {
    margin-top: 30px;
    font-size: .82rem;
    color: var(--titanium);
    border-left: 1px solid var(--ice);
    padding-left: 14px;
    max-width: 620px
}

footer {
    text-align: center;
    padding: 50px 20px calc(40px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(201, 206, 214, .08);
    color: var(--titanium);
    font-size: .78rem
}

footer img {
    width: 44px;
    margin: 0 auto 14px;
    opacity: .9
}

footer p+p {
    margin-top: 6px;
    opacity: .7
}

/* reveal */
.rv {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0s)
}

.rv.in {
    opacity: 1;
    transform: none
}

@media (max-width:560px) {
    .tag {
        letter-spacing: .3em
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: .01s !important
    }

    .rv,
    h1 span {
        opacity: 1;
        transform: none;
        filter: none
    }
}

.play {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 600 .62rem Sora;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #0B1018;
    text-decoration: none;
    padding: 9px 15px;
    border-radius: 99px;
    background: linear-gradient(135deg, #fff, #A8D4EA);
    box-shadow: 0 8px 24px -8px #A8D4EA;
    margin-right: 8px;
    white-space: nowrap;
    transition: .3s
}

.play b {
    font-size: .6rem
}

.play:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -6px #A8D4EA
}

@media (max-width:760px) {
    .play {
        margin-left: auto
    }
}

@media (max-width:480px) {
    nav .pill {
        display: none
    }
}

@media (max-width:420px) {
    .play {
        padding: 8px 11px;
        letter-spacing: .14em;
        font-size: .56rem
    }

    .play b {
        display: none
    }
}