/* vcx-sample.css — Shared styles for /samples/*.html deliverables.
 * Anchored by ADR-008 Sample Deliverable Standards.
 * Covers: watermark, banner, cover, metadata table, TOC, sections, disclaimer, print.
 * Do NOT remove .vcx-sample-watermark — it is a regulatory control.
 */

:root {
  --smp-ink: #0e2036;
  --smp-ink-2: #243b5c;
  --smp-muted: #4a5a72;
  --smp-rule: #d8dee8;
  --smp-bg: #ffffff;
  --smp-warn: #b84a00;
  --smp-b2b: #1f7a8c;
  --smp-b2c: #5fa8d3;
  --smp-shared: #7a8699;
  --smp-container: 860px;
}

body.vcx-sample-body {
  background: var(--smp-bg);
  color: var(--smp-ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

/* ── Sticky top banner ─────────────────────────────── */
.vcx-sample-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff8e6;
  border-bottom: 1px solid #e0c77a;
  color: #5c4200;
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}
.vcx-sample-banner strong { font-weight: 700; color: #3a2a00; }

/* ── Diagonal watermark ────────────────────────────── */
.vcx-sample-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.08;
  user-select: none;
}
.vcx-sample-watermark span {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 140px);
  letter-spacing: 0.06em;
  color: #b84a00;
  transform: rotate(-28deg);
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── Main container ────────────────────────────────── */
.vcx-sample-doc {
  max-width: var(--smp-container);
  margin: 0 auto;
  padding: 40px 24px 120px;
  position: relative;
  z-index: 2;
}

/* ── Cover ─────────────────────────────────────────── */
.vcx-sample-cover {
  border-top: 4px solid var(--smp-b2b);
  padding: 40px 0 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--smp-rule);
}
body[data-audience="b2c"] .vcx-sample-cover { border-top-color: var(--smp-b2c); }
body[data-audience="shared"] .vcx-sample-cover { border-top-color: var(--smp-shared); }

.vcx-sample-cover__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smp-warn);
  padding: 6px 12px;
  background: #fff1e0;
  border-radius: 3px;
  margin-bottom: 18px;
}
.vcx-sample-cover h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--smp-ink);
}
.vcx-sample-cover__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--smp-ink-2);
  margin: 0 0 24px;
  max-width: 58ch;
}
.vcx-sample-cover__side {
  border: 1px solid var(--smp-rule);
  background: #f7f9fc;
  padding: 18px 20px;
  border-radius: 6px;
  margin-top: 8px;
}
.vcx-sample-cover__side h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: var(--smp-warn);
}
.vcx-sample-cover__side p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--smp-muted); }

/* ── Metadata table ────────────────────────────────── */
.vcx-sample-meta {
  margin: 32px 0;
  padding: 20px 24px;
  background: #f3f6fb;
  border-left: 3px solid var(--smp-ink-2);
  border-radius: 0 4px 4px 0;
}
.vcx-sample-meta h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--smp-ink-2);
}
.vcx-sample-meta__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.vcx-sample-meta__k {}
.vcx-sample-meta__k dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--smp-muted); margin: 0 0 3px; }
.vcx-sample-meta__k dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--smp-ink); }
.vcx-sample-meta__k dd small { display: block; font-weight: 400; font-size: 13px; color: var(--smp-muted); margin-top: 2px; }
@media (max-width: 620px) { .vcx-sample-meta__grid { grid-template-columns: 1fr; } }

/* ── TOC ───────────────────────────────────────────── */
.vcx-sample-toc {
  margin: 40px 0 48px;
  padding: 22px 24px;
  border: 1px solid var(--smp-rule);
  border-radius: 4px;
}
.vcx-sample-toc h2 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px;
  color: var(--smp-ink-2); font-weight: 700;
}
.vcx-sample-toc ol { list-style: none; counter-reset: toc-sec; padding: 0; margin: 0; }
.vcx-sample-toc li { counter-increment: toc-sec; padding: 7px 0; border-bottom: 1px dashed var(--smp-rule); display: flex; justify-content: space-between; gap: 12px; }
.vcx-sample-toc li:last-child { border-bottom: 0; }
.vcx-sample-toc li a { color: var(--smp-ink); text-decoration: none; font-weight: 500; }
.vcx-sample-toc li a:hover { text-decoration: underline; }
.vcx-sample-toc li::before {
  content: counter(toc-sec, decimal-leading-zero);
  font-weight: 800; color: var(--smp-b2b); min-width: 32px;
}
body[data-audience="b2c"] .vcx-sample-toc li::before { color: var(--smp-b2c); }

