:root {
  --bg: #090b10;
  --text: #f6f1e8;
  --muted: #d4cbc2;
  --faint: #c4bbb2;
  --line: rgba(246, 241, 232, 0.12);
  --accent: #f0b48a;
  --accent-deep: #d4896a;
  --danger: #f0c2b8;
  --ok: #c9e2d6;
  --card: rgba(18, 20, 26, 0.92);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #e7a88a 22%, #7eb8b0 50%, #e7a88a 78%, transparent);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 46% at 8% -12%, rgba(214, 118, 82, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 38% at 108% 6%, rgba(58, 122, 116, 0.2), transparent 58%),
    radial-gradient(ellipse 80% 28% at 50% 118%, rgba(176, 92, 74, 0.1), transparent 60%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: radial-gradient(rgba(246, 241, 232, 0.55) 0.4px, transparent 0.55px);
  background-size: 4px 4px;
}

.rule {
  width: 4.75rem;
  height: 1px;
  margin: 1.35rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 138, 0.9), rgba(126, 184, 176, 0.75), transparent);
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f7d3bc;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(9, 11, 16, 0.84);
  backdrop-filter: blur(16px);
}

.brand,
.header-link {
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mark {
  width: 28px;
  height: 28px;
  display: block;
  flex: none;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.hero {
  padding: 2.5rem 0 2.75rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 8.9vw, 7.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

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

.lede,
.support {
  margin-inline: auto;
  max-width: 36rem;
  text-wrap: balance;
}

.lede {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.hero .button {
  margin-top: 2rem;
  min-width: 12.5rem;
  padding-inline: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c3a4, #e09470);
  color: #1a120e;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(224, 148, 112, 0.18);
}

.button:hover {
  color: #1a120e;
  box-shadow: 0 0 0 1px rgba(243, 195, 164, 0.45), 0 12px 40px rgba(224, 148, 112, 0.28);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button.is-busy::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.6rem;
  border: 1.5px solid rgba(26, 18, 14, 0.28);
  border-top-color: #1a120e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.points {
  padding: 0.25rem 0 3rem;
}

.points ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: point;
}

.points li {
  counter-increment: point;
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.point-title::before {
  content: counter(point, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.point-title {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.points p {
  margin: 0;
}

.points li p:last-child {
  color: var(--muted);
}

.offer {
  padding-bottom: 3.5rem;
}

.offer-copy h2,
.prose h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.offer-copy p,
.prose p {
  color: var(--muted);
}

.form-card {
  position: relative;
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.035), transparent 72px),
    var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 138, 0.7), rgba(126, 184, 176, 0.55), transparent);
}

.form-row,
.form-card form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field label span,
.hint,
.form-note {
  color: var(--faint);
}

.hint,
.form-note {
  margin: 0;
  font-size: 0.875rem;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  background: #0c0e13;
  color: var(--text);
  font: inherit;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #e7b2a6;
}

textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.offer-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: 12px;
  padding: 0 0.95rem;
  background: #0c0e13;
}

.offer-field:has(input[aria-invalid="true"]) {
  border-color: #e7b2a6;
}

.currency {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.offer-field input {
  border: 0;
  background: transparent;
  padding-left: 0;
  font-variant-numeric: tabular-nums;
}

.offer-preview {
  flex: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.offer-preview:empty {
  display: none;
}

input:focus-visible,
textarea:focus-visible,
.offer-field:focus-within {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 180, 138, 0.2);
}

.offer-field input:focus-visible {
  box-shadow: none;
}

::placeholder {
  color: #8d847b;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #ffe8e2;
  background: rgba(74, 28, 24, 0.72);
  border-color: rgba(231, 178, 166, 0.55);
}

.form-status.is-success {
  color: #e8f6ef;
  background: rgba(22, 58, 48, 0.78);
  border-color: rgba(168, 214, 196, 0.5);
}

.form-card .button {
  width: 100%;
}

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

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.prose {
  width: min(65ch, 100%);
  padding: 2rem 0 3rem;
}

.prose h2 {
  margin: 2rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.prose .button {
  margin-top: 0.5rem;
}

:focus-visible {
  outline: 2px solid #f6f1e8;
  outline-offset: 3px;
}

.button:focus-visible {
  outline-color: #fff8f2;
  outline-offset: 4px;
}

::selection {
  background: rgba(231, 168, 138, 0.35);
}

@media (max-width: 767px) {
  .hero .button {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .page {
    width: min(1120px, calc(100% - 4rem));
  }

  .hero {
    min-height: calc(100svh - 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0 4rem;
  }

  .points ul,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .points ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .points li {
    padding: 1.25rem 1.15rem 1.35rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .points li:last-child {
    border-right: 0;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
  }

  .form-card .button {
    width: auto;
    min-width: 12rem;
  }
}

@media (min-width: 1024px) {
  .offer {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3rem;
    align-items: start;
  }

  .form-card {
    margin-top: 0;
  }

  .offer-copy {
    position: sticky;
    top: 6.25rem;
  }
}

@media (min-width: 1440px) {
  .wordmark {
    font-size: 7.5rem;
  }
}

@media (min-width: 2000px) {
  body {
    font-size: 1.125rem;
  }

  .page {
    width: min(1240px, calc(100% - 8rem));
  }

  .wordmark {
    font-size: 8.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

#offer {
  scroll-margin-top: 5.5rem;
}
