/* ===================================================================
   Domain-for-sale — one-fold, minimal/Swiss. Auto-detects the domain.
   Monochrome, calm, typographic. RTL.
   =================================================================== */

:root {
  --bg: #FBFBF9;
  --ink: #14140F;
  --muted: #76746B;
  --line: #E4E2DA;
  --accent: #14140F;           /* monochrome — the "accent" is just ink */
  --font: "Heebo", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5;
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* hero fold — centered in the first viewport */
.fold {
  width: 100%; flex: 1 0 auto; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }

.card { width: min(560px, 100%); text-align: center; }

.badge {
  display: inline-block; font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: .5em 1.1em; margin-bottom: 2rem;
}

.domain {
  font-weight: 800; font-size: clamp(2.2rem, 8vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em;
  color: var(--ink); word-break: break-word; margin-bottom: 1.1rem;
}

.tagline { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.12rem); max-width: 40ch; margin: 0 auto 2.4rem; }

/* divider above actions for a calm, editorial feel */
.actions { display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font);
  font-weight: 600; font-size: 1rem; padding: .85em 2em; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); padding: .85em .4em; }
.btn--ghost:hover { text-decoration-color: var(--ink); }
.btn--text { background: transparent; color: var(--muted); padding: .85em 1em; }
.btn--text:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* ---- offer form (minimal) ---- */
.offer { margin-top: 2rem; text-align: start; display: grid; gap: .7rem; max-width: 440px; margin-inline: auto;
  animation: fade .3s ease both; }
.offer[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.offer__row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.offer input, .offer textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: .78em 1em; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  direction: rtl; text-align: right;
}
.offer input::placeholder, .offer textarea::placeholder { color: #b0aea3; }
.offer input:focus, .offer textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,15,.08); }
.offer .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.offer__actions { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; }
.offer__actions .btn--primary { flex: 1; }
.status { text-align: center; font-weight: 600; min-height: 1.3em; margin-top: .3rem; font-size: .95rem; }
.status.ok { color: #1c8a4d; }
.status.err { color: #c23a3a; }
.offer.sent .offer__row, .offer.sent textarea, .offer.sent .offer__actions { display: none; }

.foot { margin-top: 2.6rem; color: var(--muted); font-size: .8rem; font-family: var(--mono); letter-spacing: .04em; }
.foot__dom { color: var(--ink); }

/* ---- more domains for sale (bottom strip) ---- */
.more {
  width: 100%; max-width: 860px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--line); text-align: center;
}
.more[hidden] { display: none; }
.more__title {
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem;
}
.more__grid {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .6rem;
}
.more__grid a {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .84rem;
  color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: .42em .95em;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.more__grid a:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.chip__dom { letter-spacing: -.01em; }
.chip__stars { font-family: var(--font); font-size: .72em; color: #B99653; letter-spacing: .04em; line-height: 1; }
.more__grid a:hover .chip__stars { color: #E7C578; }

/* premium group — a touch stronger + a gold marker on the title */
.more--premium { border-top: none; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.more--premium .more__title { color: var(--ink); }
.more--premium .more__title::before { content: "★ "; color: #B99653; }
.more--premium .more__grid a { color: var(--ink); border-color: #D8CDB4; }
.more--premium .more__grid a:hover { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.more--premium .more__grid a:hover .chip__stars { color: #E7C578; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@media (max-width: 460px) { .offer__row { grid-template-columns: 1fr; } }

/* subtle Swiss dot-grid backdrop (monochrome, faded toward edges) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(20,20,15,.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 46%, #000 28%, transparent 82%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 46%, #000 28%, transparent 82%);
}
