/* ============================================================
   txcovered.mavenonehealth.com — dark ledger design system
   Shared across index.html, roi-calculator.html and thank-you.html.
   Page-specific look is preserved via each page's wrapper class
   (.hero / .intro / .ty-hero, body.calc-page, footer.footer-tight
   / footer.footer-compact) rather than by forking the stylesheet.
   ============================================================ */

:root{
  --ink:#0B1220;          /* page background */
  --panel:#101A2C;        /* raised surfaces */
  --panel-2:#0D1626;      /* terminal / trace surface */
  --paper:#E9EDF2;        /* primary text */
  --muted:#8B98AB;        /* secondary text */
  --gold:#E8B84B;         /* money / primary action */
  --gold-deep:#D3A233;
  --teal:#35C4A6;         /* success / brand accent */
  --line:rgba(233,237,242,0.12);
  --line-strong:rgba(233,237,242,0.22);
  --font-display:'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:'Instrument Sans', system-ui, sans-serif;
  --font-mono:'Spline Sans Mono', ui-monospace, monospace;

  /* theme plumbing (dark defaults); same tokens as mavenonehealth/assets/style.css */
  color-scheme:dark;
  --teal-rgb:53,196,166; --gold-rgb:232,184,75;
  --paper-rgb:233,237,242; --shadow-rgb:0,0,0;
  --shadow-k:1;
  --on-accent:#0B1220;                 /* text on gold/teal fills, both themes */
  --gold-fill:#E8B84B; --gold-fill-deep:#D3A233; --teal-fill:#35C4A6; --pend-fill:#F07167;
  --header-bg:rgba(11,18,32,0.88);
  --field-bg:rgba(var(--paper-rgb),0.05);
  --well:rgba(0,0,0,.25);
  --logo-filter:none;
  --ghost-fill:#EEF2F7;                /* Ghost Hunt promo character */
  --ghost-ink:#0E1A2B;
  --ease:cubic-bezier(.2,.7,.2,1);
}
/* ---------- Light theme: system preference, or the footer toggle ---------- */
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    color-scheme:light;
    --ink:#F5F7FA; --panel:#FFFFFF; --panel-2:#F2F5F8;
    --paper:#0E1A2B; --muted:#55657A;
    --gold:#94650A; --gold-deep:#7A5306; --teal:#0A7A67;
    --line:rgba(14,26,43,0.12); --line-strong:rgba(14,26,43,0.22);
    --paper-rgb:14,26,43; --shadow-rgb:14,26,43;
    --shadow-k:.32;
    --header-bg:rgba(245,247,250,0.85);
    --field-bg:#FFFFFF;
    --well:rgba(14,26,43,.06);
    --logo-filter:brightness(0) saturate(100%) invert(9%) sepia(20%) saturate(1800%) hue-rotate(185deg);
    --ghost-fill:#FFFFFF;
  }
}
:root[data-theme="light"]{
  color-scheme:light;
  --ink:#F5F7FA; --panel:#FFFFFF; --panel-2:#F2F5F8;
  --paper:#0E1A2B; --muted:#55657A;
  --gold:#94650A; --gold-deep:#7A5306; --teal:#0A7A67;
  --line:rgba(14,26,43,0.12); --line-strong:rgba(14,26,43,0.22);
  --paper-rgb:14,26,43; --shadow-rgb:14,26,43;
  --shadow-k:.32;
  --header-bg:rgba(245,247,250,0.85);
  --field-bg:#FFFFFF;
  --well:rgba(14,26,43,.06);
  --logo-filter:brightness(0) saturate(100%) invert(9%) sepia(20%) saturate(1800%) hue-rotate(185deg);
  --ghost-fill:#FFFFFF;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
::selection{ background:var(--gold-fill); color:var(--on-accent); }
*:focus-visible{ outline:3px solid var(--teal); outline-offset:2px; border-radius:2px; }

/* roi-calculator.html renders a denser UI at a smaller base scale */
body.calc-page{ font-size:16px; }

.wrap{ max-width:820px; margin:0 auto; padding-left:28px; padding-right:28px; }
@media(min-width:640px){ .wrap{ padding-left:36px; padding-right:36px; } }
body.calc-page .wrap{ padding-left:20px; padding-right:20px; }
@media(min-width:640px){ body.calc-page .wrap{ padding-left:36px; padding-right:36px; } }

/* ---------- Sticky nav ---------- */
nav.site-nav-bar{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px;
  background:var(--header-bg);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-logo{ display:flex; align-items:baseline; gap:8px; }
.nav-logo img{ width:22px; height:22px; object-fit:contain; align-self:center; filter:var(--logo-filter); }
.nav-logo-name{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.2rem;
  color:var(--paper);
  letter-spacing:-0.01em;
}
.nav-cta{ display:flex; gap:10px; align-items:center; }
.nav-cta .btn{ white-space:nowrap; }
.btn-sm{ padding:10px 18px; font-size:0.85rem; }

@media(max-width:640px){
  nav.site-nav-bar{ padding:14px 16px; }
  .nav-logo-name{ font-size:1.05rem; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn{ padding:9px 14px; font-size:0.78rem; }
}

@media(max-width:360px){
  .nav-cta .btn{ padding:8px 10px; font-size:0.72rem; }
}

/* ---------- Footer brand mark ---------- */
.brand-mark{ display:flex; align-items:center; gap:10px; }
.brand-mark img{ width:20px; height:20px; object-fit:contain; flex-shrink:0; filter:var(--logo-filter); }
.brand-mark span{
  font-family:var(--font-display);
  font-weight:700;
  font-size:17px;
  letter-spacing:-0.01em;
  color:var(--paper);
}
.back-link{
  font-family:var(--font-body);
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  text-decoration:none;
}
.back-link:hover{ color:var(--paper); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15.5px;
  padding:15px 24px;
  border-radius:8px;
  text-decoration:none;
  cursor:pointer;
  border:1.5px solid transparent;
  transition:transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--gold-fill); color:var(--on-accent); box-shadow:0 10px 30px rgba(var(--gold-rgb),calc(0.18 * var(--shadow-k))); }
.btn-primary:hover{ background:var(--gold-fill-deep); }
.btn-secondary{ background:transparent; border-color:var(--line-strong); color:var(--paper); }
.btn-secondary:hover{ border-color:var(--paper); }
.accent{ color:var(--gold); }

/* The ROI calculator's demo CTA lives in a tighter card — keep it compact */
.cta-strip .btn{ padding:12px 20px; font-size:14px; white-space:nowrap; }

/* ---------- Hero (index.html) ---------- */
.hero{ padding-top:130px; padding-bottom:36px; }
.hero .eyebrow{ margin:0 0 22px; }
.hero h1{
  font-size:clamp(32px, 7vw, 54px);
  line-height:1.06;
  margin:0 0 18px;
  max-width:18ch;
}
.hero .subhead{ font-size:17px; color:var(--muted); margin:0 0 30px; max-width:46ch; }

.cta-row{ display:flex; flex-direction:column; gap:12px; }
@media(min-width:520px){ .cta-row{ flex-direction:row; flex-wrap:wrap; } }

/* ---------- Hero (thank-you.html) ---------- */
.ty-hero{ padding-top:150px; padding-bottom:56px; }
.ty-hero h1{
  font-size:clamp(28px, 6vw, 42px);
  line-height:1.1;
  margin:0 0 16px;
  max-width:18ch;
}
.ty-hero .subhead{ font-size:17px; color:var(--paper); margin:0 0 10px; max-width:52ch; }
.hero-detail{ font-size:15px; color:var(--muted); margin:0 0 30px; }
.checkmark{
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(var(--teal-rgb),0.12);
  border:1.5px solid var(--teal);
  color:var(--teal);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:700;
  margin-bottom:24px;
}

/* ---------- Hero (roi-calculator.html) ---------- */
.intro{ padding-top:130px; padding-bottom:8px; }
.intro .eyebrow{
  margin:0 0 18px;
  display:inline-block;
  padding:6px 12px;
  border:1px solid rgba(var(--teal-rgb),0.4);
  border-radius:20px;
}
.intro .eyebrow::before{ display:none; }
.intro h1{
  font-size:clamp(28px, 5.5vw, 40px);
  line-height:1.12;
  margin:0 0 14px;
  max-width:20ch;
}
.intro .subhead{ font-size:16px; color:var(--muted); margin:0; max-width:60ch; }

/* Shared eyebrow base */
.eyebrow{
  font-family:var(--font-body);
  font-size:12.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--teal);
  display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--teal); }

