@font-face {
    font-family: Geist;
    src: url("geist-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("barlow-condensed-black.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("barlow-condensed-black-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --background: #171827;
    --canvas: #121421;
    --surface: #222437;
    --surface-raised: #2b2e47;
    --ink: #faf8ff;
    --muted: #c3c2d8;
    --line: #444762;
    --outline: #666985;
    --accent: #ffd077;
    --accent-hover: #ffe4ac;
    --accent-surface: #483725;
    --button-ink: #282017;
    --player-blue: #aebbff;
    --player-pink: #ffb1c3;
    --poster-blue: #33377a;
    --poster-violet: #502f61;
    --poster-border: #6a6399;
    --success: #a6edc4;
    --error: #ff8da2;
    --radius: 18px;
    --control-radius: 10px;
    --page-gutter: clamp(20px, 5vw, 76px);
    --display-font: "Barlow Condensed", "Arial Narrow", Geist, sans-serif;
    font-family: Geist, system-ui, sans-serif;
    background: var(--background);
    color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }

.shell {
    width: min(100% - var(--page-gutter) * 2, 1200px);
    margin-inline: auto;
}

.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; vertical-align: middle; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5;
    padding: 12px 18px;
    color: var(--background);
    background: var(--ink);
    transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 2; }
.nav {
    min-height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.wordmark {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.055em;
    text-decoration: none;
}

.wordmark img { border: 1px solid #ffffff32; border-radius: 10px; }

.nav-links {
    display: flex;
    gap: 5px;
    padding: 4px;
    border: 1px solid #ffffff24;
    border-radius: 14px;
    background: #121421ad;
    backdrop-filter: blur(14px);
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.nav-links a:hover { background: #ffffff12; color: var(--ink); }
.nav-links .mobile-download { display: none; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    color: inherit;
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.button:active { transform: scale(.98); }
.button-primary { background: var(--accent); color: var(--button-ink); }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 5px 20px #ffd07727; }
.button-quiet { border-color: var(--outline); background: #121421a6; }
.button-quiet:hover { background: var(--surface-raised); border-color: var(--player-blue); }
.nav-action { justify-self: end; min-height: 40px; padding: 8px 16px; font-size: 13px; }
.menu-button { display: none; }

.hero {
    --hero-image: url("hero.webp");
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: min(820px, max(680px, 94svh));
    overflow: hidden;
    background: var(--background);
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, #12142152 0%, transparent 23%, #12142124 58%, var(--background) 94%),
        radial-gradient(ellipse at 50% 44%, #121421b0 9%, #12142130 54%, transparent 76%),
        var(--hero-image) center 48% / cover no-repeat,
        var(--canvas);
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: repeating-linear-gradient(137deg, transparent 0 29px, #aebbff14 29px 30px);
    clip-path: polygon(78% 0, 100% 0, 100% 91%, 36% 91%);
    mask-image: linear-gradient(#000 20%, transparent 90%);
    pointer-events: none;
}

.hero-content {
    align-self: center;
    text-align: center;
    padding-block: 125px 62px;
    animation: hero-enter .65s ease-out both;
}

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--player-blue);
    font-size: 13px;
    font-weight: 500;
}

.hero h1 {
    margin-top: 23px;
    font-family: var(--display-font);
    font-size: clamp(57px, 7.8vw, 112px);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.016em;
    text-transform: uppercase;
}

.hero h1 span { color: var(--accent); font-style: italic; }

.hero-description {
    max-width: 43ch;
    margin: 28px auto 0;
    color: var(--ink);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.55;
    text-wrap: pretty;
}

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 29px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-block: 1px solid var(--line);
}

.hero-stats div { display: flex; flex-direction: column-reverse; gap: 5px; padding: 22px clamp(12px, 3vw, 42px); }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats dt { color: var(--muted); font-size: 13px; }
.hero-stats dd { font: 900 clamp(26px, 3.3vw, 43px) / 1.1 var(--display-font); text-transform: uppercase; }

.section { padding-block: clamp(70px, 9vw, 130px); }
.section-rule { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(30px, 5vw, 58px); }
.section h2, .download h2 {
    font: 900 clamp(38px, 5.3vw, 73px) / .96 var(--display-font);
    letter-spacing: -.012em;
    text-transform: uppercase;
    text-wrap: balance;
}

.section-heading > p, .download-content > p {
    max-width: 48ch;
    margin-top: 17px;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
}

.section h3 { font: 900 clamp(22px, 2.35vw, 29px) / 1.05 var(--display-font); text-transform: uppercase; }
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 60px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li { padding-top: 19px; border-top: 1px solid var(--line); }
.step-marker { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--player-blue); }
.step-marker .icon { font-size: 23px; }
.step-marker span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.steps p, .modes p { max-width: 33ch; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.photo-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 21px);
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.categories li {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 13px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
}

.photo-example {
    margin: 0;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}

.photo-frame {
    position: relative;
    color: var(--player-blue);
}

.photo-example:nth-child(2) .photo-frame { color: var(--player-pink); }
.photo-example:nth-child(3) .photo-frame { color: var(--accent); }

.photo-frame::before, .photo-frame::after {
    position: absolute;
    width: 17px;
    height: 17px;
    content: "";
    pointer-events: none;
}

.photo-frame::before { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.photo-frame::after { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

.photo-example img {
    width: 100%;
    height: clamp(210px, 25vw, 355px);
    object-fit: cover;
    border-radius: calc(var(--radius) - 7px);
}

.photo-example figcaption { padding: 13px 9px 5px; font-size: 15px; font-weight: 550; }

.modes-section .section-heading { text-align: center; }
.modes-section .section-heading > p { margin-inline: auto; }
.modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.modes article {
    --mode-color: var(--player-blue);
    padding: clamp(24px, 4vw, 43px);
    background: linear-gradient(125deg, transparent 63%, color-mix(in srgb, var(--mode-color) 12%, transparent) 63%);
}
.modes article:nth-child(2) { --mode-color: var(--player-pink); }
.modes article:nth-child(3) { --mode-color: var(--success); }
.modes article + article { border-left: 1px solid var(--line); }
.modes article > .icon { margin-bottom: 21px; font-size: 23px; color: var(--mode-color); }
.occasion { margin-top: 23px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }

.versus-preview {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 4vw, 65px);
    overflow: hidden;
    margin-top: clamp(30px, 5vw, 65px);
    padding: clamp(20px, 5vw, 66px);
    border: 1px solid var(--poster-border);
    border-radius: var(--radius);
    background: linear-gradient(124deg, var(--poster-blue) 54%, var(--poster-violet) 54%);
}

.versus-preview::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: repeating-linear-gradient(137deg, transparent 0 20px, #ffffff1b 20px 21px);
    clip-path: polygon(68% 0, 100% 0, 100% 100%, 35% 100%);
}

.versus-preview .versus-preview-copy h3 {
    max-width: 10ch;
    font-size: clamp(39px, 6vw, 76px);
    font-style: italic;
    line-height: .96;
}
.versus-preview-copy p {
    max-width: 34ch;
    margin-top: 15px;
    color: var(--ink);
    font-size: clamp(15px, 1.55vw, 18px);
    line-height: 1.55;
}

.versus-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(9px, 2vw, 20px); }
.versus-shots figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--poster-border);
    border-radius: 14px;
    background: var(--canvas);
}
.versus-shots img { width: 100%; height: auto; aspect-ratio: 10 / 17; object-fit: cover; object-position: center 96%; }
.versus-shots figure + figure img { object-position: center top; }
.versus-shots figcaption { padding: 10px 12px; font-size: 13px; font-weight: 550; }

.faq-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px, 7vw, 85px); }
.faq-section .section-heading { margin-bottom: 0; }
.faq-section h2 { text-wrap: initial; }
.text-link { color: var(--accent); text-underline-offset: .2em; white-space: nowrap; }
.text-link:hover { color: var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 21px 3px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { max-width: 59ch; padding: 0 18px 20px 3px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-list details a { color: var(--accent); }

.download {
    position: relative;
    isolation: isolate;
    padding-block: clamp(75px, 11vw, 145px);
    text-align: center;
    border-block: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 46% 115%, var(--poster-blue) 0%, transparent 70%),
        linear-gradient(123deg, var(--surface) 64%, #302338 64%);
}

.download h2 { max-width: 18ch; margin-inline: auto; }
.download-content > p { margin-inline: auto; }
.download-content .android-note { margin-top: 17px; font-size: 13px; }
.site-footer { padding-block: 58px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
.footer-main p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-main nav { display: grid; align-content: start; gap: 11px; }
.footer-main nav h2 { font-size: 14px; font-weight: 600; }
.footer-main nav a { width: fit-content; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-main nav a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
    .faq-section { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 740px) {
    .nav { min-height: 66px; grid-template-columns: 1fr auto; gap: 10px; }
    .nav-action { display: none; }
    .menu-button { display: inline-flex; justify-self: end; min-height: 40px; padding: 8px 14px; }
    .nav-links {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px;
        border-radius: 16px;
        background: #171827f5;
    }
    .nav-links a { padding-inline: 11px; }
    .nav-links .mobile-download { display: inline; }
    .hero { --hero-image: url("hero-small.webp"); min-height: min(790px, max(640px, 96svh)); }
    .hero::before {
        background:
            linear-gradient(180deg, #12142156 0%, transparent 18%, #1214213d 37%, var(--background) min(124vw, 82%)),
            radial-gradient(ellipse at 50% 45%, #12142173 8%, transparent 72%),
            var(--hero-image) center top / 100% auto no-repeat,
            var(--canvas);
    }
    .hero-content { padding-block: 116px 44px; }
    .hero h1 { margin-top: 20px; font-size: clamp(39px, 10.7vw, 72px); }
    .hero-description { max-width: 32ch; margin-top: 20px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stats div { padding: 13px 15px; }
    .hero-stats div:nth-child(3) { border-left: 0; }
    .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .hero-stats dt { font-size: 12px; }
    .steps, .modes { grid-template-columns: 1fr; }
    .steps { gap: 23px; }
    .step-marker { margin-bottom: 13px; }
    .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-example:first-child { grid-column: 1 / -1; }
    .photo-example { padding: 7px; }
    .photo-example img { height: auto; aspect-ratio: 4 / 5; }
    .photo-example:first-child img { aspect-ratio: 4 / 3; }
    .photo-example figcaption { padding-inline: 5px; }
    .modes-section .section-heading, .occasion { text-align: left; }
    .modes article + article { border-top: 1px solid var(--line); border-left: 0; }
    .modes-section .section-heading > p { margin-inline: 0; }
    .modes article > .icon { margin-bottom: 12px; }
    .versus-preview { grid-template-columns: 1fr; }
    .versus-preview .versus-preview-copy h3 { max-width: 17ch; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main > div { grid-column: 1 / -1; }
}

@media (max-width: 350px) {
    .hero-label { font-size: 12px; }
    .hero h1 { font-size: 34px; }
    .hero-content .button { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

.variant-list { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.variant-list summary { padding: 15px 20px; color: var(--accent); font-size: 14px; cursor: pointer; }
.variant-list dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 18px; padding: 8px 20px 20px; }
.variant-list dt { margin-bottom: 4px; font-weight: 550; }
.variant-list dd { color: var(--muted); font-size: 14px; line-height: 1.55; }
