:root {
  --navy: #011627;
  --navy-soft: #0b2639;
  --teal: #2ec4b6;
  --teal-dark: #20a99d;
  --ink: #0c2233;
  --muted: #586a77;
  --line: #d8e1e6;
  --mist: #f3f7f8;
  --white: #ffffff;
  --display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', Arial, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  scroll-snap-type: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(1, 22, 39, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  color: #001b1a;
  background: var(--teal);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(46, 196, 182, 0.2);
  cursor: pointer;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #46d6c9;
  box-shadow: 0 14px 36px rgba(46, 196, 182, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 11px 24px;
}

.header-cta {
  min-width: 238px;
  min-height: 54px;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 34px rgba(46, 196, 182, 0.32);
}

.header-cta strong {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.045em;
}

.header-cta small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.72;
  text-transform: none;
}

.button-wide {
  min-width: 250px;
}

.hero {
  display: grid;
  width: 100%;
  min-height: 690px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px clamp(40px, 5vw, 84px) 60px max(30px, calc((100vw - var(--max)) / 2));
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.08) 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: 48px 48px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 3.8vw, 4.5rem);
}

h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.3rem);
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.microcopy {
  margin: 16px 0 0;
  color: #657682;
  font-size: 15px;
  font-weight: 600;
}

.microcopy span {
  margin: 0 7px;
  color: var(--teal-dark);
}

.hero-trust {
  display: grid;
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.hero-trust li {
  position: relative;
  display: grid;
  min-width: 0;
  padding-left: 38px;
}

.hero-trust strong {
  font-size: 16px;
  line-height: 1.2;
}

.hero-trust small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.line-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--mist);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 22, 39, 0.06), transparent 30%);
  content: '';
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.inspection-note {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 30px;
  display: flex;
  width: min(290px, calc(100% - 56px));
  flex-direction: column;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(1, 22, 39, 0.88);
  border-left: 3px solid var(--teal);
  box-shadow: 0 20px 50px rgba(1, 22, 39, 0.25);
}

.inspection-note span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inspection-note strong {
  margin-top: 4px;
  font-size: 17px;
}

.inspection-note small {
  color: #b9c8d1;
  font-size: 15px;
}

.proof-band {
  display: grid;
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--navy);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-signal {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: #eef9f8;
  border-top: 1px solid rgba(46, 196, 182, 0.35);
  border-bottom: 1px solid rgba(46, 196, 182, 0.35);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.review-score {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.stars {
  color: #e5a92a;
  font-size: 16px;
  letter-spacing: 0.12em;
}

.review-score strong {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.review-signal blockquote {
  margin: 0;
  color: #304855;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.review-signal cite {
  color: #4c6572;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.review-signal cite span {
  margin: 0 5px;
  color: var(--teal-dark);
}

.proof-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border: 0;
}

.proof-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  color: var(--teal);
  border: 1px solid rgba(46, 196, 182, 0.65);
  font-family: var(--display);
  font-size: 18px;
}

.proof-item p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
}

