/* ============================================================
   Julep Health public site, 2026-09-15 design pass (Fable).
   Light pre-app ground per the Julep Design Language. One type
   scale, one card level, one primary action per block. No
   framework: this file is the whole visual system for the site.
   ============================================================ */

:root {
    --ground: #f7f8fa;
    --paper: #ffffff;
    --ink: #0f172a;
    --muted: #394352;
    --soft: #5f6b7a;
    --line: #dde3ea;
    --line-strong: #c9d2dc;
    --green: #6bbe4a;
    --green-dark: #56a53a;
    --green-ink: #2f7d68;
    --green-deep: #235d50;
    --mint: #e8f4ef;
    --mint-2: #d9eee7;
    --navy: #001f3f;
    --navy-2: #0a2f5c;
    --leaf: #9be07f;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(0, 31, 63, .07);
    --shadow-lg: 0 24px 60px rgba(0, 31, 63, .12);
    --wrap: 1180px;
    --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--ground); color: var(--ink);
    font-family: var(--font-body); font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.75rem); }
h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--green-ink); margin-bottom: .9rem;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 62ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: .9rem auto 0; max-width: 58ch; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left p { margin-left: 0; }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; border-radius: 6px; }
.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; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn-hero, .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 54px; padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 1.05rem; line-height: 1.1; text-decoration: none; cursor: pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-hero:hover, .btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-hero-primary, .btn-primary {
    background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(107, 190, 74, .30);
}
.btn-hero-primary:hover, .btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-hero-quiet { background: var(--paper); color: var(--ink); border-color: var(--line-strong); box-shadow: 0 4px 14px rgba(0, 31, 63, .06); }
.btn-hero-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-hero-navy { background: var(--navy); color: #fff; }
.btn-hero-navy:hover { background: var(--navy-2); color: #fff; }
.btn-hero-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .98rem; }
.textlink { font-weight: 700; color: var(--green-ink); display: inline-flex; align-items: center; gap: .4rem; }
.textlink .ico { width: 1em; height: 1em; transition: transform .15s ease; }
.textlink:hover .ico { transform: translateX(3px); }

/* ---------- Announcement + design banners ---------- */
.announcement-banner {
    display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1rem;
    background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; text-align: center; text-decoration: none;
}
.announcement-banner:hover { background: var(--navy-2); color: #fff; text-decoration: none; }

/* ---------- Header ---------- */
.site_header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site_header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 31, 63, .06); }
.site_header .bar { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.site_link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site_link img { height: 46px; width: auto; }
.main_menu { flex: 1 1 auto; display: flex; justify-content: center; }
.main_menu_list { display: flex; flex-wrap: nowrap; gap: .1rem 1.2rem; align-items: center; white-space: nowrap; }
.main_menu_list a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.main_menu_list a:hover { text-decoration: none; border-bottom-color: var(--green); }
.header_btns_group { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; margin-left: auto; }
.btn_hotline { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; padding: .5rem .75rem; border-radius: 999px; }
.btn_hotline:hover { text-decoration: none; background: var(--mint); }
.btn_hotline .ico { color: var(--green-ink); }
.mobile_menu_btn {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong);
    background: var(--paper); color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.mobile_menu_btn .ico { width: 22px; height: 22px; }
@media (max-width: 1240px) {
    .btn_hotline .btn_text { display: none; }
    .btn_hotline { width: 46px; height: 46px; justify-content: center; padding: 0; border: 1px solid var(--line-strong); }
}
@media (max-width: 991.98px) {
    .site_header .bar { min-height: 68px; gap: .75rem; }
    .site_link img { height: 40px; }
    .main_menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
        border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 31, 63, .12); padding: .5rem 24px 1rem;
    }
    .main_menu.open { display: block; }
    .main_menu_list { flex-direction: column; align-items: stretch; gap: 0; }
    .main_menu_list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .main_menu_list li:last-child a { border-bottom: 0; }
    .mobile_menu_btn { display: inline-flex; }
    .header_btns_group .d-none { display: none !important; }
    .btn_hotline .btn_text { display: none; }
    .btn_hotline { width: 46px; height: 46px; justify-content: center; padding: 0; border: 1px solid var(--line-strong); }
}

