/* ==========================================================================
   Zoomloss - shared stylesheet
   Rebuilt from the live Duda site (www.zoomloss.com), 2026-11-21.
   Tokens were measured off the live pages with getComputedStyle.
   ========================================================================== */

/* --- Fonts ----------------------------------------------------------------
   Live: Poppins (body, nav, buttons) and Droid Serif 700 (every heading).
   Poppins is SIL OFL and self-hosted as is. Droid Serif is the Apache face
   that Noto Serif was grown from; Noto Serif keeps its shapes and metrics,
   so no line break moves. Noto Serif ships as one variable woff2.          */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Serif'; src: url('/fonts/noto-serif-var.woff2') format('woff2-variations'), url('/fonts/noto-serif-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Fallback metrics keep CLS near 0 while the web fonts load. */
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); size-adjust: 112.5%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }
@font-face { font-family: 'Noto Serif Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 103%; descent-override: 28%; line-gap-override: 0%; }

:root {
  /* Palette: Duda theme colors from the live site.
     Contrast measured against white unless noted.                         */
  --navy: #131f43;         /* body copy + most headings. 15.6:1 */
  --navy-2: #203470;       /* "Meet Dr. Ian Rainey" h2. 11.3:1 */
  --blue: #4169e1;         /* royal blue: buttons, bands. White on it 4.85:1 (AA) */
  --blue-dark: #2f55c9;    /* button hover */
  --green: #4fc879;        /* brand green: bars, borders, bands. 2.1:1 with white: NEVER text on white, never white text on it */
  --green-text: #1d8045;   /* green as text on white (links, footer). Live #4fc879 was 2.1:1; this is 4.8:1 */
  --gray-card: #f7f7f7;
  --band: #f6f6f6;
  --muted: #5f6572;        /* post dates, excerpts. Live #747474 was 4.6:1; kept darker for 13px text: 5.9:1 */
  --dark: #252525;         /* bottom bar. Green #4fc879 on it 7.2:1 */
  --white: #fff;

  --font: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  --serif: 'Noto Serif', 'Noto Serif Fallback', Georgia, serif;

  --container: 1170px;
  --gutter: 24px;
  --header-h: 98px;
  --radius: 25px;          /* live buttons are 25px pills */
  --card-radius: 20px;
  --shadow-sm: 0 2px 8px rgba(19, 31, 67, .08);
  --shadow-md: 0 10px 28px rgba(19, 31, 67, .14);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* The header is sticky, so an anchored section would land UNDER it and hide
   the heading the visitor clicked for (#MedicalSurvey, #OurTools, ...). */
:target, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;               /* live: 28px on 16px */
  letter-spacing: .02em;
  color: var(--navy);
  background: var(--white);
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 700; line-height: 1.25; letter-spacing: 1px; color: var(--navy); }
h1 { font-size: 56px; }
h2 { font-size: 44px; color: var(--navy-2); }
h3 { font-size: 30px; }
h4 { font-size: 24px; letter-spacing: 0; }
.subhead { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.3; letter-spacing: 1px; color: var(--navy); margin: -.2em 0 .8em; }
.tagline { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .66px; margin: 0 0 .6em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
a { color: var(--blue); }

/* Content links. `:not(.btn)` is load bearing: without it these rules outrank
   .btn and repaint every button inside a <p>. Scoped to main so the footer
   keeps its own colors. */
main p a:not(.btn), main li a:not(.btn) {
  color: var(--green-text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
main p a:not(.btn):hover, main li a:not(.btn):hover { text-decoration-color: currentColor; }

/* --- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; margin-left: auto; margin-right: auto; }
.section { padding: 72px 0; }
.section--band { background: var(--band); }
.section--center { text-align: center; }
.section--center .btn-row { justify-content: center; }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h2, .section--blue h3, .section--blue h4 { color: var(--white); }
.section--blue p a:not(.btn) { color: var(--white); text-decoration-color: currentColor; }
.section:not(.section--band):not(.section--blue):not(.section--green):not(.section--texture):not(.hero):not(.band-split)
  + .section:not(.section--band):not(.section--blue):not(.section--green):not(.section--texture):not(.band-split) { padding-top: 0; }
.rule-top { border-top: 2px solid #999; padding-top: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  min-width: 250px;
  padding: 11px 32px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); min-width: 0; }
.btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--text { background: none; border: 0; color: var(--blue); min-width: 0; padding: 4px 0; }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--green); color: var(--navy); border-color: var(--green); }
.step-card--current { box-shadow: 0 0 0 3px var(--green); }
.step-card__here { margin-top: 28px; font-weight: 600; color: var(--green-dark, var(--navy)); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.btn--text:hover { background: none; color: var(--navy); text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* --- Top bar + header ----------------------------------------------------- */
/* Live set white text on the brand green (2.1:1, fails AA). The bar keeps the
   green; its text is navy (7.6:1). */
.topbar { background: var(--green); color: var(--navy); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; max-width: 1440px; padding: 4px 50px; }
.topbar__tag { margin: 0; font-style: italic; font-size: 16px; line-height: 1.4; white-space: nowrap; }
.topbar__links { display: flex; align-items: center; gap: 28px; }
.topbar a { color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar .ui-icon { width: 16px; height: 16px; }
.topbar__contact { display: flex; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(19, 31, 67, .06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); max-width: 1440px; padding: 10px 50px; }
/* The logo file has empty margin around the artwork; the box crops it to the artwork. */
.logo { display: block; flex: 0 0 auto; width: 250px; aspect-ratio: 895 / 290; overflow: hidden; }
.logo img { width: 134.08%; max-width: none; height: auto; margin-left: -16.76%; margin-top: -22.9%; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
/* Live separates items with a small dot. */
.nav__item + .nav__item::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--navy); opacity: .6; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 8px 10px;
  color: var(--navy);
  font-family: var(--font); font-weight: 400; font-size: 16px; letter-spacing: .48px;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__item > .nav__link + .nav__toggle { padding-left: 0; margin-left: -6px; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  margin: 0; padding: 8px 0; list-style: none;
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 5;
}
.nav__item.is-open > .nav__sub, .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 18px; color: var(--navy); font-size: 15px; text-decoration: none; }
.nav__sub a:hover { background: var(--band); color: var(--blue); }
.header-phone { display: none; color: var(--navy); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.burger svg { width: 28px; height: 28px; }
.nav .nav__extra { display: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; display: grid; place-items: center;
  min-height: 510px; padding: 72px 0;
  color: var(--white); text-align: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}
.hero h1 { color: var(--white); margin-bottom: .35em; text-shadow: 0 2px 14px rgba(19, 31, 67, .28); }
.hero .tagline { color: var(--white); font-weight: 400; text-shadow: 0 1px 8px rgba(19, 31, 67, .3); }
.hero .btn-row { justify-content: center; margin-top: 48px; }
.hero__inner { max-width: 1000px; }
/* Interior title bands (About, Symptoms, ...). */
.hero--title { min-height: 290px; padding: 56px 0; }
.hero--title h1 { font-size: 50px; }
/* Blog index: the site's own laptop + stethoscope photo under a navy tint,
   so it reads apart from the gradient used on every other page header. */
.hero--blog { background: linear-gradient(100deg, rgba(19,31,67,.88) 0%, rgba(32,52,112,.80) 55%, rgba(65,105,225,.62) 100%),
  url(/images/pexels-photo-48604.webp) 50% 40% / cover no-repeat; }

/* --- Home: two-up band with background photos (Individual Weight Loss Plans) */
.band-split { display: grid; grid-template-columns: 53fr 47fr; min-height: 571px; }
.band-split__col { position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.band-split__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Live tints the food photo royal blue behind the video. */
.band-split__media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--blue); opacity: .82; }
.band-split__col--copy::after { content: ''; position: absolute; inset: 12% 10%; z-index: -1; background: var(--mark) 50% 50% / contain no-repeat; pointer-events: none; }
.band-split__copy { padding: 50px 40px 50px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.band-split__copy h2 { font-size: 30px; color: var(--navy); white-space: nowrap; margin-bottom: 12px; }
.band-split__copy p { max-width: 340px; }
.band-split__media { justify-content: center; align-items: center; padding: 50px 24px; }
.band-split__media video { width: 450px; max-width: 100%; aspect-ratio: 1; object-fit: contain; background: transparent; }

/* --- Step cards (Consultation / Assessment / Custom Health Plan) ---------- */
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 48px; }
.step-card {
  background: var(--gray-card); border-radius: var(--card-radius);
  border-bottom: 4px solid var(--green);
  padding: 0 28px 44px; text-align: center;
  box-shadow: 0 6px 16px rgba(19, 31, 67, .06);
  display: flex; flex-direction: column; align-items: center;
}
.step-card img { width: 133px; height: 133px; margin: -35px auto 36px; }
.step-card h3 { font-family: var(--font); font-weight: 500; font-size: 24px; letter-spacing: 0; line-height: 1.3; margin-bottom: .5em; }
.step-card p { line-height: 1.75; }
.step-card .btn-row { margin-top: auto; padding-top: 16px; justify-content: center; }

/* --- Blue band with a cut-out photo (What To Expect) ---------------------- */
.band-photo { background: var(--blue); color: var(--white); margin-top: 120px; }
.band-photo .split { align-items: end; gap: 40px; }
.band-photo__copy { padding: 72px 0; }
.band-photo__copy h2 { font-size: 34px; color: var(--white); }
.band-photo__media { align-self: end; margin-top: -110px; }
/* Cap the height so the whole photo (head included) fits below the sticky header on short laptop screens */
.band-photo__media img { width: auto; max-width: 100%; height: auto; max-height: min(720px, calc(100vh - var(--header-h) - 48px)); margin: 0 auto; }

/* --- Reviews widget ------------------------------------------------------- */
.reviews-embed { width: 100%; max-width: 1100px; margin: 24px auto 0; border: 0; display: block; min-height: 330px; }

/* --- Green guarantee band ------------------------------------------------- */
/* The photo, the white ground and the green chevron are ONE image on live
   (risk-free.jpg), so it spans the whole band, centered as live (bgPos 50% 50%). */
.band-guarantee { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; background: var(--green); isolation: isolate; overflow: hidden; }
.band-guarantee__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -1; }
.band-guarantee__photo { position: relative; display: flex; align-items: center; justify-content: flex-end; padding-right: 25px; }
.band-guarantee__mark { width: 240px; height: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .2)); }
.band-guarantee__copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 48px 48px 64px; }
.band-guarantee__copy h2 { color: var(--white); font-size: 32px; line-height: 1.3; margin: 0; }
.band-guarantee__copy h2 .em { color: var(--navy-2); font-size: 38px; }

/* --- Blog cards ----------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.post-card { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 4px 14px rgba(19, 31, 67, .14); overflow: hidden; }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { padding: 20px 16px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 18px; line-height: 1.45; margin: 0; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card__meta { font-size: 13px; color: var(--muted); }
.post-card__excerpt { font-size: 15px; line-height: 1.4; color: var(--muted); margin: 0; }
.post-card__more { margin-top: auto; padding-top: 8px; color: var(--navy); text-decoration: none; }
.post-card__more:hover { color: var(--blue); }

/* --- Media ---------------------------------------------------------------- */
.media img, .media video { width: 100%; height: auto; }
.media--video video { background: #000; }

/* --- Forms ---------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #c9ced8; border-radius: 6px;
  font: inherit; color: var(--navy); background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success, .form-error { display: none; padding: 16px 20px; border-radius: 8px; margin-top: 16px; }
.form-success.show, .form-error.show { display: block; }
.form-success { background: #e8f6ed; color: #155c31; }
.form-error { background: #fdecea; color: #8a1f17; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--white); color: var(--navy); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #ddd; }
.footer-top .logo { width: 320px; max-width: 100%; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.footer-contact .ui-icon { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 4px; }
.footer-contact a { color: var(--green-text); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.footer-nav a { color: var(--navy); text-decoration: none; }
.footer-nav a:hover, .footer-nav a.is-active { color: var(--blue); }
.footer-bottom { background: var(--dark); color: var(--white); font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom a { color: var(--green); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* --- Utilities ------------------------------------------------------------ */
.ui-icon { width: 20px; height: 20px; vertical-align: -4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* --- Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .logo { width: 200px; }
  .nav__link, .nav__toggle { font-size: 15px; padding: 8px 7px; }
}

/* --- Inner pages ---------------------------------------------------------- */
/* Grey paper texture used behind reviews, tools and the consultation band. */
.section--texture { background: var(--band) url(/images/layer-116.webp) 50% 50% / cover; }
.section--flush-bottom { padding-bottom: 0; }
.section--tight { padding: 8px 0 72px; }
.split--photo { align-items: end; }
.split--photo h2 { font-size: 34px; margin-bottom: .15em; }
.split--photo .subhead { font-size: 18px; font-weight: 400; margin-bottom: 1.2em; }
.split--photo > div:first-child { padding-bottom: 64px; }
.faq-intro { margin-top: -.25em; }
.split__photo img { width: auto; max-width: 100%; max-height: min(640px, calc(100vh - var(--header-h) - 48px)); margin: 0 auto; }

/* Full-bleed two-up: a photo/video column and a copy column (How It Works). */
.band-media { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.band-media__media { position: relative; min-height: 320px; }
.band-media__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media__media--video { display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.band-media__media--video video { width: 100%; height: auto; display: block; }
.band-media__copy { padding: 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 64px 64px; align-self: center; }
.band-media--reverse .band-media__copy { padding: 64px 64px 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.band-media__copy h2 { font-size: 30px; }
.watermark { position: relative; isolation: isolate; }
.watermark::before { content: ''; position: absolute; inset: -8% 0; z-index: -1; background: var(--mark) 50% 50% / contain no-repeat; pointer-events: none; }
.band-media--green .band-media__copy { background: var(--green); color: var(--navy); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.band-media--green h2 { color: var(--navy); }

/* FAQ accordions (native details). */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 32px; }
.faq { border-bottom: 1px solid #e3e3e3; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0 14px 28px; position: relative; font-family: var(--serif); font-weight: 700; letter-spacing: .5px; color: var(--navy); font-size: 16px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ''; position: absolute; left: 4px; top: 20px; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); transition: transform .2s; }
.faq[open] summary::before { transform: rotate(45deg); top: 17px; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.faq__a { padding: 0 0 16px 28px; }

/* Partner logos (About). */
.logo-row { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center; justify-items: center; }
.logo-row img { max-height: 120px; width: auto; max-width: 100%; }

/* Our Tools cards (What To Expect). */
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px 0 8px; }
.tool-card { background: var(--gray-card); border-radius: var(--card-radius); border-bottom: 4px solid var(--green); box-shadow: 0 6px 16px rgba(19, 31, 67, .08); padding: 28px 28px 32px; }
.tool-card--blue { border-bottom-color: var(--blue); }
.tool-card h3 { font-size: 22px; margin-bottom: .5em; }
.tool-card p { font-size: 15px; line-height: 1.7; }
.tool-card .btn-row { justify-content: center; }
.tool-card .btn { min-width: 160px; }

/* Medical Survey. */
.survey-form { margin-top: 24px; }
.survey-group { border: 0; padding: 0; margin: 0 0 24px; }
.survey-group legend { font-weight: 500; color: var(--navy); margin-bottom: 16px; padding: 0; }
.survey-group .field--full { grid-column: 1 / -1; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.survey-form .field input, .survey-form .field textarea { background: #eef0fb; }

@media (max-width: 1024px) {
  .band-media, .faq-grid, .tool-cards, .logo-row, .form-row--3 { grid-template-columns: 1fr; }
  .band-media__copy, .band-media--reverse .band-media__copy { padding: 48px var(--gutter); }
  .band-media--reverse .band-media__media { order: -1; }
  .split--photo .split__photo { order: 2; }
  :root { --header-h: 76px; }
  .topbar { display: none; }
  .site-header .container { padding: 8px var(--gutter); }
  .logo { width: 190px; }
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(360px, 100%); background: var(--white); transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 8px 0 40px; z-index: 60; box-shadow: -8px 0 24px rgba(0, 0, 0, .12); visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { flex-wrap: wrap; }
  .nav__item + .nav__item::before { display: none; }
  .nav__link { flex: 1 1 auto; padding: 14px 24px; font-size: 17px; border-bottom: 1px solid #eee; }
  .nav__item > .nav__link + .nav__toggle { margin-left: 0; padding: 14px 20px; border-bottom: 1px solid #eee; }
  .nav__sub { position: static; flex: 1 1 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; background: var(--band); display: none; padding: 4px 0; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub { display: block; }
  .nav__sub a { padding: 10px 40px; }
  .nav .nav__extra { display: block; padding: 20px 24px; font-size: 15px; }
  .nav .nav__extra a { display: flex; gap: 8px; align-items: center; color: var(--navy); text-decoration: none; margin-bottom: 10px; }
  .header-phone { display: inline-flex; margin-left: auto; }
  .header-phone svg { width: 22px; height: 22px; }
  .burger { display: inline-flex; }
}
@media (max-width: 900px) {
  .split, .grid--2, .grid--3, .step-cards, .post-grid, .footer-top, .band-split, .band-guarantee { grid-template-columns: 1fr; }
  .step-cards { gap: 56px; }
  .section { padding: 56px 0; }
  h1 { font-size: 38px; } .hero--title h1 { font-size: 36px; } h2 { font-size: 32px; } h3 { font-size: 26px; } h4 { font-size: 21px; }
  .subhead { font-size: 22px; } .tagline { font-size: 18px; }
  .hero { min-height: 420px; }
  .band-split__copy { padding: 48px var(--gutter); }
  .band-split__copy h2 { white-space: normal; }
  .band-split__media { min-height: 420px; }
  .band-photo { margin-top: 0; }
  .band-photo__copy { padding: 56px 0 24px; }
  .band-photo__media { margin-top: 0; }
  .band-guarantee__bg { display: none; }
  .band-guarantee__photo { justify-content: center; padding: 48px 0 0; }
  .band-guarantee__mark { width: 180px; }
  .band-guarantee__copy { padding: 40px var(--gutter) 56px; text-align: center; align-items: center; }
  .band-guarantee__copy h2 { font-size: 26px; } .band-guarantee__copy h2 .em { font-size: 30px; }
  .footer-top { text-align: center; justify-items: center; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 32px; } h2 { font-size: 28px; }
  .btn { min-width: 0; width: 100%; }
  .btn--text { width: auto; }
}

/* Section headings Duda set at h3 size (34px) that are h2 in the outline. */
.h3-size { font-size: 34px; color: var(--navy); }
@media (max-width: 900px) { .h3-size { font-size: 27px; } }

/* "Meet Dr. Ian Rainey": live sets this one h2 at 60px, its tagline regular. */
.display { font-size: 60px; }
.display + .subhead { font-weight: 400; }
.narrow-heading { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .display { font-size: 38px; } }

/* Success Stories: click-to-play video, quote, before/after cards */
.video-facade { position: relative; display: block; width: 100%; max-width: 960px; margin: 32px auto 0; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 32px rgba(19, 31, 67, .18); }
.video-facade img, .video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-facade__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--blue); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s ease; }
.video-facade__play::after { content: ''; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .video-facade__play, .video-facade:focus-visible .video-facade__play { transform: scale(1.08); }
.video-facade:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.pull-quote { margin: 0; }
.pull-quote p { font-family: var(--serif); font-size: 30px; line-height: 1.35; color: var(--white); margin: 0 0 14px; }
.pull-quote footer { font-weight: 600; letter-spacing: .04em; color: var(--white); }
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.ba-card { margin: 0; background: var(--white); box-shadow: 0 6px 18px rgba(19, 31, 67, .12); padding: 10px 10px 0; }
.ba-card img { width: 100%; height: auto; display: block; }
.ba-card figcaption { text-align: center; font-size: 16px; line-height: 1.6; padding: 14px 8px 18px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .pull-quote p { font-size: 24px; } }
@media (max-width: 560px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } .video-facade__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-facade__play::after { left: 26px; top: 19px; border-width: 13px 0 13px 21px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info h2 + p { margin-bottom: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ui-icon { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--blue); }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-map { width: 100%; height: 300px; border: 0; border-radius: 6px; display: block; }
.contact-card { background: var(--white); border-radius: 10px; padding: 36px; box-shadow: 0 10px 30px rgba(19, 31, 67, .10); }
.contact-card h2 { margin-bottom: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .contact-card { padding: 24px; } }
.portal-card { text-align: center; max-width: 620px; margin: 0 auto; }
.portal-card > .ui-icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 12px; }
.small-note { font-size: 14px; color: #4a5470; margin-top: 18px; }

/* Blog (BLOG-TEMPLATE.md class names) */
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn { font: 500 14px/1 var(--font); color: var(--navy); background: var(--white); border: 1px solid #d5dbe8; border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filter-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: 0 6px 20px rgba(19, 31, 67, .08); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19, 31, 67, .14); }
.post-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #f3f5fa; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; } /* graphics with words: show whole */
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.post-card-title { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy-2); }
.post-card-desc { font-size: 14px; line-height: 1.65; color: #3d4766; margin: 0; flex: 1; }
.post-card-meta { font-size: 13px; color: #5a6482; }

.blog-post-hero { position: relative; max-width: 1100px; margin: 0 auto; padding: 48px var(--gutter) 8px; }
/* The post images are designed graphics with words in them: never crop. */
.blog-post-hero > img { width: auto; max-width: 100%; height: auto; max-height: 520px; border-radius: 12px; display: block; margin: 0 0 32px; box-shadow: 0 10px 30px rgba(19, 31, 67, .12); }
.blog-post-hero-content { max-width: 860px; }
.blog-post-cat { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: #e8f8ee; color: #1d5c34; margin-bottom: 14px; }
.blog-post-hero-content h1 { font-family: var(--serif); font-size: 40px; line-height: 1.2; color: var(--navy-2); margin: 0 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: #4a5470; }
.post-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.blog-post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; max-width: 1100px; margin: 0 auto; padding: 32px var(--gutter) 80px; align-items: start; }
.blog-article { font-size: 17px; line-height: 1.85; color: var(--navy); }
.blog-article h2 { font-family: var(--serif); font-size: 28px; line-height: 1.3; color: var(--navy-2); margin: 40px 0 14px; }
.blog-article h3 { font-family: var(--serif); font-size: 22px; color: var(--navy-2); margin: 32px 0 10px; }
.blog-article p { margin: 0 0 20px; }
.blog-article ul, .blog-article ol { margin: 0 0 20px 1.4em; padding: 0; }
.blog-article li { margin-bottom: 8px; }
.blog-article a { color: var(--blue); }
.blog-article blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--green); background: #f3f6fb; border-radius: 0 8px 8px 0; font-style: italic; }
.blog-article blockquote p:last-child { margin-bottom: 0; }
.blog-article .video-facade, .blog-article .blog-video { margin: 28px 0; max-width: none; }
.blog-video { width: 100%; height: auto; display: block; border-radius: 6px; background: #000; }
.blog-figure { margin: 28px 0; }
.blog-figure img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 8px 24px rgba(19, 31, 67, .12); }
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.sidebar-card { background: var(--white); border: 1px solid #e3e8f2; border-radius: 12px; padding: 22px; }
.sidebar-head { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy-2); margin-bottom: 10px; }
.sidebar-body { display: flex; flex-direction: column; }
.sidebar-link { display: block; padding: 11px 0; font-size: 14px; line-height: 1.5; color: var(--navy); text-decoration: none; border-bottom: 1px solid #edf0f6; }
.sidebar-link:last-child { border-bottom: 0; }
.sidebar-link:hover { color: var(--blue); }
.sidebar-cta { background: var(--blue); color: var(--white); border-radius: 12px; padding: 26px 22px; text-align: center; }
.sidebar-cta-title { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.sidebar-cta .btn { background: var(--white); color: var(--navy); border-color: var(--white); width: 100%; }
.sidebar-cta .btn:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.sidebar-cta-alt { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--white); }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-post-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } .blog-sidebar { position: static; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } .blog-post-hero { padding-top: 28px; } .blog-post-hero-content h1 { font-size: 30px; } .blog-article { font-size: 16px; } .blog-article h2 { font-size: 24px; } }
.blog-article .blog-btn { margin: 28px 0; }
.blog-article .blog-btn .btn { color: var(--white); text-decoration: none; }

/* UserWay accessibility button: lower left (Justin 2026-11-23). It is injected
   by the client's GTM tag, which pins it mid-left (class userway_p6) and its
   position setting is not ours to change, so it is moved here. */
.uwy .userway_buttons_wrapper { top: auto !important; bottom: 20px !important; left: 16px !important; right: auto !important; transform: none !important; }

/* Legal, embeds, landing video, resources, employee portal */
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p { font-size: 15px; line-height: 1.8; }
.embed-frame { position: relative; max-width: 960px; margin: 28px auto 20px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 32px rgba(19, 31, 67, .18); background: #000; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lead-line { font-size: 18px; }
.split--photo h2.calc-head { font-size: 46px; line-height: 1.15; margin-bottom: .4em; }
.landing-video { max-width: 960px; margin: 0 auto; }
.landing-video video { width: 100%; height: auto; display: block; border-radius: 6px; background: #000; }
.resource-card { text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 150px; }
.resource-card h3 a { color: var(--blue); }
.replays ul { columns: 2; column-gap: 40px; padding-left: 1.2em; }
.replays li { margin-bottom: 6px; break-inside: avoid; }
.portal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.portal-link { display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--white); border-radius: 10px; padding: 28px 18px; text-decoration: none; color: var(--navy); font-weight: 600; box-shadow: 0 6px 18px rgba(19, 31, 67, .08); }
.portal-link img { width: 96px; height: auto; }
.portal-link:hover { color: var(--blue); }
.portal-quick { max-width: 640px; margin: 20px auto 0; }
.portal-quick a { display: block; background: var(--white); border-radius: 10px; padding: 20px 24px; text-decoration: none; color: var(--navy); box-shadow: 0 6px 18px rgba(19, 31, 67, .08); }
.portal-quick span { display: block; font-size: 14px; color: #4a5470; margin-top: 4px; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split--photo h2.calc-head { font-size: 32px; } .replays ul { columns: 1; } }
.resources-prev { margin: 8px 0 36px; }
.resources-prev a { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.35; color: var(--blue); }
.resource-card h3 + h3 { margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nf-link { text-align: center; }
.nf-link small { display: block; font-weight: 400; font-size: 14px; color: #4a5470; }

/* --- How It Works: Diagnosis & Plan Of Attack (structured step 3) */
.diag { padding: 96px 0; background: linear-gradient(180deg, #f3fbf6 0%, #fff 100%); }
.diag__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.diag__media { position: relative; margin: 0; border-radius: 22px; overflow: visible; }
.diag__media img { width: 100%; height: 620px; object-fit: cover; object-position: 50% 20%; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(19,31,67,.18); display: block; }
.diag__media::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), var(--green)); z-index: -1; }
.diag__media { isolation: isolate; }
.diag__badge { position: absolute; left: -18px; bottom: 36px; background: var(--white); color: var(--navy); font-weight: 600;
  padding: 12px 18px; border-radius: 14px; box-shadow: 0 12px 30px rgba(19,31,67,.16); font-size: 15px; }
.diag__badge span { display: inline-block; background: var(--green); color: var(--navy); border-radius: 999px; padding: 2px 10px; margin-right: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.diag__eyebrow { color: var(--green-text); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 6px; }
.diag__copy h2 { font-size: 36px; margin: 0 0 14px; }
.diag__lead { font-size: 19px; color: var(--navy); margin: 0 0 22px; }
.diag__label { font-weight: 600; color: var(--navy); margin: 0 0 12px; font-size: 15px; }
.diag__chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.diag__chips li { background: var(--white); border: 1px solid #d7e6dc; color: var(--navy); border-radius: 999px; padding: 7px 14px; font-size: 14px; line-height: 1.3;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.diag__chips li:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79,200,121,.18); }
.diag__note { font-style: italic; color: var(--muted); margin: 0 0 24px; }
.diag__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
.diag__pair p { margin: 0; background: var(--white); border-radius: 16px; padding: 18px 20px; border-top: 4px solid var(--blue);
  box-shadow: 0 8px 24px rgba(19,31,67,.07); color: var(--navy); }
.diag__pair p + p { border-top-color: var(--green); }
.diag__quote { margin: 0 0 28px; padding: 20px 24px 20px 64px; position: relative; background: var(--navy); color: var(--white); border-radius: 16px; }
.diag__quote::before { content: ''; position: absolute; left: 22px; top: 22px; width: 26px; height: 26px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fc879' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 12-8.5 8.5a2.1 2.1 0 0 1-3-3L12 9'/%3E%3Cpath d='M17.6 15 22 10.6'/%3E%3Cpath d='m20.9 11.7-1.3-1.3a2 2 0 0 1-.6-1.4V7.9a1 1 0 0 0-.3-.7l-3-3a5.5 5.5 0 0 0-3.9-1.6H10l.9.8a5.8 5.8 0 0 1 2 4.3V9l2 2h1.2a2 2 0 0 1 1.4.6l1.3 1.3'/%3E%3C/svg%3E"); }
.diag__quote p { margin: 0; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (max-width: 900px) {
  .diag { padding: 64px 0; }
  .diag__grid { grid-template-columns: 1fr; gap: 48px; }
  .diag__media img { height: 380px; }
  .diag__media::before { inset: 14px -10px -14px 14px; }
  .diag__badge { left: 12px; bottom: 16px; }
  .diag__pair { grid-template-columns: 1fr; }
  .diag__copy h2 { font-size: 30px; }
}

/* --- Medical Survey: card walkthrough (form[data-wizard], components.js initWizards) */
.wiz { max-width: 860px; margin: 32px auto 0; }
.wiz .form-fields { background: var(--white); border-radius: 24px; padding: 36px clamp(20px, 4vw, 44px) 32px;
  box-shadow: 0 24px 64px rgba(19,31,67,.12); border: 1px solid #e6ebf2; position: relative; overflow: hidden; }
.wiz .form-fields::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.wiz-perks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wiz-perks li { display: flex; gap: 12px; align-items: center; background: #f4f8ff; border-radius: 14px; padding: 14px 16px; }
.wiz-perks li:nth-child(2) { background: #effaf3; }
.wiz-perks .wiz-icon { width: 28px; height: 28px; flex: none; color: var(--blue); }
.wiz-perks li:nth-child(2) .wiz-icon { color: var(--green-text); }
.wiz-perks span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.wiz-perks strong { display: block; color: var(--navy); font-size: 15px; }
.wiz-progress { display: none; margin: 0 0 28px; }
.wiz--on .wiz-progress { display: block; }
.wiz-progress__bar { height: 8px; background: #eef1f6; border-radius: 999px; overflow: hidden; }
.wiz-progress__bar span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 999px; transition: width .45s cubic-bezier(.2,.7,.3,1); }
.wiz-progress__steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 13px; color: var(--muted); }
.wiz-progress__steps li { display: flex; align-items: center; gap: 8px; }
.wiz-progress__steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 12px; background: #eef1f6; color: var(--muted); flex: none; transition: background .3s, color .3s; }
.wiz-progress__steps .is-current { color: var(--navy); font-weight: 600; }
.wiz-progress__steps .is-current span { background: var(--blue); color: var(--white); }
.wiz-progress__steps .is-done span { background: var(--green); color: var(--navy); }
.wiz-step { margin: 0 0 24px; }
.wiz--on .wiz-step.is-active { animation: wizIn .4s cubic-bezier(.2,.7,.3,1); }
@keyframes wizIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wiz-step__head { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 22px; }
.wiz-step__head .wiz-icon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--green)); color: var(--white); flex: none; }
.wiz-step__head h3 { margin: 0; font-size: 26px; outline: none; }
.wiz-step__count { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.wiz-step__sub { margin: 4px 0 0; color: var(--muted); }
.wiz .field label { font-weight: 600; color: var(--navy); }
.wiz .field input, .wiz .field textarea { border-radius: 12px; }
.wiz-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.wiz-goal { margin: 8px 0 0; background: #effaf3; border-left: 4px solid var(--green); border-radius: 10px; padding: 12px 16px; color: var(--navy); animation: wizIn .35s ease; }
.wiz-choices { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.wiz-choices legend { font-weight: 600; color: var(--navy); margin: 0 0 10px; padding: 0; font-size: 16px; }
.wiz-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wiz-choice { position: relative; cursor: pointer; }
.wiz-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wiz-choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 12px; border: 2px solid #dfe5ee;
  border-radius: 14px; background: var(--white); color: var(--navy); font-weight: 500; font-size: 15px; line-height: 1.3;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.wiz-choice:hover span { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(65,105,225,.14); }
.wiz-choice input:checked + span { border-color: var(--green); background: #effaf3; box-shadow: 0 0 0 3px rgba(79,200,121,.25); }
.wiz-choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.wiz-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid #eef1f6; padding-top: 22px; }
.wiz-nav [data-wiz-next], .wiz-nav [data-wiz-submit] { margin-left: auto; }
.wiz:not(.wiz--on) [data-wiz-back], .wiz:not(.wiz--on) [data-wiz-next] { display: none; }
.wiz-nav [hidden] { display: none; }
@media (max-width: 760px) {
  .wiz-perks { grid-template-columns: 1fr; }
  .wiz-choice-grid { grid-template-columns: 1fr 1fr; }
  .wiz-progress__steps { font-size: 0; }
  .wiz-progress__steps li { justify-content: center; }
  .wiz-step__head h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .wiz-step.is-active, .wiz-goal { animation: none; } .wiz-progress__bar span { transition: none; } }

/* --- Legal pages: privacy + terms (effective date, contents list, contact card) */
.legal-date { display: inline-block; background: #effaf3; color: var(--green-text); font-weight: 600; font-size: 13px; letter-spacing: .04em; border-radius: 999px; padding: 4px 14px; margin: 0 0 16px; }
.legal-toc { background: #f6f8fc; border: 1px solid #e3e8f1; border-radius: 16px; padding: 20px 24px; margin: 24px 0 8px; }
.legal-toc p { font-weight: 600; color: var(--navy); margin: 0 0 8px; font-size: 15px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.9; }
.legal-toc a { color: var(--blue); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal h2 { scroll-margin-top: 110px; }
.legal ul { font-size: 15px; line-height: 1.8; padding-left: 22px; margin: 0 0 16px; }
.legal ul li { margin: 0 0 6px; }
.legal-contact { background: var(--white); border: 1px solid #e3e8f1; border-left: 4px solid var(--green); border-radius: 12px; padding: 16px 20px; }
.footer-legal a + a { margin-left: 0; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* =========================================================================
   Clean Motion, site wide (Dr. Rainey picked concept 3 on 2026-11-30).
   The home page carries the full design in home.css; this layer brings the
   same type, buttons, cards, soft backgrounds and header to every other
   page. It sits last so it wins over the Duda-era rules above without
   rewriting them.
   ========================================================================= */
:root {
  --soft: #f5f8fc; --mint: #eefaf2; --line: #e6e9f0;
  --sh: 0 1px 2px rgba(19,31,67,.04), 0 10px 30px rgba(19,31,67,.07);
  --sh-lg: 0 30px 70px rgba(19,31,67,.16);
  --band: var(--soft);
}
h1, h2, h3 { letter-spacing: -.01em; line-height: 1.15; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--navy); }
.subhead, .tagline { letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Header: frosted, pill hover on nav, shadow once the page scrolls */
.site-header { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: none; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px rgba(19,31,67,.06); }
.nav__item + .nav__item::before { display: none; }
.nav__link, .nav__toggle { font-size: 15px; font-weight: 500; letter-spacing: 0; border-radius: 999px; transition: background .2s, color .2s; }
.nav__link:hover, .nav__item:hover > .nav__link { background: var(--soft); color: var(--blue); }
.nav__sub { border-radius: 16px; padding: 10px; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.nav__sub a { border-radius: 10px; padding: 9px 14px; }
.nav__sub a:hover { background: var(--soft); }

/* Buttons: bold pills that lift */
.btn { font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 999px; min-width: 0; box-shadow: 0 10px 24px rgba(65,105,225,.24); transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(65,105,225,.32); }
.btn--outline, .btn--text, .btn--white, .btn--ghost { box-shadow: none; }
.btn--text { padding: 4px 0; }
.btn--text:hover { transform: none; box-shadow: none; }

/* Interior page headers: light, with the soft blue and green glows */
.hero { color: var(--navy); background:
  radial-gradient(60% 90% at 88% 20%, rgba(79,200,121,.18), transparent 70%),
  radial-gradient(50% 80% at 8% 100%, rgba(65,105,225,.14), transparent 70%), #fff;
  overflow: hidden; isolation: isolate; }
.hero h1 { color: var(--navy); text-shadow: none; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero .tagline { color: var(--muted); text-shadow: none; font-family: var(--font); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; letter-spacing: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero--title { min-height: 260px; }
.hero--title h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.hero::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 120px; height: 4px; margin-left: -60px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.hero.hero--blog { color: #fff; background: linear-gradient(100deg, rgba(19,31,67,.88) 0%, rgba(32,52,112,.80) 55%, rgba(65,105,225,.62) 100%),
  url(/images/pexels-photo-48604.webp) 50% 40% / cover no-repeat; }
.hero--blog h1, .hero--blog .tagline { color: #fff; }
.hero--blog::after { display: none; }

/* Bands */
.section--texture { background: var(--soft); }
.section--blue { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--navy) 0%, #1f3170 100%); }
.section--blue::after { content: ''; position: absolute; z-index: -1; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(79,200,121,.32), transparent 70%); pointer-events: none; }
.section--blue .btn:not(.btn--outline):not(.btn--white) { background: var(--green); border-color: var(--green); color: var(--navy); box-shadow: 0 10px 26px rgba(79,200,121,.3); }
.section--blue .btn:not(.btn--outline):not(.btn--white):hover { background: #6fd893; border-color: #6fd893; }
.band-media--green .band-media__copy { background: var(--mint); }

/* Cards: white, hairline border, soft shadow, lift on hover */
.step-card, .tool-card, .ba-card, .contact-card, .form-card, .resource-card, .sidebar-card, .portal-link, .wiz {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh);
  transition: transform .3s, box-shadow .3s; }
.step-card, .tool-card { border-bottom: 1px solid var(--line); }
.step-card::before, .tool-card::before { content: ''; display: block; height: 4px; margin: 0 -28px 0; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--blue), var(--green)); }
.tool-card::before { margin: -28px -28px 24px; }
.step-card:hover, .tool-card:hover, .ba-card:hover, .resource-card:hover, .portal-link:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ba-card { padding: 0; overflow: hidden; }
.ba-card figcaption { border-top: 1px solid var(--line); }
.post-card { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh); transition: transform .3s, box-shadow .3s; }
.post-card-cat { color: var(--green-text); }
.faq { border-bottom-color: var(--line); }
.faq summary:hover { color: var(--blue); }
.field input, .field textarea, .field select { border-radius: 12px; border-color: #d5dbe8; }
.contact-map { border-radius: 20px; }
.filter-btn.active { box-shadow: 0 8px 20px rgba(65,105,225,.25); }

/* Footer: quieter divider, rounded top */
.footer-top { border-bottom-color: var(--line); }
.site-footer { border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .btn, .step-card, .tool-card, .ba-card, .post-card, .resource-card, .portal-link { transition: none; }
  .btn:hover, .step-card:hover, .tool-card:hover, .ba-card:hover, .post-card:hover { transform: none; }
}

/* --- Clean Motion: movement on every inner page ---------------------------
   components.js tags elements with a direction as they scroll in and strips
   the classes once they land, so nothing it adds is ever saved by the editor. */
.js .reveal--up { transform: translateY(34px); }
.js .reveal--left { transform: translateX(-46px); }
.js .reveal--right { transform: translateX(46px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal { transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 860px) { .js .reveal--left, .js .reveal--right { transform: translateY(30px); } }

/* Scroll progress bar under the header */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--green)); pointer-events: none; }

/* Page headers: drifting, morphing glow, and the title rises in on load */
.hero::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -180px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 40%, rgba(79,200,121,.30), rgba(65,105,225,.14) 55%, transparent 72%);
  transform: translateY(var(--py, 0)); animation: cm-morph 14s ease-in-out infinite; pointer-events: none; }
.hero--blog::before { display: none; }
@keyframes cm-morph { 0%,100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; } 33% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } 66% { border-radius: 40% 60% 48% 52% / 58% 46% 54% 42%; } }
.hero h1, .hero .tagline, .hero .btn-row { animation: cm-rise .9s cubic-bezier(.2,.7,.3,1) both; }
.hero .tagline { animation-delay: .15s; }
.hero .btn-row { animation-delay: .3s; }
@keyframes cm-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero::after { animation: cm-grow 1.1s .35s cubic-bezier(.2,.7,.3,1) both; }
@keyframes cm-grow { from { width: 0; margin-left: 0; } to { width: 120px; margin-left: -60px; } }
.hero h1 em, .hero h1 strong { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }

/* Section headings get the gradient rule the home page uses */
main .section--center > .container > h2::after, main .section > .container.narrow > h2::after {
  content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; margin: 16px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--green)); }
main .section--center > .container > h2::after { margin-left: auto; margin-right: auto; }
.section--blue h2::after { background: var(--green) !important; }

/* Photos: rounded, soft shadow, slow zoom on hover */
main .split img:not(.ui-icon), main .media img, main .split__photo img, main .diag__media img { border-radius: 20px; }
main .split > div:not(.split__photo) img:not(.ui-icon), main .media img { box-shadow: var(--sh); }
main .media, main .split > div:has(> img) { overflow: hidden; border-radius: 20px; }
main .media img, main .split > div > img { transition: transform .8s cubic-bezier(.2,.7,.3,1); }
main .media:hover img, main .split > div:hover > img { transform: scale(1.03); }
.band-media__media img { transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.band-media__media:hover img { transform: scale(1.04); }

/* Buttons nudge their arrow; text links grow an underline */
.btn--text { position: relative; }
.btn--text::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: currentColor; transition: right .3s; }
.btn--text:hover::after { right: 0; }
.btn--text:hover { text-decoration: none; }

/* Cards: the accent line slides across on hover */
.step-card::before, .tool-card::before { background-size: 200% 100%; background-image: linear-gradient(90deg, var(--blue), var(--green), var(--blue)); transition: background-position .6s; }
.step-card:hover::before, .tool-card:hover::before { background-position: 100% 0; }
.step-card img { transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.step-card:hover img { transform: translateY(-6px) rotate(-4deg); }

/* FAQs open with a soft slide */
.faq[open] .faq__a { animation: cm-rise .45s cubic-bezier(.2,.7,.3,1); }
.faq summary { transition: color .2s, padding-left .25s; }
.faq summary:hover { padding-left: 34px; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero h1, .hero .tagline, .hero .btn-row, .hero::after, .faq[open] .faq__a { animation: none; }
  .scroll-progress { display: none; }
  .js .reveal, .js .reveal--up, .js .reveal--left, .js .reveal--right, .js .reveal--zoom { opacity: 1; transform: none; transition: none; }
  main .media:hover img, main .split > div:hover > img, .band-media__media:hover img, .step-card:hover img { transform: none; }
}

/* Sideways reveals must never make the page scroll sideways. */
main { overflow-x: clip; }

/* backdrop-filter makes the header the containing block for the fixed phone
   menu drawer, which then hangs off the side and widens the page. No frost
   where the drawer is used. */
@media (max-width: 1024px) { .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; } }

/* ===== Symptoms explorer (symptoms.html): sticky numbered index + icon panels + two-step start band ===== */
.sx { background: linear-gradient(180deg, var(--soft, #f5f8ff) 0%, #fff 420px); }
.sx-intro { text-align: center; max-width: 720px; margin: 0 auto 48px; padding-top: 40px; }
.sx-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(79, 200, 121, .14); color: var(--green-text); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sx-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.sx-index { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line, #e6eaf2); border-radius: 20px; box-shadow: var(--sh, 0 10px 30px rgba(19,31,67,.06)); padding: 14px; }
.sx-index ol { list-style: none; margin: 0; padding: 0; }
.sx-index a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--navy); font-weight: 500; font-size: 15px; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.sx-index a:hover { background: var(--soft, #f5f8ff); transform: translateX(3px); }
.sx-index a[aria-current="true"] { background: linear-gradient(90deg, rgba(65,105,225,.12), rgba(79,200,121,.12)); color: var(--blue-dark); }
.sx-index a[aria-current="true"] .sx-num { background: var(--blue); color: #fff; }
.sx-index .sx-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft, #f0f3fa); color: var(--muted); font-size: 12px; font-weight: 700; transition: background .25s, color .25s; }
.sx-index__cta { display: block; margin: 10px 4px 4px; padding: 14px 12px 4px; border-top: 1px solid var(--line, #e6eaf2); color: var(--green-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.sx-index__cta:hover { text-decoration: underline; }
.sx-list { display: grid; gap: 28px; }
.sx-item { position: relative; background: #fff; border: 1px solid var(--line, #e6eaf2); border-radius: 24px; box-shadow: var(--sh, 0 10px 30px rgba(19,31,67,.06)); padding: 36px 40px; overflow: hidden; transition: box-shadow .35s, transform .35s; }
.sx-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--blue), var(--green)); transform: scaleY(.25); transform-origin: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sx-item:hover { box-shadow: var(--sh-lg, 0 22px 50px rgba(19,31,67,.12)); transform: translateY(-3px); }
.sx-item:hover::before, .sx-item.is-current::before { transform: scaleY(1); }
.sx-item__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sx-icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--blue), #3fb97a); color: #fff; box-shadow: 0 10px 24px rgba(65,105,225,.28); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.sx-icon .ui-icon { width: 26px; height: 26px; }
.sx-item:hover .sx-icon { transform: rotate(-6deg) scale(1.06); }
.sx-item__head .sx-num { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.sx-item__head h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.01em; }
.sx-item__body p { font-size: 16px; line-height: 1.75; color: #3a4256; max-width: 68ch; }
.sx-item__body .sx-lead { font-size: 19px; line-height: 1.6; color: var(--navy); font-weight: 500; }
.sx-item__body .sx-pop { display: inline-block; margin: 2px 0 18px; padding: 10px 18px; border-radius: 999px; background: rgba(79,200,121,.14); color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 18px; }
.sx-item__body .sx-quote { position: relative; margin: 8px 0 0; padding: 22px 26px 22px 30px; border-radius: 18px; background: var(--soft, #f5f8ff); color: var(--navy); font-size: 17px; }
.sx-item__body .sx-quote::before { content: "\201C"; position: absolute; left: 12px; top: -8px; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--green); }
.sx-start { position: relative; margin-top: 72px; padding: 56px 56px 48px; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(79,200,121,.35), transparent 60%), linear-gradient(135deg, #131f43, #203470); box-shadow: var(--sh-lg, 0 22px 50px rgba(19,31,67,.2)); }
.sx-start h3 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.sx-start__intro { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.sx-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.sx-step { position: relative; padding: 28px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .3s; }
.sx-step:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }
.sx-step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: var(--navy); margin-bottom: 14px; }
.sx-step__icon .ui-icon { width: 24px; height: 24px; }
.sx-step__n { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.sx-step p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; }
.sx-step p a { color: #fff; text-decoration-color: var(--green); text-underline-offset: 3px; }
.sx-step .sx-step__fine { font-size: 14px; color: rgba(255,255,255,.7); }
.sx-start .btn-row { gap: 14px; }
.sx-start .btn:not(.btn--outline) { background: var(--green); border-color: var(--green); color: var(--navy); }
.sx-start .btn:not(.btn--outline):hover { background: #6ad690; border-color: #6ad690; }
@media (max-width: 1024px) {
  .sx-layout { grid-template-columns: 1fr; gap: 24px; }
  .sx-index { position: static; padding: 10px; }
  .sx-index ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .sx-index a { font-size: 14px; padding: 8px; gap: 8px; }
  .sx-index a:hover { transform: none; }
}
@media (max-width: 640px) {
  .sx-intro { margin-bottom: 28px; padding-top: 24px; }
  .sx-item { padding: 26px 22px; border-radius: 20px; }
  .sx-icon { width: 48px; height: 48px; border-radius: 14px; }
  .sx-item__body .sx-lead { font-size: 17px; }
  .sx-start { padding: 36px 22px 30px; margin-top: 48px; border-radius: 22px; }
  .sx-steps { grid-template-columns: 1fr; }
  .sx-start .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-item, .sx-item::before, .sx-icon, .sx-index a, .sx-step { transition: none; }
  .sx-item:hover, .sx-step:hover { transform: none; }
}
.sx .sx-index a { color: var(--navy); text-decoration: none; }
.sx .sx-index a[aria-current="true"] { color: var(--blue-dark); }
.sx .sx-index .sx-index__cta { color: var(--green-text); }
.sx .sx-start .sx-step p a { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
