:root {
  --bg: #fbf8f6;
  --surface: #ffffff;
  --ink: #1d1424;
  --muted: #6b5f72;
  --line: #e9e1ec;
  --berry-1: #5b3cc4;
  --berry-2: #c2255c;
  --glow-1: rgb(91 60 196 / 13%);
  --glow-2: rgb(214 51 108 / 12%);
  --focus: #5b3cc4;
  --bad: #b42318;
  --shadow: 0 1px 2px rgb(29 20 36 / 6%), 0 12px 32px rgb(29 20 36 / 8%);
  /* Buttons keep the deep berry in both themes: white text stays above 4.5:1. */
  --btn-1: #5b3cc4;
  --btn-2: #c2255c;
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120d16;
    --surface: #1c1522;
    --ink: #f4eef7;
    --muted: #b4a8bb;
    --line: #2e2436;
    --berry-1: #a89af7;
    --berry-2: #f06595;
    --glow-1: rgb(124 98 240 / 16%);
    --glow-2: rgb(240 101 149 / 10%);
    --focus: #b197fc;
    --bad: #ff8a80;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 35%);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60rem 32rem at 90% -12%, var(--glow-2), transparent 62%),
    radial-gradient(52rem 30rem at -12% 6%, var(--glow-1), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* Top bar */
.bar {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.bar-link {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--muted);
}

.bar-link:hover { color: var(--ink); }

main { padding: 0 16px; }

/* Hero */
.hero {
  max-width: 1040px;
  margin: 40px auto 0;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain {
  margin: 0.25em 0 0.2em;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(3rem, 14vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.tld {
  background: linear-gradient(120deg, var(--berry-1), var(--berry-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.125rem;
}

.price-card {
  max-width: 46rem;
  margin: 40px auto 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-label,
.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.price-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  margin: 2px 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--btn-1), var(--btn-2));
  box-shadow: 0 6px 18px rgb(194 37 92 / 24%);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgb(194 37 92 / 30%); }

.btn-primary:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--berry-1); }

/* Facts */
.facts {
  max-width: 1040px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.facts article {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

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

/* Offer form */
.offer {
  max-width: 46rem;
  margin: 72px auto 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 24px;
}

.offer h2 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.offer-intro {
  margin: 4px 0 24px;
  color: var(--muted);
}

#offer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-wide { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--focus);
  border-radius: 12px;
  outline-offset: 1px;
}

[aria-invalid="true"] { border-color: var(--bad); }

.field-error {
  display: block;
  margin-top: 4px;
  color: var(--bad);
  font-size: 0.875rem;
}

.field-error:empty { display: none; }

/* People never see this field; scripts that fill every field do. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.status {
  margin: 0;
  color: var(--muted);
}

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

.sent {
  padding: 24px 8px 8px;
  text-align: center;
}

.sent:focus { outline: none; }

.sent h3 {
  margin: 0 0 6px;
  font-size: 1.375rem;
}

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

/* Steps */
.steps {
  max-width: 46rem;
  margin: 72px auto 0;
}

.steps h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  position: relative;
  padding: 16px 18px 16px 62px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(120deg, var(--btn-1), var(--btn-2));
  font-size: 0.875rem;
  font-weight: 700;
}

.foot {
  padding: 56px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* The thank-you and check-your-offer pages */
.notice {
  max-width: 36rem;
  margin: 96px auto;
  padding: 0 16px;
}

.notice h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

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

.problems { color: var(--bad); }

@media (max-width: 640px) {
  .hero { margin-top: 24px; }

  .lede { font-size: 1.0625rem; }

  .price-card {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    text-align: center;
  }

  .actions { flex-direction: column; }

  .facts {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .offer {
    margin-top: 48px;
    padding: 22px 18px;
  }

  #offer-form { grid-template-columns: 1fr; }

  .form-foot .btn { width: 100%; }

  .steps { margin-top: 48px; }
}
