@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/space-mono-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/space-mono-latin-ext-400.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/space-mono-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/space-mono-latin-ext-700.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Per-domain tokens - the only values that differ between lorinbute.com and dusty.ro. */
:root {
    --bg: #050607;
    --ink: #E6EFE9;
    --acc: #6FE0A8;
    --wordmark-size: clamp(34px, 8.2vw, 124px);
}

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

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Space Mono', ui-monospace, monospace;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--acc);
}

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

#rain {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.scan {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .5;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px);
}

.vig {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(62% 52% at 50% 50%, transparent 38%, rgba(5, 6, 7, .82) 84%);
}

main {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    padding: 24px;
}

h1 {
    font-size: var(--wordmark-size);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

/* Only the colour changes while a character is unresolved, so the wordmark never reflows. */
.is-scrambling {
    font-weight: 700;
    color: var(--acc);
}

.cur {
    display: inline-block;
    width: .54em;
    height: .86em;
    background: var(--acc);
    vertical-align: -.08em;
    margin-left: .1em;
    animation: bl 1.05s steps(2, end) infinite;
}

@keyframes bl {
    50% {
        opacity: 0;
    }
}

.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;
}

@media (prefers-reduced-motion: reduce) {
    .cur {
        animation: none;
    }
}

.notice {
    font-size: clamp(16px, 2.4vw, 22px);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}
