:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --ink: #171714;
  --muted: #66635d;
  --rule: #8d8981;
  --rule-soft: #c8c1b6;
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  width: min(100% - 3rem, 47rem);
  margin-inline: auto;
  padding-top: clamp(4.5rem, 11vh, 8rem);
}

.hero {
  text-align: center;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 1.15rem;
  font-family: var(--display);
  font-size: clamp(3.45rem, 5.8vw, 5.35rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.domain-name-tail {
  display: inline-block;
  margin-left: 0.025em;
}

.availability {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.availability span {
  display: block;
}

.section-rule {
  width: 4.25rem;
  height: 1px;
  margin: clamp(2.3rem, 5vh, 3.4rem) auto clamp(2rem, 4.5vh, 2.8rem);
  background: var(--rule-soft);
}

.inquiry {
  width: min(100%, 43rem);
  margin-inline: auto;
}

.inquiry h2 {
  margin-bottom: 1.85rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.inquiry form {
  width: min(100%, 32rem);
  margin-inline: auto;
}

.field {
  margin-bottom: 1.35rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.field label span {
  font-size: 0.875em;
}

.field .required-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input,
textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 1rem/1.5 var(--sans);
  caret-color: var(--ink);
  appearance: none;
}

input {
  min-height: 1.65rem;
  padding: 0.1rem 0 0.3rem;
}

textarea {
  min-height: 3.15rem;
  padding: 0.25rem 0 0.4rem;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-bottom-color: var(--ink);
}

input:focus-visible,
textarea:focus-visible {
  border-bottom-color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}

.field--message {
  margin-bottom: 1.5rem;
}

button {
  width: 100%;
  min-height: 4.25rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  transition: background-color 150ms ease, color 150ms ease;
}

button span {
  display: inline-block;
  margin-left: 0.85rem;
}

button:hover {
  background: transparent;
  color: var(--ink);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

footer {
  padding: clamp(3.75rem, 8vh, 6rem) 1.5rem 2.5rem;
  color: var(--muted);
  text-align: center;
}

footer > span {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.35rem;
  background: var(--rule-soft);
}

footer p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.success-page {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.success-card {
  width: min(100%, 42rem);
  text-align: center;
}

.success-card .eyebrow {
  margin-bottom: 3rem;
  color: var(--muted);
  font: 1rem/1.4 var(--sans);
  letter-spacing: 0.08em;
}

.success-card h1 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 10vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.success-card > p:not(.eyebrow) {
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.success-card a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

@media (max-width: 40rem) {
  .page-shell {
    width: min(100% - 2rem, 32rem);
    padding-top: 4.25rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.35rem);
    letter-spacing: -0.045em;
  }

  .availability {
    font-size: 1.05rem;
  }

  .inquiry h2 {
    max-width: 19rem;
    margin-inline: auto;
  }

  .field {
    margin-bottom: 1.7rem;
  }

  button {
    min-height: 4rem;
    font-size: 1.3rem;
  }

  footer {
    padding-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
