/* ============================================================
   healthbeniq.com — "Command Center" (redesign direction A)
   Built from comps/a-command-center.html + comps/assets/comp.css,
   HealthBenIQ blue palette (Justin, 2026-11-09).

   Grid matches the PHCC site so the two read as siblings:
   1440 frame · 48 container padding · 1344 max · 1248 content.
   ============================================================ */

:root {
  /* Blues, from the HealthBenIQ logo and the previous site's CSS.
     No amber, orange, green or purple anywhere. The one teal is a
     hairline rule, as in the HealthBenIQ golden deck. */
  --navy-black:  #0E2238;   /* deepest band — navy, never black */
  --navy-ink:    #142D47;
  --navy:        #1B3A5C;   /* the logo navy */
  --navy-mid:    #2A6496;   /* signature colored band + primary CTA */
  --blue:        #3B7DB5;
  --blue-light:  #5B9BD5;
  --tint:        #EBF3FA;
  --teal-rule:   #2E8C9E;   /* hairline accent only, never a fill */

  --ink:       #0f172a;
  --ink-2:     #334155;
  --muted:     #64748b;
  --line:      #e2e8f0;
  --line-soft: #f1f5f9;
  --bg:        #f8f9fc;
  --paper:     #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow:    0 6px 28px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, .14);
  --shadow-xl: 0 40px 110px rgba(14, 34, 56, .34);

  --radius:    12px;
  --radius-lg: 18px;

  --max: 1344px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 100px }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }

/* No single word left alone on a last line (Justin 11-09): headings balance, body copy wraps "pretty". */
h1, h2, h3, h4, div.sub { text-wrap: balance }
p, li, .lede, .note, .sec-note { text-wrap: pretty }
.card p, .scen .s p, .aud p { text-wrap: balance }
h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 800;
}

/* Every band uses the same container, so every section spans the
   same width as the header. No narrow centred column anywhere. */
.container { max-width: var(--max); margin: 0 auto; padding: 0 48px }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.js .reveal.visible { opacity: 1; transform: none }
.reveal-d1 { transition-delay: .08s } .reveal-d2 { transition-delay: .16s }
.reveal-d3 { transition-delay: .24s } .reveal-d4 { transition-delay: .32s }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-mid); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; display: block }
.eyebrow.on-dark { color: #fff }
.eyebrow.bare::before { display: none }

.h-section { font-size: 52px; margin: 18px 0 0; white-space: nowrap }
.h-section.wrap { white-space: normal }
.lede { font-size: 19px; color: var(--ink-2); max-width: 760px; margin-top: 18px }
.lede.on-dark { color: rgba(255,255,255,.74) }
/* A section intro's lede runs exactly as wide as its heading at every screen size
   (Justin 11-09). The lede's own width is contained out of the sizing, so the intro
   is as wide as the heading's line, or the full container once the heading wraps. */
.reveal:has(> .h-section) { width: fit-content; max-width: 100% }
.reveal:has(> .h-section) > .lede { max-width: none; contain: inline-size }
/* Core IP's paragraph is far longer than its heading: it runs the full content width. */
#measures .reveal:has(> .h-section) { width: auto }

.section { padding: 90px 0 }
.section.tight { padding: 76px 0 }
.section.dark { background: var(--navy-ink); color: #fff }
.section.dark .h-section, .section.dark h3 { color: #fff }
.section.alt { background: var(--tint) }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700;
  padding: 17px 30px; border-radius: 10px; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--navy-mid); color: #fff; box-shadow: 0 10px 28px rgba(42,100,150,.32) }
.btn-blue    { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(59,125,181,.34) }
.btn-navy    { background: var(--navy-ink); color: #fff }
.btn-ghost   { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45) }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line) }
.btn-lg { font-size: 17px; padding: 19px 34px }
.btn-blue:hover  { background: var(--blue-light) }
.btn-navy:hover  { background: var(--navy) }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7) }
.btn[disabled] { opacity: .6; cursor: default }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.over-hero { background: transparent; border-bottom-color: rgba(255,255,255,.14) }
.nav-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px }
.nav-logo img { height: 64px; width: auto }
/* The logo is never boxed: the white mark sits straight on the dark hero,
   the colour mark on the white header once the page scrolls. */