/* Shared h1 base */
h1{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:-0.025em;
  text-wrap:balance;
}
h1 em{ font-style:normal; color:var(--gold); }

/* ---------- Signature: adjudication trace (index.html) ---------- */
.trace{
  margin:44px auto 0;
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(var(--shadow-rgb),calc(0.45 * var(--shadow-k)));
}
.trace-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 16px;
  border-bottom:1px solid var(--line);
}
.trace-bar .t-title{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--muted);
}
.trace-body{
  padding:20px 18px 22px;
  font-family:var(--font-mono);
  font-size:clamp(12px, 3.1vw, 14.5px);
  line-height:1.9;
  color:var(--paper);
  min-height:242px;
}
.t-line{
  opacity:0;
  transform:translateY(3px);
  transition:opacity 0.35s ease, transform 0.35s ease;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.t-line.show{ opacity:1; transform:none; }
.t-dim{ color:var(--muted); }
.t-ok{ color:var(--teal); font-weight:600; }
.t-money{ color:var(--gold); font-weight:600; }
.t-final{
  margin-top:10px;
  padding-top:12px;
  border-top:1px dashed var(--line);
  font-weight:600;
}
.t-replay{
  background:none;
  border:none;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  color:var(--muted);
  cursor:pointer;
  text-transform:uppercase;
  padding:4px 6px;
}
.t-replay:hover{ color:var(--paper); }

/* ---------- Sections (index.html) ---------- */
section{ padding-top:56px; padding-bottom:8px; }
.seg{
  display:flex;
  align-items:baseline;
  gap:14px;
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-bottom:20px;
}
.seg .seg-id{
  font-family:var(--font-body);
  font-size:12px;
  letter-spacing:0.06em;
  color:var(--gold);
  flex-shrink:0;
}
h2{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(22px, 4.5vw, 28px);
  line-height:1.15;
  letter-spacing:-0.02em;
  margin:0;
  text-wrap:balance;
}
h2 em{ font-style:normal; color:var(--teal); }
.lede{
  font-size:17px;
  color:var(--paper);
  max-width:64ch;
  margin:0;
}
.lede .num{
  font-family:var(--font-body);
  font-weight:700;
  color:var(--gold);
  font-variant-numeric:tabular-nums;
}
.footnote{
  font-family:var(--font-body);
  font-size:12px;
  color:var(--muted);
  margin-top:16px;
  line-height:1.6;
  max-width:70ch;
}

/* ---------- Solution cards (index.html) ---------- */
.solution-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:6px;
}
@media(min-width:660px){
  .solution-grid{ grid-template-columns:1.15fr 0.85fr; align-items:stretch; }
}
.product-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:26px 24px;
}
.product-card.primary{
  border-color:rgba(var(--teal-rgb),0.55);
  background:linear-gradient(180deg, rgba(var(--teal-rgb),0.08), rgba(var(--teal-rgb),0.015) 55%), var(--panel);
}
.product-label{
  font-family:var(--font-body);
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--teal);
  margin:0 0 12px;
}
.product-card p.one-liner{
  font-size:16.5px;
  margin:0 0 12px;
  font-weight:500;
  line-height:1.5;
}
.product-card p.support-line{
  font-size:14.5px;
  color:var(--muted);
  margin:0;
}

