/* ============================================================
   Cadence Health Media — Marketing Site
   Senior-consultancy register · navy structure / teal emphasis
   Calibri throughout · restrained, typographic, document-clean
   ============================================================ */

/* Self-hosted Calibri (brand face) — Carlito remains the metric-compatible fallback */
@font-face { font-family:'Calibri'; font-style:normal; font-weight:400; font-display:swap; src:url('assets/fonts/calibri-regular.ttf') format('truetype'); }
@font-face { font-family:'Calibri'; font-style:italic; font-weight:400; font-display:swap; src:url('assets/fonts/calibri-italic.ttf') format('truetype'); }
@font-face { font-family:'Calibri'; font-style:normal; font-weight:700; font-display:swap; src:url('assets/fonts/calibri-bold.ttf') format('truetype'); }
@font-face { font-family:'Calibri'; font-style:italic; font-weight:700; font-display:swap; src:url('assets/fonts/calibri-bold-italic.ttf') format('truetype'); }

:root {
  --navy: #0B1A2E;
  --navy-800: #122740;
  --navy-700: #1C3450;   /* DS navy hover/pressed darken */
  --navy-600: #284664;
  --teal: #1A6B5A;
  --teal-600: #155A4B;
  --teal-700: #145448;   /* DS teal hover/pressed darken */
  --teal-glow: #5FB7A4;  /* DS lighter teal for marks on navy grounds */
  --teal-soft: #EFF4F2;  /* DS teal tint — table heads / callouts */
  --slate: #2F3E54;

  --bg: #FFFFFF;
  --bg-2: #F6F7F8;
  --bg-3: #EEF1F3;
  --surface: #FFFFFF;

  --border: #D8DEE5;   /* DS hairline */
  --border-2: #C8D0D8;

  --ink: #0B1A2E;
  --ink-2: #36425A;
  --muted: #5A6B7B;    /* DS muted gray */
  --muted-2: #8A97A6;
  --on-navy: #EAF0F7;
  --on-navy-2: #93A4BC;
  --on-navy-3: #5E708A;

  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(11,26,46,0.05);
  --sh-md: 0 2px 10px rgba(11,26,46,0.07);
  --sh-lg: 0 12px 36px rgba(11,26,46,0.13);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Calibri", "Carlito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--teal-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.01em; font-weight: 700; }
.display { font-size: 56px; line-height: 1.04; letter-spacing: -0.022em; font-weight: 700; }
h2.h2 { font-size: 36px; line-height: 1.1; letter-spacing: -0.018em; }
h3.h3 { font-size: 22px; line-height: 1.25; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--teal); }
.eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: var(--r-xs);
  font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; transition: all .16s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--muted-2); }