.nav-logo .logo-white { display: none }
.over-hero .nav-logo .logo-white { display: block }
.over-hero .nav-logo .logo-colour { display: none }
.nav-links { display: flex; align-items: center; gap: 34px }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap }
.over-hero .nav-links a { color: rgba(255,255,255,.88) }
.nav-cta { padding: 13px 24px; font-size: 15px; border-radius: 9px; font-weight: 700; color: #fff }
/* .nav-links a (0,1,1) outranks .nav-cta, so pin the CTA white in both header states */
.nav-links a.nav-cta, .over-hero .nav-links a.nav-cta { color: #fff }

/* Demo Login: an outline button beside the CTA (Justin 2026-11-10). */
/* Login menu: Admin portal or Member portal (Justin 2026-11-10). <details> so it opens
   on tap and keyboard without script; closes on outside click / Escape via site.js. */
.nav-login { position: relative }
.nav-login summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--navy);
  white-space: nowrap; padding: 11px 20px; border: 1.5px solid var(--line); border-radius: 9px }
.nav-login summary::-webkit-details-marker { display: none }
.nav-login summary::after { content: ""; display: inline-block; margin-left: 8px; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg) }
.nav-login summary:hover { border-color: var(--blue) }
.over-hero .nav-login summary { color: #fff; border-color: rgba(255,255,255,.45) }
.over-hero .nav-login summary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7) }
.nav-login[open] summary { border-color: var(--blue) }
.nav-login-menu { position: absolute; right: 0; top: calc(100% + 12px); width: 268px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(14,34,56,.22); padding: 8px; z-index: 120;
  animation: nlIn .16s ease-out }
.nav-login-menu::before { content: ""; position: absolute; top: -6px; right: 28px; width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg) }
@keyframes nlIn { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }
.nav-login-head { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 8px 12px 6px }
.nav-links .nav-login-menu a, .over-hero .nav-links .nav-login-menu a { display: flex; align-items: center; gap: 12px; color: var(--navy);
  padding: 10px 12px; border-radius: 10px; border: 0; position: relative; transition: background .15s }
