:root {
  --page: #f2f2ed;
  --surface: #fbfbf8;
  --ink: #171816;
  --muted: #666961;
  --line: #dcded6;
  --accent: #b7f34a;
  --accent-deep: #78a918;
  --success: #287c38;
  --danger: #b84235;
  --warning: #9b6a1d;
  --radius: 18px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(1440px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: -.04em; font-size: 20px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--ink); background: var(--accent); }
.brand-mark svg { width: 20px; stroke: currentColor; stroke-width: 1.8; }
.header-link { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.header-link:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(76px, 9vw, 126px) 24px 72px;
  text-align: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center -1px;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(251,251,248,.98) 0 22%, rgba(251,251,248,.89) 48%, rgba(251,251,248,.45) 80%); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251,251,248,.9); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); box-shadow: 0 0 0 4px rgba(183,243,74,.3); }
h1 { max-width: 900px; margin: 28px 0 18px; font-family: var(--font-display); font-size: clamp(44px, 7.3vw, 96px); line-height: .98; letter-spacing: -.065em; font-weight: 600; }
h1 span { display: inline-block; padding-right: .06em; background: var(--accent); }
.hero-copy { max-width: 570px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }

.search-card { width: min(720px, 100%); margin-top: 38px; padding: 11px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 45px rgba(26,28,23,.09); }
.search-card > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; min-height: 58px; }
.search-icon { display: grid; place-items: center; color: var(--muted); }
.search-icon svg { width: 22px; stroke: currentColor; stroke-width: 1.8; }
.search-row input { min-width: 0; height: 54px; padding: 0 12px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 18px; }
.search-row input::placeholder { color: #9b9e96; }
.search-row button { min-height: 48px; padding: 0 21px; border: 0; border-radius: 11px; color: var(--ink); background: var(--accent); font-weight: 600; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.search-row button:hover { background: #a6e432; }
.search-row button:active { transform: translateY(1px); }
.search-row button:disabled { cursor: wait; opacity: .72; }
.search-row button:focus-visible, .text-button:focus-visible, .recent-item:focus-visible, a:focus-visible { outline: 3px solid rgba(120,169,24,.32); outline-offset: 3px; }
.search-card:focus-within { border-color: #9bbf58; }
.form-meta { display: flex; justify-content: space-between; min-height: 25px; padding: 2px 8px 0 40px; color: var(--muted); font-size: 12px; }
.form-error { color: var(--danger); }
.all-tlds-button { display: block; margin: 4px auto 0; padding: 7px 8px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; }
.all-tlds-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.all-tlds-button:focus-visible { outline: 3px solid rgba(120,169,24,.32); outline-offset: 2px; border-radius: 5px; }

.result { width: min(720px, 100%); margin-top: 14px; }
.result-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(26,28,23,.06); }
.result-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.result-card.available .result-icon { color: var(--success); background: #e8f7e5; }
.result-card.registered .result-icon { color: var(--danger); background: #f8e9e6; }
.result-card.unknown .result-icon { color: var(--warning); background: #f8f1dd; }
.result-icon svg { width: 22px; stroke: currentColor; stroke-width: 2; }
.result-copy strong { display: block; font-family: var(--font-display); font-size: 17px; }
.result-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.result-badge { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.available .result-badge { color: var(--success); background: #e8f7e5; }
.registered .result-badge { color: var(--danger); background: #f8e9e6; }
.unknown .result-badge { color: var(--warning); background: #f8f1dd; }
.loading-card { height: 82px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; }
.loading-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0, rgba(220,222,214,.55) 50%, transparent 100%); animation: shimmer 1.1s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.all-results { width: min(720px, 100%); margin-top: 14px; text-align: left; }
.all-result-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(26,28,23,.06); }
.all-result-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.all-result-heading h2 { margin: 0; font-family: var(--font-display); font-size: 18px; letter-spacing: -.025em; }
.all-result-heading p { margin: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.extension-group { margin-top: 18px; }
.extension-group h3 { margin: 0 0 9px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.extension-group.available h3 { color: var(--success); }
.extension-group.registered h3 { color: var(--danger); }
.extension-group.unknown h3 { color: var(--warning); }
.extension-list { display: flex; flex-wrap: wrap; gap: 7px; }
.extension-chip { display: inline-flex; min-height: 32px; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font-size: 13px; }
.extension-group.available .extension-chip { border-color: #baddba; background: #f5fcf3; }
.extension-group.registered .extension-chip { border-color: #ecd0cb; background: #fff9f8; }
.extension-group.unknown .extension-chip { border-color: #e7d9b8; background: #fffcf5; }

.recent { width: min(720px, 100%); margin-top: 28px; text-align: left; }
.recent-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.recent-heading h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.text-button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.text-button:hover { color: var(--ink); }
.recent-list { display: flex; gap: 8px; flex-wrap: wrap; }
.recent-item { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(251,251,248,.9); cursor: pointer; }
.recent-item:hover { border-color: #aeb1a8; }

.how-section { padding: clamp(56px, 7vw, 96px) clamp(20px, 9vw, 140px); border-top: 1px solid var(--line); }
.how-heading { max-width: 650px; margin-bottom: 38px; }
.how-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.how-heading > p:last-child { max-width: 530px; margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.trust-strip article { display: flex; gap: 16px; min-height: 178px; align-items: flex-start; padding: 28px 25px; }
.trust-strip article + article { border-left: 1px solid var(--line); }
.trust-strip article > span { color: var(--accent-deep); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.trust-strip h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 16px; }
.trust-strip p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.how-note { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.seo-section, .faq-section { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); gap: clamp(32px, 8vw, 120px); padding: clamp(56px, 7vw, 96px) clamp(20px, 9vw, 140px); border-top: 1px solid var(--line); }
.section-kicker { margin: 0 0 12px; color: var(--accent-deep); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; }
.seo-section h2, .faq-section h2 { max-width: 420px; margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.seo-copy { max-width: 610px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.seo-copy p { margin: 0 0 18px; }
.seo-copy p:last-child { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 32px 20px 0; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 16px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 16px; color: var(--accent-deep); font-family: var(--font-body); font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 580px; margin: -2px 32px 19px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; padding: 22px clamp(20px, 4vw, 60px); color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
footer span:first-child { color: var(--ink); font-family: var(--font-display); font-weight: 700; }

@media (max-width: 760px) {
  .page-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; }
  .hero { min-height: 650px; padding: 68px 16px 56px; background-size: 48px 48px; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .search-card { padding: 8px; }
  .search-row { grid-template-columns: 25px 1fr; }
  .search-row button { grid-column: 1 / -1; width: 100%; margin-top: 6px; }
  .form-meta { padding: 6px 4px 0; }
  .form-meta > span:first-child { display: none; }
  .result-card { grid-template-columns: 42px 1fr; }
  .result-badge { display: none; }
  .all-result-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .how-section { padding: 56px 24px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { min-height: 110px; padding: 22px 24px; }
  .trust-strip article + article { border-left: 0; border-top: 1px solid var(--line); }
  .seo-section, .faq-section { grid-template-columns: 1fr; gap: 26px; padding: 56px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
