/* Domain-for-sale page — Digital Axis 360 */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage.woff2") format("woff2-variations"), url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
:root {
  /* --bg, --deep, --glow are set per domain in index.php */
  --bg: #1d3fbf; --deep: #0a1a5c; --glow: #7fd4ff;
  --ink:   #16181d;
  --muted: #5b6270;
  --paper: #ffffff;
  --sand:  #eef0f3;
  --line:  #d5d9e0;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; }

/* Hero: the domain name is the design */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    radial-gradient(110% 80% at 90% 0%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 62%),
    linear-gradient(165deg, var(--bg) 0%, var(--deep) 92%);
  padding: 3rem 3vw 4rem;
  overflow: hidden;
}
.hero-inner { width: 100%; }

.wordmark { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: .84; }
.wordmark .name {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(2.5rem, 13vw, 14rem);
  font-variation-settings: "wdth" 78, "opsz" 96;
  overflow-wrap: anywhere;
  animation: rise .9s cubic-bezier(.2,.7,.1,1) both;
}
.wordmark .tld { color: var(--glow); font-size: .4em; letter-spacing: -0.01em; margin-left: .03em; }
.wordmark .status {
  display: block;
  margin-top: .3em;
  font-size: clamp(1.6rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: color-mix(in srgb, #fff 82%, var(--glow));
}
.lede { max-width: 36rem; margin: 1.5rem 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); }

.jump {
  display: inline-block;
  padding: .95rem 1.7rem;
  background: var(--glow);
  color: var(--deep);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.jump:hover { transform: translateY(-2px); background: #fff; }

@keyframes rise { from { transform: translateY(16%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Offer form */
.offer { padding: 4.5rem 4vw 5rem; }
.offer-inner { max-width: 38rem; margin: 0 auto; }
.offer h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.note { color: var(--muted); margin: 0 0 2rem; }

.row { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .9em; margin-left: .3rem; }
input, textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 7rem; }
input:focus, textarea:focus { outline: none; border-color: var(--bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg) 18%, transparent); }
.money { position: relative; }
.money span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.money input { padding-left: 1.9rem; font-variant-numeric: tabular-nums; }

button {
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  margin-top: .5rem;
  padding: 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
  color: #fff;
  cursor: pointer;
}
button:hover { background: var(--deep); }
button:disabled { opacity: .6; cursor: wait; }
.cf-turnstile { margin: .5rem 0 1rem; }

.error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1rem; }
.done { padding: 1.25rem 1.4rem; border-radius: 12px; background: color-mix(in srgb, var(--bg) 8%, #fff); border: 1.5px solid color-mix(in srgb, var(--bg) 30%, #fff); font-size: 1.1rem; }
.done:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--bg); outline-offset: 3px; }
.hero :focus-visible { outline-color: #fff; }

/* Footer */
.foot { background: var(--sand); border-top: 1px solid var(--line); padding: 2.5rem 4vw; }
.foot-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.logo { height: 48px; width: auto; display: block; }
address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.copy { margin: 0 0 0 auto; color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .hero { min-height: 72vh; padding: 2rem 5vw 3rem; }
  .copy { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark .name { animation: none; }
  .jump { transition: none; }
}