.nav-login-menu a b { font-weight: 700; font-size: 15px; line-height: 1.2 }
.nav-login-menu a span { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-2); margin-top: 3px }
.nav-login-menu a::after { content: "\2192"; margin-left: auto; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: all .15s }
.nav-login-menu a:hover { background: var(--tint) }
.nav-login-menu a:hover::after { opacity: 1; transform: none }
.nl-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #1D4E6E, #3B7DB5) }
.nl-ic-2 { background: linear-gradient(135deg, #2A6496, #5B9BD5) }
.nl-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }

/* Phone navigation — not in the static comp, which simply drops the nav.
   A real page needs a way to reach the sections and the demo form. */
.hamburger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 10px }
.hamburger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s }
.hamburger span + span { margin-top: 6px }
.over-hero .hamburger span { background: #fff }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg) }
.hamburger.active span:nth-child(2) { opacity: 0 }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) }
.mobile-nav {
  display: none; position: fixed; inset: 70px 0 0 0; z-index: 99;
  background: var(--navy-black); padding: 28px 20px 40px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.active { display: flex }
.mobile-nav a { font-size: 19px; font-weight: 700; color: #fff; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12) }
.mobile-nav .btn { margin-top: 22px; justify-content: center }

/* ---------- Fact strip ---------- */
.factstrip {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px; padding: 18px 40px; backdrop-filter: blur(8px);
}
.factstrip.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm) }
.factstrip span { font-size: 15px; color: rgba(255,255,255,.72); white-space: nowrap }
.factstrip.light span { color: var(--ink-2) }
.factstrip b { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 21px; color: #fff; margin-right: 7px }
.factstrip.light b { color: var(--navy) }
.factstrip i { width: 1px; height: 26px; background: rgba(255,255,255,.2); display: block }
.factstrip.light i { background: var(--line) }

/* ---------- Numbered step band ---------- */
.steprail { background: var(--navy-mid); color: #fff; border-top: 3px solid var(--teal-rule) }
.steprail .inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 }
.steprail .step { padding: 32px 30px 32px 0; border-right: 1px solid rgba(255,255,255,.22) }
.steprail .step:last-child { border-right: 0 }
.steprail .step:not(:first-child) { padding-left: 30px }
.steprail .num { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 26px; color: #fff }
.steprail .lbl { font-size: 15px; font-weight: 700; margin-top: 4px }
.steprail .sub { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.45; margin-top: 3px }

/* ---------- Counters / proof ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 }
.counters.five { grid-template-columns: repeat(5, 1fr) }
.counters .c { padding: 0 34px; border-left: 1px solid var(--line) }
.counters .c:first-child { padding-left: 0; border-left: 0 }
.counters .n { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 60px; letter-spacing: -.04em; color: var(--navy); line-height: 1; white-space: nowrap }
.counters .l { font-size: 15px; font-weight: 700; margin-top: 10px }
.counters .s { font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.45 }
.counters.on-dark .c { border-left-color: rgba(255,255,255,.16) }
.counters.on-dark .n { color: #fff }
.counters.on-dark .l { color: #fff }
.counters.on-dark .s { color: rgba(255,255,255,.58) }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
}
.card .big { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 46px; color: var(--navy); line-height: 1; letter-spacing: -.035em }
.card h4 { font-size: 18px; margin: 14px 0 8px }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.55 }
.card .src { font-size: 12.5px; color: var(--muted); margin-top: 14px; font-style: italic }
.card.topbar { border-top: 4px solid var(--navy-mid) }
.card.topbar.blue { border-top-color: var(--blue) }
.card.topbar.navy { border-top-color: var(--navy-ink) }

.callout {
  border-left: 4px solid var(--navy-mid); background: var(--tint);
  padding: 26px 30px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 18px; line-height: 1.55;
}
.callout b { color: var(--navy) }

/* ---------- Product shot frame (one large shot, simple frame) ---------- */
.shotframe {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(14,34,51,.1); box-shadow: var(--shadow-lg);
}
.shotframe.on-dark { border-color: rgba(255,255,255,.14); box-shadow: var(--shadow-xl) }
.shotframe img { width: 100%; height: auto }
.shotcap { font-size: 13.5px; color: var(--muted); margin-top: 14px }
.shotcap.on-dark { color: rgba(255,255,255,.55) }

/* ---------- View-by-role list (no ordinals: the count is not the story) ---------- */
.dash-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px }
.dash-row { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line) }
.dash-row .dn { width: 30px; flex: none; padding-top: 0 }
.dash-row .dn img { display: block; width: 28px; height: auto }
.dash-row .dt { font-size: 16px; font-weight: 700 }
.dash-row .di { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45 }
.dash-row .dr { font-size: 12.5px; color: var(--muted); margin-top: 3px; letter-spacing: .02em }
.dash-list.on-dark .dash-row { border-bottom-color: rgba(255,255,255,.13) }
.dash-list.on-dark .dr { color: rgba(255,255,255,.55) }

/* ---------- Measure bars ---------- */
.bars { display: grid; gap: 13px }
.bar-row { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 18px }
.bar-row .bl { font-size: 15px; font-weight: 600 }
.bar-track { height: 13px; background: var(--line-soft); border-radius: 100px; overflow: hidden }
.bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--navy), var(--blue)) }
.bar-row .bn { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 19px; text-align: right; color: var(--navy) }
.bars.on-dark .bar-track { background: rgba(255,255,255,.12) }
.bars.on-dark .bar-fill { background: linear-gradient(90deg, var(--blue), var(--blue-light)) }
.bars.on-dark .bn { color: #fff }

/* ---------- Audience ---------- */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 }
.aud .a { padding: 0 32px; border-left: 1px solid var(--line) }
.aud .a:first-child { padding-left: 0; border-left: 0 }
.aud .a h4 { font-size: 22px; margin-bottom: 12px }
.aud .a p { font-size: 15px; color: var(--ink-2); line-height: 1.55 }
.aud .a .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-mid); display: block; margin-bottom: 14px }