/* ---------- Proof stats (index.html) ---------- */
.proof-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:6px;
}
@media(min-width:560px){ .proof-grid{ grid-template-columns:1fr 1fr; } }
.stat-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:30px 26px;
}
.stat-num{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(44px, 9vw, 58px);
  font-variant-numeric:tabular-nums;
  letter-spacing:-0.02em;
  line-height:1;
  display:block;
  margin-bottom:12px;
  color:var(--teal);
}
.stat-kicker{
  display:block;
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}
.stat-label{ font-size:15px; color:var(--muted); }

/* ---------- ROI band (index.html) ---------- */
.roi-band{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:34px 26px;
  margin-top:6px;
}
.roi-band h2{ margin-bottom:14px; }
.roi-band .lede{ color:var(--muted); }
.roi-band .lede .num{ color:var(--gold); }

form.roi-form{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:440px;
}
form.roi-form input[type="email"],
form.roi-form input[type="text"]{
  font-family:var(--font-body);
  font-size:15.5px;
  padding:13px 15px;
  border-radius:8px;
  border:1.5px solid var(--line-strong);
  background:var(--field-bg);
  color:var(--paper);
}
form.roi-form input::placeholder{ color:var(--muted); }
.roi-success{
  margin-top:20px;
  padding:18px;
  border:1.5px solid var(--teal);
  border-radius:10px;
  background:rgba(var(--teal-rgb),0.08);
  font-size:15.5px;
}
.roi-success a{ color:var(--teal); font-weight:600; }

