/* =============================================================
   Health Personal Best — stylesheet
   Brand: navy (#153049) and teal (#2E9D99) on white, Poppins headings, Roboto body
   ============================================================= */

/* ---------- Fonts ----------
   Served from our own site rather than Google Fonts, so opening the page sends
   nothing to Google. Files from Fontsource (Open Font License, see
   assets/fonts/*-LICENSE.txt). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #153049; --ink: #23384A; --body: #3C5265; --muted: #6D8294;
  --teal: #2E9D99; --teal-dk: #23807D; --teal-lt: #5FC9C4; --teal-pale: #E6F2F1;
  --slate-pale: #EDF2F6; --slate-line: #D8E2EA; --rule: #E2E9EF;
  --on-navy: #D7E5EE; --on-navy-muted: #A9C2D2;
  --display: "Poppins", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --text: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --width: 1040px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--body); font-family: var(--text);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 500; color: var(--ink); }
sup { font-size: .7em; }
a { color: var(--teal-dk); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: var(--width); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25; letter-spacing: -.015em; color: var(--navy); margin: 0 0 16px;
  text-wrap: balance; }
.subhead { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4; letter-spacing: -.01em; color: var(--teal-dk); margin: 0 0 16px; max-width: 46ch; text-wrap: balance; }
.section { padding-block: clamp(44px, 7vw, 76px); }
.section--pale { background: var(--teal-pale); }
.lead { max-width: 68ch; }

.btn { display: inline-block; background: var(--navy); color: #fff; font-family: var(--display);
  font-weight: 600; font-size: .95rem; text-decoration: none; padding: 13px 24px; border-radius: 999px;
  white-space: nowrap; }
.btn:hover { background: var(--teal-dk); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; color: var(--navy);
  border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 10px 24px; flex-wrap: wrap; padding-block: 12px; }
.mark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600;
  font-size: 1.3rem; letter-spacing: -.01em; color: var(--navy); text-decoration: none; }
.mark em { font-style: normal; color: var(--teal-dk); }
.logo { width: 36px; height: 36px; border-radius: 9px; background: var(--teal); flex: none;
  display: flex; align-items: center; justify-content: center; }
.logo svg { width: 19px; height: 19px; }
.site-nav { display: flex; align-items: center; gap: 6px 24px; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--teal-dk); }
.site-nav .btn { font-size: .88rem; padding: 9px 17px; }

/* ---------- Hero ---------- */
.hero { background: #fff; color: var(--body); padding-block: clamp(40px, 7vw, 76px) clamp(36px, 5vw, 56px); }
.brandname { display: block; font-family: var(--display); font-weight: 600; font-size: 1.45rem;
  letter-spacing: -.02em; line-height: 1.15; color: var(--navy); }
.brandname em { font-style: normal; color: var(--teal-dk); }
.brandsub { display: block; font-size: 1rem; color: var(--muted); margin: 5px 0 30px; max-width: 52ch; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 0 0 22px; max-width: 14ch; text-wrap: balance; }
.hero-lede { font-size: 1.15rem; line-height: 1.6; max-width: 60ch; color: var(--body); }
.hero-lede b { color: var(--ink); font-weight: 500; }
.herocta { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: 30px; }
.herocta p { margin: 0; font-size: 1rem; color: var(--muted); max-width: 46ch; }
.herocta p a { color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.faces { display: flex; gap: 20px 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--rule); }
.face { display: flex; align-items: center; gap: 14px; }
.face img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #C9E3E1; }
.face b { display: block; color: var(--navy); font-family: var(--display); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.face span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }

/* ---------- Intro and stat ---------- */
.intro-heading { margin-bottom: clamp(24px, 4vw, 36px); }
.intro { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.intro > * { min-width: 0; }
.stat .big { display: block; font-family: var(--display); font-size: clamp(3rem, 8vw, 4.2rem); font-weight: 600;
  color: var(--teal-dk); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat .cap { display: block; font-size: 1rem; line-height: 1.45; color: var(--body); }
.stat .note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .9rem;
  line-height: 1.45; color: var(--muted); }

/* ---------- Panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(32px, 5vw, 48px); }
.panels-heading { margin: clamp(44px, 7vw, 72px) 0 24px; }
.panels-heading + .panels { margin-top: 0; }
.panel { border-radius: 12px; padding: 26px 28px 28px; }
.panel.ppl { background: var(--teal-pale); }
.panel.org { background: var(--slate-pale); }
.panel h3 { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: .78rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dk); margin: 0 0 16px; }
.panel.org h3 { color: #4E6E88; }
.panel h3 svg { width: 17px; height: 17px; flex: none; }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { position: relative; padding-left: 18px; line-height: 1.45; margin-bottom: 10px; }
.panel li:last-child { margin-bottom: 0; }
.panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal); }
.panel.org li::before { background: #6E90AA; }

/* ---------- Phases ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.phase { background: #fff; border-radius: 14px; padding: 24px 24px 26px; }
.phase .d { font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px; }
.phase .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.phase h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--navy);
  margin: 0; letter-spacing: -.015em; }
.phase .hd svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.phase p { font-size: .98rem; line-height: 1.55; }
.note-box { background: #fff; border-radius: 14px;
  padding: 20px 24px; margin-top: 24px; }
.note-box p { font-size: .98rem; line-height: 1.6; max-width: 90ch; }

/* ---------- Options ---------- */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.opt { border: 1px solid var(--slate-line); border-radius: 14px; padding: 28px 30px; display: flex; flex-direction: column; }
.opt--hero { border: 2px solid var(--navy); }
.opt h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--navy);
  margin: 0 0 8px; letter-spacing: -.02em; }