/* ---------- Checklist ---------- */
.checks { list-style: none; display: grid; gap: 13px; margin-top: 26px }
.checks li { display: flex; gap: 13px; font-size: 16px; color: var(--ink-2); line-height: 1.5 }
.checks li::before { content: '✓'; color: var(--navy-mid); font-weight: 800; flex: none }
.checks.on-dark li { color: rgba(255,255,255,.8) }
.checks.on-dark li::before { color: #fff }

/* ---------- Demo form ---------- */
.formcard { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line) }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px }
.field label .optional { font-weight: 500; color: var(--muted) }
.field input, .field select, .field textarea {
  width: 100%; display: block; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px;
  font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px }
.field input::placeholder, .field textarea::placeholder { color: var(--muted) }
.field select:invalid { color: var(--muted) }
.field select option { color: var(--ink) }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,125,181,.16);
}
.field.full { grid-column: 1 / -1 }
.formnote { font-size: 13.5px; color: var(--muted); margin-top: 16px; text-align: center }
.formnote a { color: var(--navy-mid); font-weight: 700 }
.form-status { font-size: 14.5px; margin-top: 14px; text-align: center; line-height: 1.5 }
.form-status.success { color: var(--navy-mid); font-weight: 700 }
.form-status.error { color: #b02a37; font-weight: 700 }

/* ---------- Footer ---------- */
/* Matches the phccollaborative.com footer: logo and links on one centred
   row, a hairline, then a centred copyright and entity line. */
.site-footer { background: var(--navy-black); color: rgba(255,255,255,.6); padding: 56px 0 32px }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 48px; padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1) }
.footer-brand { display: inline-flex }
.site-footer .footer-logo { height: 64px; width: auto; opacity: .95 }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s }
.footer-links a:hover { color: #fff }
.footer-bottom { text-align: center; font-size: 12.5px; line-height: 1.6 }
.footer-bottom p { margin: 0 }
.footer-copyright { color: rgba(255,255,255,.42) }
.footer-sep { margin: 0 7px; color: rgba(255,255,255,.28) }
.footer-copyright { display: flex; justify-content: center }
.footer-bottom .fbreak { display: none }
@media (max-width: 1000px) {
  /* too narrow for one line: entity on the first row, address and legal links on the second */
  .footer-copyright { flex-wrap: wrap; row-gap: 4px }
  .footer-bottom .fbreak { display: block; flex-basis: 100%; height: 0 }
  .footer-bottom .fbreak + .fseg .footer-sep.lead { display: none }
}
.footer-bottom .fseg { white-space: nowrap }
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .2s }
.footer-bottom a:hover { color: #fff }
.site-footer a:focus-visible { outline: 2px solid #9fc6ef; outline-offset: 3px }

/* ---------- Shared split rows ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start }
.split-r { display: grid; grid-template-columns: 1fr 560px; gap: 64px; align-items: center }

/* ============ Direction A — "Command Center" ============
   Dark, cinematic, photographic. The hero is a full-bleed
   operations-room photograph with the headline on the open
   left third; the numbered rail sits directly under it. */

.hero { position: relative; min-height: 760px; display: flex; align-items: center; background: var(--navy-black); overflow: hidden }
.hero-bg { position: absolute; inset: 0 }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: brightness(1.35); animation: kenburns 26s linear forwards }
@keyframes kenburns { from { transform: scale(1) } to { transform: scale(1.05) } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,34,56,.95) 0%, rgba(14,34,56,.88) 32%, rgba(20,45,71,.52) 52%, rgba(27,58,92,.2) 64%, rgba(27,58,92,.16) 100%); /* lighter right half so both men read (Justin 11-09) */
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 64px }
.hero h1 { font-size: 74px; color: #fff; margin: 22px 0 0; letter-spacing: -.035em }
.hero h1 .accent { color: var(--blue-light) }
.hero p.sub { font-size: 20px; color: rgba(255,255,255,.76); max-width: 730px; margin-top: 24px; line-height: 1.6 } /* = the h1's width */
.hero .ctas { display: flex; gap: 16px; margin-top: 38px }
.hero .strip { margin-top: 64px }

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

/* Platform band: heading beside the shot, shot bleeds off the right edge. */
.platform { background: #fff; padding: 90px 0; overflow: hidden }
.platform-grid { display: grid; grid-template-columns: 468px 1fr; gap: 52px; align-items: center }
.platform .shotwrap { width: 100%; max-width: 760px; justify-self: end }
.platform h2 { font-size: 40px; margin: 18px 0 0 }
.platform .platform-lede { font-size: 17px; color: var(--ink-2); margin-top: 20px }

.outcomes .scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px }
.outcomes .scen .s { padding: 0 34px; border-left: 1px solid rgba(255,255,255,.16) }
.outcomes .scen .s:first-child { padding-left: 0; border-left: 0 }
.outcomes .scen .n { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 64px; color: #fff; line-height: 1; letter-spacing: -.04em }
.outcomes .scen h4 { font-size: 19px; margin: 14px 0 8px; color: #fff }
.outcomes .scen p { font-size: 15px; color: rgba(255,255,255,.66); line-height: 1.55 }
.outcomes .note { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 46px }

.sec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px }
.sec-strip .s { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff }
.sec-strip .s b { display: block; font-size: 16px; margin-bottom: 6px }
.sec-strip .s span { font-size: 14px; color: var(--muted); line-height: 1.5 }
.sec-note { font-size: 14px; color: var(--muted); margin-top: 26px }

/* ---------- Security page ----------
   Built from the homepage system: same container, same bands, same cards.
   Only the pieces the homepage has no equivalent for live here. */
.hero.hero-flat { min-height: 0; background: var(--navy-black) }
.hero.hero-flat .hero-inner { padding-top: 168px; padding-bottom: 76px }
.hero.hero-flat h1 { font-size: 60px }
.hero.hero-flat p.sub { max-width: none }

/* A control block: shield bullet beside the heading, never on its own row. */
.ctrl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 44px }
.ctrl { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line) }
.ctrl .ic { width: 28px; flex: none }
.ctrl .ic img { width: 28px; height: auto }
.ctrl h4 { font-size: 17px; margin-bottom: 5px }
.ctrl p { font-size: 15px; color: var(--ink-2); line-height: 1.55 }
.section.dark .ctrl { border-bottom-color: rgba(255,255,255,.14) }
.section.dark .ctrl h4 { color: #fff }
.section.dark .ctrl p { color: rgba(255,255,255,.7) }

/* A row of plain fact boxes under a section intro. */
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px }
.fact-row .f { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px }
.fact-row .f b { display: block; font-size: 16px; margin-bottom: 7px }
.fact-row .f span { font-size: 14.5px; color: var(--ink-2); line-height: 1.55 }

