/* Schibsted Grotesk, self-hosted (SIL Open Font License, see /fonts/OFL.txt). One variable file per subset. */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin.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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-ext.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;
}
:root {
  color-scheme: light;
  --bg: #edeff3; --surface: #f7f8fa; --ink: #18202f; --mute: #667085; --line: #d3d8e0;
  --action: #2b44e8; --on-action: #fff; --taken: #c2364a; --free: #16875a; --warn: #b26a00;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141820; --surface: #1b2029; --ink: #e8ebf1; --mute: #8b93a5; --line: #2c3340;
    --action: #6f82ff; --on-action: #0e1220; --taken: #ff7385; --free: #4fd39a; --warn: #f0a945;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 5vh; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand span { color: var(--mute); font-weight: 500; }
.nav-link { color: var(--mute); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* The giant address bar */
.ask { color: var(--mute); margin: 0 0 8px; font-size: 19px; font-weight: 400; line-height: 1.55; letter-spacing: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lookup { display: flex; align-items: end; gap: 16px; border-bottom: 4px solid var(--ink); padding-bottom: 8px; }
.lookup:focus-within { border-color: var(--action); }
.lookup input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); padding: 0;
  font: 800 clamp(36px, 8vw, 72px)/1.1 "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: -0.04em;
}
.lookup input::placeholder { color: var(--line); }
.lookup input:focus { outline: none; }
.primary {
  border: 0; border-radius: 999px; padding: 12px 24px; margin-bottom: 8px;
  background: var(--action); color: var(--on-action); font-weight: 700; white-space: nowrap;
}
.primary:disabled { opacity: .5; cursor: progress; }
.hint { color: var(--mute); font-size: 15px; margin: 12px 0 0; min-height: 1.55em; }
.hint.error { color: var(--taken); }

/* Verdict */
#result { margin-top: 56px; }
.verdict { display: flex; align-items: center; gap: 16px; margin: 0; font-weight: 800; font-size: clamp(32px, 6vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.verdict::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.verdict.taken { color: var(--taken); }
.verdict.free { color: var(--free); }
.verdict.unknown { color: var(--mute); font-size: clamp(26px, 4.5vw, 36px); }
.lede { font-size: 19px; margin: 16px 0 0; max-width: 56ch; }
.lede small { display: block; color: var(--mute); font-size: 15px; margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .verdict { animation: land .45s cubic-bezier(.2, .9, .3, 1.2) both; }
  .life-fill { animation: grow .9s .15s cubic-bezier(.3, .8, .3, 1) both; }
}
@keyframes land { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes grow { from { width: 0; } }

/* Lifespan */
.life { margin: 40px 0 0; }
.life-track { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.life-fill { height: 100%; background: var(--ink); border-radius: 999px; }
.life.soon .life-fill { background: var(--warn); }
.life-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 15px; color: var(--mute); }
.life-ends b { display: block; color: var(--ink); font-weight: 500; }
.life-ends div:last-child { text-align: right; }

/* Facts */
.facts { display: grid; grid-template-columns: 9em 1fr; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--mute); }
.facts dd { overflow-wrap: anywhere; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.statuses { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; gap: 8px 12px; }
.statuses li { display: contents; }
.statuses .chip { justify-self: start; }
.statuses .dim { font-size: 15px; }
@media (max-width: 560px) { .statuses { grid-template-columns: 1fr; gap: 2px; } .statuses .dim { margin-bottom: 8px; } }
.lock-note { font-size: 15px; margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--line); }
.chip { font-size: 14px; padding: 2px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

/* Watch */
.watch { margin: 48px 0 0; padding: 28px; background: var(--surface); border-radius: 20px; }
.watch h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 4px; }
.watch p { margin: 0 0 20px; color: var(--mute); }
.watch form { display: flex; flex-wrap: wrap; gap: 12px; }
.watch input[type=email] {
  flex: 1 1 240px; min-width: 0; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px;
}
.watch input[type=email]:focus { outline: none; border-color: var(--action); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg); margin: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 14px; border-radius: 999px; color: var(--mute); }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 1px; }
.watch .primary { margin: 0; }
.watch .note { margin: 14px 0 0; color: var(--ink); }
.watch .note:empty { display: none; }

/* Visit button on taken pages */
.visit-row { margin: 16px 0 0; }
.visit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.visit:hover { border-color: var(--ink); }
.visit span[aria-hidden] { color: var(--mute); }

/* Same name, other extensions */
.alts { margin: 32px 0 0; }
.alts-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.alts h2 { font-size: 17px; margin: 0; }
.alt-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
.alt-toggle:hover { border-color: var(--mute); }
.alt-toggle::after { content: "▾"; color: var(--mute); }
.alt-toggle[aria-expanded="true"]::after { content: "▴"; }
.alt-toggle .count { min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; text-align: center; }
.alt-panel { margin: 12px 0 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.alt-panel input { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
.alt-panel input:focus { outline: none; border-color: var(--action); }
.alt-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; max-height: 232px; overflow-y: auto; }
.alt-opt { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.alt-opt:hover { border-color: var(--mute); }
.alt-opt[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.alt-opt[aria-pressed="true"]::before { content: "✓ "; }
.alt-note { margin: 10px 0 0; font-size: 14px; color: var(--mute); }
.alt-note:empty { display: none; }
.alts ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.alts li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.alts li a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.alts li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.alts li a b { font-weight: 700; }
.alt-status { font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--mute); }
.alt-status.free { color: var(--free); }
.alt-status.taken { color: var(--taken); }
.alt-remove { flex-shrink: 0; width: 32px; height: 32px; margin: -4px -6px -4px 0; border: 0; border-radius: 999px; background: transparent; color: var(--mute); font-size: 20px; line-height: 1; }
.alt-remove:hover { background: var(--surface); color: var(--ink); }

/* Lookup counts */
.interest { margin: 48px 0 0; }
.interest h2 { font-size: 17px; margin: 0 0 16px; }
.interest dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.interest dt { color: var(--mute); font-size: 15px; }
.interest dd { margin: 0; color: var(--mute); font-size: 14px; }
.interest b { display: block; color: var(--ink); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
@media (max-width: 560px) { .interest dl { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

/* TLD pages */
.headline { font-weight: 800; font-size: clamp(32px, 6vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 0; overflow-wrap: anywhere; }
.more { margin: 40px 0 0; }
.more a, .tld-list a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line); }
.more a:hover, .tld-list a:hover { text-decoration-color: currentColor; }
.tld-list { list-style: none; margin: 32px 0 0; padding: 0; columns: 7rem; column-gap: 16px; font-size: 15px; line-height: 1.9; }

/* History + raw */
details { margin: 40px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
summary { cursor: pointer; font-weight: 700; }
summary span { color: var(--mute); font-weight: 400; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 8px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.timeline time { font-weight: 700; }
.timeline p { margin: 2px 0 0; color: var(--mute); font-size: 15px; overflow-wrap: anywhere; }
pre { font-size: 13px; line-height: 1.5; overflow: auto; max-height: 60vh; background: var(--surface); padding: 16px; border-radius: 12px; margin: 16px 0 0; }

.dim { color: var(--mute); }
footer { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer p { margin: 12px 0 0; }

/* Terminal section on the home page */
.cli { margin-top: 72px; }
.cli h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 4px; }
.cli h3 { font-size: 17px; margin: 32px 0 4px; }
.cli p { color: var(--mute); margin: 0 0 12px; }
.cli p code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--surface); padding: 2px 6px; border-radius: 6px; }
.term { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; }
.term pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.term:has(.copy) { display: flex; align-items: flex-start; }
.term:has(.copy) pre { flex: 1; min-width: 0; }
.prompt { color: var(--mute); user-select: none; }
.copy { flex-shrink: 0; margin: 12px 12px 0 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }

/* About / Privacy / Terms */
.prose { max-width: 62ch; margin-top: 16px; }
.prose h2 { font-size: 19px; letter-spacing: -0.01em; margin: 36px 0 8px; }
.prose p, .prose ul { margin: 0 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose code { font-size: 15px; background: var(--surface); padding: 2px 6px; border-radius: 6px; }

@media (max-width: 560px) {
  main { padding-top: 32px; }
  .nav { margin-bottom: 10vh; }
  .lookup { flex-direction: column; align-items: stretch; border: 0; padding: 0; }
  .lookup input { border-bottom: 4px solid var(--ink); padding-bottom: 8px; }
  .lookup input:focus { border-color: var(--action); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border: 0; padding-bottom: 0; font-size: 15px; }
  .facts dd { padding-top: 2px; }
  .watch { padding: 20px; margin-left: -8px; margin-right: -8px; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .watch .primary { width: 100%; }
}
