:root {
  color-scheme: light;
  --background: #f7f5ef;
  --text: #171717;
  --muted: #5f615f;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --line: #d7d2c6;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.13), transparent 32rem),
    linear-gradient(135deg, #f7f5ef 0%, #eef4f2 100%);
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.intro {
  width: min(100%, 46rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 36rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.note {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 0.25rem;
  color: #ffffff;
  background: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .page {
    align-items: end;
    padding-bottom: 3rem;
  }

  h1 {
    max-width: 12ch;
  }

  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
