/* Domain For Sale page */

:root {
  --bg: #05070b;
  --panel: #0c1118;
  --line: #1b2633;
  --text: #e8eef6;
  --muted: #8fa0b4;
  --accent: #3a94ff;
  --accent-2: #6cc3ff;
  --ok: #3ddc97;
  --err: #ff6b6b;
  --radius: 14px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); }
a:hover { color: #fff; }

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

/* Top bar */
.topbar { padding: 20px 0 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.status--sold .status__dot { background: var(--err); box-shadow: 0 0 10px var(--err); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  padding: 24px 0 40px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.domain {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 9vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.domain__tld { color: var(--accent); }

.lead {
  margin: 0 0 24px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
}
.price__label { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.price__amount { font-size: 2rem; font-weight: 700; line-height: 1.2; }
.price__amount small { color: var(--muted); font-size: .9rem; font-weight: 500; }
.price__note { color: var(--muted); font-size: .85rem; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1f6fe0);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 6px 24px rgba(58, 148, 255, .25);
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(58, 148, 255, .35); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--block { width: 100%; }

/* Mascot: the artwork has a pure black background, so blend it into the page */
.hero__art {
  position: relative;
  order: -1;
  max-width: 320px;
  margin: 0 auto;
}
.orb {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 148, 255, .35), rgba(58, 148, 255, 0) 70%);
  filter: blur(24px);
}
.mascot {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

/* Sections */
.section-title {
  margin: 0 0 20px;
  font-size: 1.4rem;
  letter-spacing: -.01em;
}
.nowrap { white-space: nowrap; }

.steps, .enquire, .more { padding: 32px 0; border-top: 1px solid var(--line); }

.steps__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps__list li {
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  counter-increment: step;
}
.steps__list li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(58, 148, 255, .15);
  color: var(--accent-2);
  font-weight: 700;
}
.steps__list strong { display: block; }
.steps__list span { color: var(--muted); font-size: .95rem; }

/* Form */
.form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.form[hidden] { display: none; }

.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; }

.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field input.invalid { border-color: var(--err); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.msg { max-width: 560px; margin-bottom: 16px; }
.msg:empty { display: none; }
.msg--ok, .msg--err { padding: 14px 16px; border-radius: 10px; border: 1px solid; }
.msg--ok  { border-color: var(--ok);  background: rgba(61, 220, 151, .08); color: var(--ok); }
.msg--err { border-color: var(--err); background: rgba(255, 107, 107, .08); color: var(--err); }

/* Other domains */
.more__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.more__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.more__list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.more__list a:hover { text-decoration: underline; }
.more__list span { color: var(--muted); white-space: nowrap; }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

/* Wider screens */
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 56px 0 64px; }
  .hero__art { order: 0; max-width: none; width: 100%; }
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .steps__list li { padding: 64px 18px 18px; }
  .more__list { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
