/* ==========================================================================
   Laura Lam · The Health Detective
   Palette: navy headings/logo, beige & taupe grounds, dark grey body text
   ========================================================================== */

:root {
  --navy: #1E2B4A;
  --navy-soft: #2D3D62;
  --beige: #FFFFFF;
  --sand: #F5F0EA;
  --taupe: #B9A894;
  --taupe-deep: #7A6754;
  --text: #3A3A3C;
  --text-soft: #5C5B5E;
  --white: #FFFDFA;
  --line: rgba(30, 43, 74, 0.14);

  --font-head: "Belleza", "Optima", "Helvetica Neue", sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }

p { margin: 0 0 1.1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255, 253, 250, 0.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 1.2rem;
}
.section--navy .eyebrow { color: var(--taupe); }

.lead { font-size: 1.2rem; color: var(--text-soft); max-width: 38em; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1em 1.9em;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 4px;
}
.text-link:hover { border-color: var(--navy); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

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

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.nav a:not(.btn):hover { color: var(--taupe-deep); }
.nav .btn { padding: 0.85em 1.4em; color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--beige);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; width: auto; justify-content: center; border-bottom: 0; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .logo img { width: 160px; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(86vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
}
/* Photo sits on the right and fades in from the white page */
.hero__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 520px; padding: 80px 0; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 2.2rem; color: var(--text); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .stars { color: var(--taupe-deep); letter-spacing: 2px; }

@media (max-width: 1100px) {
  .hero__img { width: 70%; }
  .hero__content { max-width: 460px; }
}

@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__img {
    position: relative;
    width: 100%;
    height: 68vw;
    min-height: 260px;
    object-position: 60% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero__content { padding: 16px 0 56px; }
}

/* Split layouts ---------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.split--narrow-img { grid-template-columns: 5fr 6fr; }

.split__img { position: relative; }
.split__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.split__img--frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  z-index: -1;
}

@media (max-width: 860px) {
  .split, .split--narrow-img { grid-template-columns: 1fr; }
  .split__img--frame::before { inset: 14px -10px -14px 10px; }
}

/* Symptom checklist ------------------------------------------------------ */

.checklist { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; }
.checklist li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 25px;
  width: 14px;
  height: 7px;
  border-left: 1.5px solid var(--taupe-deep);
  border-bottom: 1.5px solid var(--taupe-deep);
  transform: rotate(-45deg);
}

/* Approach / method ------------------------------------------------------ */

.method-intro { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  counter-reset: step;
}
.step { border-top: 1px solid var(--taupe); padding-top: 28px; }
.step__num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--taupe-deep);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.step p { color: var(--text-soft); margin: 0; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Portrait video reel ---------------------------------------------------- */

.reel {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
}
.reel__text { padding-right: clamp(0px, 2vw, 24px); }
.reel__text h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.reel__text p { color: var(--text-soft); }
.reel__item {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.reel__item video { width: 100%; height: 100%; object-fit: cover; }
.reel__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(30, 43, 74, 0.7));
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .reel { grid-template-columns: repeat(3, 1fr); }
  .reel__text { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 560px) {
  .reel { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .reel__text { grid-column: 1 / -1; width: calc(100vw - var(--gutter) * 2); }
  .reel__item { scroll-snap-align: start; }
}

/* Conditions ------------------------------------------------------------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 14em; }
.section-head p { max-width: 30em; margin: 0; color: var(--text-soft); }

@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; } }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--beige);
  text-decoration: none;
  transition: background 0.3s;
}
.card:hover { background: var(--sand); }
.card h3 { margin-bottom: 0.6em; }
.card p { color: var(--text-soft); font-size: 0.98rem; flex: 1; }
.card .more {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}
.card:hover .more { color: var(--navy); }

.also-help {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.also-help a { color: var(--navy); text-decoration-color: var(--taupe); text-underline-offset: 4px; }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Testing ---------------------------------------------------------------- */

.test-list { list-style: none; padding: 0; margin: 2rem 0 2.4rem; }
.test-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.test-list li:first-child { border-top: 1px solid var(--line); }
.test-list a { display: flex; justify-content: space-between; gap: 16px; text-decoration: none; }
.test-list strong { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--navy); }
.test-list span { color: var(--text-soft); font-size: 0.95rem; text-align: right; }

@media (max-width: 520px) {
  .test-list a { flex-direction: column; gap: 2px; }
  .test-list span { text-align: left; }
}

/* About ------------------------------------------------------------------ */

.creds { list-style: none; padding: 0; margin: 1.8rem 0 2.4rem; display: grid; gap: 12px; }
.creds li { display: flex; gap: 14px; align-items: baseline; }
.creds li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--taupe-deep); transform: translateY(-4px); }

