@font-face {
  font-family: Heebo;
  src: url("/fonts/Heebo.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --base: #f7f6f3;
  --light: #ffffff;
  --shade: #d4cfc6;
  --ink: #1a1c1a;
  --muted: #4a524c;
  --green: #1f6b4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: Heebo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.nav,
.hero,
.section,
.close,
.footer {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--base);
  box-shadow: -8px -8px 20px var(--light), 8px 8px 20px var(--shade);
}

.mark {
  margin: 0;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  margin-inline-start: auto;
}

.nav-links a,
.footer a,
.quiet {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 600;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
}

h2 {
  margin: 0;
  font-size: 32px;
}

h3 {
  margin: 12px 0 6px;
  font-size: 20px;
}

.lead,
.section-head p,
.card p,
.faq p,
.close p,
.footer p,
.phone-kicker {
  color: var(--muted);
}

.lead {
  max-width: 38rem;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--base);
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  box-shadow: -6px -6px 16px var(--light), 6px 6px 16px var(--shade);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.phone {
  padding: 28px 22px;
  border-radius: 32px;
  background: var(--base);
  box-shadow: -10px -10px 28px var(--light), 10px 10px 28px var(--shade);
}

.phone-kicker,
.phone-title,
.sample,
.phone-button {
  margin: 0;
}

.phone-title {
  margin: 8px 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.phone-button {
  margin-top: 16px;
  padding: 14px;
  border-radius: 999px;
  color: var(--green);
  font-weight: 600;
  text-align: center;
  background: var(--base);
  box-shadow: -5px -5px 14px var(--light), 5px 5px 14px var(--shade);
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 24px;
}

.steps,
.grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.inset,
.close {
  background: var(--base);
}

.card {
  padding: 22px;
  border-radius: 24px;
  box-shadow: -8px -8px 22px var(--light), 8px 8px 22px var(--shade);
}

.card p,
.faq p,
.close p {
  margin: 0;
}

.step-no {
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 600;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--base);
  box-shadow: -4px -4px 10px var(--light), 4px 4px 10px var(--shade);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inset {
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: inset -5px -5px 14px var(--light), inset 5px 5px 14px var(--shade);
}

.faq {
  display: grid;
  gap: 12px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.faq p {
  margin-top: 8px;
}

.close {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-bottom: 48px;
  padding: 36px;
  border-radius: 28px;
  box-shadow: -10px -10px 28px var(--light), 10px 10px 28px var(--shade);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 12px 0 40px;
}

.footer nav {
  display: flex;
  gap: 16px;
}

.footer p:last-child {
  margin-inline-start: auto;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

  .button-small {
    margin-inline-start: auto;
  }

  .hero,
  .steps,
  .grid {
    grid-template-columns: 1fr;
  }

  .footer p:last-child {
    margin-inline-start: 0;
  }
}

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