/* ==========================================================================
   Milestone Capital Holdings — Payroll Panic Prevention Plan™
   Deployment-Ready Institutional Editorial Design System (2026-11-24)
   ========================================================================== */

:root {
  --navy:        #0c1b2a;
  --navy-deep:   #07121d;
  --navy-soft:   #15293e;
  --ink:         #142230;
  --ink-body:    #324252;
  --muted:       #5b6d7e;
  --paper:       #f7f6f2;
  --paper-alt:   #f0efe9;
  --white:       #ffffff;
  --line:        #dce2e8;
  --line-dark:   rgba(255, 255, 255, 0.14);
  --brass:       #9e8449;
  --brass-light: #ceb57d;
  --slate-blue:  #123c69;
  --slate-hover: #0d2c4f;
  --teal:        #0d5c57;
  --teal-soft:   #ebf4f3;
  --crimson:     #8a2c2c;
  --crimson-soft:#faf3f3;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 4px;
  --shadow-sheet: 0 24px 56px rgba(7, 18, 29, 0.24), 0 2px 8px rgba(7, 18, 29, 0.08);
  --shadow-card:  0 2px 10px rgba(12, 27, 42, 0.035);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--slate-blue);
  text-underline-offset: 0.22em;
}

a:hover { color: var(--navy); }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  z-index: 200;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 56px));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border: 1px solid var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.brand-text span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.nav-links a.nav-anchor {
  text-decoration: none;
  color: var(--ink-body);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a.nav-anchor:hover { color: var(--navy); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--slate-blue);
  color: var(--white);
  border: 1px solid var(--slate-blue);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  background: var(--slate-hover);
  border-color: var(--slate-hover);
  color: var(--white);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn.nav-cta {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12.5px;
  white-space: nowrap;
  background: var(--navy);
  border-color: var(--navy);
}

.btn.nav-cta:hover {
  background: var(--slate-blue);
  border-color: var(--slate-blue);
}

.btn.full { width: 100%; }

.btn.download-btn {
  background: var(--teal);
  border-color: var(--teal);
  margin-top: 10px;
}

.btn.download-btn:hover {
  background: #094541;
  border-color: #094541;
}

.btn.subtle {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line);
}

.btn.subtle:hover {
  background: var(--paper-alt);
  color: var(--navy);
}

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 4.6vw, 56px);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
  color: var(--ink-body);
}

.lede {
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink-body);
  max-width: 60ch;
}

.micro {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.hairline {
  width: 44px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 18px;
}

.source-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eef2f6;
  padding: 72px 0 78px;
  border-bottom: 3px solid var(--brass);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 52px;
  align-items: start;
}

.hero .eyebrow { color: var(--brass-light); }
.hero h1 { color: var(--white); }

.hero-thesis {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: #d8e1eb;
  line-height: 1.38;
  margin: 0 0 22px;
  max-width: 50ch;
}

.hero p.lede {
  color: #c5d1de;
  font-size: 15.8px;
  margin-bottom: 15px;
}

.hero p.lede strong {
  color: var(--white);
  font-weight: 600;
}

.hero-principle {
  margin: 24px 0 26px;
  padding: 14px 18px;
  border-left: 2px solid var(--brass);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14.5px;
  color: #dfe7ef;
  max-width: 56ch;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-item span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #9eb0c3;
  margin-top: 5px;
}

/* ---------- Two-Step Progressive Action Sheet ---------- */

.briefing-sheet {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #d2dbe4;
  border-top: 4px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sheet);
  padding: 28px 28px 24px;
}

.sheet-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sheet-meta .tag-accent { color: var(--teal); }

/* Miniature Tangible Dossier Visual Preview */
.dossier-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.dossier-thumb {
  width: 60px;
  height: 78px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 3px solid var(--brass);
  border-radius: 2px;
  padding: 7px 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(12, 27, 42, 0.18);
}

.dossier-thumb span {
  font-family: var(--serif);
  font-size: 8.5px;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 600;
}

.dossier-thumb em {
  font-style: normal;
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.dossier-preview-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.16;
  color: var(--navy);
  margin-bottom: 3px;
}

.dossier-preview-copy span {
  display: block;
  font-size: 12px;
  line-height: 1.42;
  color: var(--muted);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.step-pill {
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--paper-alt);
  color: var(--muted);
}

.step-pill.active {
  background: var(--navy);
  color: var(--white);
}

.step-pill.done {
  background: var(--teal-soft);
  color: var(--teal);
}

.field { margin-bottom: 13px; }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #c4cfd9;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--slate-blue);
  box-shadow: 0 0 0 3px rgba(18, 60, 105, 0.1);
  outline: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sheet-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}

