/* The Healthcare Guru — stylesheet (frontend)
   Layout concept: an architectural, editorial consultancy — ivory ground, deep-navy structure,
   violet for guidance, champagne hairlines marking the path from idea to approval. */

@font-face { font-family: "Marcellus"; src: url("assets/fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-2: #efe9dc;
  --ink: #1b2440;
  --muted: #4e5670;
  --line: #e2dacb;
  --violet: #5b4b8a;
  --violet-soft: #ece7f6;
  --champ: #c9a96e;
  --champ-ink: #7d5f27;
  --band: #1b2440;
  --band-2: #121a30;
  --band-fg: #f7f3ea;
  --band-muted: #c3c7d6;
  --band-line: #333d5c;
  --btn: #1b2440;
  --btn-fg: #f7f3ea;
  --ok: #2f7357;
  --danger: #b4372b;
  --shadow: 0 24px 60px -32px rgba(27, 36, 64, .45);

  --f-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: .86rem;
  --step-1: 1.18rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.85rem, 1.35rem + 2vw, 2.7rem);
  --step-4: clamp(2.35rem, 1.5rem + 3.6vw, 4.2rem);
  --radius: 14px;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1424; --surface: #161d33; --surface-2: #1d2540; --ink: #eee9dd; --muted: #a9afc4; --line: #2a3352;
    --violet: #b7a6e8; --violet-soft: #262046; --champ: #d9bc85; --champ-ink: #dcc08c; --band: #0b1020; --band-2: #070b17;
    --band-fg: #eee9dd; --band-muted: #a9afc4; --band-line: #283150; --btn: #d9bc85; --btn-fg: #121a30; --ok: #6cc59b; --danger: #f08a7c;
    --shadow: 0 24px 60px -32px rgba(0, 0, 0, .8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1424; --surface: #161d33; --surface-2: #1d2540; --ink: #eee9dd; --muted: #a9afc4; --line: #2a3352;
  --violet: #b7a6e8; --violet-soft: #262046; --champ: #d9bc85; --champ-ink: #dcc08c; --band: #0b1020; --band-2: #070b17;
  --band-fg: #eee9dd; --band-muted: #a9afc4; --band-line: #283150; --btn: #d9bc85; --btn-fg: #121a30; --ok: #6cc59b; --danger: #f08a7c;
  --shadow: 0 24px 60px -32px rgba(0, 0, 0, .8); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible { outline-color: var(--champ); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--btn); color: var(--btn-fg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: var(--gl); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.flush-top { padding-top: 0; }
.stack { display: grid; gap: 18px; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow { font: 700 .74rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--champ-ink); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champ); }
.section-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.note { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--champ); padding: 4px 0 4px 14px; max-width: 80ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font: 700 .98rem/1 var(--f-body); text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--btn); color: var(--btn-fg); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--champ { background: var(--champ); color: #121a30; }
.btn--champ:hover { transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); }
.band .btn--ghost { color: var(--band-fg); }
.band .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.text-link { font-weight: 700; color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.band .text-link { color: var(--champ); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 48px; height: 48px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gr) 24px var(--gl); display: none; }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 14px; font-size: 1.05rem; }
  .nav-menu .btn { width: 100%; margin-top: 12px; }
  .brand img { height: 40px; }
}
@media (min-width: 1021px) { .nav-menu { display: flex; align-items: center; gap: 18px; } }

