:root {
  --ink: #11131a;
  --ink-soft: #4a4f5e;
  --muted: #7c8190;
  --line: #e7e9f0;
  --surface: #ffffff;
  --page: #f6f7fb;
  --primary: #5b54e8;
  --primary-d: #443dd0;
  --violet: #8b5cf6;
  --instant: #0f9e6e;
  --instant-bg: #e6f7f0;
  --managed: #d9890b;
  --managed-bg: #fdf3e2;
  --success: #0f8f5f;
  --danger: #b63434;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 19, 26, .04), 0 12px 28px -12px rgba(17, 19, 26, .18);
  --shadow-lg: 0 24px 60px -20px rgba(40, 33, 120, .45);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading .domain-grid,
body.is-loading .toolbar,
body.is-loading .result-count {
  opacity: .45;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.wrap {
  width: calc(100% - 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}

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

.grad {
  background: linear-gradient(100deg, #c8b4ff, #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 42px;
  padding: .72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.button:active,
.nav-button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(91, 84, 232, .7);
}

.button-primary:hover {
  background: var(--primary-d);
}

.button-soft,
.nav-button {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-soft:hover,
.nav-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 247, 251, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--ink);
  font-weight: 500;
}

.main-nav a:not(.nav-button):hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(120% 120% at 80% -10%, #2a2358 0%, #161235 45%, #0c0a22 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 480px;
  filter: blur(20px);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .55), transparent 70%);
}

.hero-domain-strip {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 88px 0 110px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: #b9b2ff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-kicker {
  display: block;
  margin-bottom: .5rem;
  color: var(--primary);
}

.hero h1,
.section-heading h2,
.contact-layout h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: 4.6rem;
}

.hero-copy {
  max-width: 680px;
  margin: 1.3rem auto 0;
  color: #d7d4f0;
  font-size: 1.12rem;
}

.hero-copy strong {
  color: #fff;
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  max-width: 560px;
  min-height: 62px;
  margin: 2.2rem auto 0;
  padding: .4rem .4rem .4rem 1.1rem;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}

.hero-search svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.05rem;
  padding: .6rem .2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.6rem;
  margin-top: 2.6rem;
}

.hero-stats div {
  min-width: 112px;
}

.hero-stats dt {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stats dd {
  margin-top: .25rem;
  color: #b3aede;
  font-size: .9rem;
}

.inventory-section {
  padding: 66px 0 10px;
}

.faq-section {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading.compact {
  display: block;
  text-align: center;
}

.section-heading h2,
.contact-layout h2 {
  font-size: 2.4rem;
}

.section-note {
  max-width: 430px;
  color: var(--ink-soft);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  min-height: 40px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .15s ease;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.sort-control select,
.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-card input,
.admin-card select,
.admin-card textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.sort-control select {
  min-height: 40px;
  padding: .5rem 2.3rem .5rem .7rem;
  font-weight: 600;
  cursor: pointer;
}

.result-count,
.metric-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .9rem;
}

.metric-note {
  margin-top: 18px;
}

.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  list-style: none;
  padding-bottom: 10px;
}

.domain-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: #d8d6f5;
  box-shadow: var(--shadow-lg);
}

.domain-card.is-featured {
  border-color: #cfc9fb;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 600;
}

.card-topline > span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .15rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .2rem .55rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.domain-name {
  margin-top: .2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.9rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.domain-name span {
  color: var(--muted);
}

.domain-description {
  color: var(--ink-soft);
  font-size: .95rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.metric {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--page);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.metric span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding-top: 6px;
}

.price {
  min-height: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
}

.empty-state h3 {
  margin-bottom: .4rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.empty-state p {
  color: var(--muted);
}

.process-band {
  margin-top: 70px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.process-step {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: .4rem;
  font-size: 1.1rem;
}

.process-step p {
  color: var(--ink-soft);
  font-size: .95rem;
}

.faq-list {
  max-width: 760px;
  display: grid;
  gap: 12px;
  margin: 28px auto 0;
}

.faq-list details {
  padding: 4px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding-bottom: 18px;
  color: var(--ink-soft);
}

.contact-band {
  padding: 84px 0;
  color: #fff;
  background: radial-gradient(120% 120% at 50% 0%, #211b4d, #0c0a22);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

.contact-layout .section-kicker {
  color: #b9b2ff;
}

.contact-layout h2 {
  font-size: 2.6rem;
}

.contact-copy {
  max-width: 460px;
  margin-top: .8rem;
  color: #c9c5ec;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.admin-card label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.form-status.is-ok {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  padding: 40px 0;
  color: #cfd2dc;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 620px;
  color: #8b8fa0;
  font-size: .9rem;
}

@media (min-width: 860px) {
  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .section-heading,
  .contact-layout {
    display: block;
  }

  .section-note {
    margin-top: .75rem;
  }

  .contact-form {
    margin-top: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .main-nav {
    gap: 1rem;
    font-size: .9rem;
  }

  .main-nav a:not(.nav-button) {
    display: none;
  }

  .hero-inner {
    padding: 64px 0 96px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-search {
    min-height: 58px;
    border-radius: var(--radius);
  }

  .hero-search .button {
    width: auto;
  }

  .hero-stats {
    gap: 1.6rem;
  }

  .toolbar {
    align-items: flex-start;
  }

  .sort-control,
  .sort-control select {
    width: 100%;
  }

  .metric-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .domain-name {
    font-size: 2.35rem;
  }

  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .card-actions .button {
    width: 100%;
  }
}
