:root {
  --bg: #f4f1eb;
  --ink: #161616;
  --muted: #67645f;
  --line: rgba(22, 22, 22, 0.16);
  --accent: #0f6b5f;
  --accent-ink: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.hero {
  min-height: 92svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1595867818082-083862f3d630?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: settle 1100ms ease-out forwards;
}

.hero__content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin: 0 0 clamp(48px, 9vw, 112px) clamp(20px, 8vw, 112px);
  color: white;
  animation: rise 700ms ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 13vw, 11rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.lede {
  max-width: 620px;
  margin: 22px 0 32px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero__jump,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.hero__jump:hover,
button:hover {
  transform: translateY(-1px);
  background: #0a5a50;
}

.intro,
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 9vw, 120px) clamp(20px, 7vw, 96px);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro p,
.signup__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 24px;
}

.field,
fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.field span,
legend {
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.interest-grid {
  display: grid;
  gap: 10px;
}

.interest {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.interest input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.interest strong,
.interest small {
  display: block;
}

.interest small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.fineprint,
.technical {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.result {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 8vw, 96px);
}

.result p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

@keyframes settle {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 86svh;
  }

  .hero__image {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.82)),
      url("https://images.unsplash.com/photo-1595867818082-083862f3d630?auto=format&fit=crop&w=1400&q=82");
    background-position: center;
  }

  .intro,
  .signup {
    grid-template-columns: 1fr;
  }
}