/* Offer ribbon (shown when an introductory offer applies) */
.offer-ribbon { background: var(--violet-soft); border-bottom: 1px solid var(--line); font-size: .9rem; }
.offer-ribbon .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; padding-block: 9px; text-align: center; }
.offer-ribbon strong { color: var(--violet); }
.offer-ribbon a { font-weight: 700; color: var(--ink); }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--band-fg); background: var(--band-2); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(18, 26, 48, .94) 0%, rgba(18, 26, 48, .84) 42%, rgba(18, 26, 48, .25) 78%, rgba(18, 26, 48, .1) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 140px); }
.hero-copy { max-width: 640px; display: grid; gap: 24px; }
.hero h1 { font-size: var(--step-4); color: #f7f3ea; }
.hero .lede { color: #d6d9e4; }
.hero .eyebrow { color: #d9bc85; }
.hero .eyebrow::before { background: #d9bc85; }
.hero .text-link { color: #e4cf9f; }
.hero .btn--primary { background: #d9bc85; color: #121a30; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(18, 26, 48, .08) 0%, rgba(18, 26, 48, .35) 22%, rgba(18, 26, 48, .92) 42%, rgba(18, 26, 48, .97) 100%); }
  .hero .wrap { padding-top: 260px; }
  .hero picture img { object-position: 50% 0%; }
}

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { padding: 26px 22px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { font-family: var(--f-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; }
.trust span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:nth-child(3) { border-left: 0; padding-left: 0; } .trust li { border-top: 1px solid var(--line); } .trust li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } .trust li { border-left: 0; padding-left: 0; } .trust li:nth-child(2) { border-top: 1px solid var(--line); } }

/* Model selector */
.selector { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.selector > * { min-width: 0; }
.model-list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.model-btn { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 48px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 .98rem/1.3 var(--f-body); cursor: pointer; }
.model-btn svg { width: 22px; height: 22px; flex: none; color: var(--violet); }
.model-btn:hover { background: var(--surface-2); color: var(--ink); }
.model-btn[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.model-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.model-panel[hidden] { display: none !important; }
.model-panel h3 { font-size: var(--step-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 16px 14px 0; display: grid; gap: 4px; align-content: start; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .selector { grid-template-columns: 1fr; } .model-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Problem / solution */
.ps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ps-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.ps-item .prob { padding: 22px 24px; display: grid; gap: 6px; border-bottom: 1px dashed var(--line); }
.ps-item .sol { padding: 22px 24px; display: grid; gap: 6px; background: var(--violet-soft); }
.ps-item .tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.ps-item .prob .tag { color: var(--danger); }
.ps-item .sol .tag { color: var(--violet); }
.ps-item b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.ps-item p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .ps { grid-template-columns: 1fr; } }

/* Authorization chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); counter-reset: step; }
.chain li { position: relative; padding-right: 14px; display: grid; gap: 10px; align-content: start; }
.chain .node { display: flex; align-items: center; }
.chain .node b { font: 700 .78rem/1 var(--f-body); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--champ); color: var(--champ); background: var(--band); flex: none; }
.chain .node::after { content: ""; flex: 1; height: 1px; background: var(--band-line); margin-left: 6px; }
.chain li:last-child .node::after { display: none; }
.chain li:last-child .node b { background: var(--champ); color: #121a30; }
.chain h3 { font-size: 1.22rem; }
.chain p { font-size: .9rem; color: var(--band-muted); }
.chain .not { font-size: .76rem; color: var(--band-fg); opacity: .8; border-top: 1px dashed var(--band-line); padding-top: 8px; }
@media (max-width: 1080px) {
  .chain { grid-template-columns: 1fr; }
  .chain li { grid-template-columns: 38px 1fr; column-gap: 18px; padding: 0 0 24px; }
  .chain .node { grid-row: span 3; flex-direction: column; align-self: stretch; }
  .chain .node::after { width: 1px; height: auto; flex: 1; margin: 6px 0 0; }
  .chain li > :not(.node) { grid-column: 2; }
}

/* Bands */
.band { background: var(--band); color: var(--band-fg); }
.band .lede, .band .muted { color: var(--band-muted); }
.band .eyebrow { color: var(--champ); }
.band .note { color: var(--band-muted); }

/* Sample deliverables */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 22px 22px 18px; display: grid; gap: 12px; align-content: start; position: relative; min-width: 0; }
.doc::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--champ); }
.doc .kind { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--violet); }
.doc h3 { font-size: 1.15rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.doc td, .doc th { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.doc td:last-child, .doc th:last-child { text-align: right; padding-left: 8px; font-variant-numeric: tabular-nums; }
.doc ol { margin: 0; padding-left: 20px; font-size: .86rem; display: grid; gap: 4px; }
.doc .stamp { font-size: .72rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: p; }
.process li { counter-increment: p; padding: 20px 18px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.process li::before { content: counter(p, decimal-leading-zero); font-size: .76rem; font-weight: 800; letter-spacing: .1em; color: var(--champ-ink); }
.process b { font-family: var(--f-display); font-weight: 400; font-size: 1.18rem; }
.process span { font-size: .9rem; color: var(--muted); }
@media (max-width: 980px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Phases (engagement detail) */
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.phase { border-top: 2px solid var(--violet); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.phase h3 { font-size: 1.22rem; }
.phase p { color: var(--muted); font-size: .93rem; }
.phase .gate { font-size: .82rem; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; color: var(--ink); }
.phase .gate b { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--champ-ink); }
@media (max-width: 1000px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* Packages */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; min-width: 0; }
.tier.featured { border: 2px solid var(--violet); box-shadow: var(--shadow); }
.tier .flag { position: absolute; top: -14px; white-space: nowrap; left: 24px; right: 24px; width: fit-content; max-width: calc(100% - 48px); background: var(--violet); color: #fff; font: 700 .7rem/1.3 var(--f-body); letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.6rem; }
.tier .for { color: var(--muted); font-size: .94rem; }
.price { display: grid; gap: 4px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price .label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--violet); }
.price .amt { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amt small { font-family: var(--f-body); font-size: .9rem; color: var(--muted); }
.price .std { font-size: .88rem; color: var(--muted); }
.price .save { font-size: .88rem; font-weight: 700; color: var(--ok); }
.tier .checks { font-size: .94rem; }
.tier .btn { margin-top: auto; width: 100%; }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr; max-width: 620px; } }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.addon { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; background: var(--surface); }
.addon b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.addon span { color: var(--muted); font-size: .93rem; }
@media (max-width: 700px) { .addons { grid-template-columns: 1fr; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 19px; height: 19px; color: var(--ok); margin-top: 3px; }
.checks.x svg { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.grid { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .94rem; }
table.grid th, table.grid td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid thead th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 800; }
table.grid tbody tr:last-child td { border-bottom: 0; }
table.grid td:first-child { font-weight: 700; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: 18px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Testimonials (rendered only when approved entries exist) */
.quotes { position: relative; }
.quote { display: grid; gap: 18px; max-width: 820px; }
.quote[hidden] { display: none !important; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; }
.quote figcaption { font-size: .95rem; color: var(--band-muted); }
.quote figcaption b { color: var(--band-fg); }
.quote-controls { display: flex; gap: 10px; margin-top: 26px; }
.quote-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--band-line); background: transparent; color: var(--band-fg); cursor: pointer; display: grid; place-items: center; }
.quote-controls svg { width: 18px; height: 18px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--f-display); font-size: 1.28rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 1.6rem var(--f-body); color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 72ch; display: grid; gap: 10px; }

/* CTA */
.cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Page hero (inner) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--champ); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--violet); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { text-decoration: none; font-size: .86rem; font-weight: 600; border: 1px solid var(--line); background: var(--bg); padding: 9px 14px; border-radius: 999px; }
.jump a:hover { border-color: var(--violet); }

/* Service detail */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 0; }
.svc > * { min-width: 0; }
.svc-media { display: grid; gap: 14px; align-content: start; }
.svc-media img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--champ-ink); }
.svc-body { display: grid; gap: 18px; align-content: start; }
.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.deliver li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .96rem; }
.deliver svg { width: 18px; height: 18px; color: var(--ok); margin-top: 4px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc-media img { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .deliver { grid-template-columns: 1fr; } }

/* Long-form service page */
.prose { display: grid; gap: 18px; max-width: 72ch; }
.prose h2 { margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; position: sticky; top: 104px; }
.aside-card h3 { font-size: 1.3rem; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Principles, audience */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.principle { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.principle:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.principle p { color: var(--muted); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .principle, .principle:nth-child(even) { padding: 24px 0; border-left: 0; } }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.band .card { background: rgba(255, 255, 255, .04); border-color: var(--band-line); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .93rem; }
.band .card p { color: var(--band-muted); }
@media (max-width: 1000px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 24px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form legend { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--champ-ink); margin-bottom: 12px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-weight: 700; font-size: .92rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 22%, transparent); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .hint { font-size: .82rem; color: var(--muted); }
.err { color: var(--danger); font-size: .84rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 600; background: var(--bg); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: .9rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); }
.selection { border: 1px dashed var(--violet); border-radius: 12px; padding: 14px 16px; background: var(--violet-soft); display: grid; gap: 4px; font-size: .93rem; }
.selection[hidden] { display: none !important; }
.form-status { border-radius: 12px; padding: 16px 18px; font-size: .95rem; display: grid; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.form-status.bad { border-color: var(--danger); }
.aside { display: grid; gap: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: .94rem; counter-increment: s; }
.steps li::before { content: counter(s); font-size: .78rem; font-weight: 800; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.steps b { display: block; }
.steps span { color: var(--muted); }
.contact-line { display: grid; gap: 2px; }
.contact-line .k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.contact-line .v { font-weight: 700; word-break: break-word; }

/* Offer dialog */
.offer-dialog { border: 0; padding: 0; border-radius: 22px; max-width: min(520px, calc(100vw - 32px)); width: 100%; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 15, 30, .6); }
.offer-dialog::backdrop { background: rgba(12, 17, 32, .55); backdrop-filter: blur(2px); }
.offer-inner { padding: 34px 30px 26px; display: grid; gap: 16px; position: relative; }
.offer-inner::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; background: var(--champ); }
.offer-inner h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); padding-right: 40px; }
.offer-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.offer-close svg { width: 18px; height: 18px; }
.offer-terms { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.offer-actions .btn { flex: 1 1 200px; }

/* Footer */
.site-footer { background: var(--band-2); color: var(--band-fg); padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font: 800 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--band-muted); font-size: .94rem; }
.foot-grid a:hover { color: var(--band-fg); }
.foot-grid p, .foot-grid li { color: var(--band-muted); font-size: .94rem; }
.foot-grid p { max-width: 40ch; }
.site-footer { --violet: #b7a6e8; --champ: #d9bc85; }
.site-footer .brand img { height: 52px; }
.disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: .8rem; color: var(--band-muted); display: grid; gap: 10px; }
.disclaimer a { color: var(--band-fg); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Consent banner (only when analytics is configured) */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px var(--gr) calc(16px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.consent-bar .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 0; }
.consent-bar p { font-size: .92rem; max-width: 70ch; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Request cart, products, unlock, upsell ---------- */
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--ink); }
.cart-link[hidden] { display: none !important; }
.cart-count { min-width: 24px; height: 24px; border-radius: 12px; background: var(--violet); color: #fff; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.unlock-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--violet); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; text-align: left; }
.band .unlock-link { color: var(--champ); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.products--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 100px; }
.product h3 { font-size: 1.32rem; }
.product .for { color: var(--muted); font-size: .93rem; }
.product .price .amt { font-size: 2.1rem; }
.product .btn { margin-top: auto; width: 100%; }
.product .checks { font-size: .92rem; }
.product.in-cart .btn, .tier.in-cart .btn { background: var(--violet-soft); border-color: var(--violet); color: var(--ink); }
@media (max-width: 1100px) { .products--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .products, .products--compact { grid-template-columns: 1fr; } }
.cart { border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; background: var(--bg); }
.cart > .muted { padding: 10px 0; font-size: .93rem; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-lines li:last-child { border-bottom: 0; }
.cart-lines .nm { font-weight: 700; font-size: .95rem; }
.cart-lines .nm small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.cart-lines .pr { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
.cart-lines .pr s { color: var(--muted); font-weight: 500; font-size: .82rem; display: block; text-decoration: none; }
.cart-lines button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cart-lines button svg { width: 14px; height: 14px; }
.cart-totals { margin: 0; padding: 10px 0 8px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.cart-totals dt { color: var(--muted); font-size: .92rem; }
.cart-totals dd { margin: 0; text-align: right; font-weight: 700; }
.cart-totals .total { font-size: 1.1rem; color: var(--ink); }
.cart-totals .disc { color: var(--ok); }
.cart-recs { display: grid; gap: 8px; }
.cart-recs .lbl { font-weight: 700; font-size: .9rem; }
.chip-btn { min-height: 44px; padding: 8px 15px; border: 1.5px dashed var(--violet); border-radius: 999px; background: var(--bg); color: var(--ink); font: 600 .9rem var(--f-body); cursor: pointer; }
.chip-btn:hover { background: var(--violet-soft); }
.upsell-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.upsell-list li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.upsell-list b { font-family: var(--f-display); font-weight: 400; font-size: 1.12rem; }
.upsell-list p { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); }
.upsell-list .up-price { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.upsell-list .chip-btn[aria-pressed="true"] { background: var(--violet); color: #fff; border-style: solid; }
.offer-dialog form .field input { background: var(--bg); }
.offer-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; background: var(--band); color: var(--band-fg); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: .92rem; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none !important; }
@media (max-width: 1020px) { .nav-menu .cart-link { width: 100%; justify-content: center; margin-top: 8px; } }