.status-box {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.55;
}

.status-box.success {
  background: var(--teal-soft);
  border: 1px solid #b5d6d2;
  color: var(--ink);
}

.status-box.success strong {
  color: var(--teal);
  display: block;
  margin-bottom: 3px;
}

.status-box.error {
  background: var(--crimson-soft);
  border: 1px solid #e6c0c0;
  color: var(--crimson);
}

.stage2-divider {
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stage2-divider h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

/* ---------- Scope Strip ---------- */

.scope-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scope-item {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.scope-item:first-child { padding-left: 0; border-left: 0; }
.scope-item strong { display: block; color: var(--navy); margin-bottom: 2px; }

/* ---------- Standard Sections ---------- */

.section { padding: 78px 0; }
.section.white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 40px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-asymmetric { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: start; }

/* ---------- Care Setting Cards (3 Verticals) ---------- */

.setting-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
}

.setting-card.hospice { border-top-color: var(--brass); }
.setting-card.bh { border-top-color: var(--teal); }

.setting-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-blue);
  margin-bottom: 8px;
}

.setting-card.hospice .setting-tag { color: var(--brass); }
.setting-card.bh .setting-tag { color: var(--teal); }

.setting-quote {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.28;
  color: var(--navy);
  margin: 0 0 12px;
}

.setting-card p {
  font-size: 14.5px;
  margin-bottom: 12px;
}

.setting-metric {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- 3-Way Triage Strip ---------- */

.triage-strip {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.triage-item {
  border-top: 2px solid var(--navy);
  padding-top: 18px;
}

.triage-item.is-target { border-top-color: var(--teal); }

.triage-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--brass);
  margin-bottom: 6px;
}

.triage-verdict {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.triage-item.is-target .triage-verdict { color: var(--teal); }

/* ---------- Positive-ROI Growth Section & SVG Diagrams ---------- */

.roi-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.roi-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roi-kpi strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.roi-kpi.highlight strong { color: var(--teal); }

.roi-kpi span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.diagram-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-card);
}

.diagram-card h3 {
  font-size: 21px;
  margin-bottom: 4px;
}

.diagram-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
}

/* ---------- Zero-Commission Emotional Advocacy & Managing Member Note ---------- */

.advocate-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 30px 32px;
}

.advocate-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.advocate-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.advocate-list li strong {
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
}

.founder-card {
  background: var(--navy);
  color: #eef2f6;
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
  padding: 32px 34px;
}

.founder-card .eyebrow { color: var(--brass-light); }
.founder-card h3 { color: var(--white); font-size: 26px; margin-bottom: 14px; }
.founder-card p { color: #c7d3e0; font-size: 14.8px; line-height: 1.66; }
.founder-card p strong { color: var(--white); }

.founder-sig {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--brass-light);
  flex-shrink: 0;
}

.founder-sig strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--white);
  font-weight: 500;
}

.founder-sig span {
  display: block;
  font-size: 12px;
  color: #9eb0c3;
}

/* ---------- Public Market Dossier & Methodology Drawer ---------- */

.dossier-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--slate-blue);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

.dossier-card.distress { border-top-color: var(--crimson); }

.dossier-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-blue);
  margin-bottom: 8px;
}

.dossier-card.distress .dossier-label { color: var(--crimson); }

.dossier-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.dossier-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14.3px;
  line-height: 1.58;
  color: var(--ink-body);
}

.dossier-list li:last-child { padding-bottom: 0; }
.dossier-list strong { color: var(--navy); }
.ticker { font-size: 12px; color: var(--muted); font-weight: 500; }

details.audit-drawer {
  margin-top: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
}

details.audit-drawer summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

details.audit-drawer p {
  font-size: 13.2px;
  margin: 12px 0 0;
  color: var(--muted);
}

/* ---------- Institutional Comparison Tables & Cash Bridge ---------- */

.exhibit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
}

