/*
  DEXAlab Philly website: the design of the dexalab.com WordPress site.
  The values come from the Elementor styles of that site (November 2026).
  Only a location website with a content folder loads this file. See content/README.md.
*/

:root {
  --cream: #fff7eb;
  --sand: #eee6d3;
  --taupe: #726458;
  --taupe-dark: #948171;
  --green: #345041;
  --ink: #29251c;
  --card: #fcf4e6;
  --font: "avenir-next-lt-pro", Inter, "Nunito Sans", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--taupe);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font); }
h1 { font-size: 70px; line-height: 77px; font-weight: 800; letter-spacing: -1.2px; color: #fff; }
h2 { font-size: 32px; line-height: 38px; font-weight: 500; letter-spacing: -1.4px; }
h3 { font-size: 24px; line-height: 22px; font-weight: 500; }
p { font-size: 16px; line-height: 24px; }
strong { font-weight: 700; }
ul { padding: 0; list-style: none; }
.txt p, .txt ul { margin-bottom: 0.9rem; }
.txt ul { margin-bottom: 20px; }
.text .txt > :last-child, .why-card .txt > :last-child, .txt p.tight { margin-bottom: 0; }
.spacer-15 { height: 15px; margin-top: -20px; }

/* Layout */

.w { padding: 0 30px; }
.in { max-width: 1140px; margin: 0 auto; }
.wide { max-width: 1380px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.center { text-align: center; }
.white, .white h2, .white h3, .white p, .white li { color: #fff; }
.taupe h2, .taupe h3, .taupe p { color: var(--taupe); }
.w800 { font-weight: 800; }
.w700 { font-weight: 700; }
.w600 { font-weight: 600; }
h2.w500, .intro-center h2.w500 { font-weight: 500; }
.photo-stack .glass h2.w700 { font-weight: 700; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  align-self: flex-start;
  padding: 12px 40px;
  border-radius: 60px;
  background: var(--green);
  color: var(--sand);
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s;
}
.btn:hover, .btn:focus-visible { transform: scale(1.02); }
.btn svg { width: 11px; height: 11px; fill: currentColor; }
.center > .btn, .btn-center { align-self: center; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; }
.center .actions { justify-content: center; }

/* HSA / FSA notice (noticeBanner in site.mjs) */

.notice-banner {
  position: relative;
  z-index: 20;
  padding: 8px 16px;
  background: var(--green);
  color: var(--sand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Sale banner and its dialog (promoBanner and promoDialog in site.mjs, public/promo.js) */

.promo-banner { position: relative; z-index: 21; background: var(--ink); text-align: center; }
.promo-banner a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  padding: 10px 16px;
  color: var(--sand);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
}
.promo-banner strong { font-weight: 800; letter-spacing: 0.08em; color: #fff; }
.promo-banner span { text-decoration: underline; text-underline-offset: 3px; }
.promo-banner svg { width: 11px; height: 11px; fill: currentColor; }
.promo-banner a:hover span, .promo-banner a:focus-visible span { color: #fff; }
.promo-banner a:focus-visible { outline: 2px solid var(--sand); outline-offset: -4px; }
.promo-open { overflow: hidden; }
.promo-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  height: min(880px, calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.promo-dialog::backdrop { background: rgba(41, 37, 28, 0.6); }
.promo-dialog-box { display: flex; flex-direction: column; height: 100%; }
.promo-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; background: var(--ink); }
.promo-dialog-head h2 { color: #fff; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
.promo-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 400 26px/1 var(--font);
  cursor: pointer;
}
.promo-close:hover, .promo-close:focus-visible { background: rgba(255, 255, 255, 0.15); outline: 2px solid var(--sand); outline-offset: 2px; }
.promo-dialog iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #fff; }
.promo-dialog-foot { padding: 10px 24px; font-size: 14px; text-align: center; }
.promo-dialog-foot a { color: var(--green); }

/* Staging banner */

.site-banner {
  position: relative;
  z-index: 20;
  padding: 8px 16px;
  background: #8a3b12;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* Header */

.site-header { position: relative; z-index: 10; margin: 20px 0 -96px; padding: 0 30px; }
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 15px 60px;
  border-radius: 20px;
  background: rgba(74, 71, 65, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-logo img { width: 200px; }
.header-bar > .btn { align-self: center; }
.header-bar > nav { display: flex; align-items: stretch; }
.header-bar > nav > a, .nav-group > button { white-space: nowrap; }
.header-bar > nav > a, .nav-group > button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 13px 20px;
  border: 0;
  background: none;
  color: #fff;
  font: 400 18px/20px var(--font);
  text-decoration: none;
  cursor: pointer;
}
.header-bar > nav > a::after, .nav-group > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sand);
  opacity: 0;
  transition: opacity 0.3s;
}
.header-bar > nav > a:hover, .header-bar > nav > a[aria-current="page"], .nav-group:hover > button, .nav-group:focus-within > button { color: var(--sand); }
.header-bar > nav > a:hover::after, .header-bar > nav > a[aria-current="page"]::after, .nav-group:hover > button::after, .nav-group:focus-within > button::after { opacity: 1; }
.nav-group { position: relative; display: flex; }
.nav-group > button svg { width: 11px; height: 11px; margin-left: 10px; fill: currentColor; }
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 100%;
  border-radius: 20px;
  background: var(--sand);
  white-space: nowrap;
}
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 13px 20px; color: #33373d; font-size: 16px; line-height: 20px; text-decoration: none; }
.nav-sub a:first-child { border-radius: 20px 20px 0 0; }
.nav-sub a:last-child { border-radius: 0 0 20px 20px; }
.nav-sub a:hover, .nav-sub a:focus-visible, .nav-sub a[aria-current="page"] { background: var(--taupe); color: var(--sand); }
.menu-toggle { display: none; }
.phone-only, .band-phone-photo { display: none; }

/* Hero */

.hero { padding: 0 30px 30px; }
.hero-home, .hero-roomy { padding-bottom: 60px; }
.hero-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 1380px;
  min-height: 700px;
  margin: 0 auto;
  padding: 80px 60px 40px;
  overflow: hidden;
  border-radius: 20px;
  background: url("/assets/wp/bg-hero.svg") center / cover;
}
.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 57% auto;
}
.hero-box > * { position: relative; }
.hero-home h1 { font-size: 90px; line-height: 90px; letter-spacing: -2.8px; }
.hero-box h2 { color: #fff; }

/* Section spacing */

.pad-60 { padding-top: 60px; padding-bottom: 60px; }
.pb-60 { padding-bottom: 60px; }
.pb-30 { padding-bottom: 30px; }

/* Intro (centered or two columns) */

.intro { padding-top: 40px; padding-bottom: 30px; }
.intro .in { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.intro-center { width: 100%; text-align: center; }
.intro-center h2 { max-width: min(852px, 75%); margin: 0 auto; font-weight: 700; }
.intro-center h3 { font-weight: 700; color: var(--taupe); }
.intro-center .txt { max-width: min(695px, 61%); margin: 0 auto; }
.intro.intro-wide { padding-bottom: 60px; }
.intro-narrow h2 { max-width: min(640px, 56%); }
.intro-small h2 { max-width: min(495px, 43%); }
.intro-small .txt { max-width: min(604px, 53%); }
.intro-center .lead { font-weight: 700; }
.intro-split { display: flex; align-items: flex-start; gap: 20px; width: 100%; }
.intro-split > .stack { flex: 0 0 560px; padding-right: 23px; }
.intro-split h2 { font-weight: 700; }
.lead { font-size: 16px; font-weight: 700; }
.text-list { padding-left: 40px; list-style: disc; }
.text-list li { font-size: 16px; line-height: 24px; }

/* Key markers card */

.markers {
  flex: 0 0 560px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px;
  border-radius: 25px;
  background: var(--taupe);
  color: #fff;
}
.markers h3 { font-size: 20px; line-height: 22px; color: #fff; white-space: pre; }
.marker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(196, 182, 165, 0.2);
}
.marker-label { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 27px; text-transform: uppercase; color: #fff; }
.marker-label img { width: 24px; height: 24px; }
.marker-value { display: flex; align-items: flex-end; gap: 5px; color: #fff; }
.marker-value b { font-size: 30px; line-height: 30px; font-weight: 700; }
.marker-value span { font-size: 20px; line-height: 20px; }
.marker-grade {
  padding: 10px 20px;
  border: 2px solid #9de6c1;
  border-radius: 25px;
  background: #626b4c;
  color: #9de6c1;
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
}
.marker-grade.fair { border-color: #f9edbf; background: #926f37; color: #f9edbf; }
.markers-section { padding-top: 40px; padding-bottom: 60px; }
.markers-section .in { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.markers-section .markers { flex-basis: auto; width: 650px; }
.markers-section .marker { padding: 10px 30px; }

/* Glass cards on a photo (home: Go Beyond the Scale) */

.photo-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream) url("/assets/wp/bg-panel.svg") center / cover;
}
.photo-stack > img { position: absolute; top: 0; right: 0; width: 495px; height: auto; }
.glass {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 636px;
  max-width: 100%;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(213deg, rgba(238, 230, 211, 0.66) 0%, rgba(165, 147, 131, 0.71) 100%);
}
.glass h2, .glass p, .glass li, .glass h3 { color: #fff; }
.glass h3 { font-size: 18px; line-height: 22px; }
.glass .check-list svg { color: var(--green); }

.intro-figure { padding-top: 60px; padding-bottom: 60px; }
.intro-figure .wide { display: flex; gap: 40px; }
.intro-figure .stack { flex: 1 1 55%; min-width: 0; padding-right: 65px; }
.intro-figure .stack h2 { max-width: 553px; font-weight: 700; }
.intro-figure img { flex: 0 1 45%; min-width: 0; max-width: 603px; height: auto; align-self: flex-start; }

/* Glass card on a picture with a frame (bone density) */
.photo-stack-frame > img { top: 0; right: -31px; width: 704px; }
.photo-stack-frame .glass { width: 742px; background: rgba(238, 230, 211, 0.66) url("/assets/wp/bg-frame.svg") center / cover; }
.photo-stack-frame .glass h2 { font-weight: 500; }

/* Carousel (bone density reports). It scrolls sideways with snap points; no script is necessary. */
.carousel { padding-top: 40px; padding-bottom: 60px; }
.carousel .in { position: relative; display: flex; flex-direction: column; gap: 40px; }
.carousel h2 { font-weight: 800; color: var(--taupe); text-align: center; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track figure { flex: 0 0 100%; display: flex; justify-content: center; scroll-snap-align: center; }
.carousel-track img { height: 460px; width: auto; max-width: 100%; object-fit: contain; }
.carousel-dots { position: absolute; right: 0; bottom: -35px; left: 0; display: flex; justify-content: center; gap: 10px; }
.carousel-dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(114, 100, 88, 0.4); }

/* Report pictures */

.reports { padding-top: 40px; padding-bottom: 60px; }
.reports .wide { display: flex; flex-direction: column; gap: 40px; }
.reports h2 { font-weight: 800; color: var(--taupe); text-align: center; }
.report-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; }
.report-trio img { width: 100%; }
.report-trio img:first-child { transform: rotate(-4deg); }
.report-trio img:last-child { transform: rotate(4deg); }
.report-single { display: flex; justify-content: center; }
.report-single img { width: auto; max-width: 100%; max-height: 460px; }

/* Services (home) */

.services { padding-top: 60px; padding-bottom: 60px; background: url("/assets/wp/bg-band.svg") center / cover; }
.services .wide { display: flex; flex-direction: column; gap: 20px; }
.section-head .btn { align-self: center; }
.services .section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-bottom: 30px; text-align: center; }
.services .section-head p { max-width: 404px; }
.service-row { display: flex; gap: 40px; }
.service {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 600px;
  padding: 0 30px;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  text-decoration: none;
}
.service-glass {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  padding: 20px;
  border-radius: 20px 20px 0 0;
  background: rgba(0, 0, 0, 0.09);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.service-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 247, 235, 0.3); }
.service-title h3 { color: #fff; }
.service-title img { width: 28px; height: 28px; }
.icon-list li { display: flex; align-items: center; padding-bottom: 4px; color: var(--cream); font-size: 16px; line-height: 24px; }
.icon-list li + li { margin-top: 4px; }
.icon-list li:last-child { padding-bottom: 0; }
.icon-list li > img, .icon-list li > svg { flex: 0 0 auto; width: 24px; height: 24px; margin-right: 5px; }

/* Features (home: Why Choose) */

.features { padding-top: 40px; padding-bottom: 60px; }
.features .in { display: flex; flex-direction: column; gap: 20px; }
.features .section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-bottom: 30px; text-align: center; }
.features .section-head p { max-width: 640px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.feature { display: flex; flex-direction: column; }
.feature > img { width: 100%; height: 354px; object-fit: cover; border-radius: 30px; }
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: -90px 28px 0;
  padding: 0 30px 30px;
  border-radius: 20px;
  background: var(--taupe);
  text-align: center;
}
.feature-card > img { width: 51px; height: 51px; margin: -28px auto 0; }
.feature-card h3, .feature-card p { color: #fff; }

/* Audiences (home: Who is DEXAlab For?) */

.audiences { padding-bottom: 60px; }
.audience-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  overflow: hidden;
  border-radius: 20px;
  background: url("/assets/wp/bg-panel.svg") center / cover;
}
.audience-intro { display: contents; }
.audience-box > .audience-intro > img { position: absolute; top: 0; right: -81px; width: 596px; }
.audience-intro > .stack, .audience-card { position: relative; width: 636px; max-width: 100%; }
.audience-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(114, 100, 88, 0.55);
  color: #fff;
  text-decoration: none;
}
.audience-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 32px; color: #fff; font-weight: 600; }
.audience-card h3 img { width: 28px; height: 28px; }
.audience-card p { color: #fff; }

/* Steps (home: How Does It Work?) */

.howto { padding: 0 20px 60px; }
.howto .in { max-width: 558px; display: flex; flex-direction: column; gap: 20px; }
.howto h2 { font-weight: 800; color: var(--taupe); }
.howto .subhead { font-weight: 400; color: var(--taupe); }
.step-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--sand);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 4px 160px rgba(0, 0, 0, 0.09);
}
.step-card > img { flex: 0 0 auto; width: 49px; height: 49px; }
.step-card h3 { margin: 8px 0 5px; font-size: 24px; line-height: 22px; font-weight: 500; color: var(--taupe); }
.step-card p { color: var(--taupe); }

/* Band: a wide gradient panel with a card and a photo (Who is X for?, Are You Training Hard?) */

.band { padding: 60px 0 0; }
.band.band-tight { padding-top: 0; }
.band-box {
  position: relative;
  padding: 0 0 60px;
  border-radius: 20px;
  background: linear-gradient(260deg, var(--sand) 0%, var(--taupe) 100%);
}
.band-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image: var(--band-image, none);
  background-position: var(--band-position, bottom right);
  background-repeat: no-repeat;
  background-size: var(--band-size, 45%) auto;
}
.band-inner { position: relative; max-width: 1140px; margin: 0 auto; padding-top: 60px; }
.band-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: var(--card-width, 50%);
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(213deg, rgba(238, 230, 211, 0.66) 0%, rgba(165, 147, 131, 0.71) 100%);
}
.band-card h2, .band-card p, .band-card li, .band-card h3 { color: #fff; }
.band-card h2.w700 { font-weight: 700; }
.band-card .text { padding-right: 65px; }
.band-card h3 { font-size: 18px; line-height: 22px; }
.band-photo { position: absolute; right: 0; bottom: 0; }

.band-full { position: relative; padding: 0 30px; overflow: hidden; border-radius: 20px; background: linear-gradient(260deg, var(--sand) 0%, var(--taupe) 100%); }
.band-full .band-inner { padding: 60px 0; }
.band-full .band-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--band-image, none);
  background-position: var(--band-position, bottom right);
  background-repeat: no-repeat;
  background-size: var(--band-size, 45%) auto;
}
.band-full .band-card { position: relative; z-index: 1; }
.band-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--band-image, none);
  background-position: var(--band-position, center right);
  background-repeat: no-repeat;
  background-size: var(--band-size, 33%) auto;
}
.band-wide .band-inner::before { display: none; }
.band-full > img { position: absolute; bottom: 0; left: calc(50% + var(--photo-left, 15px)); width: var(--photo-width, 787px); max-width: none; }

