/* bigd.si — domain sale landing page
   Layout: one 1120px column, left-aligned editorial grid; the Big Data logo (Big D in silver, "ata" in outline) carries the hero,
   a registry-style record sits beside the lede, and the offer form is the only raised panel. */

@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Logo";
  src: url("../fonts/archivo-logo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: block;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Color */
  --ink: #090c12;          /* page ground: blue-biased near-black */
  --ink-raised: #0f141d;   /* raised panel */
  --ink-field: #0b1018;    /* inputs */
  --line: rgba(150, 172, 214, 0.13);
  --line-strong: rgba(150, 172, 214, 0.26);
  --text: #e8edf5;
  --muted: #929db1;
  --faint: #5f6a7e;
  --ice: #a6c8ff;          /* the one accent: pale signal blue */
  --ice-deep: #6f9eea;
  --ice-ink: #0a1322;      /* text on accent */
  --ok: #86dfb4;           /* semantic: available / success */
  --bad: #ff9a94;          /* semantic: errors */

  /* Type */
  --font-logo: "Archivo Logo", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --logo-hero: clamp(3rem, 18.5vw, 10.5rem);
  --silver: linear-gradient(180deg, #ffffff 6%, #e2e8f2 48%, #8d99ae 100%);
  --ice-metal: linear-gradient(180deg, #dde9ff 6%, #9dbdf7 55%, #6f9eea 100%);

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tld { color: var(--ice); }

/* ---------- Logo: Big Data (Big D solid silver, "ata" as a fine outline) ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--font-logo);
  font-stretch: 125%;
  font-weight: 320;
  letter-spacing: -0.012em;
  line-height: 1.22;               /* keeps the g descender inside the clipped silver gradient */
  white-space: nowrap;
  text-decoration: none;
}
.logo__solid {
  background-image: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: pre;
}
.logo__ghost {
  display: inline-block;
  font-weight: 200;
  color: rgba(166, 200, 255, 0.42);
}
@supports (-webkit-text-stroke: 1px) {
  .logo__ghost {
    color: transparent;
    -webkit-text-stroke: max(1px, 0.0075em) rgba(166, 200, 255, 0.6);
  }
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ice);
  color: var(--ice-ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ice);
  --btn-fg: var(--ice-ink);
  --btn-border: var(--ice);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.9375rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:hover { --btn-bg: #c3daff; --btn-border: #c3daff; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: rgba(166, 200, 255, 0.07); --btn-border: rgba(166, 200, 255, 0.45); }
.btn--small { min-height: 2.25rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.85; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(9, 12, 18, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}
.topbar__brand .logo { font-size: 1.0625rem; font-weight: 420; }
.topbar__brand .logo__ghost { color: rgba(166, 200, 255, 0.55); -webkit-text-stroke: 0; font-weight: 300; }
.topbar__domain {
  padding-left: 0.75rem;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: 0.875rem;
}
.topbar__nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}
.topbar__nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 560px) {
  .topbar__nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4rem, 3rem + 5vw, 7rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 30% 35%, #000 25%, transparent 75%);
}
.hero::after {
  /* faint glow behind the logo */
  content: "";
  position: absolute;
  z-index: -1;
  width: min(70vw, 900px);
  aspect-ratio: 2 / 1;
  left: -10%;
  top: 8%;
  background: radial-gradient(closest-side, rgba(111, 158, 234, 0.13), transparent);
  pointer-events: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(15, 20, 29, 0.7);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(134, 223, 180, 0.16);
}
.status__sep { color: var(--faint); }

.logo--hero {
  display: flex;
  margin-top: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  margin-left: -0.05em;
  font-size: var(--logo-hero);
}
.hero__title {
  margin-top: clamp(0.5rem, 0.2rem + 1vw, 1.25rem);
  font-size: clamp(1.75rem, 1.05rem + 3vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text);
}
.hero__domain { color: var(--ice); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.hero__copy { min-width: 0; }
.lede {
  max-width: 34ch;
  font-size: var(--step-2);
  line-height: 1.45;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* registry-style record */
.record {
  margin: 0;
  min-width: 0;
  border-top: 1px solid var(--line-strong);
  font-size: 0.875rem;
}
.record__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.record dt {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.2rem;
}
.record dd { margin: 0; color: var(--text); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .record { max-width: 34rem; }
}

/* load sequence (runs once, from a visible end state) */
@media (prefers-reduced-motion: no-preference) {
  .status, .logo--hero, .hero__title, .hero__grid {
    animation: rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .logo--hero { animation-delay: 80ms; }
  .hero__title { animation-delay: 220ms; }
  .hero__grid { animation-delay: 340ms; }
  /* one slow light sweep across "Big D", then the outlined "ata" settles in */
  .logo--hero .logo__solid {
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%), var(--silver);
    background-size: 250% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: 160% 0, 0 0;
    animation: sheen 2.4s cubic-bezier(0.4, 0, 0.2, 1) 900ms 1 both;
  }
  .logo--hero .logo__ghost { animation: ghost-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 650ms both; }
}
@keyframes ghost-in {
  from { opacity: 0; transform: translateX(-0.12em); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheen {
  from { background-position: 160% 0, 0 0; }
  to { background-position: -60% 0, 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section__head {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}
.section__title {
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section__intro {
  max-width: 60ch;
  font-size: var(--step-1);
  color: var(--muted);
}

/* uses */
.uses {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.use {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem;
  min-width: 0;
  padding: 2rem clamp(1.25rem, 2.5vw, 2.25rem) 2.25rem;
  border-right: 1px solid var(--line);
}
.use:first-child { padding-left: 0; }
.use:last-child { border-right: 0; padding-right: 0; }
.use__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.use__title { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.015em; }
.use__text { color: var(--muted); max-width: 36ch; }
.use__eg {
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.use__eg span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 860px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use, .use:first-child, .use:last-child {
    padding: 1.75rem 0 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* process */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--ice);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--ice);
  letter-spacing: 0.04em;
}
.step__title { font-size: var(--step-1); font-weight: 600; }
.step p { color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
}

/* ---------- Offer ---------- */
.section--offer {
  background:
    linear-gradient(180deg, rgba(15, 20, 29, 0) 0%, rgba(15, 20, 29, 0.65) 100%),
    var(--ink);
}
.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: start;
}
.offer__info { display: grid; gap: 1.25rem; min-width: 0; }
.offer__info .section__title { max-width: 16ch; }
.offer__text { font-size: var(--step-1); color: var(--muted); max-width: 40ch; }
.facts {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.facts li { max-width: 46ch; }
.facts strong { color: var(--text); font-weight: 600; }

.offer__panel { display: grid; gap: 1.25rem; min-width: 0; }

.form, .success {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.form { display: grid; gap: 1.35rem; }

.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.field__optional {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.field input, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  background: var(--ink-field);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder { color: var(--faint); }
.field input:hover, .field textarea:hover { border-color: rgba(150, 172, 214, 0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(166, 200, 255, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--bad); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 154, 148, 0.2); border-color: var(--bad); }

.amount { position: relative; display: flex; align-items: center; }
.amount input {
  padding-left: 1.9rem;
  padding-right: 3.6rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.amount__prefix, .amount__suffix {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-display);
  color: var(--muted);
}
.amount__prefix { left: 0.95rem; font-size: 1rem; }
.amount__suffix { right: 0.95rem; font-size: 0.6875rem; letter-spacing: 0.08em; }

.field__hint { font-size: 0.8125rem; color: var(--faint); }
.field__hint--right { justify-self: end; font-variant-numeric: tabular-nums; }
.field__hint--over { color: var(--bad); }
.field__error {
  display: flex;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--bad);
}
.field__error::before { content: "!"; font-family: var(--font-display); font-weight: 700; }

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

.form__alert {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 154, 148, 0.4);
  border-radius: 10px;
  background: rgba(255, 154, 148, 0.08);
  color: #ffd2cf;
  font-size: 0.9rem;
}
.form__alert--info {
  border-color: rgba(166, 200, 255, 0.4);
  background: rgba(166, 200, 255, 0.08);
  color: #d6e6ff;
}
.form__alert--static { margin-top: 0.5rem; }

.form__submit { margin-top: 0.25rem; min-height: 3.25rem; font-size: 1rem; }
.spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(10, 19, 34, 0.3);
  border-top-color: var(--ice-ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.form__submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.6s; }
}
.form__legal { font-size: 0.8125rem; color: var(--muted); text-align: center; }

.success {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
}
.success:focus { outline: none; }
.success__icon {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: var(--ok);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success__title { font-size: var(--step-2); font-weight: 500; }
.success__text { color: var(--muted); overflow-wrap: anywhere; }
.success__text strong { color: var(--text); font-weight: 600; }
.success__note { font-size: 0.875rem; color: var(--faint); }
.success .btn { margin-top: 0.5rem; }

.privacy {
  padding: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.privacy__title {
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

@media (max-width: 900px) {
  .offer { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem calc(2.25rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.8125rem;
  color: var(--faint);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.75rem; margin: 0; }
.footer__brand .logo { font-size: 1rem; font-weight: 420; }
.footer__brand .logo__ghost { color: rgba(166, 200, 255, 0.55); -webkit-text-stroke: 0; font-weight: 300; }
.footer__brand .topbar__domain { font-size: 0.75rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
