/* NamesHoster
 * Design system: Plus Jakarta Sans only. Type scale, 4px spacing, radius
 * xs 6 / sm 8 / md 10 / lg 16 / xl 20 / full. Surfaces have no shadows.
 * Breakpoints: mobile < 640, tablet 640 to 1023, desktop >= 1024.
 */

/* ------------------------------------------------------------------ tokens */
:root {
  /* type scale (desktop) */
  --fs-display: 64px; --lh-display: 68px;
  --fs-h1: 48px;      --lh-h1: 56px;
  --fs-h2: 36px;      --lh-h2: 44px;
  --fs-h3: 28px;      --lh-h3: 36px;
  --fs-h4: 22px;      --lh-h4: 30px;
  --fs-h5: 20px;      --lh-h5: 28px;
  --fs-domain: 18px;  --lh-domain: 28px;
  --fs-body-lg: 18px; --lh-body-lg: 28px;
  /* fixed sizes: body 16/24, body-sm 14/20, label 14/20, label-lg 16/24, caption 12/16, overline 12/16 */

  /* layout */
  --container: 1280px;
  --gutter: 24px;
  --sec-pad: 96px;      /* space-24 */
  --head-gap: 48px;     /* space-12 */
  --grid-gap: 24px;     /* space-6 */
  --card-pad: 32px;     /* space-8 */

  /* radius */
  --r-xs: 6px; --r-sm: 8px; --r-md: 10px; --r-lg: 16px; --r-xl: 20px; --r-full: 999px;

  /* colour */
  --accent: #3B5BDB;
  --accent-hover: #2F48B5;
  --accent-2: #4E73F8;
  --accent-soft: #EEF2FF;
  --accent-ink: #2F48B5;
  --ring: rgba(59, 91, 219, 0.18);
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --surface: #FFFFFF;
  --chip: #F1F3F8;
  --ink: #0B1220;
  --muted: #4A5468;
  --subtle: #667085;
  --line: #E3E7EF;
  --line-soft: #F1F3F8;
  --line-strong: #CDD3DF;
  --selected: #F4F7FF;
  --scrim: rgba(11, 18, 32, 0.5);
  --fade: #FFFFFF;

  --ok: #12B76A;     --ok-bg: #ECFDF3;    --ok-fg: #067647;
  --prem: #4E73F8;   --prem-bg: #EEF2FF;  --prem-fg: #2F48B5;
  --sale: #F79009;   --sale-bg: #FFFAEB;  --sale-fg: #B54708;
  --taken: #98A2B3;  --taken-bg: #F1F3F8; --taken-fg: #4A5468;
  --resv: #7A5AF8;   --resv-bg: #F4F3FF;  --resv-fg: #5925DC;
  --rstr: #DD2590;   --rstr-bg: #FDF2FA;  --rstr-fg: #C11574;
  --unk: #EAAA08;    --unk-bg: #FEFBE8;   --unk-fg: #854A0E;
  --inv: #F04438;    --inv-bg: #FEF3F2;   --inv-fg: #B42318;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (max-width: 1023px) { /* tablet */
  :root {
    --fs-display: 52px; --lh-display: 56px;
    --fs-h1: 40px;      --lh-h1: 48px;
    --fs-h2: 32px;      --lh-h2: 40px;
    --fs-h3: 26px;      --lh-h3: 34px;
    --fs-h4: 20px;      --lh-h4: 28px;
    --fs-h5: 18px;      --lh-h5: 26px;
    --fs-domain: 17px;
    --fs-body-lg: 17px;
    --sec-pad: 64px;
    --grid-gap: 16px;
    --card-pad: 24px;
  }
}
@media (max-width: 639px) { /* mobile */
  :root {
    --fs-display: 40px; --lh-display: 44px;
    --fs-h1: 32px;      --lh-h1: 40px;
    --fs-h2: 28px;      --lh-h2: 36px;
    --fs-h3: 24px;      --lh-h3: 32px;
    --fs-domain: 16px;  --lh-domain: 24px;
    --fs-body-lg: 16px; --lh-body-lg: 24px;
    --gutter: 16px;
    --sec-pad: 48px;
    --head-gap: 32px;
    --grid-gap: 12px;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #6E8BFF; --accent-hover: #8FA5FF; --accent-2: #6E8BFF; --accent-soft: rgba(110, 139, 255, 0.16); --accent-ink: #B9C8FF; --ring: rgba(110, 139, 255, 0.28);
    --bg: #0B0F17; --bg-soft: #0E131F; --surface: #121826; --chip: #1B2233;
    --ink: #EEF1F7; --muted: #A3ACBD; --subtle: #8690A3; --line: #242C3D; --line-soft: #1B2233; --line-strong: #344056;
    --selected: #18213A; --scrim: rgba(0, 0, 0, 0.6); --fade: #0B0F17;
    --ok: #22C55E; --ok-bg: rgba(34, 197, 94, 0.14); --ok-fg: #6EE7A0;
    --prem-bg: rgba(110, 139, 255, 0.18); --prem-fg: #B9C8FF;
    --sale: #F7A23B; --sale-bg: rgba(247, 144, 9, 0.15); --sale-fg: #FDC57A;
    --taken: #5B6578; --taken-bg: #1E2534; --taken-fg: #A3ACBD;
    --resv: #9B8AFB; --resv-bg: rgba(122, 90, 248, 0.16); --resv-fg: #C3B5FD;
    --rstr: #EE46BC; --rstr-bg: rgba(221, 37, 144, 0.15); --rstr-fg: #F7A8DA;
    --unk: #EAB308; --unk-bg: rgba(234, 179, 8, 0.14); --unk-fg: #FDE68A;
    --inv: #F97066; --inv-bg: rgba(240, 68, 56, 0.15); --inv-fg: #FDA29B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #6E8BFF; --accent-hover: #8FA5FF; --accent-2: #6E8BFF; --accent-soft: rgba(110, 139, 255, 0.16); --accent-ink: #B9C8FF; --ring: rgba(110, 139, 255, 0.28);
  --bg: #0B0F17; --bg-soft: #0E131F; --surface: #121826; --chip: #1B2233;
  --ink: #EEF1F7; --muted: #A3ACBD; --subtle: #8690A3; --line: #242C3D; --line-soft: #1B2233; --line-strong: #344056;
  --selected: #18213A; --scrim: rgba(0, 0, 0, 0.6); --fade: #0B0F17;
  --ok: #22C55E; --ok-bg: rgba(34, 197, 94, 0.14); --ok-fg: #6EE7A0;
  --prem-bg: rgba(110, 139, 255, 0.18); --prem-fg: #B9C8FF;
  --sale: #F7A23B; --sale-bg: rgba(247, 144, 9, 0.15); --sale-fg: #FDC57A;
  --taken: #5B6578; --taken-bg: #1E2534; --taken-fg: #A3ACBD;
  --resv: #9B8AFB; --resv-bg: rgba(122, 90, 248, 0.16); --resv-fg: #C3B5FD;
  --rstr: #EE46BC; --rstr-bg: rgba(221, 37, 144, 0.15); --rstr-fg: #F7A8DA;
  --unk: #EAB308; --unk-bg: rgba(234, 179, 8, 0.14); --unk-fg: #FDE68A;
  --inv: #F97066; --inv-bg: rgba(240, 68, 56, 0.15); --inv-fg: #FDA29B;
  color-scheme: dark;
}

/* -------------------------------------------------------------------- base */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 24px; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
body.page-results { background: var(--bg-soft); }
main { flex: 1 0 auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
button, input, select { font-family: inherit; }
button:focus-visible, a:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 3px var(--ring); }
input:focus-visible { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ header */
.site-header { top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--container); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; color: var(--ink); flex: none; }
.logo-svg { width: 168px; height: 21px; display: block; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.tools { position: relative; }
.tools-btn { height: 44px; padding: 0 12px 0 16px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); cursor: pointer; }
.tools-btn:hover, .tools-btn.open { background: var(--chip); }
.tools-btn .chev { transition: transform .15s; }
.tools-btn.open .chev { transform: rotate(180deg); }
.tools-menu { position: absolute; right: 0; top: 52px; z-index: 30; width: 540px; padding: 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.tools-menu[hidden] { display: none; }
.tool { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.tool:hover { background: var(--bg-soft); color: var(--ink); }
.tool-ico { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-txt b { font-size: 14px; line-height: 20px; font-weight: 700; }
.btn-ssl { height: 44px; padding: 0 16px; border-radius: var(--r-md); display: flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--accent); color: #FFFFFF; font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; }
.btn-ssl:hover { color: #FFFFFF; background: var(--accent-hover); }
.theme-seg { height: 44px; padding: 4px; border-radius: var(--r-md); background: var(--chip); display: flex; gap: 4px; }
.theme-seg button { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--subtle); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-seg button[data-theme-set="light"][aria-pressed="true"] { background: #FFFFFF; border-color: var(--line); color: #0B1220; }
.theme-seg button[data-theme-set="dark"][aria-pressed="true"] { background: #0B1220; border-color: #0B1220; color: #FFFFFF; }

/* ------------------------------------------------------------ shared atoms */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-full); font-size: 12px; line-height: 16px; font-weight: 700; white-space: nowrap; font-style: normal; }
.pdot { width: 6px; height: 6px; border-radius: var(--r-full); background: currentColor; }
.pill.available { background: var(--ok-bg); color: var(--ok-fg); }
.pill.premium { background: var(--prem-bg); color: var(--prem-fg); }
.pill.forsale { background: var(--sale-bg); color: var(--sale-fg); }
.pill.taken { background: var(--taken-bg); color: var(--taken-fg); }
.pill.reserved { background: var(--resv-bg); color: var(--resv-fg); }
.pill.restricted { background: var(--rstr-bg); color: var(--rstr-fg); }
.pill.unknown { background: var(--unk-bg); color: var(--unk-fg); }
.pill.invalid { background: var(--inv-bg); color: var(--inv-fg); }
.pill.checking { background: var(--chip); color: var(--muted); }

.dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: var(--r-full); }
.dot.available { background: var(--ok); }
.dot.premium { background: var(--prem); }
.dot.forsale { background: var(--sale); border-radius: 2px; }
.dot.taken { border: 2px solid var(--taken); background: transparent; }
.dot.reserved { background: var(--resv); border-radius: 2px; }
.dot.restricted { background: var(--rstr); border-radius: 2px; }
.dot.unknown { border: 2px dashed var(--unk); background: transparent; }
.dot.invalid { background: var(--inv); border-radius: 1px; transform: rotate(45deg) scale(.85); }
.dot.checking { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cnt { min-width: 24px; padding: 2px 8px; border-radius: var(--r-full); font-size: 12px; line-height: 16px; font-weight: 700; font-style: normal; font-variant-numeric: tabular-nums; text-align: center; }
.cnt.on { background: var(--accent); color: #FFFFFF; }
.cnt.available { background: var(--ok-bg); color: var(--ok-fg); }
.cnt.premium { background: var(--prem-bg); color: var(--prem-fg); }
.cnt.forsale { background: var(--sale-bg); color: var(--sale-fg); }
.cnt.taken { background: var(--chip); color: var(--muted); }
.cnt.reserved { background: var(--resv-bg); color: var(--resv-fg); }
.cnt.unknown { background: var(--unk-bg); color: var(--unk-fg); }

.btn-primary { height: 52px; padding: 0 24px; border-radius: var(--r-md); border: 0; display: flex; align-items: center; background: var(--accent); color: #FFFFFF; font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; flex-shrink: 0; cursor: pointer; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-dark { height: 48px; padding: 0 24px; border-radius: var(--r-md); border: 0; background: #0B1220; color: #FFFFFF; display: flex; align-items: center; font-size: 16px; line-height: 24px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; cursor: pointer; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.ico-box { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.tag-exact { padding: 2px 8px; border-radius: var(--r-xs); background: var(--accent-soft); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--accent-ink); white-space: nowrap; font-style: normal; }
.tag-soft { padding: 4px 12px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); font-style: normal; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip .dot { width: 6px; height: 6px; }
.tld-hl { color: var(--accent); }

/* ----------------------------------------------------------- page sections */
.hex-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.band { padding: var(--sec-pad) 0; scroll-margin-top: 80px; }
.band-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: var(--head-gap); }
.sec-head { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { margin: 12px 0 0; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 800; letter-spacing: -0.02em; }
.sec-head p { margin: 16px 0 0; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--muted); }

.grid { display: grid; gap: var(--grid-gap); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card-c { padding: var(--card-pad); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.card-line { background: transparent; }
.band-soft .card-line { background: var(--surface); }
.card-c h3, .card-big { margin: 0; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.card-txt { margin: 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.card-c .pill .pdot { width: 8px; height: 8px; }
.card-c .ico-box { margin-bottom: 4px; }
.ext { padding: 24px 16px; gap: 4px; border-radius: var(--r-lg); }
.ext-t { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.ext-n { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 700; }
.ext-d { font-size: 14px; line-height: 20px; color: var(--muted); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, var(--fade) 85%); pointer-events: none; }
.hero-in { position: relative; max-width: 860px; margin: 0 auto; padding: var(--sec-pad) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero h1 { margin: 0; font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 span { color: var(--accent-2); }
.lead { margin: 0; max-width: 600px; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--muted); }
.hero-search { width: 100%; max-width: 760px; margin-top: 8px; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 8px 0 24px; border-radius: var(--r-xl); background: var(--surface); border: 1.5px solid var(--accent); color: var(--muted); }
.hero-search:focus-within, .sbox:focus-within, .cta-search:focus-within { box-shadow: 0 0 0 3px var(--ring); }
.hero-search input, .sbox input, .cta-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); font-weight: 500; color: var(--ink); }
.hero-search input::placeholder, .sbox input::placeholder { color: var(--subtle); }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.hero-points span { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--ok); }

/* more tools */
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.tool-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.tool-card:hover { color: var(--ink); border-color: var(--accent); }
.tool-card-ico { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.tool-card-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-card-txt b { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.tool-card-txt span { font-size: 14px; line-height: 20px; color: var(--muted); }
.tool-card.current { background: var(--selected); border-color: var(--accent); }
.tool-card.current .tool-card-ico { background: var(--accent); color: #FFFFFF; }
.tool-card.current .tool-card-txt span { color: var(--accent); font-weight: 700; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.step-n { width: 64px; height: 64px; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 800; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.step-n.on { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.steps h3 { margin: 0; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.steps p { margin: 0; max-width: 320px; font-size: 16px; line-height: 24px; color: var(--muted); }

/* showcase mock */
.mock { border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.band-soft .mock { background: var(--bg); }
.mock-bar { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mock-dots { display: flex; gap: 8px; }
.mock-dots i { width: 12px; height: 12px; border-radius: var(--r-full); background: var(--line); }
.mock-url { flex: 1; max-width: 420px; min-width: 0; margin: 0 auto; height: 32px; padding: 0 12px; border-radius: var(--r-sm); background: var(--chip); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-sp { width: 52px; }
.mock-body { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.mock-search { height: 60px; border-radius: var(--r-lg); border: 1.5px solid var(--accent); background: var(--surface); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 20px; color: var(--muted); }
.mock-search span { flex: 1; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--ink); }
.mock-search i { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--chip); display: flex; align-items: center; justify-content: center; }
.mock-cols { display: flex; gap: 24px; align-items: flex-start; }
.mock-list { flex: 1.6 1 0; min-width: 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mock-head { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.mock-title { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--muted); }
.mock-title b { font-weight: 800; color: var(--ink); }
.mock-tabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 -8px; font-size: 14px; line-height: 20px; overflow-x: auto; scrollbar-width: none; }
.mock-tabs > span { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 8px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mock-tabs > span.on { margin-bottom: -1px; border-bottom: 3px solid var(--accent); font-weight: 700; color: var(--ink); }
.mock-th, .mock-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 104px; gap: 12px; align-items: center; padding: 0 20px; }
.mock-th { padding-top: 12px; padding-bottom: 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.mock-th span:first-child { padding-left: 20px; }
.mock-th span:last-child { text-align: right; }
.mock-row { min-height: 56px; border-bottom: 1px solid var(--line-soft); }
.mock-row:last-child { border-bottom: 0; }
.mock-row.sel { background: var(--selected); box-shadow: inset 3px 0 0 var(--accent); }
.mock-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mock-name b { font-size: 16px; line-height: 24px; font-weight: 700; white-space: nowrap; }
.mock-name b span { font-weight: 500; }
.mock-name b.dim { color: var(--subtle); }
.mock-act { display: flex; justify-content: flex-end; }
.mbtn { min-width: 88px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 20px; font-weight: 700; font-style: normal; }
.mbtn.available { background: var(--accent); color: #FFFFFF; }
.mbtn.forsale { color: var(--sale-fg); }
.mbtn.taken { color: var(--muted); }
.mock-detail { flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mock-detail .pill { align-self: flex-start; }
.mock-dom { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.mock-dtabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 700; }
.mock-dtabs b { padding-bottom: 12px; border-bottom: 2px solid var(--accent); color: var(--accent); }
.mock-dtabs span { padding-bottom: 12px; color: var(--muted); }
.mock-cta { height: 48px; border-radius: var(--r-md); background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 700; }
.mock-also { padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }
.mock-detail .chip { height: 32px; padding: 0 12px; cursor: default; }

/* dark WHOIS band */
.band-dark { position: relative; overflow: hidden; background: #0A0F1C; padding: var(--sec-pad) 0; scroll-margin-top: 80px; }
.dark-in { position: relative; align-items: center; }
.band-dark .eyebrow { color: #6E8CFA; }
.band-dark h2 { color: #FFFFFF; }
.band-dark .sec-head p { color: #C9D1E0; }
.whois-demo { width: 100%; max-width: 640px; border-radius: var(--r-xl); background: #10172A; border: 1px solid #243049; overflow: hidden; }
.whois-demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #243049; }
.whois-demo-head .ring { width: 8px; height: 8px; border-radius: var(--r-full); border: 2px solid #8391A8; flex: none; }
.whois-demo-head b { font-size: var(--fs-domain); line-height: var(--lh-domain); font-weight: 700; color: #FFFFFF; }
.whois-demo-head b span { font-weight: 500; }
.whois-demo-head em { margin-left: auto; padding: 4px 12px; border-radius: var(--r-full); background: #172036; color: #A6B0C3; font-size: 12px; line-height: 16px; font-weight: 700; font-style: normal; white-space: nowrap; }
.whois-demo dl { margin: 0; padding: 8px 24px 16px; display: grid; grid-template-columns: 140px minmax(0, 1fr); font-size: 14px; line-height: 20px; }
.whois-demo dt { padding: 12px 0; color: #8391A8; border-bottom: 1px solid #172036; }
.whois-demo dd { margin: 0; padding: 12px 0; color: #F4F6FB; font-weight: 600; border-bottom: 1px solid #172036; overflow-wrap: anywhere; }
.whois-demo dt:last-of-type, .whois-demo dd:last-of-type { border-bottom: 0; }
.whois-demo dd.warn { color: #FDB022; font-weight: 700; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: #3B5BDB; }
.cta-in { position: relative; max-width: 760px; margin: 0 auto; padding: var(--sec-pad) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-in h2 { margin: 0; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; }
.cta-in p { margin: -8px 0 0; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: #EEF2FF; }
.cta-search { width: 100%; max-width: 560px; height: 64px; padding: 0 8px 0 24px; border-radius: var(--r-lg); background: #FFFFFF; display: flex; align-items: center; gap: 12px; color: #4A5468; }
.cta-search:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.cta-search input { font-size: 16px; line-height: 24px; color: #0B1220; }
.cta-search input::placeholder { color: #667085; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #0A0F1C; color: #A6B0C3; }
.footer-in { max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-logo { width: 184px; height: 23px; color: #FFFFFF; }
.footer-in p { margin: 0; max-width: 420px; font-size: 14px; line-height: 20px; }
.footer-in nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.footer-in nav a { padding: 8px 0; font-size: 14px; line-height: 20px; font-weight: 600; color: #C9D1E0; text-decoration: none; }
.footer-in nav a:hover { color: #FFFFFF; }
.footer-copy { width: 100%; padding-top: 24px; border-top: 1px solid #172036; font-size: 12px; line-height: 16px; color: #8391A8; }

/* ------------------------------------------------------------ results page */
.rsearch { background: var(--surface); border-bottom: 1px solid var(--line); }
.rsearch-in { max-width: var(--container); margin: 0 auto; padding: 24px var(--gutter); }
.sbox { display: flex; align-items: center; gap: 12px; height: 72px; margin: 0; padding: 0 12px 0 24px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--accent); color: var(--muted); }
.sbox.has-error { border-color: var(--inv); }
.clear-btn { width: 48px; height: 48px; border-radius: var(--r-md); border: 0; background: var(--chip); color: var(--muted); display: none; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }
.sbox.has-value .clear-btn { display: flex; }
.search-hint { margin: 8px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--inv-fg); }
.search-hint:empty { display: none; }

.rmain { width: 100%; max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter) 64px; display: flex; align-items: flex-start; gap: 24px; }
.empty-card { flex: 1 1 100%; padding: 64px 24px; border-radius: var(--r-xl); background: var(--surface); border: 1.5px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty-card h1 { margin: 4px 0 0; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 800; letter-spacing: -0.01em; }
.empty-card p { margin: 0; font-size: 16px; line-height: 24px; color: var(--muted); }
body.has-results .empty-card { display: none; }
.results-col { flex: 1 1 0; min-width: 0; display: none; flex-direction: column; gap: 24px; }
body.has-results .results-col { display: flex; }

.rcard { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.rcard-head { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.rtitle-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.rtitle { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); overflow-wrap: anywhere; }
.rtitle b { font-weight: 800; color: var(--ink); }
.rtabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
.rtabs::-webkit-scrollbar { display: none; }
.rtab { flex: 1 0 auto; justify-content: center; height: 52px; padding: 0 12px; border: 0; background: none; margin-bottom: -1px; border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.rtab[aria-selected="true"] { border-bottom-color: var(--accent); font-weight: 700; color: var(--ink); }
.rtab .cnt { background: var(--accent-soft); color: var(--accent-ink); }
.rtab .cnt.available { background: var(--ok-bg); color: var(--ok-fg); }
.rtab .cnt.premium { background: var(--prem-bg); color: var(--prem-fg); }
.rtab .cnt.forsale { background: var(--sale-bg); color: var(--sale-fg); }
.rtab .cnt.taken { background: var(--chip); color: var(--muted); }
.rtab .cnt.reserved { background: var(--resv-bg); color: var(--resv-fg); }
.rtab .cnt.unknown { background: var(--unk-bg); color: var(--unk-fg); }
.rtab[aria-selected="true"] .cnt { background: var(--accent); color: #FFFFFF; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent-2); transition: width .25s ease; }

.rthead, .rrow { display: grid; grid-template-columns: minmax(0, 1fr) 128px 136px; gap: 16px; align-items: center; padding: 0 24px; }
.rthead { padding-top: 12px; padding-bottom: 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rthead span:first-child { padding-left: 24px; }
.rthead span:last-child { text-align: right; }
.rrows { list-style: none; margin: 0; padding: 0; }
.rrow { min-height: 64px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.rrow:last-child { border-bottom: 0; }
.rrow.sel { background: var(--selected); box-shadow: inset 3px 0 0 var(--accent); }
.rrow-main { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0; border: 0; background: none; text-align: left; min-width: 0; cursor: pointer; color: inherit; }
.rname { font-size: var(--fs-domain); line-height: var(--lh-domain); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.rname span { font-weight: 500; }
.rrow.dim .rname { color: var(--subtle); }
.ract { display: flex; justify-content: flex-end; }
.abtn { min-width: 112px; height: 40px; padding: 0 16px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; border: 1px solid transparent; background: transparent; cursor: pointer; white-space: nowrap; }
.abtn.primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.abtn.primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.abtn.sale { color: var(--sale-fg); }
.abtn.sale:hover { background: var(--sale-bg); color: var(--sale-fg); }
.abtn.plain { color: var(--muted); }
.abtn.plain:hover { background: var(--chip); color: var(--ink); }
.abtn.outline { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.abtn.outline:hover { border-color: var(--accent); color: var(--accent); }
.rempty { padding: 48px 24px; text-align: center; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--muted); }

/* details panel */
.details { flex: 0 0 500px; width: 500px; min-width: 0; display: none; border-radius: var(--r-xl); }
body.has-results .details { display: block; }
.details:empty { display: none !important; }
.dcard { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.dsec { padding: 24px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); }
.dsec.dtop { border-top: 0; }
.dtop-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dtop-actions { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.dname { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.dname .tld-hl { font-weight: 800; }
.dmsg { margin: 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.dcta { height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; width: 100%; }
.dcta.primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.dcta.primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.dcta.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.dcta.dark:hover { color: var(--bg); opacity: .92; }
.dcta.outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.dcta.outline:hover { border-color: var(--accent); color: var(--accent); }
.dcta-row { display: flex; flex-direction: column; gap: 8px; }
.dmeta { margin: 0; font-size: 12px; line-height: 16px; color: var(--subtle); }
.dmeta b { color: var(--muted); font-weight: 700; }
.dsec-title { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); }
.whead { display: flex; align-items: center; gap: 16px; }
.whead-ico { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.whead-txt { display: flex; flex-direction: column; }
.whead-txt b { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.whead-txt span { font-size: 14px; line-height: 20px; color: var(--subtle); }
.wrows { margin: 0; font-size: 14px; line-height: 20px; }
.wrows > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.wrows > div:last-child { border-bottom: 0; }
.wrows dt { color: var(--muted); flex: none; }
.wrows dd { margin: 0; font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.wval-inline { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.wchips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.wline { display: block; }
.wbadge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-xs); font-size: 12px; line-height: 16px; font-weight: 700; white-space: nowrap; }
.wbadge.muted { background: var(--chip); color: var(--muted); }
.wbadge.warn { background: var(--sale-bg); color: var(--sale-fg); }
.wbadge.bad { background: var(--inv-bg); color: var(--inv-fg); }
.wbadge.ok { background: var(--ok-bg); color: var(--ok-fg); }
.wnote { margin: 0; font-size: 12px; line-height: 16px; color: var(--subtle); }
details.raw { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
details.raw summary { font-size: 14px; line-height: 20px; font-weight: 700; cursor: pointer; }
details.raw pre { margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--muted); max-height: 360px; overflow: auto; }
.sheet-head, .scrim { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--r-md); font-size: 14px; line-height: 20px; font-weight: 600; transition: opacity .18s, transform .18s; z-index: 40; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------- desktop, narrower */
@media (min-width: 1024px) and (max-width: 1279px) {
  .details { flex-basis: 420px; width: 420px; }
  .tools-menu { width: 500px; }
}

/* ------------------------------------------------------------ tablet */
@media (max-width: 1023px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-keep3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 32px; }
  .mock-cols { flex-direction: column; align-items: stretch; }

  /* results: details open as a bottom sheet */
  .rmain { padding: 24px var(--gutter) 48px; }
  .details { display: none !important; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 20; width: auto; max-height: 88vh; overflow-y: auto; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  body.has-results .details.open { display: block !important; }
  .details .dcard { border-radius: var(--r-xl) var(--r-xl) 0 0; border: 0; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
  .sheet-head .grab { width: 40px; height: 4px; border-radius: var(--r-full); background: var(--line-strong); margin-left: calc(50% - 36px); }
  .sheet-head button { width: 40px; height: 40px; border: 0; border-radius: var(--r-full); background: var(--chip); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 19; border: 0; background: var(--scrim); cursor: pointer; }
}

/* ------------------------------------------------------------ mobile */
@media (max-width: 639px) {
  .nav { padding: 12px var(--gutter); gap: 8px; }
  .logo-svg { width: 124px; height: 16px; }
  .nav-actions { gap: 4px; }
  .tools-free { display: none; }
  .tools-btn { height: 40px; padding: 0 8px 0 12px; gap: 4px; }
  .btn-ssl { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .btn-ssl span { display: none; }
  .theme-seg { height: 40px; padding: 3px; gap: 2px; }
  .theme-seg button { width: 34px; height: 34px; }
  .tools-menu { position: fixed; left: var(--gutter); right: var(--gutter); top: 64px; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; grid-template-columns: minmax(0, 1fr); }

  .hero-in { gap: 16px; }
  .hero-search { height: 60px; padding: 0 6px 0 16px; gap: 8px; margin-top: 8px; border-radius: var(--r-lg); }
  .hero-search .btn-primary { height: 46px; padding: 0 16px; }
  .hero-search > svg { width: 20px; height: 20px; flex: none; }

  .g-3, .g-4, .g-keep3, .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card { padding: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .mock-bar { padding: 12px 16px; }
  .mock-sp, .mock-dots { display: none; }
  .mock-body { padding: 16px; gap: 16px; }
  .mock-th { display: none; }
  .mock-th, .mock-row { grid-template-columns: minmax(0, 1fr) auto; padding: 0 16px; }
  .mock-act, .mock-name .tag-exact { display: none; }
  .mock-head { padding: 16px 16px 0; }
  .mock-detail { padding: 16px; }

  .whois-demo-head { padding: 16px; }
  .whois-demo dl { grid-template-columns: 112px minmax(0, 1fr); padding: 8px 16px 12px; }
  .cta-search { height: 60px; padding: 0 6px 0 16px; }
  .cta-search .btn-dark { height: 46px; padding: 0 16px; }
  .footer-in { padding: 48px var(--gutter) 24px; }

  .rsearch-in { padding: 16px var(--gutter); }
  .sbox { height: 60px; padding: 0 8px 0 16px; }
  .clear-btn { width: 40px; height: 40px; }
  .rmain { padding: 16px var(--gutter) 48px; }
  .rcard-head { padding: 16px 16px 0; }
  .rthead { display: none; }
  .rthead, .rrow { grid-template-columns: minmax(0, 1fr) auto; padding: 0 16px; }
  .ract { display: none; }
  .rrow-main { gap: 12px; }
  .dsec { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dot.checking { animation: none; }
  .toast, .progress span, .tools-btn .chev, .tool-card { transition: none; }
}
