/* Moniker: night sky blue, ice accent, Geist and Geist Mono. Quiet, centred, a search field as the hero. */
:root { --bg: #070b16; --s1: #0d1424; --s2: #131c30; --line: rgba(173, 206, 255, .1); --line2: rgba(173, 206, 255, .2); --text: #eef3fb; --muted: rgba(220, 230, 248, .6); --ice: #a9cbff; --on-ice: #061226; --up: #3ce3ab; --down: #f23674; --font: "Geist", Inter, Arial, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; --wrap: 1120px; --g: clamp(16px, 4vw, 40px); --r: 16px }
* { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(169, 203, 255, .3) transparent }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh; display: flex; flex-direction: column }
main { flex: 1 } a { color: inherit; text-decoration: none } img { display: block; max-width: 100% } button, input { font: inherit; color: inherit } button { background: none; border: 0; cursor: pointer } em, i { font-style: normal }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding-inline: var(--g) }
.muted { color: var(--muted) } .mono { font-family: var(--mono) }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .2s, opacity .2s, border-color .2s }
.btn.ice { background: var(--ice); color: var(--on-ice); font-weight: 600 } .btn.ice:hover { opacity: .9 }
.btn.ghost { border: 1px solid var(--line2); background: rgba(7, 11, 22, .4); backdrop-filter: blur(8px) } .btn.ghost:hover { border-color: rgba(169, 203, 255, .45) }
.btn.big { height: 54px; padding: 0 30px; font-size: 16px }

.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20 }
.bar .wrap { height: 76px; display: flex; align-items: center; gap: 36px }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px var(--font); letter-spacing: -.02em } .brand img { width: 26px; height: 26px; object-fit: contain } .brand span { transform: translateY(-1px) }
.bar nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: rgba(238, 243, 251, .72) } .bar nav a:hover { color: #fff }

/* hero: the night sky, the search in the middle */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 60s linear infinite alternate }
@keyframes drift { from { transform: scale(1.06) } to { transform: scale(1.14) translateX(-2%) } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 22, .35), rgba(7, 11, 22, .2) 40%, var(--bg)) }
.hero .wrap { padding-block: 130px 90px; display: flex; flex-direction: column; align-items: center }
.hero h1 { font: 500 clamp(44px, 6.6vw, 96px)/1 var(--font); letter-spacing: -.045em; max-width: 11em }
.hero .sub { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: rgba(238, 243, 251, .76) } .hero .sub b { color: var(--ice); font-weight: 500; font-family: var(--mono) }
.search { margin-top: 40px; width: min(640px, 100%); height: 68px; display: flex; align-items: center; padding: 0 8px 0 26px; border-radius: 999px; background: rgba(13, 20, 36, .72); border: 1px solid var(--line2); backdrop-filter: blur(16px); transition: border-color .2s }
.search:focus-within { border-color: rgba(169, 203, 255, .6) }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 400 26px var(--mono); letter-spacing: -.02em }
.search .tld { font: 400 26px var(--mono); color: var(--muted); margin-right: 14px } .search .btn { height: 52px }
.result { min-height: 52px; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 15px; flex-wrap: wrap }
.result b { font: 500 18px var(--mono) } .result .free { color: var(--up) } .result .taken { color: var(--down) } .result .btn { height: 38px; padding: 0 16px }
.ctas { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; justify-content: center }
.ca { margin-top: 18px; display: inline-flex; gap: 12px; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(7, 11, 22, .6); border: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); cursor: pointer; max-width: 100% } .ca b { color: var(--ice); font-weight: 500 } .ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

section.s { padding-block: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line) }
.row-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap }
.s h2, .end h2 { font: 500 clamp(32px, 4vw, 54px)/1.04 var(--font); letter-spacing: -.04em; max-width: 15em }
.count { color: var(--muted) } .count b { color: var(--text); font: 500 22px var(--mono) }

/* recent names: a wall of name chips */
.names { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px }
.names a { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 20px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); transition: border-color .2s }
.names a:hover { border-color: var(--line2) } .names b { font: 500 16px var(--mono) } .names b i { color: var(--muted) } .names span { color: var(--muted); font: 12px var(--mono) }
.empty { width: 100%; padding: 56px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r) } .empty b { display: block; color: var(--text); font-size: 20px; font-weight: 500; margin-bottom: 4px }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px }
.tiers article { padding: 30px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line) } .tiers article.hi { border-color: rgba(169, 203, 255, .35) }
.tiers .len { color: var(--muted); font-size: 14px } .tiers b { display: block; margin-top: 16px; font: 400 44px/1 var(--mono); letter-spacing: -.04em } .tiers small { color: var(--muted); font: 13px var(--mono) } .tiers p { margin-top: 18px; color: var(--muted); font-size: 15px }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px }

/* minimal rows for what a name does and the FAQ */
.rows { margin-top: 36px } .rows div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line) } .rows div:last-child { border-bottom: 1px solid var(--line) }
.rows b { font-weight: 500; font-size: 20px; letter-spacing: -.02em } .rows p { color: var(--muted) }
.faq { margin-top: 36px } .faq details { border-top: 1px solid var(--line) } .faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 500; font-size: 19px } .faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--ice); font: 400 24px/1 var(--mono); transition: transform .25s } .faq details[open] summary::after { transform: rotate(45deg) }
.faq p { color: var(--muted); padding-bottom: 24px; max-width: 46em }

.end { border-top: 1px solid var(--line) } .end .wrap { padding-block: clamp(100px, 12vw, 160px); display: flex; justify-content: space-between; align-items: start; gap: 30px; flex-wrap: wrap }

.foot { background: #000; padding: 72px 0 80px }
.foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap } .foot p { color: rgba(255, 255, 255, .5); font-size: 13px; margin-top: 12px }
.foot .cols { display: flex; gap: 64px; font-size: 14px } .foot .cols div { display: grid; gap: 10px; align-content: start } .foot .cols b { font-weight: 600 } .foot .cols a { color: rgba(255, 255, 255, .62) } .foot .cols a:hover { color: #fff }

.page-top { padding-block: 150px 56px } .page-top h1 { font: 500 clamp(44px, 6vw, 84px)/1 var(--font); letter-spacing: -.045em } .page-top p { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 40em }
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 56px; border-top: 1px solid var(--line) }
.doc h2 { font: 500 26px/1.1 var(--font); letter-spacing: -.03em; position: sticky; top: 100px; align-self: start }
.doc p, .doc li { color: var(--muted); max-width: 46em } .doc p + p { margin-top: 12px } .doc b { color: var(--text); font-weight: 600 } .doc ul { padding-left: 20px } .doc li + li { margin-top: 8px }
.doc code { font: 13px var(--mono); background: var(--s2); padding: 2px 7px; border-radius: 6px; color: var(--text) }
.doc table { width: 100%; border-collapse: collapse } .doc td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top } .doc td:first-child { color: var(--muted); width: 36%; padding-right: 16px } .doc td a { font: 13px var(--mono); color: var(--ice); word-break: break-all }

@media (max-width: 900px) { .bar nav { display: none } .bar .wrap { justify-content: space-between } .tiers { grid-template-columns: 1fr } .rows div, .doc { grid-template-columns: 1fr; gap: 8px } .doc h2 { position: static } }
@media (max-width: 560px) { .search { height: 58px; padding-left: 18px } .search input, .search .tld { font-size: 19px } .search .btn { height: 44px; padding: 0 16px } .foot .cols { gap: 36px; flex-wrap: wrap } .bar .btn { display: none } }
@media (prefers-reduced-motion: reduce) { .hero picture img { animation: none } }
