/* Public site: marketplace, domain detail, lander, error pages.
   Mobile-first; no external fonts or images; CSP-safe (no inline styles needed). */

:root {
  --brand: #0891b2;
  --brand-600: #0e7490; /* button background: AA contrast with white text */
  --brand-700: #155e75;
  --brand-50: #ecfeff;
  --brand-100: #cffafe;
  --brand-200: #a5f3fc;
  --navy: #0b1b34;
  --navy-2: #0f2747;
  --navy-3: #173a63;
  --bg: #f2f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #55657a;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --success: #157f3c;
  --success-bg: #ecfdf3;
  --success-border: #abefc6;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --danger-border: #fecdca;
  --info: #0e7490;
  --info-bg: #ecfeff;
  --info-border: #a5f3fc;
  --amber: #b45309;
  --amber-bg: #fff7ed;
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 10px 30px -14px rgb(15 23 42 / 0.2);
  --shadow-lg: 0 24px 60px -24px rgb(11 27 52 / 0.45);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--brand-600);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --container: 1200px;
}

/* ---- reset & base ---- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  font-weight: 750;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-700);
}

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

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

/* Focus ring as box-shadow; the transparent outline becomes visible in forced-colors mode
   (Windows high contrast), where box-shadows are not drawn. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--focus);
  border-radius: 4px;
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

.muted {
  color: var(--muted);
}

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

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 860px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.975rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 1px 2px rgb(14 116 144 / 0.35);
}

.btn-primary:hover {
  background: var(--brand-700);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-outline:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--brand-50);
  color: var(--navy);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.45);
}

.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  border-color: #fff;
}

/* Variants like .btn-primary set their own box-shadow (same specificity as :focus-visible). */
.btn:focus-visible {
  box-shadow: var(--focus);
}

.btn-link {
  background: none;
  color: var(--muted);
  min-height: 36px;
  font-weight: 600;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--text);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-lg {
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
}

/* Full-width buttons wrap their label instead of widening the card (320 px phones). */
.btn-block {
  display: flex;
  width: 100%;
  white-space: normal;
}

/* ---- chips & badges ---- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  /* Long categories / search terms wrap instead of widening the page on phones. */
  max-width: 100%;
  overflow-wrap: anywhere;
}

a.chip:hover {
  border-color: var(--brand);
  color: var(--brand-700);
  background: var(--brand-50);
}

.chip-tld {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-700);
  font-family: var(--mono);
  font-weight: 700;
}

.chip-lg {
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
}

.chip-count {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.4em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.chip-list-light .chip {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.22);
  color: #e0f7fb;
}

.chip-list-light .chip:hover {
  background: rgb(255 255 255 / 0.18);
  border-color: rgb(255 255 255 / 0.5);
  color: #fff;
}

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

a.chip-active:hover {
  background: var(--navy-3);
  border-color: var(--navy-3);
  color: #fff;
}

.chip-x {
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.8;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.badge .icon {
  width: 0.95em;
  height: 0.95em;
}

.badge-top {
  background: #fef3c7;
  color: #92400e;
}

.badge-top .icon {
  fill: currentColor;
}

.badge-reserved {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid #fed7aa;
}

.badge-sold {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-strong);
}

/* ---- header ---- */

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  color: #fff;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tagline {
  display: none;
  font-size: 0.75rem;
  color: #9fb3cc;
  font-weight: 500;
}

