:root {
    --bg: #000000;
    --s1: #181818;
    --line: #313131;
    --text: #FFFFFF;
    --muted: #9B9B9B;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Geist', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.screen {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

.brand {
    position: absolute;
    top: 32px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

.content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }

h1 {
    font-weight: 500;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -.04em;
    max-width: 680px;
    text-wrap: balance;
    background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub { margin-top: 24px; max-width: 680px; font-size: 18px; line-height: 28px; color: var(--muted); text-wrap: pretty; }

.btn {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--text);
    color: var(--bg);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.btn:hover { background: #E4E4E4; transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

.skip { position: absolute; left: 16px; top: -80px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; z-index: 100; text-decoration: none; }
.skip:focus { top: 16px; }

.bgart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 40% 36% at 50% 50%, #000 40%, transparent 100%); }

.loop-path { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 6s var(--ease) .4s forwards; }
.node { fill: var(--bg); stroke: #FFFFFF; stroke-width: 1.5; opacity: 0; animation: pop .8s var(--ease) forwards; }
.node.f { fill: #FFFFFF; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

.foot { position: absolute; bottom: 24px; font-size: 12px; line-height: 16px; display: flex; gap: 24px; z-index: 3; }
.foot a { color: #6B6B6B; text-decoration: none; transition: color .3s var(--ease); }
.foot a:hover { color: var(--text); }

@media (max-width: 720px) {
    h1 { font-size: 36px; line-height: 40px; }
    .sub { font-size: 16px; line-height: 24px; }
    .fade { background: radial-gradient(ellipse 80% 40% at 50% 50%, #000 40%, transparent 100%); }
}
@media (prefers-reduced-motion: reduce) {
    .loop-path, .node { animation-duration: .01s; animation-delay: 0s; }
}