/* ---------- Hero ---------- */
.hero-section-v3 { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, var(--ground) 100%); }
.hero-section-v3::before {
    content: ""; position: absolute; inset: auto -10% -30% auto; width: 60vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(107, 190, 74, .16), transparent 70%); pointer-events: none;
}
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-content-left h1 { margin-bottom: 1.25rem; }
.hero-content-left h1 em { font-style: italic; color: var(--green-ink); }
.hero-content-left .lead { margin-bottom: 1.75rem; }
.hero-cta-wrap { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; color: var(--soft); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .ico { color: var(--green-ink); }
.hero-visual { position: relative; }
.hero-panel {
    position: relative; aspect-ratio: 4 / 3.3; border-radius: 28px; overflow: hidden;
    background:
        radial-gradient(70% 60% at 85% 10%, rgba(155, 224, 127, .45), transparent 70%),
        radial-gradient(60% 50% at 10% 95%, rgba(47, 125, 104, .18), transparent 70%),
        linear-gradient(160deg, #f1f8f3 0%, #e6f2ec 60%, #dcebe4 100%);
    border: 1px solid rgba(47, 125, 104, .14); box-shadow: var(--shadow-lg);
}
.hero-leaf { position: absolute; right: -6%; bottom: -10%; width: 62%; fill: none; stroke: rgba(47, 125, 104, .16); stroke-width: 3; stroke-linecap: round; }
.hcard {
    position: absolute; display: flex; align-items: center; gap: .9rem; background: rgba(255, 255, 255, .97); min-height: 78px;
    border: 1px solid rgba(15, 23, 42, .07); border-radius: 18px; padding: .95rem 1.1rem; box-shadow: 0 16px 40px rgba(0, 31, 63, .12);
    animation: hfloat 7s ease-in-out infinite alternate;
}
.hcard strong { display: block; font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hcard div span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.hcard-glyph { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--green-ink); line-height: 0; }
.hcard-glyph .ico { width: 22px; height: 22px; display: block; }
.hpill { margin-left: auto; align-self: flex-start; white-space: nowrap; background: var(--green); color: #fff !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; line-height: 1.1 !important; }
.hspark { margin-left: auto; width: 64px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--green-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hspark circle { fill: var(--green); stroke: none; }
.hcard-1 { top: 10%; left: 7%; width: 64%; animation-delay: 0s; }
.hcard-2 { top: 37%; right: 7%; width: 64%; animation-delay: -2.5s; }
.hcard-3 { top: 64%; left: 7%; width: 64%; animation-delay: -5s; }
.hbar {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: .7rem 1.25rem; background: rgba(0, 31, 63, .92); color: rgba(255, 255, 255, .9); font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}
@keyframes hfloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .hcard { animation: none; } }
@media (max-width: 991.98px) {
    .hero-row { grid-template-columns: 1fr; padding-top: 2.5rem; }
    .hero-panel { aspect-ratio: 16 / 11; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 576px) {
    .hero-cta-wrap .btn-hero { width: 100%; }
    .hero-panel { aspect-ratio: auto; height: 390px; }
    .hcard { padding: .75rem .85rem; gap: .65rem; }
    .hcard strong { font-size: .95rem; }
    .hcard span { font-size: .82rem; }
    .hcard-1 { top: 5%; left: 5%; width: 80%; }
    .hcard-2 { top: 30%; right: 5%; width: 80%; }
    .hcard-3 { top: 55%; left: 5%; width: 84%; }
    .hbar { font-size: .76rem; padding: .5rem .9rem; flex-direction: column; gap: .1rem; align-items: flex-start; }
}

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; padding: 1.15rem 0; }
.proof li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--muted); font-size: .98rem; }
.proof .ico { color: var(--green-ink); }
@media (max-width: 991.98px) { .proof ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .proof ul { grid-template-columns: 1fr; gap: .6rem; } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem;
    box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; transition: transform .18s ease, box-shadow .18s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .glyph { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
.card .glyph .ico { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .textlink { margin-top: auto; padding-top: .75rem; }
@media (max-width: 991.98px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--mint); padding: clamp(2rem, 4vw, 3rem) 0; overflow: hidden; }
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--mint), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--mint), transparent); }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 210px; width: auto; border-radius: 14px; box-shadow: 0 8px 22px rgba(0, 31, 63, .10); border: 1px solid rgba(0, 31, 63, .06); background: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; width: auto; overflow-x: auto; padding-bottom: .5rem; }
    .marquee::before, .marquee::after { display: none; }
}

