:root {
  --navy: #363637;
  --deep: #252527;
  --blue: #6f5f39;
  --text: #313238;
  --muted: #62646b;
  --gold: #b6a16a;
  --gold-soft: #e7ddbf;
  --cream: #e7e4d5;
  --soft: #f5f5f3;
  --line: #d8dee5;
  --page-gutter: clamp(40px, 7vw, 150px);
  --content-width: min(1280px, calc(100% - var(--page-gutter)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 rgba(37, 37, 39, 0.08);
}

.utility {
  height: 28px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.utility-inner {
  width: var(--content-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials,
.phones,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials span,
.footer-socials span {
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.phones {
  gap: 28px;
}

.nav {
  width: var(--content-width);
  height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo img {
  width: 310px;
  height: auto;
}

.logo {
  position: absolute;
  left: 0;
}

.nav-links {
  position: absolute;
  left: 350px;
  right: 150px;
  display: flex;
  align-items: center;
  gap: 48px;
  width: auto;
  justify-content: center;
  color: #172a51;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}

.nav-links a:nth-child(n+3)::after {
  display: none;
}

.nav-cta {
  position: absolute;
  right: -150px;
  padding: 11px 26px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: clamp(440px, 31vw, 560px);
  background: #ecece7 url("assets/hero-generated-clinical.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -92px;
  height: 175px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(78px, 6vw, 112px) 0 150px;
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 22px;
  color: var(--deep);
  font-size: clamp(42px, 3.25vw, 58px);
  line-height: 1.04;
  font-weight: 800;
}

.hero p {
  max-width: 470px;
  margin: 0 0 32px;
  color: #55565c;
  font-size: 18px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(37, 37, 39, 0.16);
}

.btn:hover {
  background: #18191b;
}

.section {
  padding: 110px 0;
}

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

h2 {
  color: var(--deep);
  font-size: clamp(34px, 2.25vw, 42px);
  line-height: 1.14;
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(78px, 8vw, 140px);
  align-items: center;
}

.media-copy h2 {
  width: min(520px, 100%);
  margin-bottom: 32px;
}

.media-copy img {
  width: min(520px, 100%);
  border-radius: 14px;
  border-bottom: 5px solid var(--gold);
}

.body-copy {
  padding: 40px 42px;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(182, 161, 106, 0.08), rgba(255, 255, 255, 0));
  color: #445066;
  font-size: 17px;
  line-height: 1.62;
}

.body-copy article {
  padding: 20px 0;
  border-bottom: 1px solid rgba(37, 37, 39, 0.09);
}

.body-copy article:first-child {
  padding-top: 0;
}

.body-copy article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.body-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: #8f783f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.body-copy p {
  margin-bottom: 0;
}

.specialties {
  position: relative;
  background: #f5f5f4;
  overflow: hidden;
}

.specialties::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: -82px;
  height: 150px;
  background: #fff;
  border-radius: 0 0 50% 50% / 0 0 60% 60%;
}

.specialty-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 8vw, 140px);
  align-items: start;
}

.specialty-copy h2 {
  max-width: 560px;
  margin-bottom: 22px;
}

.story-intro {
  max-width: 620px;
  margin-bottom: 24px;
  color: #445066;
  font-size: 17px;
  line-height: 1.55;
}

.specialty-copy ul {
  width: 620px;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 0;
  columns: 2;
  column-gap: 64px;
  list-style: none;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.specialty-copy li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  break-inside: avoid;
}

.specialty-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 10px;
}

.specialty-images {
  position: relative;
}

.specialty-images img {
  width: 430px;
  height: 430px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(182, 161, 106, 0.22);
}

.why {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 125px 0 130px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.wave-top {
  position: absolute;
  left: -5%;
  right: -5%;
  top: -78px;
  height: 145px;
  background: #f5f5f4;
  border-radius: 0 0 50% 50% / 0 0 48% 48%;
}

.section-heading {
  text-align: center;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: inherit;
  font-size: 16px;
}

.why .section-heading h2 {
  color: #fff;
}

.why .section-heading p {
  color: rgba(255, 255, 255, 0.84);
}

.why-grid {
  display: grid;
  grid-template-columns: 470px 1fr;
  gap: clamp(70px, 8vw, 130px);
  align-items: center;
}

.why-grid > img {
  border-radius: 8px;
  border-bottom: 5px solid var(--gold);
}

.features {
  display: grid;
  gap: 38px;
}

.features article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
}

.icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #c8d5df;
  font-size: 26px;
}

.features h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.features p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.52;
}

.benefits {
  padding-top: 82px;
}

.benefits .section-heading {
  margin-bottom: 36px;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  max-width: 980px;
  margin: 0 auto;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f4;
  border-top: 4px solid rgba(182, 161, 106, 0.75);
}

.benefit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 148px;
  left: 50%;
  width: 62px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  border: 6px solid #f6f6f4;
  font-size: 19px;
}