.table-scroll { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 12px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.data-table th.col-focus,
.data-table td.col-focus {
  background: #f3f9f8;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td strong { color: var(--navy); }

.compliance-callout {
  margin: 26px 0;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 24px;
  align-items: center;
}

.compliance-callout h3 { font-size: 21px; margin-bottom: 4px; }
.compliance-callout p { margin: 0; font-size: 14.3px; }

.cash-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.cash-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.3px;
  color: var(--ink-body);
  font-variant-numeric: tabular-nums;
}

.cash-row strong { color: var(--navy); font-weight: 600; white-space: nowrap; }
.cash-row.deduct strong { color: var(--crimson); }

.cash-row.subtotal {
  border-top: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  margin-top: 4px;
  padding: 13px 0;
  font-weight: 600;
  color: var(--navy);
}

.cash-row.subtotal strong { font-size: 16px; color: var(--teal); }

/* ---------- Closing Single-Action Band ---------- */

.closing-band {
  background: var(--navy);
  color: #eef2f6;
  padding: 78px 0;
  border-top: 3px solid var(--brass);
}

.closing-band .eyebrow { color: var(--brass-light); }
.closing-band h2 { color: var(--white); }
.closing-band p.lede { color: #c5d1de; }

.pack-contents {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.pack-contents li {
  padding: 11px 0 11px 24px;
  position: relative;
  border-top: 1px solid var(--line-dark);
  font-size: 14.2px;
  color: #d6e0ea;
}

.pack-contents li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 11px;
  height: 1px;
  background: var(--brass-light);
}

.pack-contents strong { color: var(--white); display: block; margin-bottom: 2px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 42px 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.site-footer p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 10px;
}

.footer-right { text-align: right; }

.footer-legal-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px;
  font-size: 12.5px;
}

/* ---------- Council Conversion Modules (Audit, Fit Filter, Live Net-Cash Calculator, Call Bridge) ---------- */

.accusation-audit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.accusation-audit h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.accusation-audit p {
  margin: 0 0 10px;
  font-size: 14.8px;
  line-height: 1.62;
  color: var(--ink-body);
}

.accusation-audit p:last-child { margin-bottom: 0; }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.fit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

.fit-card.no {
  border-top-color: var(--crimson);
  background: #fcfbfa;
}

.fit-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fit-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.4px;
  line-height: 1.56;
  color: var(--ink-body);
}

.fit-list li:first-child { border-top: 0; padding-top: 0; }
.fit-list li strong { color: var(--navy); }

.calc-panel {
  background: var(--navy);
  color: #eef2f6;
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
  padding: 28px 30px;
  margin-top: 28px;
}

.calc-panel .eyebrow { color: var(--brass-light); margin-bottom: 6px; }
.calc-panel h3 { color: var(--white); font-size: 26px; margin: 0 0 8px; }
.calc-panel .calc-sub { color: #bfd0e0; font-size: 14.2px; margin: 0 0 20px; max-width: 68ch; }

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.calc-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c8d6e4;
  margin-bottom: 5px;
}

.calc-field input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

.calc-field input:focus {
  outline: 2px solid var(--brass-light);
  border-color: var(--brass-light);
  background: rgba(255, 255, 255, 0.13);
}

.calc-outputs {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 18px 20px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: #d4e0ec;
}

.calc-row strong { color: var(--white); font-variant-numeric: tabular-nums; }
.calc-row.deduct strong { color: #f2b4b4; }
.calc-row.total {
  border-bottom: 0;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1.5px solid var(--brass);
  font-size: 15.5px;
  color: var(--white);
}
.calc-row.total strong { color: #8ce3d9; font-size: 19px; }

.calc-verdict {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 3px;
  background: rgba(158, 132, 73, 0.16);
  border: 1px solid rgba(206, 181, 125, 0.38);
  font-size: 12.8px;
  line-height: 1.5;
  color: #f4ebd4;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.calc-share-btn {
  background: transparent;
  color: var(--brass-light);
  border: 1px solid var(--brass);
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.calc-share-btn:hover { background: rgba(158, 132, 73, 0.18); }

.call-bridge {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--brass);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.5;
}

.call-bridge strong { display: block; color: var(--navy); margin-bottom: 4px; }
.call-bridge a { font-weight: 600; color: var(--teal); text-decoration: underline; }

/* ---------- Council v2: Care-Setting Pills, Payer-Competitor War, Open-Loop Peek Inside, Sticky Bar ---------- */

.sector-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.sector-pill {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 12.8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.sector-pill:hover {
  border-color: var(--navy);
  background: #edf1f5;
}

.sector-pill.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(12, 27, 42, 0.16);
}

.dynamic-hook {
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 3px;
  background: #edf5f4;
  border-left: 3px solid var(--teal);
  font-size: 12.2px;
  line-height: 1.48;
  color: var(--ink);
}

.payer-war-band {
  background: var(--navy);
  color: #e6edf4;
  padding: 72px 0;
  border-top: 3px solid var(--brass);
  border-bottom: 3px solid var(--brass);
}

.payer-war-band .eyebrow { color: var(--brass-light); }
.payer-war-band h2 { color: var(--white); }
.payer-war-band .lede { color: #c7d5e4; }

.payer-war-statbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0 28px;
}

.payer-war-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--brass);
  border-radius: 4px;
  padding: 18px 20px;
}