.proof-item strong {
  font-family: var(--display);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.proof-item small {
  color: #91a6b3;
  font-size: 14px;
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

/* Keep the opening image and value proposition together without taking control
   of the visitor's wheel or trackpad. The rest of the funnel uses natural height. */
.hero {
  height: calc(100svh - 82px);
}

.hero-media {
  min-height: 0;
}

.symptom-section,
.deliverables-section,
.social-proof-section,
.proof-section,
.service-area-section,
.faq-section {
  display: grid;
  align-content: center;
}

.section-number {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-cta {
  min-height: 44px;
  margin-top: 26px;
  padding: 12px 22px;
  font-size: 13px;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading p:last-child,
.faq-heading > p:last-child,
.deliverables-copy > p,
.license-block > p {
  color: var(--muted);
}

.narrow-heading {
  max-width: 600px;
}

.symptom-layout {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
}

.symptom-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.symptom-section .section-heading {
  max-width: none;
  margin-bottom: clamp(28px, 3svh, 42px);
}

.symptom-visual {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.symptom-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(1, 22, 39, 0.05) 35%, rgba(1, 22, 39, 0.92) 100%);
  content: '';
}

.symptom-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.symptom-visual p {
  position: relative;
  z-index: 2;
  max-width: 370px;
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.symptom-picker {
  display: grid;
  align-content: center;
  gap: 7px;
}

.symptom-option {
  display: grid;
  min-height: 56px;
  align-items: center;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdcbd3;
  border-radius: 3px;
  cursor: pointer;
  font: 600 16px var(--body);
  grid-template-columns: 34px 1fr 20px;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.symptom-option:hover,
.symptom-option:focus-visible {
  border-color: var(--teal-dark);
  outline: none;
  transform: translateX(4px);
}

.symptom-option[aria-checked='true'] {
  background: #ecfbf9;
  border-color: var(--teal-dark);
  box-shadow: inset 4px 0 0 var(--teal);
}

.symptom-symbol {
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.radio-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #69808e;
  border-radius: 50%;
}

.symptom-option[aria-checked='true'] .radio-dot {
  background: var(--teal);
  border: 4px solid #ddf8f5;
  outline: 1px solid var(--teal-dark);
}

.symptom-picker .button {
  margin-top: 10px;
}

.clarity-section {
  display: grid;
  align-items: center;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--mist);
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
}

.clarity-copy {
  max-width: 650px;
}

.clarity-copy > p:not(.section-number) {
  margin: 28px 0;
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  content: '✓';
  font-weight: 800;
}

.structure-diagram {
  overflow: hidden;
  border: 1px solid rgba(1, 22, 39, 0.1);
  background: #e9eff1;
  box-shadow: 0 24px 50px rgba(1, 22, 39, 0.12);
}

.structure-diagram img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.deliverables-section {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.deliverables-copy > p {
  font-size: 18px;
}

.deliverables-list {
  display: grid;
  gap: 16px 28px;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deliverables-list span {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.deliverables-list span::before {
  position: absolute;
  left: 0;
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: 50%;
  content: '✓';
  font-size: 11px;
  font-weight: 800;
}

.report-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  scroll-margin-top: 110px;
  border: 1px solid rgba(1, 22, 39, 0.1);
  background: var(--navy);
  box-shadow: 0 28px 60px rgba(1, 22, 39, 0.2);
}

.report-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.report-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 42px 24px 22px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(1, 22, 39, 0.92));
}

.report-visual figcaption strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.report-visual figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.process-section {
  display: grid;
  align-items: center;
  gap: 54px;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--mist);
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 2fr);
}

.process-content {
  display: grid;
  gap: 26px;
}

.process-visual {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.process-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(1, 22, 39, 0.82));
  content: '';
}

.process-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 46%;
}

.process-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-visual figcaption span {
  margin: 0 8px;
  color: var(--teal);
}

.social-proof-section {
  display: grid;
  align-items: stretch;
  gap: 48px 72px;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.social-proof-heading {
  align-self: center;
}

.social-proof-heading > p:not(.section-number) {
  max-width: 530px;
  margin: 24px 0;
  color: var(--muted);
}

.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
}

.rating-summary strong {
  font-size: 16px;
}

.featured-review {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 58px;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
}

.featured-review-photo {
  overflow: hidden;
  isolation: isolate;
}

.featured-review-photo > img,
.testimonial-photo > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-review-photo::after,
.testimonial-photo::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(1, 22, 39, 0.96) 0%, rgba(1, 22, 39, 0.82) 58%, rgba(1, 22, 39, 0.35) 100%);
  content: '';
}

.featured-review::before {
  color: var(--teal);
  content: '“';
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 0.55;
}

.featured-review blockquote {
  max-width: 690px;
  margin: 16px 0 42px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.4;
}