.cta-band { background: var(--navy-mid); color: #fff; padding: 84px 0; border-top: 3px solid var(--teal-rule) }
.cta-band h2 { font-size: 44px; color: #fff; margin: 18px 0 0 }
.cta-band .cta-grid { display: grid; grid-template-columns: 1fr 470px; gap: 72px; align-items: center }
.cta-band .ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap }

/* ---------- Legal pages (privacy, terms) ----------
   Justin 11-09: these pages run the same content width as the homepage
   header and sections. Legal text does not read at 1248px, so the width
   is filled with three columns — a sticky contents rail, the text column
   and a sticky help rail — rather than by stretching the paragraphs. */
.legal-head { background: var(--navy-ink); color: #fff; padding: 158px 0 54px }
.legal-head h1 { font-size: 52px; color: #fff; margin: 18px 0 0 }
.legal-head .legal-intro { font-size: 18px; color: rgba(255,255,255,.78); max-width: none; margin-top: 18px; line-height: 1.6 }
.legal-head .effective {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.legal { padding: 54px 0 92px; background: var(--paper) }
.legal-grid { display: grid; grid-template-columns: 252px minmax(0, 1fr) 312px; gap: 0 56px; align-items: start }

.legal-toc { position: sticky; top: 112px; max-height: calc(100vh - 150px); overflow-y: auto }
.legal-toc .toc-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-mid); padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.legal-toc ol { list-style: none; padding: 0; margin: 8px 0 0 }
.legal-toc a {
  display: block; font-size: 14px; line-height: 1.4; color: var(--ink-2);
  padding: 8px 0 8px 14px; border-left: 2px solid var(--line-soft);
}
.legal-toc a:hover { color: var(--navy-mid); border-left-color: var(--blue) }

.legal-body h2 { font-size: 26px; color: var(--navy); margin: 46px 0 14px; scroll-margin-top: 108px }
.legal-body > h2:first-child { margin-top: 0 }
.legal-body h3 { font-size: 17.5px; margin: 26px 0 8px }
.legal-body p, .legal-body li { font-size: 16.5px; color: var(--ink-2); line-height: 1.7 }
.legal-body p { margin-bottom: 14px }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 16px }
.legal-body li { margin-bottom: 8px }
.legal-body strong { color: var(--ink) }
.legal-body a { color: var(--navy-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 3px }
.legal-body .callout { margin: 22px 0; font-size: 16.5px }
.legal-body .callout p { margin: 0; color: var(--navy-ink) }
.legal-body .callout p + p { margin-top: 10px }

.legal-aside { position: sticky; top: 112px; display: grid; gap: 16px }
.legal-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px }
.legal-card h4 { font-size: 15px; margin-bottom: 10px }
.legal-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 8px }
.legal-card p:last-child { margin-bottom: 0 }
.legal-card ul { list-style: none; display: grid; gap: 8px; padding: 0 }
.legal-card li { font-size: 14px; color: var(--ink-2); line-height: 1.5 }
.legal-card a { color: var(--navy-mid); font-weight: 700 }
.legal-card.quiet { background: #fff }

.demo { background: var(--navy-mid); color: #fff; padding: 100px 0; border-top: 3px solid var(--teal-rule) }
.demo .lede.on-dark { color: rgba(255,255,255,.88) }
.demo .checks.on-dark li { color: rgba(255,255,255,.92) }
.demo-grid { display: grid; grid-template-columns: 1fr 560px; gap: 72px; align-items: center }
.demo h2 { font-size: 54px; color: #fff; margin: 20px 0 0 }
.demo .lede.on-dark { font-size: 20px }

/* ---------- Laptop / small desktop, between the comp widths ----------
   The comp is a 1440 artboard with one phone breakpoint; a real page
   also gets loaded at 900–1200, where the nowrap section titles and the
   five-up grids would otherwise push the page sideways. */
@media (max-width: 1180px) {
  .h-section { font-size: 40px; white-space: normal }
  .hero h1 { font-size: 58px }
  .hero p.sub { max-width: 575px }
  .nav-logo img { height: 56px }
  .nav-links { gap: 22px }
  .nav-links a { font-size: 14px }
  .counters.five { grid-template-columns: repeat(3, 1fr); row-gap: 34px }
  .counters.five .c:nth-child(4) { padding-left: 0; border-left: 0 }
  .steprail .inner { grid-template-columns: repeat(3, 1fr) }
  .steprail .step:nth-child(3n) { border-right: 0 }
  .aud, .sec-strip { grid-template-columns: 1fr 1fr; row-gap: 34px }
  .aud .a:nth-child(3) { padding-left: 0; border-left: 0 }
  .platform-grid { grid-template-columns: 1fr 1fr; gap: 36px }
  .platform h2 { font-size: 36px }
  .demo-grid { grid-template-columns: 1fr 1fr; gap: 40px }
  .demo h2 { font-size: 42px }
  .outcomes .scen { gap: 0 }
  .bar-row { grid-template-columns: 140px 1fr 44px }
  .hero.hero-flat h1 { font-size: 46px }
  .cta-band .cta-grid { grid-template-columns: 1fr; gap: 36px }
  .cta-band h2 { font-size: 36px }
  .fact-row { grid-template-columns: 1fr 1fr; row-gap: 20px }
  /* The help rail drops under the text column; the contents rail stays. */
  .legal-grid { grid-template-columns: 226px minmax(0, 1fr); gap: 0 40px }
  .legal-aside { position: static; grid-column: 2; grid-template-columns: 1fr 1fr; margin-top: 34px }
  .legal-head { padding: 140px 0 46px }
  .legal-head h1 { font-size: 40px }
}

/* Small tablets: three narrow columns left one word per line (Justin 11-09), so stack them. */
@media (max-width: 1000px) {
  .ctrl-grid { grid-template-columns: 1fr; gap: 0 }
  .fact-row { grid-template-columns: 1fr }
  .challenge-grid, .platform-grid, .outcomes .scen { grid-template-columns: 1fr; gap: 30px }
  .outcomes .scen .s { padding: 22px 0; border-left: 0 }
  .platform .shotwrap { justify-self: stretch; max-width: none }
  .counters:not(.five) { grid-template-columns: 1fr 1fr; row-gap: 34px }
  .counters:not(.five) .c:nth-child(odd) { padding-left: 0; border-left: 0 }
  .counters .n { white-space: nowrap }
  .nav-links { gap: 16px }
}

/* ---------- Phone width ---------- */
@media (max-width: 760px) {
  body { font-size: 16px }
  .container { padding: 0 20px }
  .nav-links { display: none }
  .hamburger { display: block }
  .nav-inner { height: 70px }
  .nav-logo img { height: 48px }
  .h-section { font-size: 32px; white-space: normal }
  .section { padding: 60px 0 }
  .counters, .counters.five, .cards-3, .cards-4, .aud, .dash-list, .formgrid,
  .split2, .split-r, .challenge-grid, .platform-grid, .demo-grid,
  .outcomes .scen, .sec-strip, .ctrl-grid, .fact-row, .cta-band .cta-grid
  { grid-template-columns: 1fr !important; gap: 30px }
  .ctrl-grid { gap: 0 !important }
  .platform .shotwrap { width: 100% !important; margin-left: 0 !important }
  .platform .shotframe { border-radius: 12px !important; border: 1px solid rgba(14,34,51,.1) }
  .outcomes .scen .s { padding: 22px 0 !important; border-left: 0 !important }
  .hero { min-height: 0 }
  .hero-inner { padding-top: 112px; padding-bottom: 48px }
  .hero h1 { font-size: 40px !important }
  .hero .ctas { flex-direction: column; align-items: stretch }
  .btn { justify-content: center }
  .counters .c, .aud .a { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line) }
  .counters .c:first-child, .aud .a:first-child { border-top: 0; padding-top: 0 }
  .counters.on-dark .c { border-top-color: rgba(255,255,255,.16) }
  .counters .n { font-size: 46px }
  .steprail .inner { grid-template-columns: 1fr 1fr }
  .steprail .step { padding: 20px 16px !important; border-bottom: 1px solid rgba(255,255,255,.1); border-right: 0 }
  .steprail .step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.22) }
  .factstrip { flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 16px; padding: 22px 24px }
  .factstrip i { display: none }
  .bar-row { grid-template-columns: 110px 1fr 32px; gap: 10px }
  .bar-row .bl { font-size: 13px }
  .formcard { padding: 26px 22px }
  .platform h2 { font-size: 30px }
  .demo h2 { font-size: 34px }
  .demo { padding: 60px 0 }
  .outcomes .scen .n { font-size: 50px }
  .footer-top { flex-direction: column; text-align: center; gap: 20px }
  .footer-links { justify-content: center; gap: 6px 28px }
  .footer-links a { padding: 11px 8px; display: inline-block }
  .footer-copyright { flex-direction: column; align-items: center }
  .footer-bottom .fbreak { display: none }
  .footer-bottom .fseg { display: block }
  .footer-sep.lead { display: none }
  .hero.hero-flat .hero-inner { padding-top: 112px; padding-bottom: 44px }
  .hero.hero-flat h1 { font-size: 34px !important }
  /* The security CTAs name a long document, so they wrap on a phone
     instead of pushing the page sideways. */
  .hero-flat .ctas .btn, .cta-band .ctas .btn { white-space: normal; text-align: center }
  .cta-band .ctas { flex-direction: column; align-items: stretch }
  .cta-band { padding: 60px 0 }
  .cta-band h2 { font-size: 30px }
  .legal-head { padding: 100px 0 36px }
  .legal-head h1 { font-size: 32px }
  .legal-head .legal-intro { font-size: 16.5px }
  .legal { padding: 34px 0 64px }
  .legal-grid { grid-template-columns: 1fr; gap: 0 }
  .legal-toc {
    position: static; max-height: none; margin-bottom: 30px; overflow: visible;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  }
  .legal-aside { grid-column: 1; grid-template-columns: 1fr; margin-top: 30px }
  .legal-body h2 { font-size: 22px }
  .legal-body p, .legal-body li { font-size: 16px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .hero-bg img { animation: none }
  .js .reveal { opacity: 1; transform: none; transition: none }
}

/* ============ Overview video (Justin 2026-11-09) ============
   The hero gets a third CTA that opens a modal player; a dark band
   under the proof counters carries the inline player. Both run the
   full content width, like every other band on the page. Kept in one
   block at the end of the file so it reads as one change. */

/* Hero CTA — the ghost button the hero already uses, plus a play dot.
   The dot is kept under the button's own 28.05px text line box, so the three
   hero CTAs stay exactly 68px and nothing below the row moves. */
.btn-video { gap: 12px; padding-left: 22px }
.btn-video .play-dot {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px;
}
.btn-video .play-dot svg { width: 12px; height: 12px; fill: var(--navy); margin-left: 2px }
.btn-video .runtime { color: rgba(255,255,255,.62); font-weight: 500 }
.btn-video:hover .play-dot { background: var(--blue-light) }
.btn-video:hover .play-dot svg { fill: #fff }

/* Inline player band. */
.videoband .videoframe {
  margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-black); box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.08);
}
.videoband .videoframe video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-black) }
.videoband .videonote { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 20px }