.card-body {
  padding: 52px 42px 38px;
  text-align: center;
}

.card-body h3 {
  max-width: 380px;
  margin: 0 auto 22px;
  color: var(--deep);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.card-body ul {
  min-height: 235px;
  margin: 0 0 28px;
  padding-left: 15px;
  text-align: left;
  color: #495568;
  font-size: 14px;
  line-height: 1.55;
}

.card-body li {
  margin-bottom: 12px;
}

.card-body a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #a5b1ba;
  border-radius: 999px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.testimonials {
  position: relative;
  min-height: 340px;
  padding: 105px 0 100px;
  background: #e6e3d5 url("assets/generated-values-bg.png") center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: -78px;
  height: 145px;
  background: #fff;
  border-radius: 0 0 50% 50% / 0 0 55% 55%;
}

.testimonials .container {
  position: relative;
}

.testimonials .container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(210px, 20vw, 340px);
  aspect-ratio: 170 / 186;
  transform: translate(-50%, -50%);
  background: url("assets/thrive-mark.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.values-mark {
  position: relative;
  z-index: 1;
  width: clamp(54px, 5vw, 82px);
  margin: 0 auto 18px;
  opacity: 0.72;
}

.testimonials::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 92px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.65;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  color: #7a673d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

blockquote {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 52px;
  color: var(--deep);
  font-size: clamp(24px, 1.7vw, 32px);
  line-height: 1.24;
  font-weight: 800;
}

.testimonials .btn {
  position: relative;
  z-index: 1;
}

.fibroscan {
  background: #f4f4f4;
  padding: 115px 0 170px;
}

.fibro-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.18fr);
  gap: clamp(54px, 6vw, 100px);
  align-items: center;
}

.fibro-grid h2 {
  font-size: clamp(34px, 2.25vw, 42px);
}

.fibro-grid h3 {
  color: var(--deep);
  font-size: 22px;
  font-weight: 800;
}

.fibro-grid p {
  color: #4f5c6d;
  font-size: 16px;
}

.workflow-intro {
  position: relative;
}

.workflow-intro > p {
  max-width: 560px;
  margin-bottom: 32px;
}

.workflow-intro img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(37, 37, 39, 0.13);
  border-bottom: 5px solid var(--gold);
}

.workflow-details {
  align-self: center;
}

.fibro-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.fibro-cards article {
  grid-column: span 3;
  min-height: 184px;
  padding: 28px 30px;
  border: 1px solid rgba(37, 37, 39, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(37, 37, 39, 0.06);
}

.fibro-cards .wide {
  grid-column: span 6;
  min-height: 150px;
}

.fibro-cards span {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(182, 161, 106, 0.16);
  color: #8f783f;
  font-size: 12px;
  font-weight: 800;
}

.fibro-cards h4 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.fibro-cards p,
.book {
  margin: 0;
  font-size: 14px;
}

.book {
  margin-bottom: 24px;
}

.closing-cta {
  position: relative;
  margin-top: -88px;
  padding-bottom: 44px;
  overflow: hidden;
}

.closing-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  right: -8%;
  top: 0;
  height: 180px;
  background: #f4f4f4;
  border-radius: 0 0 50% 50% / 0 0 72% 72%;
}

.cta-panel {
  min-height: 315px;
  width: min(1040px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 58px 82px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(37, 37, 39, 0.98) 0%, rgba(37, 37, 39, 0.84) 48%, rgba(37, 37, 39, 0.08) 100%), url("assets/generated-cta-bg.png") center / cover no-repeat;
  color: #fff;
}

.cta-panel h2 {
  max-width: 470px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 38px;
}