.featured-review figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.featured-review figcaption > span:last-child {
  display: flex;
  flex-direction: column;
}

.featured-review small {
  color: #9fb4c0;
}

.review-rail {
  display: grid;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-rail article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 34px 38px;
  border-right: 1px solid var(--line);
}

.review-rail article:last-child {
  border-right: 0;
}

.review-rail p {
  flex: 1;
  margin: 22px 0 30px;
  color: #344d5a;
  font-size: 17px;
  line-height: 1.6;
}

.review-rail footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.review-rail footer span {
  color: var(--muted);
}

.trusted-by {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 34px;
  padding: 4px 0 0;
}

.trusted-by span {
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trusted-by strong {
  color: #415965;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.process-title h2 {
  max-width: 260px;
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: process;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.process-list li {
  position: relative;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 32px;
  border-left: 1px solid #ccd9de;
}

.process-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.process-list strong {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.process-list small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.proof-section {
  display: grid;
  gap: 100px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.license-block dl {
  display: grid;
  gap: 24px;
  margin: 38px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.license-block dl div {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
}

.license-block dt {
  color: var(--navy);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.license-block dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 60px;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
}

.testimonial-photo {
  overflow: hidden;
  isolation: isolate;
}

.testimonial::before {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  content: '“';
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.5;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.testimonial figcaption > span:last-child {
  display: flex;
  flex-direction: column;
}

.testimonial small {
  color: #9fb4c0;
}

.faq-section {
  display: grid;
  gap: 90px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.65fr 1.35fr;
}

.service-area-section {
  display: grid;
  align-items: start;
  gap: 90px;
  padding-top: 88px;
  padding-bottom: 88px;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
}

.service-area-section > div:first-child > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
}

.related-services {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-area-visual {
  position: relative;
  min-height: 260px;
  margin: 0 0 26px;
  overflow: hidden;
  background: var(--navy);
}

.service-area-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(1, 22, 39, 0.85));
  content: '';
}

.service-area-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-area-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 18px;
  left: 22px;
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.related-services p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.related-services a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.faq-heading h2 {
  font-size: clamp(2.4rem, 3.7vw, 3.8rem);
}

.faq-list details {
  border-bottom: 1px solid #cfdadf;
}

.faq-list summary {
  position: relative;
  padding: 22px 46px 22px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  list-style: none;
  text-transform: uppercase;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--teal-dark);
  content: '+';
  font-family: var(--body);
  font-size: 28px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  max-width: 700px;
  margin: -4px 0 24px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 84px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  grid-template-columns: 1.35fr 0.65fr;
}

.closing-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #00101d;
}

.closing-panel::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: min(100% - 48px, var(--max));
  height: 3px;
  background: var(--teal);
  content: '';
  transform: translateX(-50%);
}

.final-cta h2 {
  max-width: 800px;
}

.final-cta > div > p {
  max-width: 700px;
  color: #b7c7cf;
}

.final-action {
  padding: 32px;
  border: 1px solid rgba(46, 196, 182, 0.3);
  background: rgba(0, 16, 29, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  text-align: left;
}

.final-action .button {
  width: 100%;
}

.final-action .microcopy {
  color: #9db0bb;
}

.site-footer {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.72);
  background: #00101d;
  font-size: 14px;
}

.wordmark-footer {
  color: var(--white);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.footer-main {
  display: grid;
  align-items: start;
  gap: 52px;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 0.8fr 1.7fr;
}

.footer-main > div > p {
  max-width: 400px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-details {
  display: grid;
  gap: 28px;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-style: normal;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-details div {
  display: flex;
  flex-direction: column;
}

.footer-details strong,
.footer-nav > span {
  margin-bottom: 7px;
  color: var(--teal);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-details a {
  color: var(--white);
  text-decoration: none;
}

.footer-nav,
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav div,
.footer-legal p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-nav a,
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--teal);
}

.footer-legal {
  padding-top: 14px;
  padding-bottom: 14px;
  color: rgba(255, 255, 255, 0.44);
  border-bottom: 0;
  font-size: 12px;
}

@media (min-width: 1051px) and (min-height: 760px) {
  .social-proof-section {
    gap: 22px 48px;
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .social-proof-heading h2 {
    font-size: clamp(2.65rem, 3.4vw, 3.65rem);
  }

  .social-proof-heading > p:not(.section-number) {
    margin: 14px 0;
    font-size: 16px;
  }

  .rating-summary {
    margin-top: 16px;
  }

  .social-proof-heading .section-cta {
    margin-top: 16px;
  }

  .featured-review {
    min-height: 290px;
    padding: 34px 42px;
  }

  .featured-review::before {
    font-size: 5rem;
  }

  .featured-review blockquote {
    margin: 8px 0 22px;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
  }

  .review-rail article {
    min-height: 190px;
    padding: 20px 26px;
  }

  .review-rail p {
    margin: 10px 0 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .review-rail footer {
    font-size: 13px;
  }

  .trusted-by {
    gap: 10px 26px;
  }

  .final-cta {
    gap: 48px;
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .final-cta h2 {
    font-size: clamp(2.7rem, 3.6vw, 3.8rem);
  }
}

@media (max-width: 1050px) {
  .hero {
    height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 650px;
    padding-right: max(30px, calc((100vw - var(--max)) / 2));
  }

  .hero-media {
    order: -1;
    min-height: 560px;
  }

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

  .proof-item {
    padding: 18px 22px;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .symptom-layout,
  .clarity-section,
  .deliverables-section,
  .proof-section,
  .social-proof-section {
    gap: 60px;
  }

  .review-signal {
    grid-template-columns: auto 1fr;
  }

  .review-signal blockquote {
    text-align: right;
  }

  .review-signal cite {
    grid-column: 2;
    text-align: right;
  }

  .process-section,
  .service-area-section,
  .faq-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .process-list {
    margin-top: 0;
  }

  .process-title h2 {
    max-width: none;
  }

  .final-action {
    text-align: left;
  }

  .footer-main {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  .footer-details {
    padding-left: 0;
    border-left: 0;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1051px) and (max-height: 850px) {
  .symptom-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .symptom-section .section-heading {
    max-width: none;
    margin-bottom: 18px;
  }

  .symptom-section .section-heading h2 {
    font-size: clamp(2.65rem, 3.5vw, 3.35rem);
  }

  .symptom-section .section-heading > p:last-child {
    margin: 8px 0 0;
  }

  .symptom-layout {
    gap: 48px;
  }

  .symptom-visual {
    min-height: 455px;
  }

  .symptom-picker {
    gap: 6px;
  }

  .symptom-option {
    min-height: 50px;
    padding: 8px 16px;
  }

  .symptom-picker .button {
    min-height: 48px;
    margin-top: 6px;
  }

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(2.85rem, 3.45vw, 3.75rem);
  }

  .hero-lede {
    margin-top: 18px;
    margin-bottom: 20px;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.45;
  }

  .microcopy {
    margin-top: 12px;
  }

  .hero-trust {
    gap: 14px;
    margin-top: 24px;
  }
}

@media (min-width: 1051px) and (max-height: 760px) {
  .symptom-section {
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .symptom-section .section-heading {
    margin-bottom: 12px;
  }

  .symptom-section .section-heading h2 {
    font-size: clamp(2.35rem, 3.2vw, 2.8rem);
  }

  .symptom-visual {
    min-height: 410px;
  }

  .symptom-option {
    min-height: 46px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 0;
    scroll-snap-type: none;
  }

  .hero,
  .symptom-section,
  .clarity-section,
  .deliverables-section,
  .social-proof-section,
  .process-section,
  .proof-section,
  .service-area-section,
  .faq-section,
  .final-cta {
    position: relative;
    scroll-margin-top: 0;
    scroll-snap-align: none;
  }

  .symptom-section,
  .clarity-section,
  .deliverables-section,
  .social-proof-section,
  .process-section,
  .proof-section,
  .service-area-section,
  .faq-section,
  .final-cta {
    border-top: 18px solid #e6ecee;
    box-shadow: inset 0 1px rgba(12, 34, 51, 0.12);
  }

  .symptom-section::before,
  .clarity-section::before,
  .deliverables-section::before,
  .social-proof-section::before,
  .process-section::before,
  .proof-section::before,
  .service-area-section::before,
  .faq-section::before,
  .final-cta::before {
    position: absolute;
    z-index: 2;
    top: -18px;
    left: 24px;
    width: 52px;
    height: 4px;
    background: var(--teal);
    content: '';
    pointer-events: none;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 72px;
  }

  .wordmark {
    font-size: 16px;
  }

  .button-small {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .header-cta {
    min-width: 0;
    min-height: 44px;
    padding: 8px 14px;
  }

  .header-cta strong {
    font-size: 13px;
  }

  .header-cta small {
    display: none;
  }

  .hero-copy {
    min-height: 0;
    padding: 42px 24px 48px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 3rem);
    overflow-wrap: break-word;
  }

  .process-title h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .hero-lede {
    margin: 22px 0 26px;
  }

  .button-wide {
    width: 100%;
  }

  .microcopy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-media {
    min-height: clamp(280px, 76vw, 390px);
  }

  .hero-media img {
    object-position: 47% center;
  }

  .proof-band {
    padding: 12px 24px;
    grid-template-columns: 1fr;
  }

  .review-signal {
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .review-score {
    flex-direction: column;
    gap: 4px;
  }

  .review-signal blockquote,
  .review-signal cite {
    grid-column: auto;
    text-align: center;
  }

  .proof-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .proof-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 40px, var(--max));
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .symptom-layout,
  .clarity-section,
  .deliverables-section,
  .proof-section,
  .social-proof-section,
  .service-area-section {
    grid-template-columns: 1fr;
  }

  .featured-review {
    min-height: 390px;
    padding: 42px 30px;
  }

  .review-rail {
    grid-template-columns: 1fr;
  }

  .review-rail article {
    min-height: 0;
    padding: 28px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-rail article:last-child {
    border-bottom: 0;
  }

  .review-rail footer {
    grid-template-columns: auto 1fr;
  }

  .trusted-by {
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .symptom-layout {
    gap: 24px;
  }

  .symptom-visual {
    min-height: 400px;
    padding: 28px;
  }

  .symptom-option {
    min-height: 58px;
    font-size: 16px;
  }

  .clarity-section {
    padding: 78px 20px;
  }

  .structure-diagram {
    order: -1;
  }

  .deliverables-list {
    grid-template-columns: 1fr;
  }

  .report-visual {
    width: 100%;
  }

  .process-section {
    padding: 72px 20px;
  }

  .process-content {
    margin-top: 36px;
  }

  .process-visual,
  .process-visual img {
    min-height: 280px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 140px;
    padding: 22px 10px 22px 62px;
    border-top: 1px solid #ccd9de;
    border-left: 0;
  }

  .process-list li > span {
    position: absolute;
    top: 24px;
    left: 10px;
  }

  .service-area-visual,
  .service-area-visual img {
    min-height: 240px;
  }

  .license-block dl {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 42px 30px;
  }

  .faq-section {
    gap: 28px;
  }

  .final-cta {
    gap: 36px;
    padding: 72px 24px;
  }

  .footer-main {
    gap: 16px;
    padding-top: 30px;
    padding-bottom: 30px;
    grid-template-columns: 1fr;
  }

  .footer-nav,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  *, *::before, *::after { transition: none !important; }
}