/* ---------- Why Julep (navy ledger) ---------- */
.why { background: linear-gradient(160deg, var(--navy) 0%, #072a52 60%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; right: -15%; top: -30%; width: 55vw; max-width: 820px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 224, 127, .14), transparent 70%); pointer-events: none; }
.why .wrap { position: relative; z-index: 1; }
.why .eyebrow { color: var(--leaf); }
.why h2 { color: #fff; }
.why .section-head p { color: rgba(255, 255, 255, .82); }
.ledger { max-width: 1040px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .16); }
.ledger-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 1rem 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ledger-head span:first-child { color: rgba(255, 255, 255, .55); }
.ledger-head span:last-child { color: var(--leaf); }
.ledger li { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .12); align-items: start; }
.ledger .then { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: rgba(255, 255, 255, .6); line-height: 1.35; }
.ledger .now { font-weight: 700; font-size: 1.08rem; line-height: 1.5; color: #fff; display: flex; gap: .7rem; align-items: flex-start; }
.ledger .now .ico { color: var(--leaf); margin-top: .2rem; }
.ledger .label { display: none; }
.why .foot { text-align: center; color: rgba(255, 255, 255, .78); max-width: 62ch; margin: 2.25rem auto 0; font-size: 1.05rem; }
.why .foot b { color: #fff; }
@media (max-width: 767.98px) {
    .ledger-head { display: none; }
    .ledger li { grid-template-columns: 1fr; gap: .5rem; }
    .ledger .label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: .15rem; }
    .ledger .now .label { color: var(--leaf); }
    .ledger .now { display: block; }
    .ledger .now .ico { display: none; }
}

/* ---------- Two audiences ---------- */
.who { background: var(--paper); border-bottom: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; max-width: 1040px; margin: 0 auto; }
.who-card { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.75rem; display: flex; flex-direction: column; }
.who-card h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.who-card > p { color: var(--muted); }
.who-card ul { margin: .5rem 0 1.25rem; display: grid; gap: .5rem; }
.who-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.who-card li .ico { color: var(--green-ink); margin-top: .25rem; }
.who-card .textlink { margin-top: auto; }
.who-door { text-align: center; margin-top: 2.25rem; }
.who-door p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }
.who-door p b { color: var(--ink); }
@media (max-width: 991.98px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Promise ---------- */
.promise { background: var(--mint); text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.promise h2 { max-width: 22ch; margin: 0 auto .75rem; }
.promise h2 em { font-style: italic; color: var(--green-ink); }
.promise p { color: var(--muted); max-width: 58ch; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Get started bridge ---------- */
.get-started-bridge { background: var(--ground); }
.gs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gs-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; }
.gs-card-primary { border-color: var(--green); box-shadow: 0 14px 34px rgba(107, 190, 74, .18); }
.gs-badge { position: absolute; top: 1rem; right: 1rem; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.gs-card .glyph { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--green-ink); }
.gs-card .glyph.navy { background: #e6ecf5; color: var(--navy); }
.gs-card .glyph .ico { width: 24px; height: 24px; }
.gs-card-text { color: var(--muted); margin: 0; }
.gs-cta { margin-top: auto; align-self: flex-start; }
.gs-soon { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; background: var(--ground); border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 700; font-size: .92rem; padding: .6rem 1rem; border-radius: 999px; }
.gs-card-note { color: var(--soft); font-size: .9rem; margin: .5rem 0 0; }
.gs-help { text-align: center; color: var(--muted); margin: 2rem 0 0; }
.gs-help a { font-weight: 700; }
@media (max-width: 991.98px) { .gs-grid { grid-template-columns: 1fr; } .gs-cta { width: 100%; } }

/* ---------- Labs ---------- */
.labs { background: var(--paper); }
.labs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: .5rem; }
.lab-tile { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.2rem; color: inherit; display: flex; flex-direction: column; gap: .3rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lab-tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.lab-tile strong { font-size: 1.05rem; }
.lab-tile span { color: var(--muted); font-size: .95rem; }
.lab-tile .ico { color: var(--green-ink); width: 26px; height: 26px; margin-bottom: .4rem; }
.labs-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin-top: 2rem; }
.wba { margin-top: 3rem; background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.wba .eyebrow { color: var(--leaf); }
.wba h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; margin-bottom: .6rem; }
.wba p { color: rgba(255, 255, 255, .84); margin-bottom: 1.25rem; }
.wba ul { display: grid; gap: .55rem; }
.wba li { display: flex; gap: .6rem; align-items: flex-start; color: #fff; }
.wba li .ico { color: var(--leaf); margin-top: .25rem; }
@media (max-width: 991.98px) { .labs-grid { grid-template-columns: repeat(2, 1fr); } .wba { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .labs-grid { grid-template-columns: 1fr; } }

/* ---------- What we treat ---------- */
.treat { background: var(--ground); }
.treat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; max-width: 1040px; margin: 0 auto; }
.treat-grid li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid var(--line); align-items: start; }
.treat-grid .glyph { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green-ink); display: inline-flex; align-items: center; justify-content: center; }
.treat-grid .glyph .ico { width: 20px; height: 20px; }
.treat-grid h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.treat-grid p { color: var(--muted); margin: 0; font-size: .98rem; }
.treat-more { text-align: center; color: var(--muted); margin-top: 2rem; }
@media (max-width: 767.98px) { .treat-grid { grid-template-columns: 1fr; } }

/* ---------- Doctor ---------- */
.doctor { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doctor-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.doctor-photo { position: relative; }
.doctor-photo { max-width: 300px; }
.doctor-photo img { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.doctor-tag { position: static; margin-top: .75rem; padding: 0; background: none; border: 0; box-shadow: none; }
.doctor-tag strong { display: block; font-size: 1.05rem; }
.doctor-tag span { color: var(--muted); font-size: .92rem; }
.doctor-copy p { color: var(--muted); font-size: 1.08rem; }
.doctor-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin: 1.25rem 0 1.75rem; }
.doctor-copy li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.doctor-copy li .ico { color: var(--green-ink); margin-top: .25rem; }
@media (max-width: 991.98px) { .doctor-row { grid-template-columns: 1fr; } .doctor-photo { max-width: 240px; } }
@media (max-width: 576px) { .doctor-copy ul { grid-template-columns: 1fr; } }

/* ---------- Calculators ---------- */
.tools { background: var(--ground); }
.tools-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }
.tool-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem; font-weight: 700; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.tool-chip:hover { text-decoration: none; border-color: var(--green); transform: translateY(-2px); }
.tool-chip .ico { color: var(--green-ink); }
.tools-foot { text-align: center; margin-top: 1.5rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq_section { background: var(--paper); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--ground); padding: 0 1.25rem; }
.faq-list details[open] { background: var(--paper); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 700; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green-ink); font-weight: 800; font-size: 1.4rem; line-height: 1; flex: 0 0 auto; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { color: var(--muted); margin: 0 0 1.1rem; }

/* ---------- Insurance (flag) ---------- */
.jinsure { background: linear-gradient(180deg, #f3faf4 0%, var(--paper) 100%); border-top: 1px solid var(--line); }
.jinsure-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.jinsure-copy { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.jinsure-copy b { color: var(--ink); }
.jpayers { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.jpayer { display: flex; align-items: center; justify-content: center; min-height: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; font-weight: 800; color: var(--navy); text-align: center; font-size: .95rem; box-shadow: var(--shadow); }
.jpayer-note { color: var(--soft); font-size: .9rem; margin: .9rem 0 0; }
@media (max-width: 991.98px) { .jinsure-row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact_section { background: var(--ground); }
.contact-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; margin: 1.5rem 0; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.contact-list .glyph { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--green-ink); display: inline-flex; align-items: center; justify-content: center; }
.contact-list .glyph .ico { width: 20px; height: 20px; }
.contact-list h3 { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: .2rem; }
.contact-list p { margin: 0; font-weight: 600; }
.contact-list a { color: var(--ink); }
.hours { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.4rem; }
.hours h3 { font-size: 1rem; margin-bottom: .6rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.hours li span:last-child { font-weight: 700; }
.gmap_canvas { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; background: var(--mint); }
.gmap_canvas iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 991.98px) { .contact-row { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- Shared footer (includes/footer.php), restyled here ---------- */
.jfooter { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255, 255, 255, .85); margin-top: 0; padding: 3.5rem 0 0; font-size: .95rem; }
.jfooter .container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.jfooter .row { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 2rem; }
.jfooter a { color: rgba(255, 255, 255, .88); }
.jfooter a:hover { color: var(--leaf); }
.jfooter .jfooter-brand img { height: 42px; width: auto; margin-bottom: 1rem; background: #fff; padding: .35rem .6rem; border-radius: 10px; }
.jfooter .jfooter-tagline { max-width: 36ch; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.jfooter h4 { color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.jfooter ul li { margin-bottom: .55rem; line-height: 1.5; }
.jfooter .jfooter-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.jfooter .jfooter-contact i { display: none; }
.jfooter .jfooter-hours li { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .78); }
.jfooter .jfooter-hours li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }
.jfooter .jfooter-social { display: flex; gap: .6rem; margin-top: 1rem; }
.jfooter .jfooter-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.jfooter .jfooter-social a::after { content: attr(aria-label); }
.jfooter .jfooter-social a[aria-label*="Facebook"]::after { content: "f"; }
.jfooter .jfooter-social a[aria-label*="Instagram"]::after { content: "ig"; }
.jfooter .jfooter-social i { display: none; }
.jfooter .jfooter-bottom { margin-top: 2.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .65); text-align: center; }
.jfooter .jfooter-bottom a { text-decoration: underline; }
@media (max-width: 991.98px) { .jfooter .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .jfooter .row { grid-template-columns: 1fr; } .jfooter { padding-top: 2.5rem; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
    body { padding-bottom: 84px; }
    .mobile-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
        padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    }
    .mobile-bar .btn-hero { min-height: 50px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-hero, .btn, a.card, .lab-tile, .tool-chip { transition: none; }
}

/* ============================================================
   Site-wide page blocks (2026-09-15). Every public page shares the
   tokens above; these blocks compose the service, lab, tool and
   information pages so they read as one site with the home page.
   ============================================================ */

/* Active nav item */
.main_menu_list a.is-active { border-bottom-color: var(--green); }

/* Breadcrumb: quiet, one line */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: var(--soft); margin: 0 0 1rem; }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: var(--green-ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

/* Page hero: light band, copy left, optional aside right */
.phero { background: linear-gradient(180deg, #ffffff 0%, var(--ground) 100%); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -12%; top: -40%; width: 52vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 190, 74, .14), transparent 70%); pointer-events: none; }
.phero .wrap { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.phero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.phero h1 { margin-bottom: 1rem; }
.phero h1 em { font-style: italic; color: var(--green-ink); }
.phero .lead { margin-bottom: 1.5rem; }
.phero-cta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.phero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.1rem; color: var(--soft); font-size: .95rem; }
.phero-facts span { display: inline-flex; align-items: center; gap: .45rem; }
.phero-facts .ico { color: var(--green-ink); }
.phero-navy { background: linear-gradient(160deg, var(--navy) 0%, #072a52 60%, var(--navy-2) 100%); color: #fff; }
.phero-navy::before { background: radial-gradient(closest-side, rgba(155, 224, 127, .16), transparent 70%); }
.phero-navy h1, .phero-navy h2 { color: #fff; }
.phero-navy .eyebrow { color: var(--leaf); }
.phero-navy .lead, .phero-navy .phero-facts { color: rgba(255, 255, 255, .84); }
.phero-navy .phero-facts .ico { color: var(--leaf); }
.phero-navy .crumbs, .phero-navy .crumbs a { color: rgba(255, 255, 255, .7); }
@media (max-width: 991.98px) { .phero-row { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .phero-cta .btn-hero { width: 100%; } }

/* Aside card inside a hero or beside prose */
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.aside-card ul { display: grid; gap: .55rem; }
.aside-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.aside-card li .ico { color: var(--green-ink); margin-top: .25rem; }
.aside-card .price { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; letter-spacing: -.02em; line-height: 1; margin: .25rem 0; }
.aside-card .price small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--soft); letter-spacing: 0; }
.aside-card .btn-hero { width: 100%; margin-top: 1rem; }
.aside-card .fine { color: var(--soft); font-size: .88rem; margin: .75rem 0 0; }
.phero-navy .aside-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.phero-navy .aside-card h3, .phero-navy .aside-card li { color: #fff; }
.phero-navy .aside-card li .ico { color: var(--leaf); }
.phero-navy .aside-card .fine { color: rgba(255, 255, 255, .7); }

/* Bands */
.band-mint { background: var(--mint); }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-navy { background: linear-gradient(160deg, var(--navy) 0%, #072a52 60%, var(--navy-2) 100%); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--leaf); }
.band-navy .section-head p, .band-navy p { color: rgba(255, 255, 255, .84); }
.band-navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.band-navy .card h3 { color: #fff; }
.band-navy .card p { color: rgba(255, 255, 255, .8); }
.band-navy .card .glyph { background: rgba(155, 224, 127, .16); color: var(--leaf); }
.band-navy .textlink { color: var(--leaf); }

/* Prose: editorial text, generous measure */
.prose { max-width: 68ch; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.prose h2 { color: var(--ink); margin: 2.25rem 0 .75rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); margin: 1.75rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { display: grid; gap: .5rem; margin: .75rem 0 1.25rem; }
.prose li { position: relative; padding-left: 1.6rem; }
.prose li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--green-ink); border-bottom: 2.5px solid var(--green-ink); transform: rotate(-45deg) translateY(-50%); }
.prose b, .prose strong { color: var(--ink); }
.prose .callout { border-left: 4px solid var(--green); background: var(--mint); padding: 1rem 1.25rem; border-radius: 0 14px 14px 0; margin: 1.5rem 0; color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col .aside-card { position: sticky; top: 92px; }
@media (max-width: 991.98px) { .two-col { grid-template-columns: 1fr; } .two-col .aside-card { position: static; } }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .9rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr; } }

/* Generic card grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card h3 + p { margin-top: .1rem; }
.card .count { margin-left: auto; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); background: var(--mint); border-radius: 999px; padding: .3rem .65rem; }
.card .card-head { display: flex; align-items: center; gap: .75rem; }

/* Marker / test lists inside a card */
.markers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .35rem .9rem; margin-top: .5rem; }
.markers li { position: relative; padding-left: 1.1rem; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.markers li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); }
.markers li small { display: block; color: var(--soft); font-size: .82rem; }
@media (max-width: 576px) { .markers { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--green); box-shadow: 0 14px 34px rgba(107, 190, 74, .18); }
.price-card .price { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -.02em; line-height: 1; margin: .5rem 0 .25rem; }
.price-card .price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--soft); }
.price-card ul { display: grid; gap: .5rem; margin: 1rem 0 1.5rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; }
.price-card li .ico { color: var(--green-ink); margin-top: .25rem; }
.price-card .btn-hero { margin-top: auto; width: 100%; }
@media (max-width: 991.98px) { .price-grid { grid-template-columns: 1fr; } }

/* Feature row: image or panel + copy */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.feature.rev > :first-child { order: 2; }
@media (max-width: 991.98px) { .feature { grid-template-columns: 1fr; } .feature.rev > :first-child { order: 0; } }

/* Tile grids (lab categories, tools) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.15rem; color: inherit; display: flex; flex-direction: column; gap: .3rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.tile strong { font-size: 1.05rem; }
.tile span { color: var(--muted); font-size: .95rem; }
.tile .ico { color: var(--green-ink); width: 26px; height: 26px; margin-bottom: .4rem; }
.tile .price-tag { margin-top: auto; padding-top: .5rem; font-weight: 800; color: var(--ink); }
@media (max-width: 991.98px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }

/* Table of tests (lab menu) */
.test-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.test-table th, .test-table td { text-align: left; padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.test-table th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); background: var(--ground); border-top: 0; }
.test-table td.price { font-weight: 800; white-space: nowrap; text-align: right; }
.test-table td small { display: block; color: var(--soft); }
.table-wrap { overflow-x: auto; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .84); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 991.98px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }
@media (max-width: 576px) { .cta-band .actions .btn-hero { width: 100%; } }

/* Quiet notes and pills */
.note { color: var(--soft); font-size: .92rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); background: var(--mint); border-radius: 999px; padding: .35rem .7rem; }
.pill.navy { color: #fff; background: var(--navy); }
.pill.gold { color: #6b4a00; background: #fbecc4; }

/* Definition list (facts) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.fact dt { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: .25rem; }
.fact dd { margin: 0; font-weight: 800; color: var(--ink); font-size: 1.15rem; }

/* Forms on public pages (help chooser etc.) */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); color: var(--ink); min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(47, 125, 104, .35); border-color: var(--green-ink); }
.choice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; }
.choice:hover { border-color: var(--green); }
.choice input { margin-top: .3rem; width: 20px; height: 20px; accent-color: var(--green-ink); }
.choice strong { display: block; }
.choice span { color: var(--muted); font-size: .95rem; }

/* Four-step rows */
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .steps.four { grid-template-columns: 1fr; } }

/* Grid children never force a track wider than its column */
.card, .step, .tile, .who-card, .gs-card, .aside-card, .price-card, .fact, .lab-tile, .markers li { min-width: 0; }
.card-head h3 { min-width: 0; overflow-wrap: anywhere; }
