/* The Specialist Certification sales page (CR-105 U4), as the app's CertificationScreen
   (apps/customer-app/lib/features/certification/certification_screen.dart). Its design's fluid sizes
   (`clamp(min, vw, max)`, the app's _Fluid.c) are CSS clamps; a font's ends grow with the reader's text size (--u).
   The design's phone layout takes over at 700px and below (CertificationScreen.phoneMax). Text with no line height of
   its own sits at the app's 1.6 (its bodyMedium). Letter-spacing is in px, as the app's: it does not grow with the
   text size. */

.cert {
  --cert-body: #4F4F4F;
  --gold-bright-cert: #F0C730;
  --card-shadow: 0 10px 30px rgba(138, 107, 16, 0.08);
  --lift-shadow: 0 2px 6px rgba(138, 107, 16, 0.07), 0 14px 28px rgba(138, 107, 16, 0.13);
  font-size: calc(14 * var(--u));
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  /* A word wider than its line (very large text on a narrow phone) breaks rather than push the page sideways. */
  overflow-wrap: break-word;
}
.cert h1, .cert h2, .cert h3, .price__amount { overflow-wrap: anywhere; }
:where(.cert) :where(p, h1, h2, h3, ul, ol, figure, blockquote) { margin: 0; }
:where(.cert) :where(ul, ol) { padding: 0; list-style: none; }
.cert main { display: block; }

/* The design's purple ground with its star field, and the near-black one. */
.ground { background: var(--purple) url("/images/cert-hero-bg.jpg") center / cover; }
.dark { background: var(--near-black); }

.cert-mark { flex: none; object-fit: contain; }
.cert-mark--16 { width: 16px; height: 16px; }
.cert-mark--20 { width: 20px; height: 20px; }
.cert-mark--22 { width: 22px; height: 22px; }
.cert-mark--24 { width: 24px; height: 24px; }
.cert-mark--28 { width: 28px; height: 28px; }
.cert-mark--30 { width: 30px; height: 30px; }
.cert-mark--56 { width: 56px; height: 56px; }

/* A section's content, 1160px at most, 24px in from the sides. */
.inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.inner > * { align-self: stretch; }
.inner > .cert-button { align-self: center; }

/* The design's `repeat(auto-fill, minmax(min(100%, N), 1fr))` (the app's AutoGrid on this page: the empty columns keep
   their room). */
.grid { display: grid; gap: 20px; }

/* An eyebrow: 12px, 600, letter-spaced .18em. */
.cert-eyebrow {
  font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 2.16px; line-height: 1.6; text-align: center;
}
.cert-eyebrow--gold { color: var(--gold); }
.cert-eyebrow--deep { color: var(--gold-deep); }
.cert-eyebrow--start { text-align: start; }

/* A section title: Lora 700, balanced. Like the app's TitleText, a title whose longest word would not fit its line
   (very large text on a phone) is drawn smaller: the vw cap only bites there. */
.cert-title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--ink);
  text-align: center; text-wrap: balance;
  font-size: min(clamp(calc(28 * var(--u)), 3.2vw, calc(40 * var(--u))), 14vw);
}
.cert-title--cream { color: var(--cream); }
.cert-title--start { text-align: start; }

/* A centred heading block: the eyebrow, the title and an optional line, 14px apart (16px in How it works). */
.head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.head--16 { gap: 16px; }
.head__title { max-width: 1160px; }
.head__title--640 { max-width: 640px; }
.head__title--680 { max-width: 680px; }
.head__title--720 { max-width: 720px; }
.head__line { max-width: 600px; font-size: calc(15 * var(--u)); line-height: 1.75; color: var(--cert-body); text-align: center; }

/* The gold ENROLL NOW: 52px tall at least, 40px at the sides; brighter on hover. */
.cert-button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 40px; border-radius: 3px; background: var(--gold); color: var(--near-black);
  font-size: calc(14 * var(--u)); font-weight: 600; letter-spacing: 2.24px; line-height: 1.6; text-decoration: none;
}
.cert-button:hover { background: var(--gold-bright-cert); color: var(--near-black); }
.cert-button--price { display: flex; width: 100%; min-height: 56px; padding: 8px 0; }
.cert-button--price:hover { background: var(--gold-icon); }
.cert-button--close { min-height: 54px; padding: 8px 44px; }

