* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #142f3b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: #086d67;
  text-underline-offset: .2em;
}

a:hover {
  color: #064f4b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #de9c40;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 8vw, 5rem);
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -.025em;
}

h3 {
  font-size: 1.2rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  background: #142f3b;
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid #d9e4df;
  background: rgba(255, 255, 255, .96);
}

.header-inner,
.footer-inner {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.wordmark {
  color: #142f3b;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}

nav {
  display: none;
}

.hero {
  background: #f5f9f7;
  overflow: hidden;
}

.hero-inner {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding-block: 3rem 2rem;
  align-items: center;
}

.hero-copy {
  padding: 0;
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.secondary-line {
  margin: 1rem 0 0;
  font-size: .95rem;
}

.horizon {
  display: block;
  width: 100%;
  max-height: 16rem;
}

.hero-form {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #d8e5df;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 47, 59, .06);
  scroll-margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: .35rem;
  background: #087a72;
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #065e58;
  color: #fff;
}

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

.section {
  padding: 5rem max(1rem, calc((100% - 72rem) / 2));
  scroll-margin-top: 1rem;
}

.tinted {
  background: #f0f6f2;
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 2.5rem;
}

.card-grid,
.entry-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid #d8e5df;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 47, 59, .06);
}

.card p,
.entry-grid p,
.steps p {
  margin-bottom: 0;
}

.entry-grid > div {
  padding: 1.25rem 0;
  border-top: 2px solid #9dc7bd;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5rem;
  border-radius: .75rem;
  background: #f6eee0;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: #142f3b;
  color: #fff;
  font-weight: 800;
}

.contact-section {
  background: #fcfaf5;
}

#lead-form,
#ghl-embed {
  width: 100%;
}

#ghl-embed iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
}

.field {
  margin: 0 0 1.25rem;
}

label,
legend {
  display: block;
  margin-bottom: .35rem;
  color: #142f3b;
  font-weight: 700;
}

fieldset {
  padding: 0;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: .7rem .75rem;
  border: 1px solid #567078;
  border-radius: .3rem;
  background: #fff;
  color: #142f3b;
  font: inherit;
}

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

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-weight: 500;
}

.radio-group input {
  width: 1.25rem;
  min-height: 1.25rem;
  margin: 0 .5rem 0 0;
}

.optional,
.privacy {
  color: #52666d;
  font-weight: 400;
}

.privacy {
  margin: .75rem 0 0;
  font-size: .9rem;
}

.error,
.form-status,
.form-notice {
  display: block;
  color: #a12820;
  font-weight: 650;
}

.form-notice {
  max-width: 46rem;
  padding: .8rem;
  border-left: 4px solid currentColor;
  background: #fff3f1;
}

.error:not(:empty) {
  margin-top: .35rem;
}

.form-status:not(:empty) {
  margin: 1rem 0 0;
  padding: .8rem;
  border-left: 4px solid currentColor;
  background: #fff3f1;
}

[aria-invalid="true"] {
  border-color: #a12820;
  border-width: 2px;
}

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

footer {
  padding-block: 3rem;
  background: #142f3b;
  color: #fff;
}

footer p {
  max-width: 72ch;
  margin-bottom: .5rem;
}

.contact-lines span:not([hidden]) + span:not([hidden])::before {
  content: " · ";
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(160deg, #f0f6f2, #f6eee0);
}

.thank-you-card {
  width: min(100%, 42rem);
  padding: clamp(1.5rem, 7vw, 4rem);
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 47, 59, .12);
}

.thank-you-card .wordmark {
  display: inline-block;
  min-height: 44px;
  margin-bottom: 3rem;
}

.thank-you-card h1 {
  font-size: clamp(2.25rem, 8vw, 4rem);
}

@media (min-width: 48rem) {
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }

  nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: .65rem;
    color: #29454f;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-block: 4rem 3rem;
  }

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

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

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

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