/* ── Sections ──────────────────────────────────────── */
.vcx-sample-section { margin: 56px 0; padding-top: 4px; }
.vcx-sample-section .eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--smp-b2b); margin-bottom: 8px;
}
body[data-audience="b2c"] .vcx-sample-section .eyebrow { color: var(--smp-b2c); }
body[data-audience="shared"] .vcx-sample-section .eyebrow { color: var(--smp-shared); }
.vcx-sample-section h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25; margin: 0 0 16px; font-weight: 800;
  color: var(--smp-ink);
}
.vcx-sample-section > p, .vcx-sample-section li { font-size: 15.5px; line-height: 1.65; color: var(--smp-ink-2); }
.vcx-sample-section > p { margin: 0 0 14px; max-width: 62ch; }
.vcx-sample-section ul, .vcx-sample-section ol { margin: 10px 0 14px 20px; padding: 0; }
.vcx-sample-section ul li, .vcx-sample-section ol li { margin: 8px 0; }

/* Finding blocks */
.vcx-sample-finding {
  border: 1px solid var(--smp-rule); border-radius: 4px;
  padding: 18px 22px; margin: 16px 0; background: #fafbfc;
}
.vcx-sample-finding h3 {
  font-size: 16px; font-weight: 800; margin: 0 0 8px; color: var(--smp-ink);
}
.vcx-sample-finding p { margin: 0; font-size: 14.5px; color: var(--smp-muted); line-height: 1.6; }

/* Range band */
.vcx-sample-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.vcx-sample-band__k { border: 1px solid var(--smp-rule); background: #f7f9fc; padding: 16px 18px; border-radius: 4px; }
.vcx-sample-band__k dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--smp-muted); margin: 0 0 6px; }
.vcx-sample-band__k dd { margin: 0; font-size: 22px; font-weight: 800; color: var(--smp-ink); }
.vcx-sample-band__k dd small { display: block; font-weight: 400; font-size: 13px; color: var(--smp-muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 560px) { .vcx-sample-band { grid-template-columns: 1fr; } }

/* Roadmap milestones */
.vcx-sample-mile { border-left: 3px solid var(--smp-b2b); padding: 8px 0 8px 18px; margin: 14px 0; }
body[data-audience="b2c"] .vcx-sample-mile { border-left-color: var(--smp-b2c); }
.vcx-sample-mile h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 4px; color: var(--smp-warn); font-weight: 800; }
.vcx-sample-mile h4 { font-size: 17px; margin: 0 0 8px; color: var(--smp-ink); font-weight: 700; }
.vcx-sample-mile p { font-size: 14.5px; margin: 0; color: var(--smp-muted); }

/* Closing CTA */
.vcx-sample-cta {
  margin: 64px 0 32px; padding: 28px 32px; background: #0e2036; color: #fff; border-radius: 6px;
}
.vcx-sample-cta h2 { font-size: 22px; margin: 0 0 10px; color: #fff; font-weight: 800; }
.vcx-sample-cta p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; color: #cdd6e3; max-width: 58ch; }
.vcx-sample-cta__row { display: flex; gap: 12px; flex-wrap: wrap; }
.vcx-sample-cta__row a {
  display: inline-block; padding: 12px 20px; border-radius: 4px; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.vcx-sample-cta__row a.primary { background: #f2a56a; color: #0e2036; }
.vcx-sample-cta__row a.secondary { background: transparent; border: 1px solid #556a8a; color: #cdd6e3; }

/* Footer disclaimer */
.vcx-sample-disclaimer {
  margin-top: 48px; padding: 22px 24px;
  border-top: 2px solid var(--smp-rule);
  font-size: 13px; line-height: 1.65; color: var(--smp-muted); background: #fafbfc;
}
.vcx-sample-disclaimer strong { color: var(--smp-ink); }

/* ── Print ─────────────────────────────────────────── */
@media print {
  @page {
    size: A4;
    margin: 18mm 14mm;
    @top-center { content: "Sample deliverable — Redacted replica — VitaCoreX LLC"; font-size: 9pt; color: #888; }
    @bottom-center { content: "SAMPLE — NOT A CLIENT DELIVERABLE · Page " counter(page); font-size: 9pt; color: #b84a00; font-weight: 700; }
  }
  body.vcx-sample-body { background: #fff; color: #000; }
  .vcx-sample-banner, header, footer, .vcx-site-header, .vcx-site-footer,
  nav, .vcx-nav, .vcx-footer, .vcx-sample-cta,
  .vcx-exit-intent, .vcx-chat-launcher { display: none !important; }
  .vcx-sample-watermark { display: none !important; /* replaced by @page box */ }
  .vcx-sample-doc { max-width: none; padding: 0; }
  .vcx-sample-section { page-break-before: always; break-before: page; margin: 0 0 24pt; }
  .vcx-sample-cover { page-break-after: always; break-after: page; border-top: 4pt solid #0e2036; }
  .vcx-sample-toc { page-break-after: always; break-after: page; }
  a { color: inherit !important; text-decoration: none !important; }
  .vcx-sample-finding, .vcx-sample-band__k, .vcx-sample-mile { page-break-inside: avoid; break-inside: avoid; }
}

/* Screen-readers */
.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;
}