/* ---------------------------------------------------------------------------------------------------------------
   The black bar: the mark and the program's name (home), and ENROLL. It stays on top while the page scrolls, as the
   app's does. */
.cert-bar { position: sticky; top: 0; z-index: 40; background: var(--near-black); border-bottom: 1px solid rgba(225, 179, 15, 0.22); }
.cert-bar__inner { max-width: 1160px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
/* The name gives way to the mark alone when the room left is under 40px + 8 times its size (CR-106). */
.cert-bar__home-box { flex: 1 1 0; min-width: 0; container-type: inline-size; }
.cert-bar__home { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; text-decoration: none; vertical-align: middle; }
.cert-bar__name {
  min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: calc(15 * var(--u));
  letter-spacing: 0.6px; color: var(--cream);
}
.cert-bar__home:hover .cert-bar__name { color: var(--cream); }
@container (max-width: calc(40px + 7.5rem)) { .cert-bar__name { display: none; } }
@media (max-width: 759.98px) {
  @container (max-width: calc(40px + 8.25rem)) { .cert-bar__name { display: none; } }
}
.cert-bar__enroll {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px;
  border: 1px solid var(--gold); border-radius: 3px; color: var(--gold); text-decoration: none;
  font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 1.92px; line-height: 1.6;
}
.cert-bar__enroll:hover { background: var(--gold); color: var(--near-black); }

/* ---------------------------------------------------------------------------------------------------------------
   01 Hero. */
.hero { padding: clamp(28px, 4vw, 52px) 24px clamp(48px, 6vw, 72px); --gap: clamp(22px, 3vw, 30px); --face: clamp(34px, 4.2vw, 50px); }
.hero__inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: 100%; max-width: 440px; height: auto; }
.hero__title {
  margin-top: var(--gap); max-width: 780px; font-family: var(--font-display); font-weight: 700; line-height: 1.2;
  color: var(--cream); font-size: clamp(calc(26 * var(--u)), 3.3vw, calc(40 * var(--u)));
}
.hero__line {
  margin-top: var(--gap); max-width: 560px; line-height: 1.7; color: var(--lilac);
  font-size: clamp(calc(14.5 * var(--u)), 1.3vw, calc(16 * var(--u)));
}
.hero .cert-button { margin-top: var(--gap); }
/* The faces overlap by 12px, each drawn over the one before. */
.hero__faces {
  margin-top: calc(var(--gap) + clamp(8px, 2vw, 20px)); padding-right: 12px;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px;
}
.hero__face {
  width: var(--face); height: var(--face); margin-right: -12px; border-radius: 50%; overflow: hidden;
  background: #3A3360; border: 2px solid var(--purple);
}
.hero__face img { width: 100%; height: 100%; object-fit: cover; }
.hero__faces-line {
  margin-top: 12px; font-family: var(--font-voice); font-style: italic; font-size: calc(17 * var(--u));
  line-height: 1.5; color: var(--lilac);
}

/* ---------------------------------------------------------------------------------------------------------------
   02 Why certify: the card on the left over the photo, which starts 30% across less 120px (at most 420px) and fades
   in from the cream; on a phone the photo fills the section. */
.why {
  position: relative; background: var(--cream); padding: clamp(64px, 8vw, 120px) 24px; isolation: isolate;
}
.why::before, .why::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: min(max(0px, calc(30vw - 120px)), 420px); z-index: -1;
}
.why::before { background: url("/images/cert-why-bg.jpg") 54% 30% / cover no-repeat; }
.why::after { background: linear-gradient(to right, var(--cream) 0%, rgba(253, 252, 248, 0) 24%); }
.why__inner { max-width: 1160px; margin: 0 auto; min-height: 240px; display: flex; align-items: center; }
.why__card {
  max-width: 480px; padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3.6vw, 44px); background: var(--cream);
  border: 1px solid var(--hairline-strong); border-radius: 8px; box-shadow: var(--lift-shadow);
}
.why__quote {
  font-family: var(--font-voice); font-style: italic; line-height: 1.25; color: var(--near-black);
  font-size: clamp(calc(26 * var(--u)), 2.8vw, calc(34 * var(--u)));
}
.why__rule { display: block; width: 48px; height: 1px; margin: 22px 0; background: var(--gold-deep); }
.why__body {
  line-height: 1.8; color: var(--near-black); font-size: clamp(calc(15 * var(--u)), 1.4vw, calc(17 * var(--u)));
}
/* "your own way" in EB Garamond at 1.15 times the body's size, as the design's <em>. */
.why__body em { font-family: var(--font-voice); font-style: italic; font-size: 1.15em; line-height: 1.6; }
.why__body strong { font-weight: 700; }
@media (max-width: 700px) {
  .why::before { left: 0; background-position: 100% 55%; }
  .why::after { display: none; }
  .why__inner { min-height: 0; }
}

