:root {
    color-scheme: dark;
    --ink: #f9f4f8;
    --muted: #b9aeb9;
    --bg: #120c14;
    --panel: #1d151f;
    --panel-soft: #271a29;
    --cyan: #58f1e8;
    --coral: #ff536e;
    --pink: #ff6fb1;
    --line: rgba(255, 255, 255, 0.12);
    --shell: min(1180px, calc(100% - 48px));
    --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 10px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
}

.nav {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand img {
    border-radius: 11px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-nav .nav-cta {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
}

.site-nav .nav-cta:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.menu-button span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 155px 0 92px;
    background-color: #120c14;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.85fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.gallery-heading h2,
.download-card h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.94;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(62px, 7.3vw, 112px);
}

.hero h1 span {
    color: var(--coral);
}

.hero-lede {
    max-width: 610px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
}

.play-badge {
    display: inline-flex;
    border-radius: 9px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.play-badge:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.text-link {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 7px;
    color: var(--cyan);
}

.platform-note {
    margin: 18px 0 0;
    color: #817682;
    font-size: 12px;
}

.hero-art {
    position: relative;
    min-height: 610px;
}

.hero-shot {
    position: absolute;
    width: min(310px, 66%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.44);
}

.hero-shot img {
    width: 100%;
}

.hero-shot-back {
    top: 16px;
    right: 0;
    transform: rotate(7deg);
}

.hero-shot-front {
    left: 3%;
    bottom: 0;
    transform: rotate(-5deg);
}

.app-mark {
    position: absolute;
    z-index: 5;
    top: 44%;
    left: 48%;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
}

.app-mark img {
    border-radius: 21px;
}

.feature-intro {
    padding: 126px 0 66px;
    background: var(--ink);
    color: #171018;
}

.feature-intro .eyebrow {
    color: #b82854;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 80px;
    align-items: end;
}

.section-heading h2,
.gallery-heading h2,
.download-card h2 {
    font-size: clamp(48px, 6.5vw, 92px);
}

.section-heading p {
    max-width: 430px;
    margin: 0 0 5px;
    color: #655a66;
    font-size: 18px;
}

.feature-section {
    padding-bottom: 130px;
    background: var(--ink);
}

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

.feature-card {
    position: relative;
    min-height: 690px;
    padding: 52px 52px 0;
    background: #241b26;
    border-radius: 28px;
    overflow: hidden;
}

.feature-card-wide {
    background: #281622;
}

.feature-card-blue {
    background: #142432;
}

.feature-card-cyan {
    background: #152a2d;
}

.feature-copy {
    position: relative;
    z-index: 2;
    max-width: 52%;
}

.feature-number {
    margin: 0 0 28px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.feature-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(34px, 3.25vw, 54px);
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-transform: uppercase;
}

.feature-card p:not(.feature-number) {
    max-width: 330px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.feature-card > img {
    position: absolute;
    right: 7%;
    bottom: -26%;
    width: min(310px, 46%);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 32px 62px rgba(0, 0, 0, 0.42);
    transform: rotate(4deg);
}

.feature-card:nth-child(even) > img {
    right: 9%;
    bottom: -23%;
    transform: rotate(-4deg);
}

.gallery {
    padding: 120px 0 130px;
    background: #0c171a;
}

.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 62px;
}

.gallery-heading h2 {
    font-size: clamp(50px, 6vw, 86px);
}

.gallery-heading > p {
    max-width: 360px;
    margin: 0 0 8px;
    color: #9cabad;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    gap: 18px;
}

.gallery-track figure {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 200ms ease;
}

.gallery-track figure:nth-child(even) {
    transform: translateY(26px);
}

.gallery-track figure:hover {
    transform: translateY(-6px);
}

.gallery-track figure:nth-child(even):hover {
    transform: translateY(20px);
}

.gallery-track img {
    width: 100%;
}

.download-section {
    padding: 110px 0;
    background: var(--coral);
}

.download-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 42px;
    align-items: center;
    color: #170c11;
}

.download-icon {
    border-radius: 26px;
    box-shadow: 0 22px 50px rgba(69, 7, 22, 0.26);
}

.download-card .eyebrow {
    margin-bottom: 14px;
    color: #611329;
}

.download-card h2 {
    font-size: clamp(48px, 5.4vw, 76px);
}

.download-card p:not(.eyebrow) {
    max-width: 660px;
    margin: 18px 0 0;
    color: #5f1d2c;
    font-size: 18px;
}

.site-footer {
    padding: 52px 0;
    background: #0b080c;
    color: #8e838e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.footer-brand {
    color: var(--ink);
}

.footer-links {
    display: flex;
    gap: 26px;
}

.footer-links a {
    color: #b9aeb9;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-grid > p {
    margin: 0;
    text-align: right;
    font-size: 12px;
}

@media (max-width: 900px) {
    :root {
        --shell: min(100% - 34px, 720px);
    }

    .site-header {
        position: absolute;
    }

    .menu-button {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        right: 17px;
        left: 17px;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #1b131d;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .site-nav .nav-cta {
        margin-top: 4px;
        text-align: center;
    }

    .hero {
        padding-top: 132px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-art {
        width: min(560px, 100%);
        min-height: 610px;
        margin-inline: auto;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .feature-card {
        min-height: 720px;
    }

    .feature-copy {
        max-width: 58%;
    }

    .feature-card > img,
    .feature-card:nth-child(even) > img {
        bottom: -14%;
    }

    .gallery-track {
        display: flex;
        gap: 14px;
        margin-right: calc((100vw - var(--shell)) / -2);
        padding-right: 17px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gallery-track::-webkit-scrollbar {
        display: none;
    }

    .gallery-track figure,
    .gallery-track figure:nth-child(even) {
        flex: 0 0 min(78vw, 330px);
        transform: none;
        scroll-snap-align: start;
    }

    .download-card {
        grid-template-columns: auto 1fr;
    }

    .download-card .play-badge {
        grid-column: 2;
        justify-self: start;
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
    }

    .footer-links {
        order: 3;
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    :root {
        --shell: calc(100% - 28px);
    }

    .nav {
        min-height: 78px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 74px;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 78px);
    }

    .hero-lede {
        margin-top: 26px;
        font-size: 17px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-art {
        min-height: 440px;
    }

    .hero-shot {
        width: 60%;
        border-radius: 20px;
    }

    .app-mark {
        padding: 7px;
        border-radius: 20px;
    }

    .app-mark img {
        width: 64px;
        border-radius: 15px;
    }

    .feature-intro {
        padding: 88px 0 50px;
    }

    .section-heading h2,
    .gallery-heading h2,
    .download-card h2 {
        font-size: clamp(38px, 11vw, 48px);
    }

    .section-heading p {
        font-size: 16px;
    }

    .feature-grid {
        gap: 12px;
    }

    .feature-section {
        padding-bottom: 82px;
    }

    .feature-card {
        min-height: 600px;
        padding: 36px 28px 0;
        border-radius: 20px;
    }

    .feature-card h3 {
        font-size: clamp(32px, 9vw, 40px);
    }

    .feature-copy {
        max-width: 75%;
    }

    .feature-card p:not(.feature-number) {
        font-size: 15px;
    }

    .feature-card > img {
        right: 8%;
        bottom: -12%;
        width: 64%;
    }

    .gallery {
        padding: 86px 0 98px;
    }

    .gallery-heading {
        display: block;
        margin-bottom: 40px;
    }

    .gallery-heading > p {
        margin-top: 22px;
    }

    .download-section {
        padding: 82px 0;
    }

    .download-card {
        display: block;
    }

    .download-icon {
        width: 84px;
        margin-bottom: 34px;
        border-radius: 20px;
    }

    .download-card .play-badge {
        margin-top: 30px;
    }

    .footer-grid {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .footer-grid > p {
        text-align: left;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.legacy-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background-color: var(--bg);
}

.legacy-card {
    width: min(760px, 100%);
    padding: clamp(34px, 7vw, 72px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.legacy-card .brand {
    margin-bottom: clamp(64px, 10vw, 100px);
}

.legacy-card h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(48px, 9vw, 88px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.94;
    text-transform: uppercase;
}

.legacy-card > p:not(.eyebrow) {
    max-width: 560px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.legacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.legacy-actions a {
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.legacy-primary {
    background: var(--coral);
    color: #170c11;
}

.legacy-secondary {
    border: 1px solid var(--line);
    color: var(--ink);
}
