:root {
    --bg: #050505;
    --line: #2a2a2a;
    --line-hover: #f5f5f2;
    --ink: #f5f5f2;
    --ink-dim: #7a7a78;
    --comet: #f5f5f2;
}

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

html,
body {
    height: 100%;
    background: var(--bg);
    overflow-x: hidden;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

canvas#sky {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    padding: 12vh 24px 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 22px;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 6vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1;
    text-align: center;
}

.sub {
    margin-top: 14px;
    font-size: 13px;
    color: var(--ink-dim);
    text-align: center;
    letter-spacing: 0.01em;
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 48px 0 0;
}

.domains {
    width: 100%;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.domain {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 20px 20px;
    border-top: 1px solid var(--line);
    background: transparent;
    text-decoration: none;
    color: var(--ink);
    transition: background .15s ease, color .15s ease, letter-spacing .15s ease;
    position: relative;
}

.domain .idx {
    font-size: 11px;
    color: var(--ink-dim);
    width: 22px;
    flex-shrink: 0;
    transition: color .15s ease;
}

.domain .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 16px;
    flex: 1;
    letter-spacing: 0.01em;
}

.domain .tag {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
    flex-shrink: 0;
    transition: color .15s ease;
}

.domain .arrow {
    font-size: 14px;
    color: var(--ink-dim);
    transform: translateX(-4px);
    opacity: 0;
    transition: all .15s ease;
    flex-shrink: 0;
}

.domain:hover {
    background: var(--ink);
    color: var(--bg);
}

.domain:hover .idx,
.domain:hover .tag {
    color: var(--bg);
    opacity: 0.55;
}

.domain:hover .arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--bg);
}

.domain:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: -1px;
}

footer {
    margin-top: 56px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-dim);
    text-align: center;
}


@media (max-width:480px) {
    .domain {
        padding: 16px;
        gap: 12px;
    }

    .domain .name {
        font-size: 14.5px;
    }
}