.opt .lede { font-size: 1.05rem; line-height: 1.55; color: var(--body); margin: 0; }
.opts-cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 28px; }
.opts-cta p { margin: 0; color: var(--muted); }
.opt ul { margin: 0 0 22px; padding: 0; list-style: none; }
.opt li { position: relative; padding-left: 25px; font-size: 1rem; line-height: 1.5; margin-bottom: 11px; }
.opt li:last-child { margin-bottom: 0; }
.opt li svg { position: absolute; left: 0; top: .28em; width: 15px; height: 15px; color: var(--teal); }
.opt .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); }
.opt .price .n { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--navy); letter-spacing: -.02em; }
.opt .price .n span { font-family: var(--text); font-weight: 400; font-size: 1rem; color: var(--body); letter-spacing: 0; }
.opt .price .sub { font-size: .93rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.addon { background: var(--teal-pale); border-radius: 12px; padding: 22px 26px; display: grid;
  grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-top: 22px; }
.addon .tag { font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap; padding-top: 5px; }
.addon p { font-size: .98rem; line-height: 1.6; }
.addon .ask { color: var(--muted); }

/* ---------- Why us ---------- */
.why { background: var(--navy); color: #fff; }
.why h2 { color: #fff; }
.why .subhead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.4; color: var(--teal-lt); margin-bottom: 32px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 40px); }
.why-grid > * { min-width: 0; }
.why h3 { display: flex; align-items: flex-start; gap: 9px; font-family: var(--display); font-weight: 600;
  font-size: 1.15rem; margin: 0 0 10px; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.why h3 svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--teal-lt); }
.why p { font-size: .97rem; line-height: 1.6; color: #C3D5E1; }

/* ---------- Voices ---------- */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.voice { background: var(--teal-pale); border-radius: 12px; padding: 26px 28px 22px; margin: 0;
  display: flex; flex-direction: column; }
.voice > div { display: flex; align-items: flex-start; gap: 10px; }
.voice .mark-q { flex: none; font-family: var(--display); font-size: 2.2rem; font-weight: 700;
  color: var(--teal); line-height: .72; margin-top: 6px; }
.voice blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.15rem;
  line-height: 1.45; color: var(--navy); letter-spacing: -.01em; }
.voice figcaption { margin-top: auto; padding-top: 12px; clear: both; font-size: .88rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- Contact and footer ---------- */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.contact h2 { margin-bottom: 6px; }
.contact p { margin: 0; }
.contact .addr { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--teal); }
.site-footer { border-top: 1px solid var(--rule); padding-block: 28px 40px; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.site-footer p { margin: 0 0 6px; max-width: 110ch; }
.site-footer .fine { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* ---------- Narrow screens ---------- */
@media (max-width: 820px) {
  .intro, .panels, .phases, .opts, .why-grid, .voices { grid-template-columns: 1fr; }
  .addon { grid-template-columns: 1fr; gap: 8px; }
  .site-nav a:not(.btn) { display: none; }
  html { scroll-padding-top: 64px; }
}
@media (max-width: 420px) {
  .mark { font-size: 1.15rem; }
  .site-nav .btn { font-size: .8rem; padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Text pages (privacy notice) ---------- */
.prose > * { max-width: 72ch; }
.prose h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1;
  letter-spacing: -.025em; color: var(--navy); margin: 0 0 14px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-top: 36px; }
mark.todo { background: #FFE9A8; color: var(--ink); padding: 1px 4px; border-radius: 3px; }
.site-footer .legal { margin-top: 14px; }
.site-footer .legal + .legal { margin-top: 6px; }
.site-footer a { color: var(--muted); }
