@font-face {
  font-family: "Instrument Sans";
  src: url("/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #211a30;
  background: #f5f3fa;
  font-synthesis: none;
  --muted: #655e74;
  --accent: #6235cf;
  --stroke: #e3deee;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: 48px; }
a { color: inherit; }
svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.page-width { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }

.site-header {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.wordmark, .header-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  text-decoration: none;
}

.wordmark { font-size: 16px; letter-spacing: -.025em; }
.wordmark-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eae2fc;
  color: #6035c5;
  font-size: 24px;
}

.header-link {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd4ed;
  border-radius: 9px;
  color: #50378c;
  font-size: 14px;
  gap: 8px;
}

.header-link:hover { background: #ece5f9; }

.sale {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e7e0f0;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 24px 70px -42px #2f16615e;
}

.hero {
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 610px;
  padding: clamp(30px, 4.2vw, 62px);
  background: #120b23;
  color: #fbf8ff;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #120b23 5%, #120b23 24%, #120b2300 61%);
  content: "";
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: auto -4% -16% auto;
  width: 108%;
  height: auto;
  display: block;
  mask-image: radial-gradient(ellipse at 50% 49%, black 39%, transparent 74%);
  pointer-events: none;
}

.hero-content { width: 100%; }
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 11px;
  border: 1px solid #564075;
  border-radius: 100px;
  background: #281b42;
  color: #e3d4ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ba9aff;
  box-shadow: 0 0 9px #ad85ffb0;
}

.domain {
  margin: 0;
  font-size: clamp(39px, 5.1vw, 76px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}
.domain--medium { font-size: clamp(34px, 4.1vw, 56px); }
.domain--long { font-size: clamp(29px, 3.1vw, 43px); }

.hero-summary {
  max-width: 32ch;
  margin: 19px 0 0;
  color: #cbbfdc;
  font-size: 17px;
  line-height: 1.55;
}

.offer { min-width: 0; padding: clamp(30px, 4.2vw, 62px); }
.offer h2 {
  margin: 0;
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.065em;
}
.offer-intro { margin: 11px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.5; }
form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { min-width: 0; display: grid; gap: 6px; }
label { font-size: 14px; font-weight: 650; line-height: 1.3; }
.optional { color: var(--muted); font-size: 12px; font-weight: 400; }

input, textarea, .amount {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: #fcfbfe;
  color: inherit;
  font: inherit;
  font-size: 16px;
}

input { min-height: 44px; padding: 9px 12px; }
textarea { min-height: 69px; resize: vertical; padding: 10px 12px; }
input::placeholder, textarea::placeholder { color: #766e86; opacity: 1; }
input:focus, textarea:focus, .amount:focus-within {
  outline: 2px solid #c8b3f7;
  outline-offset: 0;
  border-color: #906cde;
  background: #fff;
}

.amount { display: flex; align-items: center; }
.amount span {
  padding: 0 10px 0 12px;
  border-right: 1px solid var(--stroke);
  color: #5c4979;
  font-size: 14px;
  font-weight: 650;
}
.amount input { min-height: 42px; border: 0; background: transparent; outline: 0; }

.send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 2px;
  padding: 10px 15px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .15s ease;
}
.send:hover { background: #5027b5; }
.send:disabled { background: #755ab4; cursor: wait; }
.send svg { font-size: 19px; }

.privacy {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.privacy svg { flex: 0 0 auto; font-size: 15px; }
.form-status { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; }
.form-status:empty { padding: 0; height: 0; margin-top: -15px; }
.form-status[data-kind="error"] { color: #8a2442; background: #fff0f3; }
.form-status[data-kind="success"] { color: #14684b; background: #e8f8ef; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .page-width { width: min(600px, calc(100% - 36px)); }
  .site-header { min-height: 76px; }
  .sale { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .hero { min-height: 360px; }
  .hero-art { width: min(78%, 440px); inset: auto -8% -30% auto; }
  .hero::after { background: linear-gradient(140deg, #120b23 23%, #120b2320 80%); }
  .domain { font-size: clamp(39px, 8.5vw, 70px); }
  .domain--medium { font-size: clamp(34px, 6.4vw, 55px); }
  .domain--long { font-size: clamp(29px, 5.4vw, 43px); }
  .offer { scroll-margin-top: 16px; }
}

@media (max-width: 435px) {
  body { padding-bottom: 24px; }
  .wordmark { gap: 8px; font-size: 14px; }
  .header-link { padding-inline: 10px; font-size: 13px; white-space: nowrap; }
  .hero { min-height: 325px; padding: 25px 23px; }
  .hero-art { width: 90%; bottom: -23%; right: -16%; }
  .hero-summary { font-size: 16px; max-width: 27ch; }
  .offer { padding: 27px 23px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