/* ---------- Demo request band (index.html) ---------- */
.demo-band{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 24px;
  margin-top:20px;
}
.demo-band .demo-lede{
  font-size:15px;
  color:var(--muted);
  margin:0 0 16px;
  max-width:56ch;
}
.demo-band .demo-lede strong{ color:var(--paper); font-weight:600; }

form.demo-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
@media(min-width:480px){
  form.demo-form{ flex-direction:row; align-items:stretch; }
  form.demo-form input[type="email"]{ flex:1; }
}
form.demo-form input[type="email"]{
  font-family:var(--font-body);
  font-size:15.5px;
  padding:13px 15px;
  border-radius:8px;
  border:1.5px solid var(--line-strong);
  background:var(--field-bg);
  color:var(--paper);
}
form.demo-form input::placeholder{ color:var(--muted); }

/* The ROI calculator's demo form lives in a tighter card — keep it compact */
.cta-strip form.demo-form{ gap:10px; }
.cta-strip form.demo-form input[type="email"]{ font-size:14.5px; padding:12px 14px; }

.hp-field{ position:absolute; left:-9999px; opacity:0; }
.visually-hidden{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- ROI calculator card (roi-calculator.html) ---------- */
.calculator{
  margin:32px 0 24px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.calc-body{ padding:28px 24px; }

.calc-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  margin-bottom:28px;
}
@media(min-width:660px){
  .calc-grid{ grid-template-columns:1fr 1fr; }
}

.col-label{
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--teal);
  font-weight:500;
  margin-bottom:18px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(var(--teal-rgb),0.35);
}

.input-group{ margin-bottom:22px; }
.input-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:6px;
}
.input-label{ font-size:14px; font-weight:500; color:var(--paper); }
.input-val{
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:600;
  color:var(--gold);
  background:rgba(var(--gold-rgb),0.1);
  padding:2px 9px;
  border-radius:4px;
  min-width:76px;
  text-align:center;
}
.input-sublabel{
  font-size:12px;
  color:var(--muted);
  margin-bottom:10px;
}

input[type="range"]{
  -webkit-appearance:none;
  width:100%;
  height:4px;
  background:var(--line);
  border-radius:2px;
  outline:none;
  cursor:pointer;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--gold-fill);
  border:3px solid var(--panel);
  box-shadow:0 1px 6px rgba(var(--shadow-rgb),calc(0.4 * var(--shadow-k)));
  cursor:pointer;
  transition:background 0.15s, transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover{ background:var(--gold-fill-deep); transform:scale(1.12); }