/* ---------------------------------------------------------------------------------------------------------------
   03 What's included. */
.included { padding: clamp(72px, 9vw, 128px) 24px; --gap: clamp(36px, 4.5vw, 56px); }
.included__grid { margin-top: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.included__card {
  overflow: hidden; background: var(--white); border: 1px solid var(--hairline-strong); border-radius: 8px;
  box-shadow: var(--card-shadow);
}
.included__pic { aspect-ratio: 4 / 3; }
.included__pic img { width: 100%; height: 100%; object-fit: contain; }
.included__words { padding: 4px 24px 26px; }
.included__title { font-family: var(--font-display); font-weight: 700; font-size: calc(18 * var(--u)); line-height: 1.6; }
.included__text { margin-top: 6px; font-size: calc(14 * var(--u)); line-height: 1.65; color: var(--cert-body); }
@media (max-width: 700px) { .included__words { text-align: center; } }
/* The words take the width they need, up to what is left once each gold line keeps its 24px. */
.lifetime {
  margin-top: var(--gap); align-self: center; width: 100%; max-width: 880px;
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px);
}
.lifetime__rule { flex: 1 1 24px; min-width: 24px; height: 1px; background: rgba(225, 179, 15, 0.45); }
.lifetime__text {
  flex: 0 1 auto; min-width: 0; text-align: center; font-family: var(--font-voice); font-style: italic; line-height: 1.3;
  color: var(--cream); font-size: clamp(calc(24 * var(--u)), 2.6vw, calc(32 * var(--u)));
}
.included .cert-button { margin-top: var(--gap); }

/* ---------------------------------------------------------------------------------------------------------------
   04 Pull quote. */