.signature { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); margin-top: 0.4rem; }

/* Testimonials ----------------------------------------------------------- */

.reviews-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; color: var(--taupe); font-size: 0.9rem; letter-spacing: 0.1em; }
.reviews-head .stars { letter-spacing: 3px; font-size: 1rem; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
}
.quote {
  margin: 0;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255, 253, 250, 0.16);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--taupe);
  margin-bottom: 18px;
}
.quote blockquote { margin: 0 0 24px; font-size: 1.02rem; line-height: 1.75; flex: 1; }
.quote figcaption { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }

@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; } }

/* International / time zones -------------------------------------------- */

.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 2.4rem 0 1rem;
}
.zone { background: var(--white); padding: 20px 16px; }
.zone__city { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-deep); }
.zone__hours { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); margin-top: 6px; white-space: nowrap; }
.zone--you { background: var(--navy); }
.zone--you .zone__city { color: var(--taupe); }
.zone--you .zone__hours { color: var(--white); }
.zones-note { font-size: 0.9rem; color: var(--text-soft); }

@media (max-width: 860px) { .zones { grid-template-columns: repeat(2, 1fr); } }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 1px; background: var(--taupe-deep); }
.points strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; color: var(--navy); margin-bottom: 2px; }

/* Lead magnet ------------------------------------------------------------ */

.magnet {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.magnet img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.magnet__body { padding: clamp(36px, 5vw, 72px); align-self: center; }
.magnet__body small { display: block; margin-top: 16px; color: var(--text-soft); font-size: 0.85rem; }

@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; } .magnet img { min-height: 0; aspect-ratio: 16 / 10; } }

/* Final CTA -------------------------------------------------------------- */

.cta-final { text-align: center; }
.cta-final h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.cta-final .lead { margin-bottom: 2.4rem; }
.cta-final .btn-row { justify-content: center; }
.spots { margin-top: 1.4rem; font-size: 0.9rem; color: var(--taupe-deep); letter-spacing: 0.04em; }

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--navy); color: rgba(255, 253, 250, 0.72); padding: 80px 0 36px; font-size: 0.95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-logo { width: 200px; margin-bottom: 22px; }
.social { display: flex; gap: 18px; margin-top: 20px; }
.footer-legal {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 253, 250, 0.14);
  display: grid;
  gap: 14px;
  font-size: 0.8rem;
  color: rgba(255, 253, 250, 0.55);
}
.footer-legal p { margin: 0; max-width: 72em; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll ------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.nav a[aria-current="page"]:not(.btn) { color: var(--taupe-deep); }

/* Page banner: text left, photo fading in from white on the right */
.page-hero {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__content { max-width: 600px; padding: clamp(64px, 9vw, 120px) 0; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.page-hero .lead { margin: 0; }
.page-hero__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
}
.page-hero--plain { background: var(--sand); border: 0; }
.page-hero--plain .page-hero__content { max-width: 760px; }

@media (max-width: 860px) {
  .page-hero__img { width: 100%; opacity: 0.18; -webkit-mask-image: none; mask-image: none; }
}

/* Long-form text */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--taupe-deep); }

.pull {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 2px solid var(--taupe);
  padding-left: 24px;
  margin: 2em 0;
}

/* Three-up feature row */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.feature { border-top: 1px solid var(--taupe); padding-top: 24px; }
.feature p { color: var(--text-soft); margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.plan {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
}
.plan--featured { background: var(--navy); border-color: var(--navy); color: rgba(255, 253, 250, 0.82); }
.plan--featured h3, .plan--featured .plan__price { color: var(--white); }
.plan--featured .eyebrow, .plan--featured .plan__per { color: var(--taupe); }
.plan h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.3em; }
.plan__price { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--navy); line-height: 1; margin: 18px 0 6px; }
.plan__per { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); }
.plan__best { margin: 22px 0 6px; font-weight: 500; }
.plan__options { font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 28px; font-size: 0.98rem; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.6;
}
.plan__note { font-size: 0.85rem; opacity: 0.8; }
.plan .btn { width: 100%; justify-content: center; margin-top: 8px; }
.plan--featured .btn { background: var(--white); border-color: var(--white); color: var(--navy); }
.plan--featured .btn:hover { background: var(--sand); }
.currency-note { margin-top: 28px; font-size: 0.9rem; color: var(--text-soft); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Accordions (FAQs, qualifications) */
.accordion { border-top: 1px solid var(--line); max-width: 860px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--taupe-deep);
  transition: transform 0.25s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding: 0 0 26px; max-width: 720px; color: var(--text-soft); }
.accordion .answer > :last-child { margin-bottom: 0; }
.accordion summary small { display: block; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-deep); margin-top: 4px; }