input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--gold-fill);
  border:3px solid var(--panel);
  box-shadow:0 1px 6px rgba(var(--shadow-rgb),calc(0.4 * var(--shadow-k)));
  cursor:pointer;
}
input[type="range"]::-moz-range-track{ background:var(--line); height:4px; border-radius:2px; }

.range-bounds{ display:flex; justify-content:space-between; margin-top:5px; }
.range-bounds span{ font-family:var(--font-mono); font-size:10.5px; color:var(--muted); }

.assumption-bar{ margin-top:4px; }
.assumption-bar-label{
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}
.pills{ display:flex; flex-wrap:wrap; gap:8px; }
.pill{
  font-size:11.5px;
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:20px;
  padding:4px 12px;
  color:var(--muted);
  font-family:var(--font-mono);
}
.pill strong{ color:var(--paper); font-weight:600; }

.result-card{
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:10px;
  margin-bottom:14px;
  overflow:hidden;
}
.result-card-header{
  padding:10px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.result-card-title{
  font-size:12px;
  font-weight:600;
  color:var(--paper);
  font-family:var(--font-body);
  letter-spacing:0.06em;
  text-transform:uppercase;
}
.result-source{ font-size:10.5px; color:var(--muted); }
.result-card-body{ padding:12px 16px; }
.result-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:5px 0;
  border-bottom:1px dashed var(--line);
  font-size:13px;
}
.result-row:last-child{ border-bottom:none; }
.result-desc{ color:var(--muted); }
.result-num{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--paper);
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
.result-row.highlight .result-desc{ font-weight:500; color:var(--paper); }
.result-row.highlight .result-num{ color:var(--gold); font-size:14px; }

