:root {
  --brand: #1a93d4;
  --brand-on-deep: #9adcf8;
  --brand-deep: #0e5f8c;
  --ink: #101a21;
  --paper: #f5f3ef;
  --cedar: #b5793c;
  --cedar-on-deep: #f2cfa1;
  --line: #d8d5ce;
  --muted: #90969a;
  --space: clamp(1.25rem, 3vw, 3.5rem);
  --radius: 2px;
}
* {
  box-sizing: border-box;
}
html {
  color: var(--ink);
  background: var(--paper);
}
body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: auto;
}
.site-header {
  border-top: 5px solid var(--brand);
  border-bottom: 1px solid var(--line);
  background: var(--brand-deep);
}
.bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: Archivo, sans-serif;
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  color: white;
}
.phone {
  font-weight: 700;
  color: white;
  white-space: nowrap;
}
.nav {
  background: var(--paper);
  border-top: 1px solid var(--brand-deep);
}
.nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.7rem 0;
  margin: 0;
  list-style: none;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: var(--brand-deep);
  text-underline-offset: 0.25em;
}
.nav [aria-current="page"] {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand-deep);
  text-underline-offset: 0.25em;
}
.hero {
  padding: var(--space) 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 {
  font-family: Archivo, sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.03;
  margin: 0.4rem 0 1rem;
}
.hero p {
  font-size: 1.1rem;
  max-width: 42ch;
}
.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--cedar);
  margin-bottom: 0.5rem;
}
.button {
  display: inline-block;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  background: var(--brand-deep);
  color: white;
  font:
    600 1rem "IBM Plex Sans",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button[disabled] {
  background: var(--muted);
  cursor: not-allowed;
}
.hero-picture,
.photo {
  width: min(100%, var(--native));
  margin-inline: auto;
}
.hero-picture img,
.photo img {
  width: 100%;
}
section {
  padding: clamp(2.5rem, 7vw, 6rem) 0;
}
section.alt {
  background: #eae7e0;
}
h2,
h3 {
  font-family: Archivo, sans-serif;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}
h3 {
  font-size: 1.2rem;
}
.intro {
  max-width: 64ch;
}
.compare {
  position: relative;
  width: min(100%, var(--native));
  margin: 1.5rem auto 0;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: #ddd;
  touch-action: none;
}
.compare .after,
.compare .before {
  position: absolute;
  inset: 0;
}
.compare .before {
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.compare picture,
.compare img {
  width: 100%;
  height: 100%;
}
.compare img {
  object-fit: cover;
  max-width: none;
}
.compare .before img {
  width: 100%;
  max-width: none;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 42px;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  cursor: ew-resize;
}
.compare-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--brand-deep);
}
.compare-handle svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.compare-handle:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}
.caption {
  margin: 0.7rem auto 0;
  width: min(100%, var(--native));
  font-size: 0.92rem;
}
.cards,
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.card a {
  font-weight: 700;
}
.card .photo {
  margin-bottom: 1rem;
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.grid figure {
  margin: 0;
}
.grid figcaption {
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.grid a {
  text-decoration: none;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.quotes figure {
  margin: 0;
}
.quotes blockquote {
  margin: 0;
}
.quotes blockquote p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.quotes figcaption {
  margin-top: 1rem;
  color: var(--brand-on-deep);
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonials {
  background: var(--brand-deep);
  color: white;
}
.testimonial-eyebrow {
  margin: 0;
  color: var(--cedar-on-deep);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}
.testimonial-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 0.5rem;
  background: var(--cedar-on-deep);
}
.testimonial-number {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.testimonial-count {
  display: block;
  color: var(--cedar-on-deep);
  font-family: Archivo, sans-serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 1;
}
.testimonial-number-label {
  display: block;
  margin-top: 0.35rem;
  color: white;
  font-size: 0.95rem;
}
.testimonial-hero {
  max-width: 960px;
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--cedar-on-deep);
  text-align: center;
}
.testimonial-hero blockquote {
  margin: 0;
}
.testimonial-hero blockquote p {
  margin: 0;
  color: white;
  font-family: Archivo, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
}
.testimonial-hero figcaption {
  margin-top: 1.25rem;
  color: var(--brand-on-deep);
  font-size: 1rem;
  font-weight: 600;
}
.testimonials-home .quotes {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.testimonials-home .quotes blockquote p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.5;
}
.form {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field.full {
  grid-column: 1/-1;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
label {
  font-weight: 600;
}
input,
select,
textarea {
  font: inherit;
  padding: 0.65rem;
  border: 1px solid #777;
  border-radius: var(--radius);
  background: white;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.form-note {
  margin: 0;
  color: #4a545a;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: 0.94rem;
}
.site-footer p {
  margin: 0.35rem 0;
}
.group {
  padding-top: 0;
}
.group + .group {
  padding-top: 2.5rem;
}
@media (max-width: 700px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid .hero-copy {
    order: 2;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .bar {
    min-height: 62px;
  }
  .wordmark {
    font-size: 0.92rem;
  }
  .phone {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .nav ul {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
  }
  .nav li:nth-child(-n + 3) {
    grid-column: span 4;
  }
  .nav li:nth-child(n + 4) {
    grid-column: span 3;
  }
  .nav a {
    display: block;
    padding: 0.35rem 0.1rem;
    text-align: center;
    line-height: 1.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compare-handle {
    transition: none;
  }
}