/* Modal player. */
.video-modal {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(14,34,56,.88); backdrop-filter: blur(6px);
}
.video-modal.open { display: flex }
.video-modal .vm-inner { position: relative; width: min(1280px, 100%) }
.video-modal video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); background: var(--navy-black);
  box-shadow: 0 40px 110px rgba(0,0,0,.5);
}
.video-modal .vm-close {
  position: absolute; top: -46px; right: 0; background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 36px; line-height: 1; padding: 0 6px; font-family: 'Inter', sans-serif;
}
.video-modal .vm-close:hover { color: var(--blue-light) }

@media (max-width: 1180px) {
  .videoband .h-section { white-space: normal }
}

/* Phone: the three hero CTAs already stack, so the video button just
   fills the row like the other two, and the close button moves inside
   the frame because there is no room above it. */
@media (max-width: 760px) {
  .btn-video { justify-content: center }
  .videoband .videoframe { margin-top: 30px; border-radius: 14px }
  .video-modal { padding: 16px }
  .video-modal .vm-close { top: -40px; right: -6px; font-size: 32px }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal { backdrop-filter: none }
}

/* Member portal not routed yet: shown, not clickable (Justin 2026-11-10 go live). */
.nav-login-menu a.nl-soon { cursor: default; opacity: .72 }
.nav-login-menu a.nl-soon:hover { background: none }
.nav-login-menu a.nl-soon::after { content: none }
.nav-login-menu a.nl-soon em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue); background: var(--tint); padding: 3px 8px; border-radius: 999px }
.mnav-soon { opacity: .6 }