.total-banner{
  background:linear-gradient(180deg, rgba(var(--gold-rgb),0.10), rgba(var(--gold-rgb),0.02) 60%), var(--panel-2);
  border:1px solid rgba(var(--gold-rgb),0.35);
  border-radius:12px;
  padding:22px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:24px;
}
.total-eyebrow{
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}
.total-label{ font-size:15px; font-weight:500; color:var(--paper); line-height:1.3; }
.total-sublabel{ font-size:12px; color:var(--muted); margin-top:4px; max-width:36ch; }
.total-amount{
  font-family:var(--font-display);
  font-size:38px;
  font-weight:800;
  color:var(--gold);
  line-height:1;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.total-amount sup{ font-size:17px; font-weight:600; vertical-align:super; }

.cta-strip{
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px 20px;
}
.cta-strip p{ font-size:13.5px; color:var(--muted); line-height:1.5; margin:0 0 14px; max-width:52ch; }
.cta-strip p strong{ color:var(--paper); font-weight:600; }

.calc-body .footnote{ margin:20px 0 0; }

@keyframes total-pop{
  0%   { transform:scale(1) rotate(0deg); }
  12%  { transform:scale(1.16) rotate(-2.5deg); }
  30%  { transform:scale(1.12) rotate(2deg); }
  50%  { transform:scale(1.14) rotate(-1.2deg); }
  70%  { transform:scale(1.06) rotate(0.6deg); }
  100% { transform:scale(1) rotate(0deg); }
}
.total-pop{ display:inline-block; animation:total-pop 0.9s cubic-bezier(0.36,0.07,0.19,0.97); }

@media (max-width:600px){
  .total-banner{ flex-direction:column; align-items:flex-start; }
  .total-amount{ text-align:left; }
  .cta-strip{ flex-direction:column; align-items:flex-start; }
  .calc-body{ padding:22px 18px; }
}

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line);
  margin-top:64px;
  padding-top:30px; padding-bottom:46px;
}
footer.footer-tight{ margin-top:24px; }
footer.footer-compact{
  margin-top:12px;
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
footer .brand-mark span{ font-size:16px; }
footer .foot-links{
  margin-top:12px;
  font-family:var(--font-body);
  font-size:14px;
  color:var(--muted);
}
footer .foot-links a{ color:var(--muted); }
footer .foot-links a:hover{ color:var(--paper); }

/* ---------- Theme toggle (footer); same as mavenonehealth ---------- */
.theme-toggle{ display:flex; align-items:center; gap:6px; margin-top:14px; font-size:12.5px; color:var(--muted); }
.theme-toggle span{ margin-right:4px; }
.theme-toggle button{
  font:inherit; color:var(--muted); background:transparent; border:1px solid var(--line); border-radius:999px;
  padding:4px 11px; cursor:pointer; transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-toggle button:hover{ color:var(--paper); border-color:var(--line-strong); }
.theme-toggle button[aria-pressed="true"]{ color:var(--paper); border-color:var(--teal); background:rgba(var(--teal-rgb),.10); }
.theme-toggle button:focus-visible{ outline:2px solid var(--teal); outline-offset:2px; }

footer.footer-compact .theme-toggle{ margin-top:0; flex-basis:100%; }
footer.footer-compact .foot-links{ margin:0; }

/* ---------- Ghost Hunt promo (ghost doctor, bottom right) ----------
   Copied from mavenonehealth/assets/style.css; keep the two in sync. */
.ghost-promo{
  position:fixed; right:20px; bottom:12px; z-index:45; width:250px;
  display:flex; flex-direction:column; align-items:center;
  opacity:0; transform:translateY(40px); pointer-events:none;
  transition:opacity .45s var(--ease), transform .55s var(--ease);
}
.ghost-promo.in{ opacity:1; transform:none; pointer-events:auto; }
.ghost-promo .gp-float{ display:flex; flex-direction:column; align-items:center; width:100%; }
.ghost-promo.in .gp-float{ animation:gp-bob 3.4s ease-in-out .6s infinite; }
@keyframes gp-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
.ghost-promo .gp-sign{
  position:relative; z-index:1; width:100%; margin:0;
  background:var(--panel); border:2px solid var(--gold); border-radius:12px;
  padding:14px 30px 14px 16px; font-size:14.5px; line-height:1.45; color:var(--paper);
  box-shadow:0 14px 36px rgba(var(--shadow-rgb), calc(.45 * var(--shadow-k)));
}
.ghost-promo .gp-sign a{
  display:inline-block; font-weight:700; color:var(--on-accent); background:var(--gold-fill);
  padding:1px 8px; border-radius:6px; text-decoration:underline; text-underline-offset:3px;
  transition:background .15s var(--ease);
}
.ghost-promo .gp-sign a:hover{ background:var(--gold-fill-deep); }
.ghost-promo .gp-sign a:focus-visible{ outline:2px solid var(--teal); outline-offset:2px; }
.ghost-promo .gp-close{
  position:absolute; top:6px; right:6px; width:24px; height:24px; padding:0;
  display:grid; place-items:center; font:inherit; font-size:17px; line-height:1;
  color:var(--muted); background:transparent; border:0; border-radius:999px; cursor:pointer;
}
.ghost-promo .gp-close:hover{ color:var(--paper); background:var(--well); }
.ghost-promo .gp-close:focus-visible{ outline:2px solid var(--teal); outline-offset:1px; }
.ghost-promo svg{ position:relative; z-index:2; width:96px; height:auto; margin-top:-14px; overflow:visible; }
@media(max-width:560px){
  .ghost-promo{ right:12px; bottom:8px; width:min(220px, calc(100vw - 24px)); }
  .ghost-promo .gp-sign{ font-size:13.5px; padding:12px 28px 12px 13px; }
  .ghost-promo svg{ width:76px; margin-top:-11px; }
}
@media (prefers-reduced-motion: reduce){
  .ghost-promo{ transform:none; }
  .ghost-promo.in .gp-float{ animation:none; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    transition-duration:0.001ms !important;
  }
}
