@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --navy: #14213d;
  --blue: #2952cc;
  --soft-blue: #eef2fc;
  --light-blue: #a9bdf5;
  --muted: #5b6475;
  --rule: #d5dae3;
  --heading-font: "Space Grotesk", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --section-space: clamp(2.75rem, 6vw, 5rem);
}

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

body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, ol, blockquote {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 7.2vw, 6.25rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

:focus-visible {
  outline: 0.1875rem solid var(--blue);
  outline-offset: 0.25rem;
}

.wrap {
  width: min(73rem, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.masthead {
  background: var(--navy);
  color: #fff;
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem 1rem;
  padding-block: 1.125rem;
}

.brand {
  font: 700 clamp(1.175rem, 2.5vw, 1.45rem) / 1.15 var(--heading-font);
  letter-spacing: -0.03em;
}

.brand span {
  display: block;
  margin-top: 0.2rem;
  color: var(--light-blue);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
}

.location {
  color: #c9d2e3;
  font-size: 0.875rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding-block: var(--section-space) clamp(2.5rem, 5vw, 4.375rem);
}

.hero-copy {
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.65vw, 1.1875rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.375rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #1c3da9;
}

.eyebrow {
  color: var(--blue);
  font: 700 0.875rem / 1.4 var(--heading-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 0.9rem 0.875rem 1rem;
  border-left: 0.1875rem solid var(--blue);
  border-radius: 0.375rem;
  background: var(--soft-blue);
}

.stats strong {
  display: block;
  font: 700 clamp(1.25rem, 2.6vw, 1.95rem) / 1.1 var(--heading-font);
  letter-spacing: -0.045em;
}

.stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.section {
  padding-block: var(--section-space);
}

.story {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}

.story blockquote {
  max-width: 52rem;
  padding-left: 1rem;
  border-left: 0.1875rem solid var(--rule);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.moves {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: move;
}

.moves li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  counter-increment: move;
}

.moves h3::before {
  content: counter(move);
  margin-right: 0.6em;
  color: var(--blue);
}

.moves p {
  margin-top: 0.6rem;
}

.findings, .scorecard {
  background: var(--soft-blue);
}

.split {
  display: grid;
  align-items: start;
  gap: 1.25rem;
}

.square-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  list-style-type: square;
}

.square-list li::marker {
  color: var(--blue);
}

.offer {
  padding-inline: clamp(1.15rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 0.625rem;
}

.audit {
  margin-top: var(--section-space);
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.audit .eyebrow, .audit .price, .audit li::marker {
  color: var(--light-blue);
}

.audit h2, .scorecard h2 {
  margin-top: 0.45rem;
}

.audit .button {
  color: var(--navy);
  background: #fff;
}

.audit .button:hover {
  background: var(--soft-blue);
}

.audit .button:focus-visible, .contact :focus-visible {
  outline-color: var(--light-blue);
}

.together {
  margin-block: 1rem var(--section-space);
}

.price {
  margin-top: 0.9rem;
  color: var(--blue);
  font: 700 clamp(1.75rem, 3.6vw, 3rem) / 1.1 var(--heading-font);
  letter-spacing: -0.04em;
}

.price span {
  display: block;
  margin-top: 0.375rem;
  font: 500 1rem / 1.45 "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.offer-copy > p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.audit .offer-copy > p {
  border-color: #506081;
}

.scorecard-note {
  margin-top: 0.6rem;
}

table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

thead th {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

thead th:nth-child(2) {
  width: clamp(5.1rem, 21vw, 12rem);
}

thead th:nth-child(3) {
  width: clamp(4.125rem, 18vw, 11rem);
}

th, td {
  padding: 0.6rem 0.5rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

th:first-child {
  padding-left: 0;
}

th:last-child, td:last-child {
  padding-right: 0;
}

tbody tr {
  border-top: 1px solid #cad5f0;
}

tbody tr:last-child {
  border-bottom: 1px solid #cad5f0;
}

table input {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.45rem;
  border: 1px solid var(--muted);
  border-radius: 0.25rem;
  color: var(--navy);
  background: #fff;
  font: inherit;
}

.fit p {
  max-width: 36rem;
}

.contact {
  color: #fff;
  background: var(--navy);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  font: 500 clamp(1rem, 2.5vw, 1.5rem) / 1.3 var(--heading-font);
}

.contact-links a {
  display: inline-block;
  max-width: 100%;
  min-height: 2.75rem;
  padding-block: 0.4rem;
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  color: var(--light-blue);
}

@media (min-width: 26rem) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 47rem) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats li {
    padding: 1.15rem 1rem;
  }

  .story {
    grid-template-columns: 1fr 4fr;
    gap: 1.75rem;
    align-items: start;
  }

  .moves {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

@media (min-width: 58rem) {
  .hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
  }
}
