@font-face {
    font-family: "IBM Plex Mono";
    src: url("/eleven/ibm-plex-mono-latin-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    color-scheme: dark;
    background: #0a0e11;
    color: #edf4f1;
    font: 100%/1.5 system-ui, -apple-system, sans-serif;
    --accent: #8df2bc;
    --quiet: #a3b2ae;
}

* { box-sizing: border-box; }
body { margin: 0; }

.home {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: 3rem 1rem;
    background: radial-gradient(ellipse at 50% 50%, #13201f 0%, #0a0e11 74%);
}

.home::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, #b9f7df0d 1px, transparent 1px),
        linear-gradient(to bottom, #b9f7df0d 1px, transparent 1px);
    background-size: 4rem 4rem;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, #000 5%, transparent 72%);
    content: "";
}

.lockup {
    width: 100%;
    text-align: center;
}

.wordmark {
    --typing-time: 1.65s;
    --letters: 17;
    position: relative;
    width: max-content;
    overflow: hidden;
    margin: 0 auto;
    color: #edf4f1;
    font: 500 5.25rem/1.12 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    letter-spacing: -0.065em;
    white-space: nowrap;
}

.wordmark-text {
    display: block;
}

.separator, .decode-head {
    color: var(--accent);
}

.decode-head {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .wordmark-text {
        animation: type-in var(--typing-time) steps(var(--letters), end) both;
    }

    .decode-head {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        pointer-events: none;
        animation: advance var(--typing-time) steps(var(--letters), end) both;
    }

    .decode-head::before, .decode-head::after {
        content: "0";
        text-shadow: 0 0 0.12em currentColor;
        animation: scramble 490ms step-end 4;
    }

    .decode-head::after {
        opacity: 0.48;
        animation-delay: -210ms;
    }
}

@keyframes type-in {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0); }
}

@keyframes advance {
    from { left: 0; visibility: visible; }
    to { left: 100%; visibility: hidden; }
}

@keyframes scramble {
    0%, 100% { content: "0"; }
    14% { content: "/"; }
    29% { content: "1"; }
    43% { content: "+"; }
    57% { content: "7"; }
    71% { content: ":"; }
    86% { content: "X"; }
}

.tagline {
    max-width: 31rem;
    margin: 1.2rem auto 0;
    color: var(--quiet);
    font-size: 1.125rem;
    line-height: 1.6;
    text-wrap: balance;
    animation: arrive 650ms 160ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.boot-track {
    width: 4.5rem;
    height: 2px;
    margin: 2.2rem auto 0;
    overflow: hidden;
    background: #2c3937;
}

.boot-track span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: var(--accent);
    animation: boot 950ms cubic-bezier(0.3, 0, 0.3, 1) both;
}

@keyframes arrive {
    from { opacity: 0.18; transform: translateY(0.55rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes boot {
    0% { opacity: 0.85; transform: scaleX(0.04); }
    43% { opacity: 1; transform: scaleX(0.36); }
    75% { opacity: 1; transform: scaleX(0.78); }
    100% { opacity: 0.72; transform: scaleX(1); }
}

@media (max-width: 62rem) {
    .wordmark { font-size: 4.1rem; }
}

@media (max-width: 46rem) {
    .wordmark { font-size: 3.05rem; }
}

@media (max-width: 34rem) {
    .wordmark { font-size: 2.15rem; }
    .tagline { max-width: 21rem; font-size: 1rem; }
    .boot-track { margin-top: 1.8rem; }
}

@media (max-width: 23rem) {
    .wordmark { font-size: 1.8rem; }
}

@media (max-width: 19rem) {
    .wordmark { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    .wordmark, .tagline, .boot-track span { animation: none; }
}
