:root {
  color-scheme: dark;
  --bg: #07100d;
  --bg-soft: #0b1713;
  --panel: rgba(15, 31, 25, 0.76);
  --panel-strong: #10231c;
  --line: rgba(167, 255, 213, 0.12);
  --line-strong: rgba(167, 255, 213, 0.22);
  --text: #f2faf6;
  --muted: #94aa9f;
  --muted-strong: #b8c9c0;
  --accent: #70f0b1;
  --accent-strong: #43d993;
  --accent-ink: #062015;
  --danger: #ff7c86;
  --danger-soft: rgba(255, 91, 107, 0.12);
  --warning: #ffd078;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(65, 221, 147, 0.14), transparent 33rem),
    radial-gradient(circle at 8% 20%, rgba(38, 133, 94, 0.10), transparent 24rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell { width: min(100% - 36px, var(--content)); margin: 0 auto; }

.site-header {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.035em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 240, 177, .28);
  border-radius: 11px;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(112,240,177,.13), rgba(112,240,177,.03));
  box-shadow: inset 0 0 18px rgba(112, 240, 177, .05);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-dot { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: 34px; }
.header-nav a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s ease;
}
.header-nav a:hover { color: var(--text); }

.database-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  padding: 8px 11px;
  border-radius: 999px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(112,240,177,.10), 0 0 14px rgba(112,240,177,.72);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 92px 0 74px;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 74px;
  width: min(80vw, 800px);
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(66, 221, 147, .10), transparent 68%);
  filter: blur(12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid rgba(112,240,177,.18);
  background: rgba(112,240,177,.06);
  border-radius: 999px;
}
.eyebrow-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: rgba(112,240,177,.12);
  border-radius: 50%;
  font-size: .7rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 26px 0 20px;
  max-width: 880px;
  font-size: clamp(2.75rem, 7.5vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.062em;
  font-weight: 780;
}
h1 span {
  color: transparent;
  background: linear-gradient(90deg, #8af4c1 0%, #d5f7e6 48%, #76d9aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.72;
  margin-bottom: 34px;
}

.check-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 710px);
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 20, 15, .85);
  border-radius: 19px;
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.input-shell {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .18s ease, background .18s ease;
}
.input-shell:focus-within {
  background: rgba(255,255,255,.018);
  border-color: rgba(112,240,177,.24);
}
.input-shell.is-invalid { border-color: rgba(255, 124, 134, .55); background: var(--danger-soft); }
.input-icon { display: grid; place-items: center; color: #6f877b; margin-left: 15px; }
.input-icon svg { width: 20px; height: 20px; }
#domain-input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}
#domain-input::placeholder { color: #667a70; }
.clear-button {
  flex: 0 0 auto;
  border: 0;
  width: 34px;
  height: 34px;
  margin-right: 6px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.clear-button:hover { color: var(--text); background: rgba(255,255,255,.05); }

.check-button {
  min-width: 170px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #83f5bd, #58dfa0);
  color: var(--accent-ink);
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(59, 217, 143, .18), inset 0 1px rgba(255,255,255,.45);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.check-button:hover { transform: translateY(-1px); box-shadow: 0 11px 30px rgba(59,217,143,.25), inset 0 1px rgba(255,255,255,.45); }
.check-button:active { transform: translateY(0); }
.check-button:disabled { cursor: wait; filter: saturate(.65); }
.button-loader {
  display: none;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid rgba(6,32,21,.26);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.check-button.is-loading .button-label { display: none; }
.check-button.is-loading .button-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  position: absolute;
  left: 10px;
  top: calc(100% + 8px);
  margin: 0;
  color: var(--danger);
  font-size: .82rem;
}
.input-hint {
  color: #758a7f;
  font-size: .82rem;
  margin: 16px 0 0;
}
.example-domain {
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  padding: 0;
  text-decoration: underline;
  text-decoration-color: rgba(184,201,192,.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.example-domain:hover { color: var(--accent); }

.result-card {
  width: min(100%, 710px);
  margin-top: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  text-align: left;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(18,40,31,.96), rgba(10,24,18,.96));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  animation: result-in .28s ease both;
}
.result-card.is-blocked { border-color: rgba(255,124,134,.28); background: linear-gradient(145deg, rgba(48,25,27,.96), rgba(24,14,16,.96)); }
.result-card.is-error { border-color: rgba(255,208,120,.25); background: linear-gradient(145deg, rgba(45,37,20,.96), rgba(25,21,13,.96)); }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(112,240,177,.10);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}
.is-blocked .result-icon { background: rgba(255,124,134,.11); color: var(--danger); }
.is-error .result-icon { background: rgba(255,208,120,.10); color: var(--warning); }
.result-content { min-width: 0; }
.result-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.result-heading-row h2 { margin: 1px 0 0; font-size: 1.04rem; letter-spacing: -.02em; }
.result-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(112,240,177,.10);
}
.is-blocked .result-badge { color: var(--danger); background: rgba(255,124,134,.10); }
.is-error .result-badge { color: var(--warning); background: rgba(255,208,120,.09); }
.result-domain {
  margin: 8px 0 7px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .91rem;
  overflow-wrap: anywhere;
}
.result-description { margin: 0; color: var(--muted-strong); line-height: 1.55; font-size: .88rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; }
.result-meta div { display: inline-flex; align-items: baseline; gap: 7px; }
.result-meta dt { color: #71867b; font-size: .72rem; }
.result-meta dd { margin: 0; color: var(--muted-strong); font-size: .75rem; }

.trust-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 30px;
  color: #789086;
  font-size: .78rem;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: #618a75; }

.info-grid { padding: 92px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 620px; margin-bottom: 38px; }
.section-kicker { color: var(--accent); font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.section-heading h2, .about-card h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 14px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
  position: relative;
  min-height: 270px;
  padding: 25px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(15,31,25,.70), rgba(10,22,17,.56));
  border-radius: var(--radius-md);
  overflow: hidden;
}
.step-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(112,240,177,.04);
  filter: blur(5px);
}
.step-number { position: absolute; top: 23px; right: 23px; color: #3d5c4d; font: 700 .75rem ui-monospace, monospace; }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--accent); background: rgba(112,240,177,.08); border: 1px solid rgba(112,240,177,.10); }
.step-icon svg { width: 21px; height: 21px; }
.step-card h3 { margin: 47px 0 11px; font-size: 1.08rem; letter-spacing: -.02em; }
.step-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 0; }

.about-card {
  margin: 0 0 94px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, rgba(17,39,30,.88), rgba(10,23,18,.70));
}
.about-card h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.about-card > p { margin: 0; color: var(--muted-strong); line-height: 1.75; font-size: .92rem; }

