@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/start/font.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f1f2f9;
  --white: #ffffff;
  --ink: #1a1e3c;
  --ink-hover: #262b55;
  --ink-soft: #4b5078;
  --brass: #e6b04a;
  --violet-ink: #5a49e6;
  --field-line: rgba(26, 30, 60, .55);
  --field-line-hover: rgba(26, 30, 60, .8);
  --ok: #1f6b58;
  --bad: #a63a22;
  --hairline: rgba(26, 30, 60, .08);
  --font: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-variation-settings: "opsz" 14;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 3px; border-radius: 6px; }
.start { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 14px var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; text-decoration: none; font: 700 20px/1 var(--font); letter-spacing: -.01em; }
.brand svg { width: 28px; height: 20px; }
.brand path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; opacity: .7; }
.brand circle { fill: var(--brass); }
.column { align-self: center; width: 100%; max-width: 30rem; margin: 0 auto; padding: 40px 0 56px; }
h1 { margin: 0; font: 700 clamp(34px, 6vw, 48px)/1.02 var(--font); font-variation-settings: "opsz" 96; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
h1.site { font-size: clamp(22px, 6.2vw, 32px); }
h1.site .domain { color: var(--ink-soft); }
p { margin: 0; }
.lead { margin: 18px 0 0; color: var(--ink-soft); max-width: 32em; overflow-wrap: anywhere; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }
.card { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--hairline), 0 10px 24px -14px rgba(26, 30, 60, .4); }
.card p { max-width: 28em; }
.card .btn { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--paper);
  font: 600 16px/1 var(--font); text-decoration: none; text-align: center;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--field-line); }
.link, .quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: 500 16px/1 var(--font); text-decoration: underline; text-underline-offset: 4px; }
.signout { margin-top: 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-hover); }
  .btn-ghost-dark:hover { background: rgba(26, 30, 60, .06); }
  .link:hover, .quiet:hover { text-decoration-thickness: 2px; }
  .field:hover { border-color: var(--field-line-hover); }
}
.btn.is-busy { cursor: progress; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--brass), var(--brass)) no-repeat; background-size: 2px 100%; background-position: -6px 0; animation: play 1200ms linear infinite; }
@keyframes play { to { background-position: calc(100% + 6px) 0; } }
#claim label { display: block; margin: 28px 0 0; font: 600 16px/1.3 var(--font); }
.hint { margin: 2px 0 0; font: 400 15px/1.5 var(--font); color: var(--ink-soft); text-wrap: balance; }
.field {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; height: 52px; margin-top: 8px; padding: 0 4px;
  border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--white);
  transition: border-color 200ms ease;
}
.field input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 12px; border: 0; border-radius: 0; background: transparent;
  font: 500 17px/1.3 var(--font); font-variation-settings: "opsz" 14; color: var(--ink);
}
input:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: -3px; border-radius: 9px; }
.field input::placeholder { color: var(--ink-soft); opacity: .8; }
.suffix { flex: none; margin-right: 12px; font: 500 17px/1 var(--font); color: var(--ink-soft); user-select: none; }
.field:has(input:focus-visible) { outline: 3px solid var(--violet-ink); outline-offset: 3px; }
.field[data-state="available"], .field[data-state="unavailable"] { padding: 0 3.5px; }
.field[data-state="available"]   { border: 2px solid var(--ok); }
.field[data-state="unavailable"] { border: 2px solid var(--bad); }
.field[data-state="checking"]::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28%; height: 3px; border-radius: 3px; background: var(--brass); animation: sweep 1100ms linear infinite; }
@keyframes sweep { from { translate: -100% 0; } to { translate: 360% 0; } }
.status { display: flex; gap: 8px; margin-top: 6px; min-height: calc(15px * 1.5); font: 500 15px/1.5 var(--font); color: var(--ink-soft); overflow-wrap: anywhere; }
.status::before { flex: none; width: 1.1em; text-align: center; font-weight: 700; }
.status--neutral::before { display: none; }
.status--checking::before { content: "\2026"; }
.status--available   { color: var(--ok); animation: status-in 180ms var(--ease-out); }
.status--available::before   { content: "\2713"; }
.status--unavailable { color: var(--bad); animation: status-in 180ms var(--ease-out); }
.status--unavailable::before { content: "\2715"; }
.status--failed { color: var(--ink); animation: status-in 180ms var(--ease-out); }
.status--failed::before { content: "!"; }
.status button { all: unset; align-self: flex-start; margin: -10px -4px; padding: 10px 4px; white-space: nowrap; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.status button:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 0; border-radius: 6px; }
@keyframes status-in { from { opacity: 0; translate: 0 -4px; } }
.status + .actions { margin-top: 16px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 20px 0 28px; color: var(--ink-soft); font-size: 14px; }
.foot a { text-underline-offset: 3px; }
@media (min-width: 861px) { .column { padding-top: 0; } }
@media (max-width: 480px) {
  .status { min-height: calc(15px * 1.5 * 2); }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .field { transition: none; }
  .btn:active { transform: none; }
  .btn.is-busy::after { animation: none; background-position: 50% 0; opacity: .6; }
  .field[data-state="checking"]::after { animation: none; translate: 0 0; width: 100%; opacity: .4; }
  .status--available, .status--unavailable, .status--failed { animation: status-fade 240ms ease; }
  @keyframes status-fade { from { opacity: .4; } }
}