.btn-onnavy { background: #fff; color: var(--navy); }
.btn-onnavy:hover { background: var(--teal); color: #fff; }
.btn-ghost-onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-onnavy:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 700; transition: gap .16s var(--ease); }
.link-arrow:hover { gap: 11px; }
.link-arrow svg { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 11px; white-space: nowrap; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; border-radius: 5px; background: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.logo-mark svg { width: 19px; height: 19px; color: #fff; }
.logo-text { font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
.logo-text span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .15s; position: relative; white-space: nowrap; }
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
/* DS: pages are never tinted. Separation comes from a hairline rule, not a fill. */
.section.alt { background: var(--bg); border-top: 1px solid var(--border); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy h1, .section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .lede { color: var(--on-navy-2); }
/* DS: on navy grounds, eyebrow/marks use the lighter teal so they read against the dark */
.section.navy .eyebrow, .cta-band .eyebrow { color: var(--teal-glow); }
.section.navy .eyebrow::before, .cta-band .eyebrow::before { background: var(--teal-glow); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 22px; }
.hero .lede { margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-trust-label { font-size: 13px; font-weight: 400; color: var(--muted); margin: 0; }

/* ---------- Product mock (browser frame) ---------- */
.mock {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  background: #fff; box-shadow: var(--sh-lg);
}
.mock-bar { height: 38px; background: var(--bg-2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #D5D8DE; }
.mock-url { margin-left: 12px; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px 14px; }
.mock-body { padding: 20px; background: var(--bg-2); }

/* mini dashboard inside the mock */
.dash { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.dash-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.dash-tag { font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 3px 9px; border-radius: var(--r-pill); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.dash-stat { padding: 13px 16px; border-right: 1px solid var(--border); }
.dash-stat:last-child { border-right: none; }
.dash-stat .v { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.dash-stat .l { font-size: 11px; color: var(--muted); margin-top: 2px; }
.dash-rows { padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; }
.dash-row { display: flex; align-items: center; gap: 11px; }
.dash-row .nm { width: 92px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); flex-shrink: 0; }
.dash-row .track { flex: 1; height: 8px; background: var(--bg-3); border-radius: var(--r-pill); overflow: hidden; }
.dash-row .fill { height: 100%; border-radius: var(--r-pill); }
.dash-row .pc { width: 36px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--navy); flex-shrink: 0; }

/* ---------- Logo / trust row ---------- */
.logo-row { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; }
.logo-row .partner { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--muted-2); }

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* DS cards: white ground, hairline border, 6px radius, flat by default (no shadow), no colored accent borders */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; transition: border-color .16s var(--ease); }
.card.hover:hover { border-color: var(--navy); }
.card-ico { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; }
.card-ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.card-num { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; margin-bottom: 16px; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--ink-2); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feature-list .ck svg { width: 14px; height: 14px; }
.feature-list b { color: var(--navy); font-weight: 700; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-cell { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,0.14); }
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-cell .sv { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.stat-cell .sv .u { color: var(--teal-glow); }
.stat-cell .sl { font-size: 15px; color: var(--on-navy-2); margin-top: 12px; line-height: 1.4; }

/* ---------- Step / workflow ---------- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; position: relative; }
.step-n { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step-n::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Case study ---------- */
.case-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.case-visual { background: var(--navy); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; min-height: 280px; }
.case-visual .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-glow); }
.case-visual .big { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.case-visual .big small { font-size: 18px; color: var(--on-navy-2); font-weight: 600; display: block; margin-top: 8px; letter-spacing: 0; }
.case-body { padding: 36px; }
.case-body .brand { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.case-body h3 { font-size: 24px; margin-bottom: 14px; line-height: 1.2; }
.case-body p { color: var(--muted); margin: 0 0 20px; }
.case-metrics { display: flex; gap: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.case-metrics .m .mv { font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.case-metrics .m .ml { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: var(--r-lg); padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: 40px; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-band p { color: var(--on-navy-2); font-size: 19px; max-width: 560px; margin: 0 auto 32px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--r-xs); background: #fff;
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-navy-2); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo-text { color: #fff; }
.footer-blurb { margin-top: 18px; font-size: 15px; color: var(--on-navy-2); max-width: 300px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; color: var(--on-navy-2); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 14px; color: var(--on-navy-3); }
.footer-bottom .links { display: flex; gap: 22px; }

/* ---------- Pill / chip ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 13px; }
.chip.teal { background: var(--teal-soft); color: var(--teal-600); border-color: transparent; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 64px 0 56px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lede { margin-top: 18px; max-width: 640px; }

/* ---------- Motion ----------
   DS: quiet and functional — hover/focus transitions only.
   No entrance animations, parallax, or looping decoration. */
.reveal { opacity: 1; }
.reveal.in { animation: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0; background: #fff; z-index: 49; padding: 24px 32px; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 19px; font-weight: 600; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .display { font-size: 40px; }
  h2.h2 { font-size: 29px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .container { padding: 0 22px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .cta-band h2 { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ============================================================
   REDESIGN COMPONENTS — planner-led consultancy positioning
   ============================================================ */

/* ---------- Lead statement / positioning ---------- */
.lead-statement { max-width: 920px; }
.lead-statement .kicker { font-size: 22px; line-height: 1.5; color: var(--ink-2); font-weight: 400; margin-top: 22px; }
.lead-statement .kicker b { color: var(--navy); font-weight: 700; }
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Definition strip (not an agency) ---------- */
.def-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.def-cell { padding: 30px 28px; border-left: 1px solid var(--border); }
.def-cell:first-child { border-left: none; }
.def-cell .k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.def-cell p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.def-cell p b { color: var(--navy); }

/* ---------- Comparison: traditional vs Cadence ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare-col.old { background: var(--bg-2); }
.compare-col.new { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.compare-head { padding: 22px 26px; border-bottom: 1px solid var(--border); }
.compare-col.new .compare-head { background: var(--teal); }
.compare-col.new .compare-head h3, .compare-col.new .compare-head .ch-tag { color: #fff; }
.compare-head .ch-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare-head h3 { font-size: 22px; margin-top: 6px; }
.compare-list { list-style: none; margin: 0; padding: 10px 26px 22px; }
.compare-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--ink-2); }
.compare-list li:last-child { border-bottom: none; }
.compare-list .ic { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.compare-col.old .ic { color: var(--muted-2); }
.compare-col.new .ic { color: var(--teal); }

/* ---------- Process flow (how Cadence works) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow-step { position: relative; padding: 0 26px; border-left: 1px solid var(--border); }
.flow-step:first-child { border-left: none; padding-left: 0; }
.flow-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.flow-step:nth-child(2) .flow-num { background: var(--navy-700); }
.flow-step:nth-child(3) .flow-num { background: var(--teal); }
.flow-step:nth-child(4) .flow-num { background: var(--teal-glow); }
.flow-step h3 { font-size: 19px; margin-bottom: 10px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.flow-step .ph { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }

/* ---------- Wide product mock ---------- */
.mock.wide { box-shadow: var(--sh-lg); }
.mock.flat { box-shadow: var(--sh-md); }

/* ---------- Real planner screenshots (authentic evidence) ---------- */
.shot { margin: 0; }
.shot img { width: 100%; display: block; border: 1px solid var(--border); border-radius: var(--r-md); }
.shot.frame img { box-shadow: var(--sh-md); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.shot figcaption::before { content: ""; width: 16px; height: 1.5px; background: var(--teal); flex-shrink: 0; }

/* ---------- Planner I/O ---------- */
.io { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: start; }
.io-panel { border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.io-panel.input { background: var(--navy); border-color: var(--navy); }
.io-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.io-panel.input .io-head { border-color: rgba(255,255,255,.12); }
.io-head .t { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.io-panel.input .io-head .t { color: var(--on-navy-2); }
.io-head .tag { font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 3px 10px; border-radius: var(--r-pill); }
.io-panel.input .io-head .tag { color: #fff; background: var(--teal); }
.io-body { padding: 18px 20px; }
.io-field { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.io-field:last-child { border-bottom: none; }
.io-field .l { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 6px; }
.io-field .v { font-size: 16px; color: #fff; font-weight: 600; }
.io-field .v span { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--on-navy); border-radius: var(--r-pill); padding: 3px 11px; font-size: 13.5px; font-weight: 600; margin: 3px 5px 0 0; }
.out-block { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.out-block:last-child { border-bottom: none; }
.out-block .ob-h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.out-block .ob-h .n { width: 22px; height: 22px; border-radius: 5px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 12px; }
.out-narrative { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi-cell { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 11px 13px; }
.kpi-cell .kl { font-size: 11.5px; color: var(--muted); }
.kpi-cell .kv { font-size: 17px; font-weight: 700; color: var(--navy); margin-top: 3px; letter-spacing: -.01em; }

/* ---------- Commercial map (DS signature table: square, teal-tint head, hairline rows) ---------- */
.cmap { border: 1px solid var(--border); border-radius: var(--r-0, 0); overflow: hidden; background: #fff; }
.cmap-grid { display: grid; grid-template-columns: 150px repeat(4, 1fr); }
.cmap-grid > div { padding: 14px 16px; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); font-size: 14.5px; line-height: 1.45; }
.cmap-grid > div:first-child, .cmap-grid .rowlabel { border-left: none; }
.cmap-grid .stage { background: var(--teal-soft); color: var(--navy); font-weight: 700; font-size: 13.5px; letter-spacing: .01em; }
.cmap-grid .rowlabel { background: #fff; font-weight: 700; color: var(--navy); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; }
.cmap-grid .cell { color: var(--ink-2); }
.cmap-grid .cell b { color: var(--teal-600); }
.cmap-grid .lead { background: var(--teal-soft); }

/* ---------- Profile / bio ---------- */
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.profile-card { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-md); position: sticky; top: 92px; }
.profile-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.profile-card .pc-body { padding: 22px; }
.profile-card .pc-name { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.profile-card .pc-role { font-size: 14.5px; color: var(--teal); font-weight: 700; margin-top: 3px; }
.profile-card .pc-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.profile-card .pc-meta div { font-size: 14px; color: var(--ink-2); display: flex; gap: 9px; }
.profile-card .pc-meta b { color: var(--navy); }

/* Compact bio strip (homepage) */
.bio-strip { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; max-width: 860px; }
.bio-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--border); flex-shrink: 0; }
.bio-role { font-size: 15px; color: var(--muted); margin: 4px 0 0; font-weight: 400; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.prose p b, .prose strong { color: var(--navy); font-weight: 700; }
.prose h2 { font-size: 25px; margin: 38px 0 14px; color: var(--navy); letter-spacing: -.012em; line-height: 1.25; }
.prose h3 { font-size: 22px; margin: 34px 0 14px; color: var(--navy); }
.prose > :first-child { margin-top: 0; }

/* ---------- Article (insights) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--teal); margin-bottom: 26px; }
.article-back:hover { color: var(--teal-600); }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- Pill row (expertise) ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: 8px 15px; }
.pill.solid { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Service blocks ---------- */
.svc { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.svc + .svc { margin-top: 22px; }
.svc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.svc-aside { background: var(--navy); color: #fff; padding: 34px; }
.svc-aside .svc-n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--teal-glow); }
.svc-aside h3 { color: #fff; font-size: 26px; margin: 14px 0 14px; letter-spacing: -.015em; }
.svc-aside p { color: var(--on-navy-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; }
.svc-aside .svc-for { font-size: 13.5px; color: var(--on-navy-2); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.svc-aside .svc-for b { color: #fff; }
.svc-body { padding: 34px; }
.svc-body .sb-h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* ---------- Planner mock (hero) — matches the Intelligence Platform app chrome ---------- */
.planner-mock {
  display: flex; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-lg);
  height: 480px; font-size: 12px; line-height: 1.4;
  font-family: var(--font); background: #fff;
}
/* Sidebar */
.pm-sidebar {
  width: 192px; flex-shrink: 0; background: #0B1A2E; color: #fff;
  display: flex; flex-direction: column; padding: 18px 0;
  border-right: 1px solid rgba(255,255,255,.07);
}
.pm-logo {
  display: flex; align-items: center; gap: 9px; padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pm-logo-mark {
  width: 28px; height: 28px; border-radius: 5px; background: #1A6B5A;
  display: grid; place-items: center; flex-shrink: 0; color: #fff;
}
.pm-brand { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.pm-platform { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5FB7A4; margin-top: 1px; }
.pm-nav-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #5E708A; padding: 14px 16px 8px;
}
.pm-steps { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; flex: 1; }
.pm-step {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 5px;
  cursor: default;
}
.pm-step.pm-active { background: rgba(26,107,90,.18); }
.pm-snum {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,.08); color: #5E708A;
}
.pm-snum.done { background: rgba(95,183,164,.15); color: #5FB7A4; font-size: 11px; }
.pm-snum.active { background: #1A6B5A; color: #fff; }
.pm-stext { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pm-sname { font-size: 11.5px; font-weight: 600; color: #CBD4DF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-step.pm-done .pm-sname { color: #93A4BC; }
.pm-step.pm-active .pm-sname { color: #fff; }
.pm-sdesc { font-size: 9.5px; color: #5E708A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-step.pm-active .pm-sdesc { color: #5FB7A4; }
/* Main area */
.pm-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.pm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; height: 40px; border-bottom: 1px solid #E8ECF0;
  background: #fff; flex-shrink: 0;
}
.pm-breadcrumb { font-size: 11px; color: #8A97A6; display: flex; align-items: center; gap: 5px; }
.pm-breadcrumb strong { color: #0B1A2E; }
.pm-arrow { color: #C8D0D8; }
.pm-controls { display: flex; align-items: center; gap: 6px; }
.pm-nav-label-sm { font-size: 10px; color: #8A97A6; font-weight: 600; }
.pm-navbtn {
  width: 22px; height: 22px; border: 1px solid #D8DEE5; border-radius: 4px;
  display: grid; place-items: center; font-size: 11px; color: #5A6B7B; cursor: default;
}
.pm-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: #1A6B5A;
  display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff;
}
.pm-content { flex: 1; overflow-y: auto; padding: 18px 20px; }
.pm-step-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #1A6B5A; margin-bottom: 10px;
}
.pm-teal-sq { width: 8px; height: 8px; background: #1A6B5A; border-radius: 2px; flex-shrink: 0; }
.pm-heading { font-size: 20px; font-weight: 700; color: #0B1A2E; letter-spacing: -.015em; margin: 0 0 4px; }
.pm-sub-line { font-size: 11.5px; color: #8A97A6; margin: 0 0 14px; }
/* KPI tiles */
.pm-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.pm-tile {
  background: #F6F7F8; border: 1px solid #E8ECF0; border-radius: 5px;
  padding: 10px; display: flex; flex-direction: column; gap: 3px;
}
.pm-tile.pm-tile-hi { background: #EFF4F2; border-color: #B8D8CE; }
.pm-tv { font-size: 11px; font-weight: 700; color: #0B1A2E; }
.pm-tl { font-size: 9.5px; color: #8A97A6; }
/* Section heads */
.pm-sect-head {
  font-size: 10.5px; font-weight: 700; color: #36425A; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.pm-opt-badge {
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #EFF4F2; color: #1A6B5A; padding: 2px 6px; border-radius: 3px;
}
/* Channel rows */
.pm-channels { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.pm-ch { display: flex; align-items: center; gap: 8px; }
.pm-chtag {
  width: 28px; height: 20px; border-radius: 3px; color: #fff;
  font-size: 8.5px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0;
}
.pm-chname { width: 88px; font-size: 10.5px; font-weight: 600; color: #36425A; flex-shrink: 0; }
.pm-chtrack { flex: 1; height: 6px; background: #ECEEF1; border-radius: 99px; overflow: hidden; }
.pm-chfill { height: 100%; border-radius: 99px; }
.pm-chpc { width: 28px; text-align: right; font-size: 10.5px; font-weight: 700; color: #0B1A2E; }
.pm-caption { font-size: 10px; color: #8A97A6; margin: 0; }

/* ---------- Quote / pull ---------- */
.pull { border-left: 3px solid var(--teal); padding: 6px 0 6px 28px; margin: 0; }
.pull p { font-size: 24px; line-height: 1.45; color: var(--navy); font-weight: 400; letter-spacing: -.01em; margin: 0; }
.pull cite { display: block; margin-top: 16px; font-size: 14.5px; font-style: normal; color: var(--muted); font-weight: 600; }

/* ---------- Responsive (redesign components) ---------- */
@media (max-width: 960px) {
  .io { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .profile-card { position: static; max-width: 360px; }
  .bio-strip { grid-template-columns: 1fr; gap: 22px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .flow-step:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 760px) {
  .def-strip { grid-template-columns: 1fr; }
  .def-cell { border-left: none; border-top: 1px solid var(--border); }
  .def-cell:first-child { border-top: none; }
  .compare { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 28px 0; }
  .flow-step { border-left: none; padding-left: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .cmap { overflow-x: auto; }
  .cmap-grid { min-width: 640px; }
  .lead-statement .kicker { font-size: 19px; }
  .pull p { font-size: 20px; }
  .planner-mock { height: 400px; }
  .pm-sidebar { width: 160px; }
  .pm-tiles { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .planner-mock { display: none; }
}