/* Test grid */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.test-card { background: #FFFFFF; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; text-decoration: none; }
.test-card h3 { margin-bottom: 0.5em; }
.test-card p { color: var(--text-soft); font-size: 0.98rem; flex: 1; }
a.test-card:hover { background: var(--sand); }
@media (max-width: 960px) { .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .test-grid { grid-template-columns: 1fr; } }

.tick-list { list-style: none; padding: 0; margin: 1.6rem 0; columns: 2; column-gap: 40px; }
.tick-list li { break-inside: avoid; position: relative; padding: 0 0 12px 28px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 11px; height: 6px; border-left: 1.5px solid var(--taupe-deep); border-bottom: 1.5px solid var(--taupe-deep); transform: rotate(-45deg); }
@media (max-width: 700px) { .tick-list { columns: 1; } }

.labs { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.labs li { border: 1px solid var(--line); border-radius: 100px; padding: 6px 16px; font-size: 0.88rem; color: var(--navy); background: #FFFFFF; }

/* Reviews wall */
.review-wall { columns: 3; column-gap: clamp(20px, 3vw, 32px); }
.review {
  break-inside: avoid;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: clamp(26px, 3vw, 36px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review .stars { color: var(--taupe-deep); letter-spacing: 3px; font-size: 0.9rem; }
.review blockquote { margin: 14px 0 18px; font-size: 0.98rem; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-deep); }
@media (max-width: 960px) { .review-wall { columns: 2; } }
@media (max-width: 600px) { .review-wall { columns: 1; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 4px; }
.contact-list a { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--taupe-deep); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band at the end of inner pages */
.cta-band { background: var(--navy); color: rgba(255, 253, 250, 0.82); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: var(--taupe); }
.cta-band .lead { color: rgba(255, 253, 250, 0.8); margin: 0 auto 2.2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 253, 250, 0.5); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--navy); }
.test-card .more { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-deep); }
a.test-card:hover .more { color: var(--navy); }

/* Currency switcher */
.currency { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 0 clamp(28px, 4vw, 40px); }
.currency__label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-deep); margin-right: 6px; }
.currency button {
  font: 500 0.82rem var(--font-body);
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #FFFFFF;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.currency button:hover { border-color: var(--navy); }
.currency button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.currency__label { width: auto; }
@media (max-width: 520px) { .currency__label { width: 100%; text-align: center; margin: 0 0 4px; } }

/* Generated content pages (conditions, DNA tests, approach) */
.content-block { max-width: 760px; }
.content-block--wide { max-width: 860px; }
.content-block h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.content-block > p:last-child { margin-bottom: 0; }

.lead-list { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: 16px; }
.lead-list li { position: relative; padding-left: 28px; }
.lead-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--taupe-deep); }
.lead-list strong { color: var(--navy); font-weight: 500; }

.tick-list--single { columns: 1; }

.steps-list { list-style: none; padding: 0; margin: 1.6rem 0; counter-reset: step; display: grid; gap: 18px; }
.steps-list li { counter-increment: step; position: relative; padding-left: 56px; min-height: 38px; padding-top: 6px; }
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  color: var(--navy);
  background: #FFFFFF;
}
.steps-list strong { color: var(--navy); font-weight: 500; }

.related {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-soft);
}
.related a { color: var(--navy); text-decoration-color: var(--taupe); text-underline-offset: 4px; }

.content-block a:not(.btn):not(.text-link):not(.card) { color: var(--navy); text-decoration-color: var(--taupe); text-underline-offset: 3px; }

.features--inline { margin-top: clamp(40px, 5vw, 64px); }

.cards--compact { margin-top: 1.8rem; }
.content-block .cards--compact { width: min(1104px, calc(100vw - var(--gutter) * 2)); }