.payer-war-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  color: var(--brass-light);
  margin-bottom: 5px;
}

.payer-war-stat span {
  display: block;
  font-size: 12.6px;
  line-height: 1.45;
  color: #cbd7e4;
}

.payer-table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow-x: auto;
}

.payer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
}

.payer-table th {
  text-align: left;
  padding: 13px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.payer-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #dde6f0;
  vertical-align: top;
}

.payer-table tr:last-child td { border-bottom: 0; }
.payer-table strong { color: var(--white); }

.payer-advocate-bar {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 4px;
  background: rgba(13, 92, 87, 0.24);
  border: 1px solid rgba(140, 227, 217, 0.35);
  font-size: 14.5px;
  line-height: 1.58;
  color: #eaf6f5;
}

.peek-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.peek-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.peek-page {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}

.peek-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.peek-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 13px;
  font-size: 12.6px;
  line-height: 1.52;
  color: var(--ink-body);
  margin-bottom: 12px;
}

.peek-locked {
  margin-top: auto;
  padding: 9px 11px;
  border-radius: 3px;
  background: #f3efe4;
  border: 1px dashed var(--brass);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.redline-strip {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #edf5f4;
  border: 1px solid #b8dad6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.redline-strip p { margin: 0; max-width: 68ch; font-size: 14.2px; color: var(--ink); }

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(12, 27, 42, 0.97);
  border-top: 2px solid var(--brass);
  color: var(--white);
  padding: 12px 18px;
  transform: translateY(110%);
  transition: transform 0.25s ease;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
}

.sticky-bar.is-visible { transform: translateY(0); }

.sticky-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.sticky-bar-copy {
  font-size: 13.5px;
  color: #dce6f0;
}

.sticky-bar-copy strong { color: var(--white); }

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-dismiss {
  background: transparent;
  border: 0;
  color: #9eb0c3;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .split,
  .split-asymmetric,
  .compliance-callout,
  .footer-grid,
  .fit-grid,
  .calc-grid,
  .payer-war-statbar,
  .peek-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .calc-inputs { grid-template-columns: 1fr; }

  .scope-grid { grid-template-columns: 1fr 1fr; }
  .scope-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .nav-links a.nav-anchor { display: none; }
  .footer-right { text-align: left; }
  .footer-legal-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero { padding: 48px 0 54px; }
  .section, .closing-band { padding: 54px 0; }
  .stat-strip, .scope-grid, .roi-kpis { grid-template-columns: 1fr; }

  .scope-item {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .scope-item:first-child { padding-top: 0; border-top: 0; }

  .briefing-sheet, .dossier-card, .exhibit-card, .roi-box, .advocate-panel, .founder-card {
    padding: 22px 18px;
  }

  .data-table { font-size: 12.8px; }
  .data-table th, .data-table td { padding: 9px 7px; }
}


/* ---------- Council v3 Upgrades: Tighter Fold, 3-Case Auction Strip & Soft Work-Email Nudge ---------- */

.hero {
  padding: 54px 0 60px;
}

.hero-thesis {
  margin: 0 0 16px;
}

.hero p.lede {
  margin-bottom: 12px;
}

.hero-principle {
  margin: 18px 0 20px;
  padding: 12px 16px;
}

.stat-strip {
  margin-top: 20px;
  padding-top: 18px;
}

.norm-strip {
  background: var(--navy);
  color: #e8eff6;
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
  padding: 26px 28px;
  margin: 26px 0;
}

.norm-strip .eyebrow {
  color: var(--brass-light);
  margin-bottom: 6px;
}

.norm-strip h3 {
  color: var(--white);
  font-size: 24px;
  margin: 0 0 8px;
}

.norm-strip > p {
  color: #c5d3e2;
  font-size: 14.3px;
  margin: 0 0 18px;
  max-width: 72ch;
}

.norm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.norm-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--brass-light);
  border-radius: 3px;
  padding: 15px 16px;
}

.norm-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.norm-card span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #d2deea;
}

.email-nudge {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 3px;
  background: #fdf9ee;
  border: 1px solid #e2cfa0;
  border-left: 3px solid var(--brass);
  font-size: 12.2px;
  line-height: 1.48;
  color: var(--ink);
}

.dossier-unlock-note {
  margin-top: 18px;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.6px;
  color: var(--ink-body);
}

.dossier-unlock-note strong {
  color: var(--navy);
}

@media (max-width: 960px) {
  .norm-grid {
    grid-template-columns: 1fr;
  }
}