.cta-panel p {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.white-btn {
  background: #fff;
  color: var(--deep);
}

.footer {
  padding: 8px 0 42px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1.1fr 1fr 0.8fr;
  gap: 54px;
  align-items: start;
}

.footer-brand img {
  width: 240px;
  margin-top: 8px;
}

.footer h3 {
  margin: 0 0 9px;
  color: var(--deep);
  font-size: 16px;
  font-weight: 800;
}

.footer p,
.footer li,
.copyright {
  color: #4f5968;
  font-size: 14px;
  line-height: 1.65;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list-spaced {
  padding-top: 26px !important;
}

.copyright {
  width: var(--content-width);
  margin: 28px auto 0;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  min-height: 27px;
  padding: 5px 110px 5px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #23242a;
  color: #d7d9dd;
  font-size: 9px;
  text-align: center;
}

.cookie button {
  height: 17px;
  min-width: 35px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

@media (min-width: 1600px) {
  :root {
    --content-width: min(1440px, calc(100% - var(--page-gutter)));
  }

  .hero h1 {
    max-width: 650px;
  }

  .media-copy img {
    width: min(560px, 100%);
  }

  .why-grid {
    grid-template-columns: 520px 1fr;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 56px;
  }

  .nav {
    height: 92px;
  }

  .logo img {
    width: 255px;
  }

  .nav-links {
    left: 285px;
    right: 126px;
    gap: 30px;
    font-size: 12px;
  }

  .nav-cta {
    right: -126px;
    padding: 9px 20px;
  }

  .hero h1 {
    max-width: 500px;
    font-size: 42px;
  }

  .hero p {
    max-width: 420px;
    font-size: 16px;
  }

  .two-col {
    gap: 62px;
  }

  .media-copy img {
    width: min(440px, 100%);
  }

  .body-copy,
  .story-intro {
    font-size: 15px;
  }

  .specialty-copy ul {
    font-size: 13px;
    column-gap: 38px;
  }

  .specialty-images img {
    width: 360px;
    height: 360px;
  }

  .why-grid {
    grid-template-columns: 390px 1fr;
    gap: 58px;
  }

  .fibro-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
    gap: 48px;
  }

  .fibro-cards article {
    padding: 24px 24px;
  }

  .features h3 {
    font-size: 17px;
  }

  .features p,
  .section-heading p {
    font-size: 14px;
  }

  .benefit-cards {
    max-width: 900px;
  }

  .card-body h3 {
    font-size: 19px;
  }

  .card-body ul {
    font-size: 13px;
  }

  .cta-panel {
    width: min(940px, 100%);
  }
}

@media (max-width: 860px) {
  .container,
  .nav,
  .utility-inner,
  .copyright {
    width: min(100% - 32px, 620px);
  }

  .nav-links {
    display: none;
  }

  .nav {
    height: 82px;
  }

  .logo img {
    width: 220px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 430px;
    background-position: 58% center;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 28px;
  }

  .two-col,
  .specialty-grid,
  .why-grid,
  .fibro-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .body-copy {
    padding: 28px 26px;
  }

  .media-copy h2,
  .media-copy img {
    width: 100%;
  }

  .specialty-copy ul {
    columns: 1;
  }

  .specialty-images {
    min-height: auto;
  }

  .specialty-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2;
  }

  .why-grid {
    gap: 42px;
  }

  .why-grid > img {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .benefit-cards,
  .fibro-cards {
    grid-template-columns: 1fr;
  }

  .fibro-cards article,
  .fibro-cards .wide {
    grid-column: auto;
  }

  .workflow-intro img {
    max-height: none;
    aspect-ratio: 1.35;
  }

  .cta-panel {
    padding: 34px 28px;
    background: linear-gradient(90deg, rgba(37, 37, 39, 0.98), rgba(37, 37, 39, 0.72)), url("assets/generated-cta-bg.png") center / cover no-repeat;
  }

  .footer-list-spaced {
    padding-top: 0 !important;
  }

  .cookie {
    position: static;
    padding: 9px 16px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .utility {
    height: auto;
    padding: 6px 0;
  }

  .utility-inner,
  .phones {
    flex-direction: column;
    gap: 5px;
  }

  .section {
    padding: 62px 0;
  }

  .specialties::before {
    left: -24%;
    right: -24%;
    top: -48px;
    height: 104px;
    border-radius: 0 0 50% 50% / 0 0 38% 38%;
  }

  .specialty-copy {
    min-width: 0;
  }

  .specialty-copy h2,
  .story-intro,
  .specialty-copy li {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .specialty-copy h2 {
    margin-bottom: 18px;
  }

  .story-intro {
    font-size: 16px;
    line-height: 1.48;
  }

  .specialty-copy ul {
    width: 100%;
    font-size: 18px;
    line-height: 1.25;
  }

  .specialty-copy li {
    margin-bottom: 16px;
    padding-left: 22px;
  }

  .specialty-images {
    width: 100%;
    overflow: hidden;
  }

  .specialty-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center center;
    background: #f7f7f5;
  }

  .wave-top {
    left: 0;
    right: 0;
    top: -48px;
    height: 104px;
    transform: none;
    border-radius: 0 0 50% 50% / 0 0 38% 38%;
  }

  .closing-cta {
    margin-top: 0;
    padding-top: 48px;
    overflow: visible;
  }

  .closing-cta::before {
    left: 0;
    right: 0;
    height: 104px;
    transform: none;
    border-radius: 0 0 50% 50% / 0 0 38% 38%;
  }

  .cta-panel {
    position: relative;
    z-index: 1;
  }

  .hero {
    background-position: 55% center;
  }

  .hero::after {
    left: -24%;
    right: -24%;
    bottom: -48px;
    height: 104px;
    border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  }

  .hero-inner {
    padding-bottom: 112px;
  }

  .hero h1 {
    max-width: 260px;
    font-size: 25px;
  }

  h2 {
    font-size: 21px;
  }

  .features article {
    grid-template-columns: 28px 1fr;
  }
}
