/* HOPE Health public website (redesign, 2026-12-03).
   Shared by index, glp1, how-it-works, pricing, bmi and contact.
   Brand: Cream page, Ivory (#FDFBF6) cards/fields, never pure white.
   Clash Display headings, General Sans body (Fontshare, linked per page). */

:root {
  --navy: #1a2a1a;
  --sage: #4A7C59;
  --sage-dark: #3a6347;
  --sand: #e9c46a;
  --cream: #F5F1E8;
  --ivory: #FDFBF6;
  --ink-2: #5a6577;       /* secondary text (slate-ink) */
  --logo-slate: #64748b;  /* logo subtitle only */
  --mist: #e6ebe2;        /* soft sage panel */
  --moss: #dfe6dc;        /* image placeholder / chips */
  --line: #e0d9c9;
  --field-line: #d6d0c2;
  --track: #eef1ee;
  --track-line: #dde3de;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'General Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Clash Display', system-ui, sans-serif; font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--sage-dark); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 16px; color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1376px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-ivory { background: var(--ivory); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--sage-dark); }
.muted { color: var(--ink-2); }
.small { font-size: 13px; color: var(--ink-2); }
.h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.04; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.lead { font-size: 18px; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; font-family: inherit; border: 0; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--sage); color: var(--ivory); }
.btn-primary:hover { background: var(--sage-dark); color: var(--ivory); }
.btn-secondary { background: var(--ivory); color: var(--navy); border: 1px solid #c9c3b4; }
.btn-secondary:hover { color: var(--navy); border-color: var(--navy); }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { background: #dcb352; color: var(--navy); }
.btn-ghost { background: rgba(253,251,246,0.12); color: var(--ivory); border: 1px solid rgba(253,251,246,0.6); }
.btn-ghost:hover { background: rgba(253,251,246,0.22); color: var(--ivory); }
.btn-ivory { background: var(--ivory); color: var(--navy); }
.btn-ivory:hover { background: var(--cream); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--sage-dark); text-decoration: underline; cursor: pointer; align-self: flex-start; }

/* Header */
.site-header { max-width: 1240px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.brand b { font-family: 'Clash Display', system-ui, sans-serif; font-weight: 600; font-size: 24px; letter-spacing: -0.025em; line-height: 1; color: var(--navy); }
.brand i { font-style: normal; font-family: 'General Sans', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 0.22em; line-height: 1; color: var(--logo-slate); text-transform: uppercase; }
.site-footer .brand b { color: var(--cream); }
.site-footer .brand i { color: #c8cfc4; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.main-nav a:not(.btn) { color: var(--navy); text-decoration: none; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; min-height: 44px; min-width: 44px; border-radius: 999px; border: 1px solid #c9c3b4; background: var(--ivory); color: var(--navy); font: inherit; font-size: 15px; font-weight: 500; padding: 0 16px; cursor: pointer; }
@media (max-width: 960px) {
  .site-header { padding: 14px 16px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 12px; right: 12px; z-index: 50; flex-direction: column; align-items: stretch; gap: 4px; background: var(--ivory); border-radius: 20px; padding: 12px; box-shadow: 0 20px 50px rgba(26,42,26,0.18); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-size: 17px; }
  .main-nav .btn { margin-top: 6px; }
}

/* Cards */
.card { background: var(--ivory); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 18px; }
.card p { font-size: 14px; color: var(--ink-2); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.section-ivory .card { background: var(--cream); }
.panel { background: var(--ivory); border-radius: 28px; padding: 32px; box-shadow: 0 12px 40px rgba(26,42,26,0.08); }
.ovl { background: var(--cream); border-radius: 28px; box-shadow: 0 2px 6px rgba(26,42,26,0.08), 0 24px 48px rgba(26,42,26,0.22); }
.chip { background: var(--ivory); border-radius: 999px; box-shadow: 0 10px 24px rgba(26,42,26,0.18); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.tag { align-self: flex-start; background: var(--moss); color: var(--sage-dark); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.step-tag { align-self: flex-start; background: var(--sand); border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 500; }
.photo { width: 100%; object-fit: cover; border-radius: 20px; background: var(--moss); }

/* Photo hero (image + gradient + content) */
.photo-hero { position: relative; border-radius: 36px; overflow: hidden; background: #2c3d2c; display: flex; align-items: flex-end; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,42,26,0.82) 0%, rgba(26,42,26,0.55) 42%, rgba(26,42,26,0.05) 75%); }
.photo-hero .inner { position: relative; width: 100%; padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.on-dark { color: var(--ivory); }
.on-dark h1, .on-dark h2 { color: var(--ivory); }
@media (max-width: 640px) { .photo-hero .inner { padding: 28px 20px; gap: 28px; } .photo-hero { border-radius: 28px; } .wrap { padding: 0 16px; } .wrap-wide { padding: 0 12px; } .section { padding: 64px 0; } .panel { padding: 22px; } }

/* Soft hero (inner pages) */
.soft-hero { background: var(--mist); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.soft-hero > div { flex: 1 1 400px; min-width: 0; }
@media (max-width: 640px) { .soft-hero { padding: 28px 20px; border-radius: 26px; } }

/* Hero care-plan card */
.plan-card { background: var(--ivory); border-radius: 20px; box-shadow: 0 1px 2px rgba(26,42,26,0.06), 0 20px 50px rgba(26,42,26,0.28); overflow: hidden; color: var(--navy); }
.plan-card .head { padding: 20px 22px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #edf0ed; }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--moss); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.plan-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0ed; font-size: 14px; }
.plan-row:last-child { border-bottom: 0; }
.plan-row .ico { width: 32px; height: 32px; border-radius: 10px; background: #eef4ef; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.plan-row .state { font-size: 13px; font-weight: 500; color: var(--sage-dark); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--sage); display: inline-block; }

/* Marquee */
.marquee-band { overflow: hidden; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 14px; color: var(--ink-2); }
.marquee { display: inline-flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap; }
.marquee span::before { content: '✓'; color: var(--sage); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .5s ease both; }

/* Quiz + option buttons */
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; min-height: 56px; padding: 0 18px 0 20px; border-radius: 14px; border: 1px solid #cfd8d1; background: var(--ivory); font: inherit; font-size: 16px; font-weight: 500; color: var(--navy); cursor: pointer; box-shadow: 0 1px 2px rgba(26,42,26,0.05); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--sage); background: #f3f8f4; }
.progress { height: 6px; border-radius: 6px; background: #ece7db; }
.progress > div { height: 6px; border-radius: 6px; background: var(--sage); transition: width .4s; }

/* Segmented control + pill tabs */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--track); border: 1px solid var(--track-line); border-radius: 999px; padding: 4px; align-self: flex-start; }
.seg button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: var(--navy); }
.seg button[aria-checked="true"] { background: var(--sage); color: var(--ivory); box-shadow: 0 1px 4px rgba(26,42,26,0.18); }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; background: var(--ivory); color: var(--navy); border: 1px solid var(--field-line); }
.pill-tabs button[aria-selected="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* How it works (home) */
.how-list button { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; cursor: pointer; text-align: left; width: 100%; opacity: .55; transition: opacity .3s; color: var(--navy); }
.how-list button[aria-selected="true"] { opacity: 1; }
.how-list .num { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; font-weight: 500; background: var(--cream); color: var(--ink-2); }
.how-list button[aria-selected="true"] .num { background: var(--sage); color: var(--ivory); }
.how-stage { position: relative; min-height: 640px; border-radius: 32px; overflow: hidden; background: var(--moss); }
.how-panel { position: absolute; inset: 0; }
.how-panel[hidden] { display: none; }
.how-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how-panel .chip { position: absolute; top: 24px; right: 24px; }
.how-card { position: absolute; left: 24px; bottom: 24px; width: 360px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.how-card .n { width: 30px; height: 30px; border-radius: 999px; background: var(--sage); color: var(--ivory); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.how-card .t { font-family: 'Clash Display', sans-serif; font-size: 22px; font-weight: 500; line-height: 1.15; }
.mini { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.mini.on { border: 2px solid var(--sage); padding: 11px 13px; display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 640px) { .how-stage { min-height: 520px; } .how-card { left: 12px; right: 12px; bottom: 12px; width: auto; } .how-panel .chip { top: 12px; right: 12px; } }

/* Comparison table */
.cmp { min-width: 640px; display: flex; flex-direction: column; text-align: left; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cmp-row.head { border-top: 0; align-items: end; }
.cmp-row > * { position: relative; padding: 18px 12px; text-align: center; font-size: 15px; color: var(--ink-2); }
.cmp-row > :first-child { text-align: left; padding-left: 16px; font-size: 16px; color: var(--navy); }
.cmp-row > .hope { background: var(--sage); color: var(--ivory); font-weight: 500; }
.cmp-row.head > .hope { border-radius: 24px 24px 0 0; padding: 26px 12px 18px; font-family: 'Clash Display', sans-serif; font-size: 22px; }
.cmp-row.head > * { color: var(--navy); font-size: 16px; }
.cmp-row:last-child > .hope { border-radius: 0 0 24px 24px; }

/* Price box */
.price-box { background: var(--cream); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.section:not(.section-ivory) .price-box { background: var(--ivory); }
.price { font-family: 'Clash Display', sans-serif; font-size: 56px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
/* Holiday offer: the regular price, struck through, next to the $29 first month */
.was { font-family: 'Clash Display', sans-serif; font-size: 0.55em; font-weight: 400; color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 2px; letter-spacing: -0.01em; }
.price .was, .row > .was { font-size: 28px; }
.offer-tag { background: var(--sand); color: var(--navy); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 500; align-self: flex-start; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sage); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: 12px; }

/* Forms */
.field-wrap { display: flex; flex-direction: column; gap: 6px; }
.field-wrap label, .label { font-size: 14px; font-weight: 500; }
.field { width: 100%; min-height: 48px; border: 1px solid var(--field-line); border-radius: 14px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--ivory); color: var(--navy); }
textarea.field { padding: 12px 14px; min-height: 120px; resize: vertical; }
.field[aria-invalid="true"] { border-color: #8e3520; }
.err { color: #8e3520; font-size: 14px; }
.note { background: var(--mist); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* CTA band + footer */
.cta-band { background: var(--sage); color: var(--cream); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--cream); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.cta-band p { color: #e8efe6; }
@media (max-width: 640px) { .cta-band { padding: 32px 22px; border-radius: 26px; } }
.site-footer { background: var(--navy); color: #c8cfc4; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; flex: 1 1 520px; }
.site-footer .cols p { font-size: 13px; font-weight: 500; color: #aab3a6; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.site-footer .legal { border-top: 1px solid #2f412f; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #aab3a6; }
.site-footer .legal a { color: #aab3a6; text-decoration: underline; }

/* Phone mockups (how it works page) */
.phone-stage { position: relative; height: 320px; border-radius: 20px; overflow: hidden; background: var(--moss); }
.phone { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); width: 240px; height: 340px; border-radius: 32px; background: var(--ivory); border: 6px solid var(--navy); box-shadow: 0 24px 50px rgba(26,42,26,0.22); padding: 22px 16px; display: flex; flex-direction: column; gap: 9px; font-size: 11px; color: var(--navy); }
.phone .q { font-family: 'Clash Display', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.2; }
.phone .o { border-radius: 10px; padding: 7px 9px; background: var(--ivory); border: 1px solid var(--field-line); }
.phone .o.on { background: #eef4ef; border-color: var(--sage); }
.phone .b { background: var(--sage); color: var(--ivory); border-radius: 999px; padding: 8px; text-align: center; font-weight: 500; }
.phone .p { border-radius: 999px; padding: 4px 9px; font-size: 10px; background: var(--ivory); border: 1px solid var(--field-line); }
.phone .p.on { background: var(--sage); color: var(--ivory); border-color: var(--sage); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--field-line); }
.timeline button { position: relative; background: none; border: 0; padding: 0 8px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--navy); }
.timeline .n { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; background: var(--cream); color: var(--ink-2); border: 2px solid var(--field-line); transition: all .3s; }
.timeline button.done .n { background: var(--moss); color: var(--sage-dark); border-color: var(--moss); }
.timeline button[aria-selected="true"] .n { background: var(--sage); color: var(--ivory); border-color: var(--sage); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { display: none; }
  .timeline button { flex-direction: row; text-align: left; gap: 14px; padding: 6px 0; }
}

/* BMI */
.bmi-bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #c9d6e3 0%, #c9d6e3 14%, #b9d2bf 14%, #b9d2bf 40%, #e9d79a 40%, #e9d79a 60%, #e7b8a6 60%, #e7b8a6 100%); }
.bmi-bar span { position: absolute; top: -5px; width: 20px; height: 20px; border-radius: 999px; background: var(--navy); border: 3px solid var(--ivory); transform: translateX(-50%); transition: left .4s; }
.site-footer a { overflow-wrap: anywhere; }

/* Holiday offer bar (top of every public page, hides itself after Jan 7) */
.offer-bar { background: var(--navy, #1a2a1a); color: #F5F1E8; font-size: 14px; line-height: 1.4; }
.offer-bar > div { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; text-align: center; }
.offer-bar b { background: #e9c46a; color: #1a2a1a; border-radius: 999px; padding: 2px 10px; font-weight: 500; font-size: 12px; }
.offer-bar a { color: #e9c46a; font-weight: 500; }
.offer-bar a:focus-visible { outline: 2px solid #e9c46a; outline-offset: 2px; }

/* Phones: photo panels stack text over the whole photo, so darken it evenly
   (the desktop shade fades out to the right, leaving text on bright sky). */
@media (max-width: 1024px) {
  .photo-hero .shade { background: linear-gradient(180deg, rgba(26,42,26,0.6) 0%, rgba(26,42,26,0.78) 100%) !important; }
}

/* ================================================================
   Phone layout (matches the phone artboards on the design canvas)
   ================================================================ */
.m-only, .offer-m, .m-shade, .m-login, .m-bar { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.hdr-m { display: flex; align-items: center; gap: 4px; }

/* Footer columns are <details>: always open on larger screens. */
.fcol summary { list-style: none; font-size: 13px; font-weight: 500; color: #aab3a6; margin-bottom: 8px; pointer-events: none; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol .stack { gap: 8px; }

@media (max-width: 960px) {
  /* Header: logo, Log in, menu icon; menu opens as a sheet under it */
  .site-header { position: sticky; top: 0; z-index: 40; max-width: none; padding: 8px 12px 8px 24px; min-height: 60px; background: rgba(245,241,232,0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .m-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; }
  .nav-toggle { width: 44px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .main-nav { left: 0; right: 0; top: 100%; border-radius: 0; background: var(--cream); box-shadow: 0 24px 40px rgba(26,42,26,0.12); padding: 8px 24px 28px; gap: 0; border-top: 1px solid var(--line); max-height: calc(100vh - 60px); overflow-y: auto; }
  .main-nav a:not(.btn) { display: flex; align-items: center; min-height: 58px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-family: 'Clash Display', system-ui, sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
  .main-nav a[aria-current="page"] { text-decoration: none; color: var(--sage-dark); }
  .main-nav .nav-login { display: none; }
  .main-nav .btn { margin-top: 24px; min-height: 54px; font-size: 16px; }
}

@media (max-width: 640px) {
  .m-only { display: block; }
  .d-only { display: none !important; }
  .wrap { padding: 0 24px; }
  .section { padding: 64px 0; }
  .h2 { font-size: 34px; line-height: 1.06; }
  .lead { font-size: 17px; }
  main .btn { width: 100%; min-height: 54px; white-space: normal; text-align: center; align-self: stretch !important; }
  main .seg { align-self: stretch; }

  /* Offer bar: one short line */
  .offer-bar > div { display: none; }
  .offer-m { display: block; padding: 10px 16px; text-align: center; font-size: 13px; color: var(--cream); text-decoration: none; }
  .offer-m span { color: var(--sand); font-weight: 500; }

  /* Photo panels (.ph): full width, words on the bottom of the photo,
     everything else (buttons, cards) on the page below it. */
  .wrap-wide:has(> .ph), .wrap-wide:has(> .row > .ph) { padding-left: 0; padding-right: 0; padding-top: 0 !important; }
  .wrap-wide:has(> .row > .ph) > .row { gap: 0 !important; }
  .ph { display: grid !important; grid-template-columns: 100%; min-height: 0 !important; border-radius: 0 !important; padding: 0 !important; background: var(--cream) !important; overflow: visible !important; align-items: stretch !important; }
  .ph > img, .ph > .ph-img { grid-area: 1 / 1; position: relative !important; inset: auto !important; width: 100%; height: 100%; min-height: 0; }
  .ph > img, .ph > .ph-img img { object-fit: cover; height: 100% !important; border-radius: 0 !important; }
  .ph > .shade, .ph > .m-shade { display: block; grid-area: 1 / 1; position: relative !important; inset: auto !important; background: linear-gradient(180deg, rgba(26,42,26,0) 25%, rgba(26,42,26,0.6) 55%, rgba(26,42,26,0.92) 100%) !important; }
  .ph .inner, .ph .ph-col { display: contents; }
  .ph .ph-copy { grid-area: 1 / 1; position: relative; z-index: 1; min-height: 500px; justify-content: flex-end; gap: 12px !important; padding: 140px 24px 32px !important; max-width: none !important; color: var(--ivory); }
  .ph .ph-copy h1, .ph .ph-copy h2 { color: var(--ivory); font-size: 38px !important; line-height: 1.04 !important; }
  .ph .ph-copy .eyebrow, .ph .ph-copy > p:first-child { font-size: 12px !important; letter-spacing: 0.14em; text-transform: uppercase; color: #dfe9dc !important; }
  .ph .ph-copy p { font-size: 17px !important; color: #eef2ea !important; }
  .ph .ph-copy .lead { color: #eef2ea; }
  .ph .ph-copy a { color: var(--ivory) !important; }
  .ph > :not(img):not(.shade):not(.m-shade):not(.inner):not(.ph-col):not(.ph-img):not(.ph-copy), .ph .inner > :not(.ph-col):not(.ph-copy), .ph .ph-col > :not(.ph-copy) { position: relative; margin: 24px 24px 0; flex: none !important; max-width: none !important; }
  .ph .ph-actions { order: 2; color: var(--navy); }
  .ph .ph-actions .row { flex-direction: column; gap: 4px !important; align-items: stretch; }
  .ph .ph-actions .btn-ghost { background: transparent; border: 0; color: var(--sage-dark); min-height: 44px; text-decoration: none; }
  .ph .ph-actions p, .ph .ph-actions p a { color: var(--ink-2) !important; text-align: center; font-size: 12px !important; }
  .ph .ph-card { order: 1; margin: -56px 16px 0 !important; z-index: 2; }
  .ph .ph-card .plan-rows { display: none; }
  .ph .ph-card .head { border-bottom: 0; padding: 18px; }
  .ph .ph-flat { background: transparent; box-shadow: none; padding: 8px 0 0 !important; margin-top: 16px !important; }
  .ph .ph-card2 { box-shadow: 0 1px 2px rgba(26,42,26,0.05), 0 16px 40px rgba(26,42,26,0.08); background: var(--ivory); }
  .soft-hero.ph .ph-copy .eyebrow { color: #dfe9dc; }
  .soft-hero.ph .ph-actions { margin-top: 24px; }

  /* Home: at a glance, steps, comparison, closing call to action */
  .marquee-band { display: none; }
  .m-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 22px; padding-bottom: 22px; }
  .m-stats > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
  .m-stats b { font-family: 'Clash Display', sans-serif; font-weight: 500; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
  .m-stats small { font-size: 16px; }
  .m-stats p + p { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
  .how-list, .how-stage { display: none !important; }
  .m-steps { list-style: none; margin: 0; padding: 0; }
  .m-steps li { display: grid; grid-template-columns: 36px 1fr 84px; gap: 14px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
  .m-steps .n { font-family: 'Clash Display', sans-serif; font-size: 22px; font-weight: 500; color: var(--sage); line-height: 1.1; }
  .m-steps .t { font-size: 17px; font-weight: 500; line-height: 1.3; }
  .m-steps .s { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
  .m-steps img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; }
  .m-cmp { display: block; width: 100%; text-align: left; }
  .m-cmp .r { display: grid; grid-template-columns: 1fr 56px 72px; gap: 8px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
  .m-cmp .r > :nth-child(n+2) { text-align: center; color: var(--ink-2); font-size: 14px; }
  .m-cmp .r > .hope { color: var(--sage); font-weight: 500; font-size: 17px; }
  .m-cmp .h { border-top: 0; font-size: 13px; color: var(--ink-2); align-items: end; }
  .m-cmp .h > .hope { font-size: 13px; color: var(--sage-dark); }
  .cta-photo { border-radius: 0 !important; background: var(--navy) !important; min-height: 0 !important; padding: 56px 24px !important; }
  .cta-photo > img, .cta-photo > .shade { display: none; }
  .cta-photo .ovl { background: transparent; box-shadow: none; padding: 0 !important; text-align: left !important; align-items: stretch !important; }
  .cta-photo .ovl h2 { color: var(--ivory); font-size: 34px !important; }
  .cta-photo .ovl p, .cta-photo .ovl .muted, .cta-photo .ovl .small { color: #c8cfc4; }
  .cta-photo .ovl a:not(.btn) { color: var(--sand); }
  .cta-photo .ovl .btn { background: var(--sand); color: var(--navy); }
  .wrap-wide:has(> .cta-photo) { padding: 72px 0 0 !important; }
  .cta-band { border-radius: 0; background: var(--navy); padding: 56px 24px; flex-direction: column; align-items: stretch; }
  section.wrap:has(> .cta-band) { padding-left: 0; padding-right: 0; padding-bottom: 0 !important; }
  .cta-band .btn-ivory { background: var(--sand); color: var(--navy); }
  .cta-band p { color: #c8cfc4; }

  /* Whole-health cards: two columns */
  .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-grid .card { padding: 16px; }
  .card-grid .card h3 { font-size: 16px; }

  /* Footer: cream, columns fold into accordions */
  .site-footer { background: var(--cream); color: var(--ink-2); padding-bottom: 80px; }
  .site-footer .brand b { color: var(--navy); }
  .site-footer .brand i { color: var(--logo-slate); }
  .site-footer > .wrap { padding-top: 48px !important; gap: 24px !important; }
  .site-footer .cols { display: block; border-top: 1px solid var(--line); flex-basis: 100%; }
  .site-footer a { color: var(--navy); }
  .fcol { border-bottom: 1px solid var(--line); }
  .fcol summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 54px; margin: 0; font-size: 16px; color: var(--navy); }
  .fcol summary::after { content: '+'; color: var(--sage-dark); font-size: 20px; transition: transform .2s; }
  .fcol[open] summary::after { transform: rotate(45deg); }
  .fcol .stack { gap: 0; padding-bottom: 12px; }
  .fcol .stack a { min-height: 40px; display: flex; align-items: center; font-size: 15px; }
  .site-footer .legal { border-top: 0; padding-top: 0; font-size: 12px; color: var(--ink-2); }
  .site-footer .legal a { color: var(--sage-dark); }

  /* Sticky "Get started" bar after the first screen */
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245,241,232,0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .m-bar.show { transform: none; }
  .m-bar .btn { width: auto; min-height: 48px; }
}
@media (max-width: 640px) {
  .ph:has(.ph-card) .ph-copy { padding-bottom: 96px !important; min-height: 560px; }
}
@media (max-width: 640px) {
  .ph { gap: 0 !important; }
  section.wrap:has(> .ph) { padding: 0 !important; max-width: none !important; }
  .ph > .shade, .ph > .m-shade { background: linear-gradient(180deg, rgba(26,42,26,0.15) 0%, rgba(26,42,26,0.5) 40%, rgba(26,42,26,0.92) 100%) !important; }
  .soft-hero.ph .ph-actions { margin-top: 24px !important; }
}
@media (max-width: 640px) {
  /* Text before its picture in side-by-side rows */
  .row > div:has(> img.photo:only-child), .row > div:has(> .phone-stage:only-child) { order: 2; }
}