/* Lists with circles and checks */

.circle-list li, .check-list li { display: flex; align-items: center; padding-bottom: 3px; font-size: 16px; line-height: 24px; }
.circle-list li + li, .check-list li + li { margin-top: 3px; }
.circle-list li:last-child, .check-list li:last-child { padding-bottom: 0; }
.circle-list svg, .check-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-right: 5px; fill: currentColor; }
.check-list img { flex: 0 0 auto; width: 24px; height: 24px; margin-right: 8px; align-self: flex-start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.two-col > ul { display: flex; flex-direction: column; }

/* Panel: a card on a gradient and a photo, side by side (What Does X Measure?) */

.panel { padding-top: 30px; padding-bottom: 60px; }
.panel.flush { padding-top: 0; }
.panel.roomy { padding-top: 60px; }
.panel-photo.bottom { background-position: bottom center; }
.intro-center > .btn { align-self: center; }
.panel .wide { display: flex; gap: 40px; }
.panel-card {
  flex: 1 1 671px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(213deg, rgba(238, 230, 211, 0.66) -50%, rgba(165, 147, 131, 0.92) 63%);
}
.panel-card h2 { font-weight: 700; color: #fff; }
.panel-card p, .panel-card li, .panel-card h3 { color: #fff; }
.panel-card .text { padding-right: 65px; }
.panel-card .icon-list li { padding-bottom: 2.5px; color: #fff; }
.panel-card .icon-list li + li { margin-top: 5.5px; }
.panel-card .icon-list img { width: 32px; height: 32px; }
.panel-card h3 { font-size: 18px; line-height: 22px; }
.panel-photo { flex: 1 1 669px; border-radius: 20px; background-position: center; background-size: cover; min-height: 400px; }

/* Why choose: a centered card with outlined pills */

.why { padding-top: 60px; padding-bottom: 60px; }
.why .in { display: flex; justify-content: center; }
.why-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 728px;
  max-width: 100%;
  padding: 60px 40px;
  border: 1px solid var(--sand);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 4px 160px rgba(0, 0, 0, 0.09);
  text-align: center;
}
.why-card h2 { font-weight: 800; color: var(--taupe); }
.why-card p { color: var(--taupe); }
.why-card .lead { font-weight: 700; }
.pill { padding: 10px; border: 1px solid rgba(114, 100, 88, 0.39); border-radius: 25px; font-size: 18px; line-height: 22px; color: var(--taupe); }
.why-card .pills { display: flex; flex-direction: column; gap: 20px; }

/* What to expect: steps beside text on a gradient */

.expect { padding: 0 30px; overflow: hidden; border-radius: 20px; background: linear-gradient(260deg, var(--sand) 0%, var(--taupe) 100%); }
.expect-inner { display: flex; gap: 40px; max-width: 1140px; margin: 0 auto; padding: 60px 0; }
.expect-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.expect-copy h2, .expect-copy p { color: #fff; }
.expect-copy .text { padding-right: 65px; display: flex; flex-direction: column; gap: 20px; }
.expect-copy hr { width: 100%; margin: 15px 0; border: 0; border-top: 1px solid rgba(247, 241, 232, 0.3); }
.expect-copy .text { gap: 0; }
.expect-copy .text > .txt:first-child { margin-bottom: 20px; }
.expect-copy .text > hr + .txt { margin-top: 20px; }
.expect-steps { flex: 1; display: flex; flex-direction: column; }
.expect-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  border: 1px solid var(--sand);
  border-radius: 20px;
  background: rgba(114, 100, 88, 0.41);
  box-shadow: 0 4px 160px rgba(0, 0, 0, 0.09);
}
.expect-step > img { flex: 0 0 49px; width: 49px; height: 49px; }
.expect-step > div { display: flex; flex-direction: column; justify-content: center; min-height: 62px; }
.expect-step small { display: block; margin-bottom: 4px; font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; }
.expect-step p { font-size: 18px; line-height: 27px; color: #fff; }
.expect-gap { display: block; width: 2px; height: 20px; margin-left: 36px; background: var(--sand); }

/* Visit */

.visit-bar-wrap { padding: 60px 0 40px; }
.visit-bar {
  display: flex;
  align-items: center;
  gap: 49px;
  padding: 40px 0;
  border-radius: 20px;
  background: url("/assets/wp/bg-bar.svg") center / cover;
}
.visit-bar h2 { flex: 0 0 437px; padding-left: 40px; font-weight: 800; color: #fff; }
.visit-bar p { flex: 1; max-width: 440px; color: #fff; font-size: 18px; line-height: 27px; }
.visit-row { display: flex; gap: 40px; padding-bottom: 60px; }
.visit-card {
  flex: 0 0 442px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--taupe) 0%, #c4b6a5 100%);
}
.visit-card h3 { font-size: 20px; line-height: 22px; font-weight: 600; text-transform: uppercase; color: #fff; }
.visit-card .contact-list li + li { margin-top: 3.5px; }
.visit-card .contact-list li { display: flex; align-items: center; padding-bottom: 7.5px; font-size: 16px; line-height: 24px; color: #fff; }
.visit-card .contact-list img { width: 24px; height: 24px; margin-right: 5px; }
.visit-card .contact-list a { color: #fff; text-decoration: none; }
.visit-card .hours li { padding-bottom: 5px; font-size: 16px; line-height: 24px; color: #fff; }
.visit-card .hours li + li { margin-top: 5px; }
.visit-card .gap { height: 30px; }
.visit-map { position: relative; flex: 1; min-height: 606px; overflow: hidden; border-radius: 20px; }
.visit-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-map .btn { position: absolute; left: 20px; bottom: 20px; }
.visit-map small { position: absolute; right: 0; bottom: 0; padding: 2px 6px; background: rgba(255, 255, 255, 0.8); color: #333; font-size: 11px; }

/* Closing call to action (Ready to ...?) */

.closing { padding-top: 20px; padding-bottom: 60px; }
.closing.roomy { padding-top: 60px; }
.closing .in { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 818px; text-align: center; }
.closing h2 { font-weight: 700; color: var(--taupe); }
.closing .lead { font-weight: 400; }
/* The button at the bottom of a page is under the centered text, so it is centered too. */
.closing .in > .btn, .closing .in > .actions { align-self: center; justify-content: center; }
.closing .txt { max-width: 640px; }

/* Home: Ready to Know Your Body Better? */

.cta { padding-top: 60px; padding-bottom: 40px; }
.cta.flush { padding-top: 0; }
.cta-box { display: flex; min-height: 410px; overflow: hidden; border-radius: 20px; background: url("/assets/wp/bg-wide.svg") center / cover; }
.cta-copy { flex: 0 0 45%; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 0 80px 0 40px; }
.cta-copy h2 { font-weight: 600; color: #fff; }
.cta-copy p { color: #fff; }
.cta-photo { flex: 1; border-radius: 20px; background-position: center; background-size: cover; }

/* Home: Testimonials */

.reviews { padding-top: 100px; padding-bottom: 60px; }
.reviews .in { display: flex; flex-direction: column; gap: 20px; }
.reviews-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 240px;
  margin-bottom: -89px;
  padding: 30px 0 30px 30px;
  border-radius: 20px 20px 0 0;
  background: url("/assets/wp/reviews-head.webp") center / cover;
}
.reviews-head h2 { font-weight: 800; color: var(--taupe); }
.reviews-head h3 { color: var(--taupe); }
.reviews-body { position: relative; min-height: 695px; padding-bottom: 40px; border-radius: 20px; background: url("/assets/wp/reviews-runner.webp") center / cover; }
.review {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 536px;
  padding: 45px 25px 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #333;
  text-align: center;
}
.review:nth-child(1) { top: 0; left: -50px; background: rgba(255, 255, 255, 0.62); }
.review:nth-child(2) { top: 191px; right: -50px; }
.review:nth-child(3) { top: 383px; left: 60px; }
.review > img { position: absolute; top: -25px; left: calc(50% - 25px); width: 50px; height: 50px; border-radius: 50%; }
.review h4 { font-size: 18px; line-height: 18px; font-weight: 500; color: #333; }
.review .tag { font-size: 15px; line-height: 22.5px; font-weight: 700; color: #333; }
.review p { font-size: 15px; line-height: 22.5px; color: #333; }
.review blockquote { margin: 0; }

/* Learn more: a card beside a photo with a label, on a full-width gradient */

.help { padding: 0 30px; border-radius: 20px; background: linear-gradient(260deg, var(--taupe) 0%, var(--sand) 100%); }
.help-inner { position: relative; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 53px; max-width: 1380px; margin: 0 auto; padding: 60px 0; }
.help-inner::before { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; background-position: 37px 0; background-size: 39% auto; }
.help-card { position: relative; flex: 0 0 60%; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 20px; background: rgba(238, 230, 211, 0.66) url("/assets/wp/bg-frame.svg") center / cover; }
.help-card p, .help-card li, .help-card h3 { color: #fff; }
.help-card h3 { font-size: 18px; line-height: 22px; font-weight: 500; }
.help-intro { padding-right: 102px; }
.help-card .check-list svg { color: var(--green); }
.help-label h2 { font-size: 28px; line-height: 34px; }
.help-label { position: relative; flex: 0 0 26%; margin-left: 140px; padding: 20px; border-radius: 20px; background: rgba(114, 100, 88, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: center; }
.help-label h2 { color: #fff; }

/* Glass card on the left or the right of a picture */
.photo-stack.card-end { align-items: flex-end; }

/* Body composition: "What is" cards */

.whatis { padding: 0 0 20px; }
.whatis-box { position: relative; display: flex; gap: 20px; min-height: 400px; padding: 30px; overflow: hidden; border-radius: 20px; background: url("/assets/wp/bg-tall.svg") center / cover; }
.whatis-box.reverse { flex-direction: row-reverse; }
.whatis-copy { position: relative; flex: 0 0 60%; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 20px; background: linear-gradient(213deg, rgba(238, 230, 211, 0.66) 0%, rgba(165, 147, 131, 0.71) 100%); }
.whatis-copy h2 { font-weight: 700; color: #fff; }
.whatis-copy p, .whatis-copy li, .whatis-copy h3 { color: #fff; }
.whatis-copy h3 { font-size: 18px; line-height: 22px; }
.whatis-photo { flex: 1; position: relative; }
.whatis-photo img { position: absolute; bottom: -30px; left: 50%; height: calc(100% + 60px); max-width: none; transform: translateX(-50%); }

/* Test prep */

.guide-bar { padding-bottom: 30px; }
.guide-bar .in { padding: 40px 0 40px 40px; border-radius: 20px; background: url("/assets/wp/bg-bar.svg") center / cover; }
.guide-bar h2 { font-weight: 700; color: #fff; }
.prep { padding-bottom: 60px; }
.prep .in { display: flex; gap: 40px; }
.prep.reverse .in { flex-direction: row-reverse; }
.prep-photo { flex: 0 0 calc(50% - 20px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 30px; border-radius: 20px; background-position: center; background-size: cover; }
.prep-photo > div { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 20px; background: rgba(114, 100, 88, 0.74); }
.prep-photo h2 { font-weight: 700; color: #fff; }
.prep-photo p { color: #fff; }
.prep-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 30px; }
.prep-copy h2 { color: var(--taupe); }
.prep-copy li { color: var(--taupe); }
.prep-copy .check-list li { align-items: flex-start; }

/* Science articles */

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; }
.article-card { display: flex; flex-direction: column; gap: 20px; color: var(--taupe); text-decoration: none; }
.article-photo { display: block; height: 217px; border-radius: 20px; background-position: center; background-size: cover; }
.article-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.article-title h3 { font-size: 18px; line-height: 22px; font-weight: 500; color: var(--taupe); }
.article-title img { flex: 0 0 28px; }

/* Contact page */

.contact-page { padding: 132px 30px 20px; }
.contact-page .in { display: flex; flex-direction: column; align-items: flex-start; }
.contact-page h1 { margin-bottom: 16px; color: #333; font-size: 90px; line-height: 108px; letter-spacing: -2.8px; }
.contact-page h2 { margin: 0 0 16px; color: #333; }
.contact-page h2 + .txt, .contact-page h2 + p { margin-top: -2px; }
.contact-page p, .contact-page a { color: #333; }
.contact-page .contact-book-line { margin-top: 26px; }
.contact-page a.contact-book { display: inline-block; padding: 10px 0; color: var(--green); }
.contact-page .txt p { margin-bottom: 14px; }

/* Contact page: the introduction and a photo, then the contact details beside the form. */
.contact-page { padding-bottom: 60px; }
.contact-page .in { align-items: stretch; }
.contact-head { display: flex; align-items: center; gap: 60px; }
.contact-intro { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.contact-intro h1 { margin-bottom: 4px; }
.contact-sub { margin-bottom: 30px; color: var(--taupe); font-size: 26px; line-height: 32px; font-weight: 500; }
.contact-intro .btn { margin-top: 10px; color: var(--sand); }
.contact-page .contact-photo { flex: 0 0 auto; width: 380px; max-width: 38%; margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; align-items: start; margin-top: 50px; }
.contact-card { flex: none; gap: 16px; }
.contact-card .contact-list li { align-items: flex-start; }
.contact-card .contact-map { align-self: flex-start; color: #fff; font-weight: 600; text-underline-offset: 3px; }
.contact-card .gap { height: 10px; }
.contact-form-card { padding: 40px; border: 1px solid var(--sand); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(114, 100, 88, 0.08); }
.contact-page .contact-form-card h2 { margin: 0; color: var(--taupe); font-weight: 700; }
.contact-form-card > p { margin-top: 20px; }
.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { color: #33373d; font-size: 15px; line-height: 20px; font-weight: 600; }
.contact-optional { font-weight: 400; color: var(--taupe); }
.contact-field input, .contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbbfae;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/24px var(--font);
}
.contact-field textarea { min-height: 150px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-page .contact-help { color: var(--taupe); font-size: 14px; line-height: 21px; }
.contact-help a { color: var(--green); }
.contact-form .btn { border: 0; font-family: var(--font); cursor: pointer; }
.contact-notice { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.contact-page .contact-notice-ok { border: 1px solid #9cc3a9; background: #e6f0e8; color: var(--green); }
.contact-page .contact-notice-error { border: 1px solid #e0a68c; background: #fbebe4; color: #8a3b12; }

/* Prose: articles and legal documents */

.prose { max-width: 818px; margin: 0 auto; padding: 40px 30px 60px; color: var(--taupe); }
.prose h2 { margin: 32px 0 12px; font-size: 28px; line-height: 34px; color: var(--taupe); }
.prose h3 { margin: 24px 0 10px; font-size: 20px; line-height: 26px; color: var(--taupe); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 8px; border: 1px solid var(--sand); text-align: left; vertical-align: top; }
.prose img { margin: 16px 0; border-radius: 20px; }
.prose-meta { color: var(--taupe); font-size: 14px; }

/* Footer */

.site-footer { padding: 60px 30px; background: linear-gradient(180deg, var(--taupe) 0%, var(--sand) 140%); color: #fff; }
.footer-inner { display: flex; flex-direction: column; gap: 50px; max-width: 1380px; margin: 0 auto; }
.footer-top { display: flex; gap: 20px; }
.footer-top > div:first-child { flex: 0 0 359px; }
.footer-col { flex: 0 1 231px; display: flex; flex-direction: column; gap: 20px; }
.footer-col h3 { font-size: 17px; line-height: 22px; font-weight: 600; text-transform: uppercase; color: #fff; }
.footer-col li + li, .footer-links li + li, .footer-visit li + li { margin-top: 7.5px; }
.footer-col a, .footer-links a { display: block; padding-bottom: 7.5px; color: #fff; font-size: 18px; line-height: 27px; text-decoration: none; }
.footer-col li:last-child a, .footer-links li:last-child a { padding-bottom: 0; }
.footer-col a:hover, .footer-links a:hover { color: var(--sand); }
.footer-col:nth-child(3) { flex-basis: 248px; }
.footer-col ul { max-width: 195px; }
.footer-bottom { display: flex; gap: 50px; min-height: 256px; }
.footer-bottom > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-bottom img.footer-logo { width: 248px; }
.footer-visit h3 { font-size: 20px; line-height: 22px; font-weight: 600; text-transform: uppercase; color: #fff; }
.footer-visit li { display: flex; align-items: center; padding-bottom: 7.5px; font-size: 18px; line-height: 27px; }
.footer-visit li img { width: 24px; height: 24px; margin-right: 5px; }
.footer-visit a { color: #fff; text-decoration: none; }
.footer-visit .hours li { display: block; padding-bottom: 0; font-size: 16px; line-height: 24px; }
.footer-visit .hours li + li { margin-top: 4px; }
.footer-legal { align-self: flex-end; color: #fff; font-size: 13px; line-height: 20px; }
.footer-legal a { color: #fff; }

/* Cookie banner (trackers.mjs) */

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 50;
  max-width: 560px;
  padding: 20px;
  border-radius: 20px;
  background: var(--taupe);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.cookie-banner p { margin: 0 0 12px; font-size: 14px; line-height: 21px; color: #fff; }
.cookie-banner a { color: #fff; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .button { padding: 10px 24px; border: 0; border-radius: 60px; background: var(--green); color: var(--sand); font: 400 15px/15px var(--font); cursor: pointer; }
.cookie-banner .button-quiet { background: transparent; border: 1px solid var(--sand); }
.cookie-banner[hidden], .cookie-banner [hidden] { display: none; }
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Tablet and phone */

/* Tablet (iPad), as on the WordPress site: the menu button, stacked cards, and no part wider than the screen. */
@media (max-width: 1024px) {
  .header-bar { flex-wrap: wrap; padding: 15px 30px; }
  .header-bar > .btn { margin-left: auto; }
  .menu-toggle { display: block; width: 33px; height: 24px; overflow: hidden; color: transparent; font-size: 0; background: linear-gradient(#fff, #fff) 0 3px / 100% 2px no-repeat, linear-gradient(#fff, #fff) 0 11px / 100% 2px no-repeat, linear-gradient(#fff, #fff) 0 19px / 100% 2px no-repeat; order: 3; }
  .menu-close { display: none; background: linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%); }
  .header-bar > nav { display: none; order: 4; }
  /* The "Menu" link targets #menu, so :target opens the menu without script. */
  .site-header:target .header-bar > nav { display: flex; flex-direction: column; width: 100%; padding: 10px 0; border-radius: 20px; background: var(--sand); }
  .site-header:target .header-bar > nav > a, .site-header:target .nav-group > button { color: #33373d; }
  .site-header:target .nav-group { flex-direction: column; }
  .site-header:target .nav-sub { position: static; display: block; background: none; }
  .site-header:target .nav-sub a { padding-left: 36px; }
  .site-header:target .menu-open { display: none; }
  .site-header:target .menu-close { display: block; }
  .service-row, .feature-grid { gap: 20px; }
  .intro-split > .stack { flex: 1 1 50%; }
  .markers { flex: 1 1 50%; min-width: 0; padding: 20px; }
  .markers-section .markers { width: 57%; min-width: 428px; }
  .marker, .markers-section .marker { padding: 10px 14px; }
  .marker-label { font-size: 12px; line-height: 18px; }
  .reports { overflow-x: clip; }
  .audience-intro > .stack, .audience-card { width: 60%; }
  .reviews-body { min-height: 948px; }
  .review:nth-child(1) { top: 0; left: 0; width: 62%; }
  .review:nth-child(2) { top: 329px; right: 0; width: 66%; }
  .review:nth-child(3) { top: 636px; left: 0; width: 69%; }
  .glass, .photo-stack-frame .glass { width: 60%; }
  .visit-card { flex: 0 0 38%; padding: 40px; }
  .carousel-track img { height: auto; max-height: 190px; }
  .photo-stack > img { max-width: 60%; }
  .footer-top > div:first-child { flex: 0 0 24.4%; min-width: 0; }
  .footer-top > div:first-child .btn { padding: 12px 20px; white-space: normal; }
  .footer-top > .footer-col { flex: 1 1 0; min-width: 0; }
  .footer-bottom > div { flex: 1 1 0; min-width: 0; }
  .footer-bottom img.footer-logo { width: 100%; max-width: 248px; }
  .expect-inner { gap: 20px; }
  .help-label { margin-left: 20px; }
  .intro-figure .stack { padding-right: 20px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: space-between; }
}

/* Laptop: the tilted report cards stay inside the screen. */
@media (max-width: 1440px) {
  .reports { overflow-x: clip; }
}

/* Laptop: the menu with "My Results" fits on one line. */
@media (min-width: 1025px) and (max-width: 1440px) {
  .header-bar { gap: 12px; padding: 15px 30px; }
  .header-logo img { width: 170px; }
  .header-bar > nav > a, .nav-group > button { padding: 13px 11px; font-size: 16px; }
  .nav-group > button svg { margin-left: 6px; }
  .header-bar > .btn { padding: 12px 24px; }
}
@media (max-width: 1024px) {
  .contact-head { gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { order: -1; }
}

/* Phone, as on the WordPress site (measured at 390px): full-width panels, 20px side space, and stacked cards. */
@media (max-width: 767px) {
  h1, .hero-home h1 { font-size: 35px; line-height: 35px; letter-spacing: -0.3px; }
  h2 { font-size: 24px; line-height: 28.8px; }
  h3 { font-size: 20px; line-height: 22px; }
  .w, .expect, .help { padding-left: 20px; padding-right: 20px; }

  /* Header and menu */
  .site-header { margin: 0 0 -56px; padding: 20px 20px 0; }
  .header-bar { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-logo img { width: 102px; }
  .header-bar > .btn { display: none; }
  .menu-toggle { margin-left: auto; background: linear-gradient(var(--taupe), var(--taupe)) 0 3px / 100% 2px no-repeat, linear-gradient(var(--taupe), var(--taupe)) 0 11px / 100% 2px no-repeat, linear-gradient(var(--taupe), var(--taupe)) 0 19px / 100% 2px no-repeat; }
  .menu-close { background: linear-gradient(45deg, transparent 46%, var(--taupe) 46%, var(--taupe) 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--taupe) 46%, var(--taupe) 54%, transparent 54%); }

  /* Hero: centered text, then the photo */
  .hero, .hero-home, .hero-roomy { padding: 0; }
  .hero-box { min-height: 0; padding: 104px 0 calc(66vw + 20px); justify-content: flex-start; align-items: center; text-align: center; }
  .hero-box h1, .hero-box h2 { width: 100%; max-width: none !important; }
  .hero-box h1 { letter-spacing: -1.2px; }
  .hero-home .hero-box h1 { letter-spacing: -0.3px; }
  .hero-box h2 { font-size: 20px; line-height: 24px; letter-spacing: -1.4px; padding: 0 4px; }
  .hero-box::before { background-size: 100% auto !important; background-position: bottom center !important; }
  .hero-box .btn { align-self: center; }

  /* Shared stacking */
  .intro-split, .intro-figure .wide, .panel .wide, .service-row, .expect-inner, .visit-row, .cta-box, .prep .in, .prep.reverse .in, .footer-top, .footer-bottom, .help-inner { flex-direction: column; }
  .feature-grid, .two-col, .article-grid, .marker-grid { grid-template-columns: 1fr; }
  .intro-split > .stack, .markers, .visit-card, .intro-figure .stack, .help-card, .help-label { flex: none !important; width: 100%; max-width: none; padding-right: 0; margin-left: 0; }
  .band-card .text, .panel-card .text, .expect-copy .text, .help-intro { padding-right: 0; }
  .intro, .intro.intro-wide { padding: 40px 0; }
  .intro-center h2, .intro-center .txt { max-width: none !important; }
  .intro-figure { padding: 40px 0; }
  .intro-figure img { width: 100%; max-width: 100%; }
  .intro-split > .stack { padding-right: 23px; }
  .markers h3 { padding: 0 10px; }

  /* Glass cards on a photo: full width, no photo */
  .w.pb-60 { padding: 40px 0; }
  .photo-stack { padding: 0; background: none; border-radius: 0; }
  .photo-stack > img { display: none; }
  .glass, .photo-stack-frame .glass { width: 100% !important; padding: 30px 20px; }
  /* Framed cards: the heading and a small photo on top, as on the WordPress site */
  .photo-stack.photo-stack-frame { position: relative; overflow: hidden; border-radius: 20px; }
  .photo-stack.photo-stack-frame > img { display: block; position: absolute; top: 0; right: 0 !important; left: auto !important; z-index: 1; width: 167px !important; height: 206px; object-fit: cover; object-position: top; }
  .photo-stack-frame .glass { padding: 60px 20px 50px; border-radius: 20px; }
  .photo-stack-frame .glass > h2 { max-width: 204px; min-height: 86px; margin-bottom: 80px; }

  /* Reports: one picture at a time */
  .reports { padding: 40px 0; }
  .reports .wide { gap: 20px; }
  .report-trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding: 0 20px 16px; scrollbar-width: none; }
  .report-trio::-webkit-scrollbar { display: none; }
  .report-trio img { flex: 0 0 100%; height: 298px; object-fit: contain; scroll-snap-align: center; transform: none !important; }
  .report-trio img:nth-child(2) { order: -1; }
  .report-single img { max-height: 300px; }

  /* Services */
  .services { padding: 40px 20px; }
  .services .section-head { align-items: flex-start; padding-bottom: 30px; text-align: left; }
  .services .section-head .btn { align-self: flex-start; }
  .service-row { gap: 40px; }
  .service { min-height: 513px; padding: 0 20px; }
  .service-glass { min-height: 0; }
  .service-title h3 { font-size: 16px; }

  /* Sample results card */
  .markers-section { padding: 40px 20px; }
  .markers, .markers-section .markers { width: 100%; min-width: 0; gap: 30px; padding: 30px 20px; }
  .markers h3 { padding: 0 10px; }
  .marker, .markers-section .marker { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 10px 20px; }
  .marker-label { grid-column: 1 / -1; }
  .marker-value b { font-size: 20px; line-height: 20px; }
  .marker-value span { font-size: 15px; line-height: 15px; }
  .marker-grade { padding: 10px; font-size: 14px; line-height: 14px; }
  .marker-grade.fair { padding: 8px; font-size: 15px; line-height: 15px; }

  /* Why choose (home features) */
  .features { padding: 40px 20px; }
  .features .section-head { padding-bottom: 30px; }
  .feature-grid { gap: 40px; }
  .feature > img { height: 225px; border-radius: 15px; }
  .feature-card { margin: -88px 17px 0; padding: 0 20px 20px; }
  .feature-card h3 { padding: 0 10px; }

  /* Who is DEXAlab for? Each card is its own box. */
  .audiences { padding: 0 0 40px; }
  .audience-box { padding: 0; gap: 20px; overflow: visible; background: none; border-radius: 0; }
  .audience-intro, .audience-card { border-radius: 20px; background: url("/assets/wp/bg-panel.svg") center / cover; }
  .audience-intro { display: flex; align-items: flex-end; min-height: 369px; padding: 30px 0 0 20px; overflow: hidden; }
  .audience-intro > .stack { flex: 1; width: auto; padding-bottom: 30px; }
  .audience-box > .audience-intro > img { position: static; display: block; order: 2; flex: 0 0 167px; width: 167px; }
  .audience-intro > .stack, .audience-card { width: 100%; }
  .audience-card { width: 100%; padding: 30px 20px; }
  .audience-card h3 { font-weight: 700; }
  .audience-card h3 > :first-child { max-width: 237px; }

  /* How does it work? */
  .howto { padding: 0 20px 60px; }
  .howto h2, .howto .subhead { text-align: center; }
  .step-card { flex-direction: column; gap: 20px; text-align: center; }
  .step-card h3 { margin-top: 0; font-size: 24px; }

  /* Bands: a full-width card, with the photo under the text */
  .band-full { padding: 0; }
  .band-full .band-inner { padding: 0; }
  .band-card { width: 100% !important; padding: 40px 20px calc(94vw + 20px); background: none; }
  .band-full .band-inner::before, .band-wide::before { top: auto; right: 5vw; left: 5vw; height: 94vw; background-size: contain; background-position: bottom center; }
  .band-full > img { display: none; }
  .band-photo .band-card { padding: 60px 20px 109px; }
  .band-photo .band-card > h2 { max-width: 204px; min-height: 58px; margin-bottom: 80px; }
  .band-bleed .band-inner::before, .band-bleed.band-wide::before { right: 0; left: 0; }
  .band-photo.band-wide::before { display: none; }
  .phone-only { display: inline; }
  .desktop-only { display: none; }
  .hero:not(.hero-home) .hero-box h2 { max-width: 251px !important; margin: 0 auto; }
  .prep { padding: 0 0 50px; }
  .prep.w { padding-left: 0; padding-right: 0; }
  .prep .in, .prep.reverse .in { gap: 0; }
  .prep-photo { min-height: 347px; border-radius: 20px 20px 0 0; }
  .prep-copy { padding: 40px 20px; border-radius: 0 0 20px 20px; background: linear-gradient(213deg, rgba(238, 230, 211, 0.66) 0%, rgba(165, 147, 131, 0.71) 100%); }
  .prep-copy h2, .prep-copy li { color: #fff; }
  .guide-bar { padding: 0 0 30px; }
  .guide-bar.w { padding-left: 0; padding-right: 0; }
  .guide-bar .in { padding: 40px 20px; }
  .contact-page { padding: 90px 10px 20px; }
  .contact-page .in { padding: 0; }
  .contact-page h1 { font-size: 35px; line-height: 42px; letter-spacing: -0.3px; }
  .contact-head { flex-direction: column; align-items: stretch; }
  .contact-sub { margin-bottom: 20px; font-size: 20px; line-height: 26px; }
  .contact-intro .btn { align-self: center; }
  .contact-page .contact-photo { width: 100%; max-width: 100%; max-height: 360px; object-fit: cover; object-position: top; }
  .contact-grid { gap: 20px; margin-top: 30px; }
  .contact-card { padding: 30px 20px; border-radius: 20px; }
  .contact-form-card { padding: 30px 20px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-form .btn { align-self: stretch; justify-content: center; }
  .promo-banner a { font-size: 14px; padding: 8px 12px; }
  .promo-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .promo-dialog-head h2 { font-size: 16px; line-height: 20px; }
  .band-full.band-photo > img { display: block; top: 0; bottom: auto; left: auto; right: 0; width: 167px; height: 178px; object-fit: cover; object-position: top; }

  /* Testimonials */
  .reviews { padding: 40px 20px; }
  .reviews-head { min-height: 240px; margin-bottom: -89px; padding: 40px 20px; }
  .reviews-body { min-height: 0 !important; padding: 150px 0 40px; background-size: 100% 150px; background-position: top center; background-repeat: no-repeat; }
  .review, .review:nth-child(n) { position: relative; inset: auto !important; width: auto; max-width: none; margin: 35px 0 0; padding: 45px 15px 15px; background: url("/assets/wp/bg-panel.svg") center / cover !important; }
  .review h4, .review p, .review .tag { color: #fff; }

  /* Panels and What to expect */
  .panel.w, .panel.w.flush, .panel.w.roomy { padding: 0 0 50px; }
  .panel .wide { gap: 40px; }
  .panel-card { padding: 40px 20px; }
  .panel-photo { min-height: 217px; flex: none; }
  .why.w { padding: 40px 20px; }
  .why-card { padding: 40px 20px; }
  .pill { font-size: 16px; }
  .expect { padding: 40px 20px; }
  .expect-inner { gap: 40px; padding: 0; }

  /* Visit */
  .visit.w { padding: 0; }
  .visit-bar-wrap { padding: 0; }
  .visit-bar { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 20px 20px; border-radius: 20px 20px 0 0; background: var(--taupe); }
  .visit-bar h2 { flex: none; padding: 0; }
  .visit-bar h2 br { display: none; }
  .visit-row { gap: 20px; padding-bottom: 40px; }
  .visit-card { padding: 20px 20px 40px; border-radius: 0 0 20px 20px; }
  .visit-map { margin: 0 20px; }
  .visit-map { min-height: 320px; }

  /* Call to action and closing */
  .cta { padding: 40px 0 0; }
  .cta-box { padding: 0 20px 40px; }
  .cta-copy { padding: 40px 0; align-items: center; text-align: center; }
  .cta-copy .btn { align-self: center; }
  .cta-photo { min-height: 236px; }
  .closing { padding: 40px 0; }
  .closing .in, .intro .in, .guide-bar .in, .contact-page .in { padding-left: 20px; padding-right: 20px; }

  /* Test prep and learn more */
  .prep-photo { flex-basis: auto; min-height: 400px; }
  .prep-copy { padding: 30px 0; }
  /* Learn more pages: the label and a small photo on top, the card under them */
  .help { padding: 0 0 40px; background: none; border-radius: 0; }
  .help-inner { gap: 0; padding: 0; }
  .help-label { position: relative; order: -1; min-height: 206px; margin: 0; padding: 60px 186px 60px 20px; border-radius: 20px 20px 0 0; background: linear-gradient(260deg, var(--taupe) 0%, var(--sand) 100%); -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; }
  .help-label h2 { font-size: 24px; line-height: 28.8px; }
  .help-label h2 br { display: none; }
  .help-inner::before { z-index: 1; inset: 0 0 auto auto; width: 167px; height: 206px; background-size: cover !important; background-position: top center !important; }
  .help-card { padding: 40px 20px 50px; border-radius: 0 0 20px 20px; }
  .carousel { padding: 40px 0; }
  .carousel-track img { height: auto; max-height: 180px; }
  .carousel-dots { bottom: -25px; }

  /* Footer: centered columns */
  .site-footer { padding: 40px 20px; text-align: center; }
  .footer-top { gap: 30px; }
  .footer-top > div:first-child { flex-basis: auto; }
  .footer-top .btn { align-self: center; }
  .footer-top > .footer-col { flex: none; }
  .footer-col ul { max-width: none; }
  .footer-bottom { min-height: 0; gap: 50px; }
  .footer-bottom > div { flex: none; align-items: center; }
  .footer-bottom > .footer-visit { order: -1; }
  .footer-visit li { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/*
  Sticky header (owner feedback, November 23, 2026): the logo at the top left stays on the screen on every page,
  and it opens the home page. The banners above the header scroll away. --header-solid goes from 0 (the glass
  bar of the WordPress site, at the top of the page) to 1 (a solid sand bar with dark text, after 120px of scroll),
  so the menu stays readable on light sections. A browser without scroll-driven animations shows the solid bar.
*/
@property --header-solid { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes header-solid { to { --header-solid: 1; } }
.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  --header-ink: color-mix(in srgb, #33373d calc(var(--header-solid) * 100%), #fff);
  --header-accent: color-mix(in srgb, var(--green) calc(var(--header-solid) * 100%), var(--sand));
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
}
@supports not (animation-timeline: scroll()) {
  .site-header { --header-solid: 1; }
}
/* A page with no dark hero (the contact page and the legal documents) shows the solid bar from the top. */
body:has(> main > .policy-hero) .site-header, body:has(> main > .contact-page) .site-header { animation: none; --header-solid: 1; }
.header-bar { background: color-mix(in srgb, rgba(238, 230, 211, 0.96) calc(var(--header-solid) * 100%), rgba(74, 71, 65, 0.2)); }
.header-bar > nav > a, .nav-group > button { color: var(--header-ink); }
.header-bar > nav > a:hover, .header-bar > nav > a[aria-current="page"], .nav-group:hover > button, .nav-group:focus-within > button { color: var(--header-accent); }
.header-bar > nav > a::after, .nav-group > button::after { background: var(--header-accent); }
/* The logo keeps its size. On a small laptop, the menu items get narrower, so the menu fits on one line. */
.header-logo { flex: 0 0 auto; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .header-logo img { width: 140px; }
  .header-bar > nav > a, .nav-group > button { padding: 13px 7px; font-size: 15px; }
  .nav-group > button svg { margin-left: 4px; }
  .header-bar > .btn { padding: 12px 18px; }
}
@media (max-width: 1024px) {
  .menu-toggle { background: linear-gradient(var(--header-ink), var(--header-ink)) 0 3px / 100% 2px no-repeat, linear-gradient(var(--header-ink), var(--header-ink)) 0 11px / 100% 2px no-repeat, linear-gradient(var(--header-ink), var(--header-ink)) 0 19px / 100% 2px no-repeat; }
  .menu-close { background: linear-gradient(45deg, transparent 46%, var(--header-ink) 46%, var(--header-ink) 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--header-ink) 46%, var(--header-ink) 54%, transparent 54%); }
  /* The open menu scrolls inside the header when it is taller than the screen. */
  .site-header:target .header-bar > nav { max-height: calc(100dvh - 110px); overflow-y: auto; }
  .site-header:target .header-bar > nav > a, .site-header:target .nav-group > button { color: #33373d; }
}
@media (max-width: 767px) {
  /* Phone: the header has no bar. It gets a cream background when the page scrolls, under the logo and the menu button. */
  .site-header { top: 0; padding-bottom: 12px; margin-bottom: -68px; background: color-mix(in srgb, rgba(255, 247, 235, 0.97) calc(var(--header-solid) * 100%), transparent); }
  .header-bar { background: none; }
  .menu-toggle { background: linear-gradient(var(--taupe), var(--taupe)) 0 3px / 100% 2px no-repeat, linear-gradient(var(--taupe), var(--taupe)) 0 11px / 100% 2px no-repeat, linear-gradient(var(--taupe), var(--taupe)) 0 19px / 100% 2px no-repeat; }
  .menu-close { background: linear-gradient(45deg, transparent 46%, var(--taupe) 46%, var(--taupe) 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--taupe) 46%, var(--taupe) 54%, transparent 54%); }
  .site-header:target .header-bar > nav { max-height: calc(100dvh - 80px); }
}

/* The title of the terms, the privacy policy, and the release (legal.mjs). The sticky header covers the top of the page, so the title starts below it. */
.policy-hero { max-width: 818px; margin: 0 auto; padding: 136px 30px 0; color: var(--taupe); }
.policy-hero .eyebrow { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.policy-hero h1 { color: var(--taupe); font-size: 48px; line-height: 54px; }
.policy-hero p { margin-top: 10px; font-size: 14px; }
@media (max-width: 767px) {
  .policy-hero { padding: 96px 20px 0; }
  .policy-hero h1 { font-size: 32px; line-height: 38px; }
}

/* The large sale button of the home page hero (site.promo.dealsLabel in locations.mjs) */
.btn-deals {
  padding: 16px 34px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(41, 37, 28, 0.35);
}
.btn-deals svg { width: 13px; height: 13px; }
@media (max-width: 767px) {
  .btn-deals { max-width: 100%; padding: 14px 24px; font-size: 16px; line-height: 20px; white-space: normal; text-align: center; }
}

/* Subscription page: the offer card and the box "Already have a subscription?" (renderers.subscription in sections.mjs) */
.plan { padding-top: 60px; padding-bottom: 60px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 30px; align-items: start; }
.plan-offer { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 20px; background: var(--card); }
.plan-offer h2 { color: var(--taupe); font-weight: 700; }
.plan-tag { align-self: flex-start; padding: 4px 14px; border-radius: 60px; background: var(--ink); color: #fff; font-size: 13px; line-height: 20px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 8px; color: var(--taupe); }
.plan-price b { color: var(--green); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -1px; }
.plan-price span { font-size: 18px; }
.plan-member { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 20px; background: var(--green); color: var(--sand); }
.plan-member h2 { color: #fff; font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.5px; }
.plan-member p { color: var(--sand); }
.plan-member a { color: #fff; }
.plan-link-form { display: flex; flex-direction: column; gap: 10px; }
.plan-link-form[hidden], .plan-link-fallback[hidden] { display: none; }
.plan-link-form label { color: #fff; font-size: 15px; font-weight: 700; }
.plan-link-form input { width: 100%; padding: 12px 16px; border: 1px solid var(--sand); border-radius: 12px; background: #fff; color: #33373d; font: 16px/22px var(--font); }
.plan-link-form input:focus-visible { outline: 3px solid var(--sand); outline-offset: 1px; }
.plan-member .btn { align-self: stretch; justify-content: center; border: 0; background: var(--sand); color: var(--green); font-family: var(--font); font-weight: 700; cursor: pointer; }
.plan-member .btn:disabled { opacity: 0.7; cursor: progress; }
.plan-link-status { padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 22px; }
.plan-link-status:empty { display: none; }
.plan-link-status.plan-link-ok { background: rgba(255, 255, 255, 0.14); color: #fff; }
.plan-link-status.plan-link-error { background: #f8e1d8; color: #6e2412; }
.plan-link-fallback { font-size: 15px; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-member { position: static; }
}
@media (max-width: 767px) {
  .plan { padding-top: 40px; padding-bottom: 40px; }
  .plan-offer { padding: 30px 20px; }
  .plan-member { padding: 30px 20px; }
  .plan-price b { font-size: 40px; line-height: 44px; }
}