.site-footer {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #70847a;
  font-size: .78rem;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; }
.footer-brand { color: var(--text); font-size: .95rem; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.footer-brand .brand-mark svg { width: 18px; height: 18px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { padding-top: 72px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 215px; }
  .step-card h3 { margin-top: 34px; }
  .about-card { grid-template-columns: 1fr; gap: 22px; padding: 32px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:nth-child(2) { display: none; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, var(--content)); }
  .site-header { height: 72px; }
  .database-status { font-size: 0; padding: 9px; }
  .database-status .status-dot { margin: 0; }
  .hero { min-height: 0; padding: 60px 0 62px; }
  .eyebrow { font-size: .64rem; }
  h1 { font-size: clamp(2.45rem, 14vw, 3.45rem); margin-top: 22px; }
  .hero-copy { line-height: 1.62; margin-bottom: 27px; }
  .check-form { grid-template-columns: 1fr; padding: 7px; border-radius: 17px; }
  .input-shell { min-height: 54px; }
  .check-button { width: 100%; }
  .form-error { position: static; grid-column: 1; text-align: left; padding: 0 7px 3px; }
  .input-hint { max-width: 280px; line-height: 1.5; }
  .result-card { padding: 18px; gap: 13px; grid-template-columns: 39px 1fr; }
  .result-icon { width: 39px; height: 39px; border-radius: 12px; font-size: 1.25rem; }
  .result-heading-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .trust-row { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .info-grid { padding: 70px 0; }
  .section-heading { margin-bottom: 28px; }
  .step-card { padding: 22px; }
  .about-card { margin-bottom: 70px; padding: 26px 23px; border-radius: 22px; }
  .site-footer { min-height: 98px; }
  .site-footer p:last-child { display: none; }
}

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