.main-nav {
  order: 3;
  width: calc(100% + 1.2rem);
  margin: 0 -0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: #d3deeb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.main-nav a[aria-current='page'] {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}

.header-cta {
  display: none;
}

@media (max-width: 400px) {
  .main-nav a {
    padding: 0.45rem 0.45rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 860px) {
  .header-inner {
    flex-wrap: nowrap;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    gap: 2rem;
  }

  .brand-tagline {
    display: block;
  }

  .main-nav {
    order: 0;
    width: auto;
    margin: 0;
  }

  .main-nav a {
    padding: 0.5rem 0.85rem;
    font-size: 0.925rem;
  }

  .header-cta {
    display: inline-flex;
  }
}

/* ---- hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgb(8 145 178 / 0.45), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgb(8 145 178 / 0.25), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3.25rem;
  text-align: center;
}

.hero h1 {
  max-width: 18ch;
  margin: 0 auto 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem);
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: #c4d3e5;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #67e8f9;
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.4rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hero-search:focus-within {
  box-shadow:
    0 0 0 4px rgb(103 232 249 / 0.45),
    var(--shadow-lg);
}

.hero-search-icon {
  display: none;
  color: var(--muted);
  padding-left: 0.6rem;
}

.hero-search input,
.hero-search input[type='search'] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.hero-search input:focus,
.hero-search input:hover {
  outline: 2px solid transparent;
  box-shadow: none;
}

.hero-search input::placeholder {
  color: #7a889c;
}

.hero-search .btn {
  min-height: 48px;
  padding: 0 1.1rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-search-icon {
    display: inline-flex;
  }

  .hero-search input[type='search'] {
    height: 56px;
    font-size: 1.125rem;
    padding-left: 0.25rem;
  }

  .hero-search .btn {
    min-height: 56px;
    padding: 0 2rem;
  }
}

.hero-search-compact {
  margin-top: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-search-compact input[type='search'] {
  height: 46px;
}

.hero-search-compact .btn {
  min-height: 46px;
}

.hero-tlds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
  color: #9fb3cc;
  font-size: 0.875rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  list-style: none;
  color: #d3deeb;
  font-size: 0.925rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust .icon {
  color: #67e8f9;
  width: 1.1em;
  height: 1.1em;
}

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

/* ---- sections & cards ---- */

.section {
  padding: 3rem 0;
}

.section-tight {
  padding: 2rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-tight {
    padding: 2.5rem 0 3.5rem;
  }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin-bottom: 0.25rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.15s ease;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .card {
    padding: 1.75rem;
  }
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.prose {
  color: var(--text-2);
  overflow-wrap: anywhere;
}

/* ---- domain cards ---- */

/* minmax(0, …): a long price or button never widens a column beyond the viewport. */
.domain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  list-style: none;
}

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

@media (min-width: 1000px) {
  .domain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.domain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.domain-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.domain-card.is-featured {
  background: linear-gradient(180deg, #f5fdff 0%, #fff 55%);
}

.dc-meta,
.rr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.dc-name {
  margin: 0.85rem 0 0.15rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.dc-link {
  color: var(--text);
  text-decoration: none;
}

.dc-link:hover {
  color: var(--brand-700);
}

/* Stretched link: the whole card is clickable, buttons stay on top. */
.domain-card .dc-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.domain-card .dc-link:focus-visible {
  box-shadow: none;
}

.domain-card .dc-link:focus-visible::after {
  box-shadow: var(--focus);
}

.dc-ascii {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.dc-desc {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.925rem;
}

/* The button moves below the price when both do not fit next to each other. */
.dc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.dc-actions,
.rr-actions {
  position: relative;
  z-index: 1;
}

.dc-price,
.rr-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.price {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-request {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-2);
  white-space: normal;
}

.price-label {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- result list ---- */

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

/* Narrow screens: name on top, price and button below; the button wraps under the price when
   both do not fit ("ab 5.000 €" + "Preis vorschlagen" at 360 px). From 720 px a three-column grid. */
.result-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.result-row:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
}

.rr-main {
  grid-area: main;
  flex: 1 1 100%;
  min-width: 0;
}

.rr-price {
  grid-area: price;
}

.rr-actions {
  grid-area: actions;
}

.rr-name {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.result-row .dc-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
}

.result-row .dc-link:focus-visible {
  box-shadow: none;
}

.result-row .dc-link:focus-visible::after {
  box-shadow: var(--focus);
}

.rr-ascii {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

@media (min-width: 720px) {
  .result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem auto;
    grid-template-areas: 'main price actions';
    padding: 1.1rem 1.4rem;
  }

  .rr-price {
    text-align: right;
  }

  .rr-actions .btn {
    min-width: 10.5rem;
  }
}

/* ---- browse (categories / TLDs) ---- */

.browse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 860px) {
  .browse-grid {
    grid-template-columns: 3fr 2fr;
    gap: 1.25rem;
  }
}

.browse-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.browse-card h3 .icon {
  color: var(--brand-600);
}

/* ---- steps ---- */

.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  counter-reset: none;
}

/* Any number of steps (copy.ts): three per row on tablets with an incomplete last row spread
   out (6-column grid, items span 2), all in one row on wide screens. */
@media (min-width: 640px) and (max-width: 1099.98px) {
  .steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .step {
    grid-column: span 2;
  }

  .step:nth-child(3n + 1):nth-last-child(2),
  .step:nth-child(3n + 1):nth-last-child(2) + .step {
    grid-column: span 3;
  }

  .step:nth-child(3n + 1):last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .steps {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.section-alt .step {
  background: var(--surface-2);
}

.step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  color: var(--brand-100);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.section-alt .step-num {
  color: #d5eef3;
}

.step-icon,
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
}

.step-icon .icon,
.trust-icon .icon {
  width: 24px;
  height: 24px;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps-large .step {
  padding: 1.75rem 1.5rem;
}

/* ---- trust ---- */

.section-trust {
  background: linear-gradient(180deg, var(--bg) 0%, #e9f3f7 100%);
}

.trust-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
}

@media (min-width: 860px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.trust-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-item p {
  color: var(--muted);
  margin: 0;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust-list strong {
  display: block;
  font-size: 0.975rem;
}

.trust-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.trust-icon-sm {
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 10px;
}

.trust-icon-sm .icon {
  width: 20px;
  height: 20px;
}

/* ---- FAQ ---- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--brand-200);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-md);
}

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

.faq-item summary:hover {
  color: var(--brand-700);
}

.faq-toggle {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand-600);
  transition: transform 0.2s ease;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-2);
}

/* ---- CTA band ---- */

.cta-band {
  background:
    radial-gradient(600px 300px at 100% 0%, rgb(8 145 178 / 0.4), transparent 60%),
    var(--navy-2);
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-inner p {
  color: #c4d3e5;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- footer ---- */

.site-footer {
  background: var(--navy);
  color: #b6c5d8;
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand .brand {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand p {
  max-width: 28rem;
  margin: 0 0 0.75rem;
}

.site-footer h2 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}

.site-footer a {
  color: #d3deeb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: #8ea2bb;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
}

.footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-badges .icon {
  width: 1.05em;
  height: 1.05em;
  color: #67e8f9;
}

@media (min-width: 860px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- page head & breadcrumb ---- */

.page-head {
  padding: 1.25rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  margin-bottom: 0.4rem;
}

.page-head p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 860px) {
  .page-head {
    padding: 1.5rem 0 2.5rem;
  }
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--text-2);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---- search page ---- */

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 960px) {
  .search-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .filters {
    position: sticky;
    top: 1.5rem;
  }
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .filter-form.card {
    padding: 1.5rem;
  }
}

@media (min-width: 960px) {
  .field-row-selects {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.filter-title {
  font-size: 1.05rem;
  margin: 0;
}

.filter-form .field {
  margin: 0;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.85rem;
}

.results-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.results-range {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  list-style: none;
}

.active-filters .chip {
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state > .icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
}

.empty-state p {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

/* ---- pagination ---- */

.pagination {
  margin-top: 2rem;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 650;
  text-decoration: none;
}

a.page-link:hover {
  border-color: var(--brand);
  color: var(--brand-700);
}

.page-link.is-current {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.page-link.is-disabled {
  color: #9aa7b8;
  background: var(--surface-2);
}

.page-link .icon {
  width: 1em;
  height: 1em;
}

.page-gap {
  padding: 0 0.25rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .page-step span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* ---- forms ---- */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.field > label,
.choices legend,
.price-range legend {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-2);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.price-range legend {
  margin-bottom: 0.35rem;
  padding: 0;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field-row-tight {
  grid-template-columns: 1fr 1fr;
  gap: 0 0.75rem;
}

.req {
  margin-left: 0.15rem;
  color: var(--danger);
}

.opt {
  color: var(--muted);
  font-weight: 500;
}

input[type='text'],
input[type='search'],
input[type='email'],
input[type='tel'],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 16px;
}

textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
  color: #8a97a8;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgb(8 145 178 / 0.2);
}

.has-error input,
.has-error select,
.has-error textarea,
[aria-invalid='true'] {
  border-color: var(--danger);
}

.has-error input:focus,
.has-error textarea:focus,
[aria-invalid='true']:focus {
  box-shadow: 0 0 0 3px rgb(180 35 24 / 0.18);
}

/* Checkboxes have no border that could show the focus: the full ring instead of the faint halo. */
input[type='checkbox']:focus-visible {
  box-shadow: var(--focus);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.825rem;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.field-error .icon {
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.1em;
}

/* Kind error without radios (only one kind available): stands alone above the fields. */
.offer-form > .field-error {
  margin: 0 0 1rem;
}

.input-affix {
  position: relative;
}

.input-affix input {
  padding-right: 2.25rem;
}

.affix {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 650;
  pointer-events: none;
}

.input-icon {
  position: relative;
}

.input-icon .icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.input-icon input {
  padding-left: 2.4rem;
}

.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.25rem 0.65rem;
}

.field-check input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--brand-600);
}

.field-check label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.5;
}

.field-check .field-error {
  grid-column: 1 / -1;
}

.filter-form .field-check label {
  font-size: 0.925rem;
  font-weight: 600;
}

/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- offer form ---- */

.offer-form {
  position: relative;
}

.choices {
  margin-bottom: 1.1rem;
}

.choices legend {
  margin-bottom: 0.5rem;
  padding: 0;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.choice:hover {
  border-color: var(--brand);
}

.choice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand-600);
}

/* The label carries the focus ring of its radio. */
.choice input:focus-visible {
  box-shadow: none;
}

.choice:has(input:checked) {
  border-color: var(--brand-600);
  background: var(--brand-50);
  box-shadow: 0 0 0 1px var(--brand-600);
}

/* After :checked (same specificity): the focused radio is always the checked one. */
.choice:has(input:focus-visible) {
  box-shadow: var(--focus);
}

.choice-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.choice-title {
  font-weight: 700;
  color: var(--text);
}

.choice-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.choices.has-error .choice {
  border-color: var(--danger-border);
}

.buy-note {
  display: none;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.45;
}

.buy-note .icon {
  color: var(--success);
  margin-top: 0.05rem;
}

.lbl:not(.lbl-default) {
  display: none;
}

.req-message {
  display: none;
}

/* Context-sensitive form: only with :has() support; otherwise everything stays visible. */
@supports selector(:has(*)) {
  .offer-form:has(input[type='radio'][name='kind'][value='offer']:not(:checked)) .field-amount {
    display: none;
  }

  .offer-form:has(input[type='radio'][name='kind'][value='buy_now']:checked) .buy-note {
    display: flex;
  }

  .offer-form:has(input[type='radio'][name='kind']) .lbl-default {
    display: none;
  }

  .offer-form:has(input[value='buy_now']:checked) .lbl-buy_now,
  .offer-form:has(input[value='offer']:checked) .lbl-offer,
  .offer-form:has(input[value='inquiry']:checked) .lbl-inquiry {
    display: inline;
  }

  .offer-form:has(input[type='radio'][value='inquiry']:checked) .opt-message {
    display: none;
  }

  .offer-form:has(input[type='radio'][value='inquiry']:checked) .req-message {
    display: inline;
  }
}

.form-foot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.form-foot .icon {
  width: 1em;
  height: 1em;
  margin-top: 0.15em;
}

/* ---- alerts ---- */

.alert {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 12px;
  font-size: 0.925rem;
  line-height: 1.5;
}

.alert > .icon {
  margin-top: 0.1rem;
}

.alert strong {
  display: block;
  margin-bottom: 0.15rem;
}

.alert p {
  margin: 0.25rem 0 0;
}

.alert ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.alert li + li {
  margin-top: 0.2rem;
}

.alert-error {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: #7a271a;
}

.alert-error > .icon,
.alert-error a {
  color: var(--danger);
}

.alert-success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: #074d24;
}

.alert-success > .icon {
  color: var(--success);
  width: 1.6rem;
  height: 1.6rem;
}

.alert-success a {
  color: #07672f;
  font-weight: 650;
}

.alert-info {
  background: var(--info-bg);
  border-color: var(--info-border);
  color: #164e63;
}

.alert-info > .icon {
  color: var(--info);
}

/* ---- domain detail ---- */

.detail-top {
  padding-top: 1.25rem;
}

.detail-top .breadcrumb {
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

@media (min-width: 960px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 2rem;
    align-items: start;
    padding-bottom: 4rem;
  }

  .detail-side {
    position: sticky;
    top: 1.5rem;
  }
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.25rem;
  background:
    radial-gradient(500px 220px at 100% 0%, rgb(8 145 178 / 0.12), transparent 70%),
    var(--surface);
}

@media (min-width: 640px) {
  .detail-hero {
    padding: 2.5rem 2.25rem;
  }
}

.domain-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.9rem, 1rem + 4.5vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.domain-ascii {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  background: var(--brand-50);
}

.hero-buy-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-buy .price {
  font-size: 1.6rem;
}

@media (min-width: 960px) {
  .hero-buy {
    display: none;
  }
}

.detail-desc {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2.5rem;
  margin: 0;
}

.facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  flex: none;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 550;
}

.facts dd {
  min-width: 0;
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
  counter-reset: tl;
}

.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 3rem;
  counter-increment: tl;
}

.timeline li::before {
  content: counter(tl);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(1rem - 1px);
  top: 2.25rem;
  bottom: -0.95rem;
  width: 2px;
  background: var(--brand-100);
}

.timeline strong {
  line-height: 2rem;
}

.timeline span {
  color: var(--muted);
  font-size: 0.925rem;
}

/* ---- buy box ---- */

.buy-box {
  padding: 1.25rem;
  border-color: #d5e3ec;
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}

@media (min-width: 640px) {
  .buy-box {
    padding: 1.75rem;
  }
}

.price-head {
  display: flex;
  flex-direction: column;
  margin: -0.25rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-head-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-head-amount {
  color: var(--navy);
  font-size: clamp(2.1rem, 1.7rem + 1.5vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.price-head-amount.is-request {
  font-size: 1.75rem;
}

.price-head-note {
  margin-top: 0.2rem;
  color: var(--brand-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.sold-box {
  padding: 0.5rem 0 0.25rem;
  text-align: center;
}

.sold-box h2 {
  font-size: 1.35rem;
}

.sold-box p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.sold-box .btn {
  margin-top: 0.25rem;
}

.sold-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
}

.sold-icon .icon {
  width: 28px;
  height: 28px;
}

.side-trust {
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .side-trust {
    padding: 1.5rem;
  }
}

/* ---- options (how it works page) ---- */

.option-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
}

@media (min-width: 860px) {
  .option-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.option-card p {
  color: var(--muted);
  margin: 0;
}

/* ---- legal ---- */

.legal-card .prose {
  font-size: 1rem;
  line-height: 1.7;
}

.legal-card .alert {
  margin-bottom: 0;
}

.legal-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.legal-contact .icon {
  color: var(--brand-600);
}

/* ---- error pages ---- */

.error-section {
  padding: 4rem 0 5rem;
}

.error-box {
  text-align: center;
}

.error-code,
.error-box .error-code {
  max-width: none;
  margin: 0 auto 0.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--navy-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4.5rem, 3rem + 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.error-box p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.error-section .hero-search {
  max-width: 560px;
}

/* ---- lander ---- */

.lander-bar {
  background: var(--navy);
  color: #d3deeb;
  font-size: 0.875rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.lander-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.lander-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  color: #fff;
}

.lander-flag .icon {
  color: #67e8f9;
  width: 1.1em;
  height: 1.1em;
}

.lander-market-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d3deeb;
  text-decoration: none;
}

.lander-market-link img {
  border-radius: 6px;
}

.lander-market-link:hover {
  color: #fff;
}

.lander-market-link strong {
  color: #fff;
}

.lander-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 420px at 50% -20%, rgb(8 145 178 / 0.55), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.lander-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.lander-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 6.5rem;
  text-align: center;
}

.lander-domain {
  margin: 0 auto 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 0.5rem + 7.5vw, 5.25rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.lander-claim {
  margin: 0 0 0.5rem;
  color: #a5f3fc;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 700;
}

.lander-sub {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: #c4d3e5;
  font-size: 1.05rem;
}

.lander-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(6px);
}

.pill-amount {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.pill-request {
  font-size: 1.2rem;
}

.pill-label {
  color: #a5f3fc;
  font-size: 0.9rem;
  font-weight: 650;
}

.lander-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: -4.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 960px) {
  .lander-hero-inner {
    padding-top: 4.5rem;
    padding-bottom: 8rem;
  }

  .lander-layout {
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: -5.5rem;
    padding-bottom: 4rem;
  }
}

.lander-box {
  box-shadow: var(--shadow-lg);
}

.lander-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.lander-more {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(135deg, var(--brand-50) 0%, #fff 70%);
  border-color: var(--brand-100);
}

.lander-more .card-title {
  margin-bottom: 0.25rem;
}

.lander-more p {
  color: var(--muted);
}

.lander-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


.lander-footer {
  background: var(--navy);
  color: #8ea2bb;
  font-size: 0.85rem;
}

.lander-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.lander-footer p {
  margin: 0;
}

.lander-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
}

.lander-footer a {
  color: #d3deeb;
  text-decoration: none;
}

.lander-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 860px) {
  .lander-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- quiet lander (template "unused": website not in use) ---- */

.site-quiet {
  background:
    radial-gradient(900px 520px at 50% 0%, #fff 0%, rgb(255 255 255 / 0) 70%),
    #eef2f6;
}

.quiet-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem 2rem;
}

.quiet-box {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.quiet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #64748b;
}

.quiet-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.quiet-domain {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-quiet h1 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quiet-text {
  margin: 0;
  color: var(--text-2);
  font-size: 1.05rem;
}

.quiet-code {
  margin: 0 0 0.75rem;
  color: #a3b1c2;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.quiet-back {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

.quiet-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  color: var(--text-2);
}

/* Long domain names (dots are no break opportunity) must wrap instead of widening the page. */
.quiet-back a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quiet-back .icon {
  width: 1.05em;
  height: 1.05em;
}

.quiet-legal {
  max-width: 46rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.quiet-legal .quiet-back {
  margin: 0 0 1.25rem;
}

.quiet-legal .prose {
  line-height: 1.7;
}

@media (min-width: 640px) {
  .quiet-legal {
    padding: 2.25rem 2.5rem;
  }
}

.quiet-footer {
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
}

.quiet-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.quiet-footer a {
  color: var(--muted);
  text-decoration: none;
}

.quiet-footer a:hover,
.quiet-footer a[aria-current='page'] {
  color: var(--text);
  text-decoration: underline;
}

/* ---- neutral (unknown host) ---- */

.site-neutral {
  background: #f6f7f9;
}

.neutral-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.neutral-box {
  max-width: 560px;
  padding: 2.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.neutral-box .error-code {
  background: none;
  color: #cbd5e1;
  font-size: 4.5rem;
}

.neutral-box h1 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
}

.neutral-box p {
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.neutral-box .muted {
  color: var(--muted);
  font-size: 0.925rem;
}

/* ---- print ---- */

@media print {
  .site-header,
  .site-footer,
  .lander-bar,
  .lander-footer,
  .quiet-footer,
  .offer-form,
  .cta-band,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
