:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --canvas: #f6f8fc;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-soft: #eef2ff;
  --accent: #06b6d4;
  --good: #047857;
  --good-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --radius: 18px;
  --shadow: 0 18px 45px -24px rgba(15, 23, 42, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[x-cloak] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .35); outline-offset: 2px; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 1.1rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: white; font-weight: 900; box-shadow: 0 8px 18px -8px rgba(79,70,229,.9);
}
.brand-sub { color: var(--ink-soft); font-weight: 500; font-size: .78rem; }
.nav { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: .92rem; }
.nav a:hover { color: var(--brand); }
.nav-cta {
  padding: 9px 16px; border-radius: 999px; color: white !important;
  background: var(--ink); font-weight: 600;
}
.nav-cta:hover { background: var(--brand) !important; }

.hero { position: relative; overflow: hidden; padding: 80px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -160px 0 auto 0; height: 420px;
  background: radial-gradient(60% 70% at 70% 20%, rgba(79,70,229,.16), transparent 70%),
              radial-gradient(45% 60% at 15% 0%, rgba(6,182,212,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .78rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -.045em; margin: 18px 0 18px; }
h1 .gradient { background: linear-gradient(100deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 54ch; margin: 0 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; color: var(--ink-soft); font-size: .85rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--good); }

.search-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px; box-shadow: var(--shadow);
}
.search-card h2 { font-size: 1.15rem; margin: 0 0 4px; letter-spacing: -.02em; }
.search-card .hint { color: var(--ink-soft); font-size: .85rem; margin: 0 0 20px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 650; color: var(--ink); }
.field input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #94a3b8; }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.12); outline: none; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 700; font-size: .92rem;
  transition: transform .12s, background .15s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 10px 20px -12px rgba(79,70,229,.95); }
.btn-primary:hover:not(:disabled) { background: var(--brand-dark); }
.btn-block { width: 100%; }
.tld-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand-soft); border-color: #c7d2fe; color: var(--brand-dark); }

.alert { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: .86rem; }
.alert-error { background: #fef2f2; color: var(--bad); border: 1px solid #fecaca; }
.alert-info { background: var(--warn-soft); color: var(--warn); border: 1px solid #fde68a; }
.alert-good { background: var(--good-soft); color: var(--good); border: 1px solid #a7f3d0; }

.result { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fbfcfe; }
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-domain { font-weight: 750; font-size: 1.02rem; overflow-wrap: anywhere; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.badge-good { background: var(--good-soft); color: var(--good); }
.badge-bad { background: #fef2f2; color: var(--bad); }
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .86rem; color: var(--ink-soft); }
.result-meta strong { color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .82rem; border-radius: 10px; }

.checkout-box { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 18px; }
.checkout-box h3 { margin: 0 0 4px; font-size: .98rem; }
.checkout-box p { margin: 0 0 14px; color: var(--ink-soft); font-size: .82rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft);
  color: var(--brand-dark); font-size: .85rem;
}
.summary strong { font-size: 1.05rem; }

.preview { display: grid; gap: 18px; }
.preview-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.preview-card.dark { background: linear-gradient(160deg, #111827, #1e1b4b); border-color: transparent; color: white; }
.preview-label { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: #94a3b8; font-weight: 800; }
.preview-domain { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 14px; }
.preview-line { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.22); font-size: .85rem; }
.preview-line span:last-child { font-weight: 700; }
.mini-qr { display: grid; grid-template-columns: repeat(7, 12px); gap: 3px; margin-top: 12px; }
.mini-qr i { width: 12px; height: 12px; border-radius: 2px; background: white; opacity: .85; }
.mini-qr i.on { opacity: .15; }
.preview-note { margin-top: 14px; font-size: .78rem; color: #c7d2fe; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0 84px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font-weight: 850; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.tld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tld-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .15s, border-color .15s; }
.tld-card:hover { transform: translateY(-3px); border-color: #c7d2fe; }
.tld-name { font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.tld-price { margin-top: 8px; font-size: .82rem; color: var(--ink-soft); }
.tld-price strong { color: var(--ink); font-size: 1.05rem; }
.tld-tag { display: inline-block; margin-top: 14px; font-size: .7rem; color: var(--good); background: var(--good-soft); padding: 4px 9px; border-radius: 999px; font-weight: 750; }

.faq { display: grid; gap: 12px; max-width: 760px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
summary { cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--ink-soft); font-size: .9rem; }

.cta-band { margin: 0 0 84px; border-radius: 24px; padding: 40px; background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, var(--accent)); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: 1.7rem; letter-spacing: -.03em; }
.cta-band p { margin: 0; opacity: .85; }
.btn-light { background: white; color: var(--brand-dark); }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 28px 0; color: var(--ink-soft); font-size: .84rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .preview { grid-template-columns: 1fr 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero-grid, .steps, .preview, .grid-2 { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .section { padding: 60px 0; }
  .cta-band { padding: 28px; flex-direction: column; align-items: flex-start; }
  h1 { font-size: 2.35rem; }
}
