:root {
    --bg:          #141416;
    --ink:         #E5E5E7;
    --ink-muted:   #A0A0A2;
    --blue:        #6E86F7;
    --glass-tint:  rgba(28, 28, 30, .72);
    --glass-rim:   rgba(255, 255, 255, .12);
    --glass-blur:  20px;

    --radius:      18px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.ground {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(58vw 52vw at 34% 46%,
            rgba(126, 148, 235, .055) 0%,
            rgba(126, 148, 235, .022) 42%,
            transparent 72%),
        radial-gradient(120vw 90vh at 50% 34%,
            transparent 42%,
            rgba(0, 0, 0, .45) 100%);
}
.grain {
    position: absolute;
    inset: 0;
    opacity: .028;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

.facade-glass {
    background: var(--glass-tint);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    border: 1px solid var(--glass-rim);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .facade-glass { background: rgba(28, 28, 30, .94); }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    width: min(1220px, calc(100% - 56px));
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.shot {
    position: relative;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: rise .8s .1s cubic-bezier(.2, .7, .3, 1) both;
}
.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.shot::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.pitch {
    justify-self: start;
    max-width: 24rem;
    text-align: center;
}

.mark {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 26px;
    animation: rise .7s cubic-bezier(.2, .7, .3, 1) both;
}
.mark img {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
}

.mark::after {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: linear-gradient(115deg, #E6E6EC, #A8A8B2);
    filter: blur(38px);
    opacity: .34;
}

h1 {
    margin: 0;
    font-size: clamp(46px, 5.4vw, 76px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
    background: linear-gradient(180deg, #fff 30%, #b8b8c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rise .7s .06s cubic-bezier(.2, .7, .3, 1) both;
}
.lede {
    margin: 18px auto 0;
    max-width: 26ch;
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink-muted);
    animation: rise .7s .12s cubic-bezier(.2, .7, .3, 1) both;
}

.release {
    margin: 5px 0 0;
    font-size: 12.5px;
    color: #6E6E73;
    font-variant-numeric: tabular-nums;
    animation: rise .7s .28s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.downloads {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    animation: rise .7s .18s cubic-bezier(.2, .7, .3, 1) both;
}

.download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}
.cap {
    margin: 0;
    font-size: 12.5px;
    color: #8A8A8E;
}
.is-soon .cap { color: #6E6E73; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 15.5px/1 var(--font);
    color: #1C1C1E;                 /* 14.4:1 on the plate */
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(180deg, #F7F7F8, #DEDEE2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
    transition: transform .16s ease, box-shadow .2s ease, background-color .16s ease;
}

.btn svg { flex: none; width: 18px; height: 18px; }
.ico-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ico-solid {
    fill: currentColor;
    stroke: none;
}

a.btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #FFF, #EAEAEE);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
a.btn:active { transform: translateY(0); }

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.btn-muted {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .09);
    color: #74747A;
    box-shadow: none;
    cursor: default;
}

.repo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    color: #7C7C82;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
    animation: rise .7s .32s cubic-bezier(.2, .7, .3, 1) both;
}
.repo svg { width: 17px; height: 17px; fill: currentColor; }
.repo:hover {
    color: var(--ink);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .05);
}
.repo:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        width: min(560px, calc(100% - 36px));
        padding: 52px 0 60px;
        gap: 36px;
        align-content: center;
    }

    .pitch {
        justify-self: stretch;
        max-width: none;
    }
    .lede { max-width: none; }
    .mark { display: none; }

    h1 { font-size: clamp(40px, 11vw, 58px); }
    .lede { font-size: 17px; }
    .downloads { margin-top: 26px; gap: 12px; }
    .btn { padding: 13px 20px; }
    .shot { padding: 6px; border-radius: 14px; }
    .shot img { border-radius: 9px; }
    .shot::after { inset: 6px; border-radius: 9px; }
    .ground {
        background:
            radial-gradient(90vw 60vh at 50% 62%,
                rgba(126, 148, 235, .055) 0%,
                rgba(126, 148, 235, .022) 42%,
                transparent 72%),
            radial-gradient(140vw 100vh at 50% 30%,
                transparent 40%,
                rgba(0, 0, 0, .45) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}