/* Comparison tables */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-weight: 400; font-size: 1.1rem; color: var(--navy); background: var(--sand); }
.compare tbody th { font-weight: 500; color: var(--navy); width: 22%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Articles (blog posts, legal pages) */
.article { margin: 0 auto; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.article h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-top: 1.6em; }
.article > h2:first-child, .article > h3:first-child { margin-top: 0; }
.article a { color: var(--navy); text-decoration-color: var(--taupe); text-underline-offset: 3px; }
.article .lead-list, .article .tick-list, .article .steps-list { margin: 1rem 0 1.6rem; }

/* Blog index */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color 0.25s; }
.post-card:hover { border-color: var(--taupe); }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin-bottom: 0.5em; }
.post-card p { color: var(--text-soft); font-size: 0.97rem; flex: 1; }
.post-card .more { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-deep); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* Talks list on the speaking page */
.talks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.talk { background: #FFFFFF; padding: clamp(24px, 3vw, 34px); }
.talk h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.talk p { margin: 0; color: var(--text-soft); font-size: 0.97rem; }
@media (max-width: 700px) { .talks { grid-template-columns: 1fr; } }

.topic-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-list li { border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px; background: #FFFFFF; color: var(--navy); font-size: 0.95rem; }

/* Photo gallery (speaking page) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.5vw, 16px); margin-bottom: clamp(40px, 5vw, 64px); }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery__item--wide img { position: absolute; inset: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(transparent, rgba(30, 43, 74, 0.72));
  color: var(--white);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item--wide { aspect-ratio: 4 / 3; } }

/* Request options and forms */
.request-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.request-card, .request-form { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.request-card { background: var(--sand); border-color: transparent; }
.request-card p { color: var(--text-soft); }
.request-form h3 { margin-bottom: 1rem; }
.field { display: block; margin: 0 0 18px; border: 0; padding: 0; }
.field > span, .field legend { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 8px; padding: 0; }
.field input, .field textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label, .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.95rem; }
.checks input, .consent input { accent-color: var(--navy); margin-top: 0.3em; }
.consent { margin: 4px 0 22px; color: var(--text-soft); font-size: 0.88rem; }
.consent a { color: var(--navy); }
@media (max-width: 860px) { .request-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.draft-note { background: #FFF6E5; border: 1px solid #E8C98A; border-radius: var(--radius); padding: 14px 18px; font-size: 0.95rem; }

/* Dropdown menus ---------------------------------------------------------- */

.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }
.submenu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; border: 0; background: none;
  color: var(--navy); cursor: pointer;
}
.submenu-toggle svg { width: 10px; height: 7px; transition: transform 0.2s; }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  display: grid;
  gap: 8px 36px;
  padding: 28px 32px 24px;
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(30, 43, 74, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
/* Invisible bridge so the menu stays open while the pointer moves down to it */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.submenu--3 { grid-template-columns: repeat(3, minmax(190px, auto)); }
.submenu--2 { grid-template-columns: repeat(2, minmax(210px, auto)); }

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover .submenu-toggle svg,
.nav-item.is-open .submenu-toggle svg { transform: rotate(180deg); }

.submenu__col { display: flex; flex-direction: column; gap: 2px; }
.submenu__label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--taupe-deep); margin-bottom: 8px; white-space: nowrap;
}
.nav .submenu a {
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--text); padding: 6px 0; white-space: nowrap;
}
.nav .submenu a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 4px; }
.nav .submenu .submenu__all {
  grid-column: 1 / -1; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
}

@media (max-width: 1100px) and (min-width: 961px) {
  .nav { gap: 22px; }
  .submenu--3 { grid-template-columns: repeat(3, minmax(170px, auto)); left: 0; transform: translate(-30%, 8px); }
  .nav-item:hover .submenu--3, .nav-item:focus-within .submenu--3, .nav-item.is-open .submenu--3 { transform: translate(-30%, 0); }
}

@media (max-width: 960px) {
  .nav { max-height: calc(100vh - 84px); overflow-y: auto; }
  .nav-item { flex-wrap: wrap; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-item > a { flex: 1; border-bottom: 0 !important; }
  .submenu-toggle { width: 44px; height: 44px; }
  .submenu-toggle svg { width: 12px; height: 8px; }
  .submenu,
  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    position: static; display: none; width: 100%; margin: 0 0 12px; padding: 4px 0 8px 14px;
    border: 0; border-left: 1px solid var(--taupe); border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
    grid-template-columns: 1fr;
  }
  .submenu::before { display: none; }
  .nav-item.is-open .submenu { display: grid; transform: none; }
  .nav-item:hover .submenu-toggle svg { transform: none; }
  .nav-item.is-open .submenu-toggle svg { transform: rotate(180deg); }
  .nav .submenu a { padding: 8px 0; border-bottom: 0; width: auto; white-space: normal; }
  .submenu__label { margin: 10px 0 2px; }
}

/* Registration badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 4px 0 30px; }
.badges img { height: 44px; width: auto; }
.badges--lg img { height: 56px; }
.footer-badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px;
  margin-top: 56px; padding: 20px 24px; background: #FFFFFF; border-radius: var(--radius);
}
.footer-badges img { height: 40px; width: auto; }
.hero-badge { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--text-soft); }
.hero-badge img { height: 46px; width: auto; }
@media (max-width: 520px) {
  .badges img, .badges--lg img { height: 36px; }
  .footer-badges img { height: 32px; }
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(30, 43, 74, 0.28);
  transition: background 0.25s, transform 0.25s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: max-width 0.35s ease, margin 0.35s ease;
}
.wa-float:hover, .wa-float:focus-visible { background: var(--navy-soft); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 280px; margin-left: 10px; }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; height: 52px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float__label { transition: none; } }
