/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f2f0ea;
  color: #151515;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* ---------- Layout ---------- */

.page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.intro {
  max-width: 540px;
  margin: 48px 0 32px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button {
  align-self: flex-start;
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #151515;
  color: #f2f0ea;
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* ---------- Success section ---------- */

.success {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  padding: 80px 0 120px;
  border-top: 1px solid #151515;
}

.number {
  margin: 0;
  font-size: 0.85rem;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.success div p {
  max-width: 650px;
  margin: 0;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */

footer {
  padding: 24px 20px;
  background: #151515;
  color: #f2f0ea;
  font-size: 0.8rem;
}

footer p {
  width: min(1200px, 100%);
  margin: 0 auto;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .page {
    width: min(100% - 28px, 1200px);
  }

  .hero {
    min-height: 82vh;
    padding: 56px 0;
  }

  .intro {
    margin-top: 36px;
  }

  .success {
    grid-template-columns: 1fr;
    padding: 56px 0 80px;
  }
}

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

  .button {
    transition: none;
  }
}