.pull__grid { max-width: 1160px; margin: 0 auto; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.pull__photo {
  min-height: clamp(240px, 26vw, 340px);
  background: var(--dark-card) url("/images/cert-stock-videocall.jpg") 60% 50% / cover no-repeat;
}
.pull__quote {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.pull__words {
  margin-top: 18px; font-family: var(--font-voice); font-style: italic; line-height: 1.4; color: var(--cream);
  font-size: clamp(calc(20 * var(--u)), 2vw, calc(25 * var(--u)));
}
.pull__who { margin-top: 18px; align-self: stretch; display: flex; align-items: center; gap: 14px; }
.pull__face { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.pull__id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pull__name { font-size: calc(12.5 * var(--u)); font-weight: 600; letter-spacing: 2px; color: var(--gold); }
.pull__role { font-size: calc(13 * var(--u)); color: var(--lilac); }

/* ---------------------------------------------------------------------------------------------------------------
   05 Not your average certification. */
.average { padding: clamp(72px, 9vw, 120px) 0; display: flex; flex-direction: column; align-items: center; }
.average > .inner { align-self: stretch; padding: 0 24px; max-width: calc(1160px + 48px); width: 100%; }
.average__grid {
  gap: clamp(28px, 4vw, 56px); align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
}
.average__title { margin-top: 18px; font-size: min(clamp(calc(28 * var(--u)), 3.4vw, calc(42 * var(--u))), 14vw); }
.average__body { margin-top: 18px; font-size: calc(15.5 * var(--u)); line-height: 1.8; color: var(--cert-body); }
.average__laptop { width: 100%; height: auto; }
/* The five features share one row while it is at least 652px wide, and stack below that. */
.features {
  margin-top: calc(clamp(26px, 3.5vw, 46px) + 10px); padding: 0 24px; width: 100%;
  max-width: calc(1212px + 48px); display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 700px) { .features { flex-direction: row; } .feature { flex: 1 1 0; min-width: 0; } }
.feature {
  padding: clamp(20px, 2vw, 26px) clamp(16px, 1.6vw, 22px); background: var(--white);
  border: 1px solid var(--hairline-strong); border-radius: 8px; box-shadow: var(--lift-shadow);
  display: flex; flex-direction: column;
}
.feature .cert-mark { align-self: center; }
.feature__title {
  margin-top: 10px; font-family: var(--font-display); font-weight: 700; line-height: 1.3;
  font-size: clamp(calc(16 * var(--u)), 1.4vw, calc(18 * var(--u)));
}
.feature__text { margin-top: 10px; font-size: calc(13.5 * var(--u)); line-height: 1.65; color: var(--cert-body); }
.average > .cert-button { margin-top: calc(36px + clamp(4px, 1vw, 12px)); }
@media (max-width: 700px) { .feature { text-align: center; } }

/* ---------------------------------------------------------------------------------------------------------------
   06 Specialist voices: the shared video tile (video.css, its "certification" look), and the name under it. */
.voices { padding: clamp(72px, 9vw, 120px) 24px; }
.voices__grid {
  margin-top: 44px; column-gap: 24px; row-gap: 32px; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.voice__name {
  margin-top: 12px; font-size: calc(12.5 * var(--u)); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}

/* ---------------------------------------------------------------------------------------------------------------
   07 How it works. */
.how { background: var(--warm-white); padding: clamp(72px, 9vw, 128px) 24px; --pad: clamp(22px, 2.4vw, 30px); }
.steps {
  margin-top: clamp(40px, 5vw, 64px); column-gap: clamp(24px, 3vw, 40px); row-gap: 28px; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.step__top { display: flex; align-items: center; gap: 14px; }
.step__number {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--near-black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: calc(19 * var(--u)); line-height: 1;
}
.step__line { flex: 1 1 auto; height: 1px; background: var(--hairline-strong); }
.step__title { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.6; }
.step__title u { text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.step__text { margin-top: 14px; font-size: calc(15 * var(--u)); line-height: 1.7; color: var(--cert-body); }
.how__cards { margin-top: clamp(28px, 3.5vw, 40px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.how-card {
  overflow: hidden; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--hairline-strong); border-radius: 8px; box-shadow: var(--card-shadow);
}
.how-card__head {
  padding: 18px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  column-gap: 16px; row-gap: 6px;
}
.how-card__title { font-family: var(--font-display); font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.6; color: var(--cream); }
.how-card__note { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 1.68px; color: var(--gold); }
.how-card > .how-card__rows, .how-card__body { padding: 14px var(--pad) var(--pad); }
.how-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.how-card__body .how-card__rows { padding: 0; }
.how-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.how-row:last-child { padding-bottom: 2px; border-bottom: 0; }
/* The labels keep the app's 64px and 32px, and grow rather than split a word at large text. */
.how-row__label { flex: none; display: flex; flex-direction: column; overflow-wrap: normal; }
.how-row__label--week { min-width: 64px; }
.how-row__label--number {
  min-width: 32px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.55;
  color: var(--gold-icon);
}
.how-row__week {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: calc(11.5 * var(--u)); letter-spacing: 1.38px;
  line-height: 2; color: var(--gold-deep);
}
.how-row__calls { font-size: calc(11.5 * var(--u)); color: var(--cert-body); }
.how-row__text { flex: 1 1 auto; min-width: 0; font-size: calc(15 * var(--u)); line-height: 1.55; color: var(--ink); }
.how-row__text strong { font-weight: 600; color: var(--ink); }
.certified { margin-top: auto; padding: 18px 20px; background: var(--near-black); border-radius: 6px; }
.how-card__body .how-card__rows { margin-bottom: 10px; }
.certified__eyebrow {
  display: flex; align-items: center; gap: 10px; font-size: calc(12 * var(--u)); font-weight: 700;
  letter-spacing: 1.92px; color: var(--gold);
}
.certified__line { margin-top: 8px; font-size: calc(15 * var(--u)); line-height: 1.55; color: var(--cream); }
.how .inner > .cert-button { margin-top: clamp(40px, 5vw, 64px); }

/* ---------------------------------------------------------------------------------------------------------------
   08 Testimonials: one on show; the rest wait in the same place, so the section keeps its height. */
.voices-of { padding: clamp(48px, 6vw, 72px) 24px; }
.voices-of__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.voices-of__stage { align-self: stretch; display: grid; min-height: clamp(320px, 26vw, 340px); }
.t-slide {
  grid-area: 1 / 1; align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center;
  visibility: hidden;
}
.t-slide.is-current { visibility: visible; }
/* The mark's 40px, grown with the text so the glyph never reaches the quote. */
.t-slide__mark {
  display: block; height: max(40px, calc(40 * var(--u) - 4px)); font-family: var(--font-voice); font-size: calc(96 * var(--u)); line-height: 1;
  color: var(--gold);
}
.t-slide__quote {
  margin-top: 22px; max-width: 780px; font-family: var(--font-voice); line-height: 1.55; color: var(--cream);
  font-size: clamp(calc(19 * var(--u)), 2vw, calc(24 * var(--u)));
}
.t-slide__quote strong { font-weight: 500; font-style: italic; color: var(--gold); }
.t-slide__who { margin-top: 22px; display: flex; align-items: center; gap: 14px; max-width: 100%; text-align: start; }
.t-slide__photo {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: var(--warm-white); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.t-slide__initial { font-family: var(--font-display); font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1; color: var(--gold-deep); }
.t-slide__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-slide__id { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.t-slide__name { font-size: calc(12.5 * var(--u)); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.t-slide__role { font-size: calc(13 * var(--u)); color: var(--lilac); }

/* The arrows and dots (both carousels): 44px round arrows with a gold ring; 18px to the first dot, half of the 8px gap
   being the dot's own tap area. */
.carousel-controls { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.carousel-controls[hidden] { display: none; }
.round-button {
  flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(225, 179, 15, 0.5);
  background: transparent; color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-size: calc(18 * var(--u)); line-height: 1;
}
.round-button:hover { background: rgba(225, 179, 15, 0.15); }
.round-button:focus-visible { border-radius: 50%; }
.round-button[aria-disabled="true"] { opacity: 0.35; }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.carousel-dots--testimonials { max-width: 228px; }
.carousel-dot {
  height: 44px; padding: 0 4px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center;
}
.carousel-dot span {
  display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(253, 252, 248, 0.28);
  transition: width 300ms linear, background-color 300ms linear;
}
.carousel-dot[aria-pressed="true"] span { width: 24px; background: var(--gold); }
.carousel-dot:focus-visible { outline: none; }
.carousel-dot:focus-visible span { outline: 2px solid var(--gold-icon); outline-offset: 3px; }
.carousel-dots--people .carousel-dot span { width: 6px; height: 6px; border-radius: 3px; }
.carousel-dots--people .carousel-dot[aria-pressed="true"] span { width: 22px; }

/* ---------------------------------------------------------------------------------------------------------------
   09 Meet your guide. */
.guide { padding: clamp(72px, 9vw, 128px) 24px; }
.guide__grid {
  gap: clamp(40px, 6vw, 88px); align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}
.guide__photo { justify-self: center; width: 100%; max-width: 460px; }
.guide__photo img { width: 100%; height: auto; border-radius: 6px; background: var(--warm-white); }
.guide__codes {
  margin-top: 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: calc(12 * var(--u));
  line-height: 1.9; letter-spacing: 0.72px; color: var(--grey);
}
.guide__title { margin-top: 20px; line-height: 1.2; }
.guide__lead {
  margin-top: 20px; font-family: var(--font-voice); font-style: italic; line-height: 1.5;
  font-size: clamp(calc(20 * var(--u)), 2vw, calc(23 * var(--u)));
}
.guide__para { margin-top: 20px; font-size: calc(15 * var(--u)); line-height: 1.8; color: var(--cert-body); }
.guide__para strong { font-weight: 600; color: var(--ink); }
.guide__close {
  margin-top: 20px; font-family: var(--font-voice); font-style: italic; line-height: 1.45;
  font-size: clamp(calc(21 * var(--u)), 2.2vw, calc(25 * var(--u)));
}
.invite {
  margin-top: clamp(40px, 5vw, 64px); align-self: center; width: 100%; max-width: 760px; border-radius: 8px;
  box-shadow: 0 14px 34px rgba(42, 35, 80, 0.22); padding: clamp(30px, 4vw, 48px) clamp(24px, 4.5vw, 56px);
  display: flex; flex-direction: column; align-items: center; --gap: clamp(20px, 2.4vw, 26px);
}
.invite__title {
  max-width: 560px; font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--cream);
  text-align: center; text-wrap: balance; font-size: min(clamp(calc(21 * var(--u)), 2.2vw, calc(26 * var(--u))), 10vw);
}
/* The points as wide as the widest, centred in the card. */
.invite__points { margin-top: var(--gap); width: fit-content; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.invite__points li { position: relative; padding-left: 26px; font-size: calc(15 * var(--u)); line-height: 1.6; color: var(--cream); }
.invite__points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.invite__join {
  margin-top: var(--gap); text-align: center; font-family: var(--font-voice); font-style: italic; font-weight: 700;
  line-height: 1.35; color: var(--gold); font-size: clamp(calc(25 * var(--u)), 2.7vw, calc(31 * var(--u)));
}

/* ---------------------------------------------------------------------------------------------------------------
   10 Who it helps: six in a row, every other one 32px lower; on a phone a strip, each person 64% of the screen wide
   with 16px after it, sliding one at a time. */
.helps { padding: clamp(72px, 9vw, 120px) 24px; --gap: clamp(36px, 4.5vw, 52px); }
.helps__line { color: #CFC9BC; }
.people { margin-top: var(--gap); }
.people__strip { display: flex; align-items: flex-start; gap: 16px; }
.person { flex: 1 1 0; min-width: 0; }
.person--low { padding-top: 32px; }
.person img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.person__caption {
  margin-top: 12px; font-family: var(--font-voice); font-style: italic; font-size: calc(18 * var(--u));
  line-height: 1.3; color: var(--cream);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.people__controls { margin-top: 4px; }
.helps .inner > .cert-button { margin-top: var(--gap); }
@media (min-width: 700.02px) { .people__controls { display: none !important; } }
@media (max-width: 700px) {
  /* As tall as a picture, the 32px step and a caption on two lines. */
  .people__strip {
    min-height: calc(64vw * 4 / 3 + 32px + 12px + 54px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .people__strip::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 64vw; scroll-snap-align: start; }
  /* Room after the last, so it too can slide to the start. */
  .people__strip::after { content: ""; flex: 0 0 calc(100% - 64vw - 16px); }
}

/* ---------------------------------------------------------------------------------------------------------------
   11 Is this for you? */
.fit { background: var(--warm-white); padding: clamp(72px, 9vw, 120px) 24px; }
.fit__grid { margin-top: 40px; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.fit-card { padding: 32px 30px; border: 1px solid var(--hairline-strong); border-radius: 8px; }
.fit-card--yes { background: var(--white); box-shadow: var(--card-shadow); }
.fit-card--no { background: #F9F7F0; box-shadow: 0 6px 18px rgba(138, 107, 16, 0.06); }
.fit-card__title { font-family: var(--font-display); font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.6; }
.fit-card--yes .fit-card__title { color: var(--purple); }
.fit-card__points { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.fit-card__points li { position: relative; padding-left: 18px; font-size: calc(14.5 * var(--u)); line-height: 1.6; }
.fit-card__points li::before { content: "•"; position: absolute; left: 0; top: 0; }
.fit-card--yes li { color: var(--ink); }
.fit-card--no li { color: var(--cert-body); }

/* ---------------------------------------------------------------------------------------------------------------
   12 Investment: the list and the price side by side while both fit (800px and the gap), else stacked. */
.invest { padding: clamp(72px, 9vw, 128px) 24px; --gap: clamp(36px, 5vw, 64px); }
.invest__inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 893px) {
  .invest__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.invest__title { color: var(--gold); line-height: 1.2; font-size: min(clamp(calc(26 * var(--u)), 3vw, calc(38 * var(--u))), 14vw); }
.invest__points { margin-top: 18px; border-top: 1px solid rgba(225, 179, 15, 0.3); }
.invest__points li {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(225, 179, 15, 0.3);
  font-size: calc(14.5 * var(--u)); line-height: 1.55; color: var(--cream);
}
.invest__points li:last-child { border-bottom: 0; }
.invest__points .cert-mark { margin-top: 3px; }
.price {
  padding: clamp(32px, 4vw, 48px); background: var(--cream); border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.price__amount {
  margin-top: 16px; font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: min(clamp(calc(56 * var(--u)), 6vw, calc(72 * var(--u))), 20vw);
}
.price__plans {
  margin-top: 16px; font-family: var(--font-voice); font-style: italic; font-size: calc(19 * var(--u));
  line-height: 1.5; color: var(--cert-body);
}
.price .cert-button { margin-top: 24px; }
.price__note { margin-top: 16px; font-size: calc(12.5 * var(--u)); line-height: 1.5; color: var(--grey); }

/* ---------------------------------------------------------------------------------------------------------------
   13 Questions: the intro and the list share a row while both fit (280px and 480px and the gap), else stack. */
.faq { padding: clamp(72px, 9vw, 120px) 24px; --gap: clamp(32px, 5vw, 72px); }
.faq__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 851px) {
  .faq__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}
.faq__title { margin-top: 16px; line-height: 1.2; font-size: min(clamp(calc(26 * var(--u)), 3vw, calc(38 * var(--u))), 14vw); }
.faq__lead { margin-top: 16px; font-size: calc(14.5 * var(--u)); line-height: 1.7; color: var(--cert-body); }
.faq__lead a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--gold-deep); overflow-wrap: anywhere; }
.faq__photo {
  margin-top: 28px; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 6px;
  background: url("/images/cert-stock-faq.jpg") 50% 30% / cover no-repeat;
}
.faq__list { border-top: 1px solid var(--hairline-strong); }
.faq__item { border-bottom: 1px solid var(--hairline-strong); }
.faq__question {
  min-height: 44px; padding: 20px 0; display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: calc(16.5 * var(--u)); line-height: 1.6; color: var(--ink);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }
.faq__question > span:first-child { flex: 1 1 auto; min-width: 0; }
.faq__plus {
  flex: none; min-width: 28px; text-align: center; font-family: var(--font-ui); font-weight: 400; font-size: calc(22 * var(--u));
  line-height: 1.6; color: var(--gold-deep); transition: transform 200ms;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 40px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.faq__answer p { font-size: calc(14.5 * var(--u)); line-height: 1.7; color: var(--cert-body); }

/* ---------------------------------------------------------------------------------------------------------------
   14 Close, and the page's own footer. */
.close { padding: clamp(80px, 10vw, 140px) 24px 0; }
.close__inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.close__title { line-height: 1.1; font-size: min(clamp(calc(34 * var(--u)), 4.4vw, calc(56 * var(--u))), 16vw); }
.close__lines {
  margin-top: 24px; font-family: var(--font-voice); font-style: italic; line-height: 1.5; color: #E9E4D8;
  font-size: clamp(calc(21 * var(--u)), 2.3vw, calc(27 * var(--u)));
}
.close__lines--gold { color: var(--gold); }
.close .cert-button { margin-top: 36px; }
.cert-foot { background: var(--near-black); padding: clamp(72px, 9vw, 112px) 24px clamp(40px, 5vw, 56px); }
.cert-foot__inner {
  max-width: 1160px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(225, 179, 15, 0.22);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
}
.cert-foot__brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.cert-foot__name { font-family: var(--font-display); font-weight: 700; font-size: calc(14 * var(--u)); color: var(--cream); }
.cert-foot__legal { font-size: calc(11.5 * var(--u)); letter-spacing: 1.38px; color: #BDB7AA; text-decoration: none; }
.cert-foot__legal:hover { color: var(--gold); }

/* Under reduced motion nothing eases: the dots and the questions' + change at once. */
@media (prefers-reduced-motion: reduce) {
  .carousel-dot span, .faq__plus { transition: none; }
}

/* Every ENROLL scrolls to the price, gently, as the app's does, and the sticky bar never covers its top. The shared
   reduced-motion rule (site.css) makes the jump instant for anyone who asked for less motion. */
html:has(#enroll) { scroll-behavior: smooth; }
#enroll { scroll-margin-top: 64px; }
