/* =========================================================================
   UNIFYGOV — DESIGN SYSTEM (tokens reused by every future phase)
   ========================================================================= */
:root{
  /* --- Color: institutional blue system --- */
  --ink:            #0B2140;   /* headings, primary text (not pure black) */
  --ink-2:          #1E3A5A;   /* secondary headings */
  --slate:          #55647B;   /* muted / supporting text (AA on white) */
  --slate-2:        #7A8699;   /* faint labels */
  --federal:        #00707F;   /* primary action blue (7.6:1 on white) */
  --federal-strong: #005A68;   /* hover / pressed */
  --azure:          #0E97AC;   /* accent, data, links */
  --paper:          #F5F8FC;   /* page background (cool) */
  --paper-2:        #EDF2F9;   /* alt band background */
  --surface:        #FFFFFF;   /* cards / panels */
  --hairline:       #DCE3EC;   /* borders, dividers */
  --hairline-2:     #C9D4E2;   /* stronger border */
  --ink-wash:       rgba(14,42,71,.04); /* faint tint fills */
  --focus:          #1B6FE0;   /* focus ring */
  /* data-viz accents used inside product UI mockups */
  --data-blue:      #0E97AC;
  --data-teal:      #17A6A0;
  --data-green:     #17A672;
  --data-amber:     #E0902B;

  /* --- Typography --- */
  --font-display: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale (fluid where useful) */
  --fs-display: 2.5rem;
  --fs-h2:      2rem;
  --fs-h3:      1.625rem;
  --fs-h4:      1.375rem;
  --fs-h5:      1.125rem;
  --fs-h6:      1.0625rem;
  --fs-lead:    1.0625rem;
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-label:   0.8125rem;

  /* --- Spacing (4px base) --- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 80px; --space-10: 96px; --space-11: 128px;

  /* --- Radius (hierarchy, not one value everywhere) --- */
  --r-sm: 6px;    /* buttons, inputs, chips */
  --r-md: 10px;   /* structural cards */
  --r-lg: 14px;   /* product window */
  --r-full: 999px;

  /* --- Elevation (reserved for things that truly float) --- */
  --shadow-ui: 0 24px 48px -18px rgba(14,42,71,.34), 0 4px 12px -6px rgba(14,42,71,.18);
  --shadow-pop: 0 12px 28px -10px rgba(14,42,71,.24), 0 2px 6px -2px rgba(14,42,71,.12);
  --shadow-soft: 0 2px 8px -4px rgba(14,42,71,.12);

  /* --- Layout --- */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;

  /* --- Motion --- */
  --t-fast: 130ms ease;
  --t: 190ms cubic-bezier(.2,.6,.2,1);
}

/* Dark-viewer support (brand stays light; this keeps the page legible if a
   dark theme is forced by the viewer). Product screenshots stay light,
   like a real screenshot. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink:#EAF1FA; --ink-2:#C9D8EC; --slate:#A7B6CC; --slate-2:#8394AD;
    --paper:#0A1A2E; --paper-2:#0E2440; --surface:#102A47;
    --hairline:#1E3B5C; --hairline-2:#274a70; --ink-wash:rgba(255,255,255,.05);
    --federal:#2FA9BC; --federal-strong:#2494A6; --azure:#5CC4D6; --focus:#7FB2FF;
  }
}
:root[data-theme="dark"]{
  --ink:#EAF1FA; --ink-2:#C9D8EC; --slate:#A7B6CC; --slate-2:#8394AD;
  --paper:#0A1A2E; --paper-2:#0E2440; --surface:#102A47;
  --hairline:#1E3B5C; --hairline-2:#274a70; --ink-wash:rgba(255,255,255,.05);
  --federal:#2FA9BC; --federal-strong:#2494A6; --azure:#5CC4D6; --focus:#7FB2FF;
}

/* =========================================================================
   BASE
   ========================================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; overflow-x:clip;
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:1.6;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{ font-family:var(--font-display); color:var(--ink); margin:0; letter-spacing:-.01em; }
h1{ font-size:var(--fs-display); line-height:1.08; }
h2{ font-size:var(--fs-h2); line-height:1.15; }
h3{ font-size:var(--fs-h3); line-height:1.2; }
h4{ font-size:var(--fs-h4); line-height:1.25; }
h5{ font-size:var(--fs-h5); line-height:1.3; }
h6{ font-size:var(--fs-h6); line-height:1.35; }
p{ margin:0; }
a{ color:var(--federal); text-underline-offset:3px; }
img,svg{ max-width:100%; display:block; }
:focus{ outline:none; }
:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
  border-radius:4px;
}

/* utility */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:var(--space-2);
  font-family:var(--font-body); font-weight:700; font-size:var(--fs-label); line-height:1.4;
  letter-spacing:.06em; text-transform:uppercase; color:var(--federal);
  margin:0 0 var(--space-4);
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--federal); border-radius:2px;
}

/* Skip link */
.skip-link{
  position:absolute; left:var(--space-4); top:-100px; z-index:200;
  background:var(--ink); color:#fff; padding:12px 18px; border-radius:var(--r-sm);
  font-weight:600; text-decoration:none; transition:top var(--t-fast);
}
.skip-link:focus-visible{ top:var(--space-3); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn{
  --_bg:var(--federal); --_fg:#fff; --_bd:var(--federal);
  display:inline-flex; align-items:center; justify-content:center; gap:var(--space-2);
  min-height:48px; padding:0 22px;
  font-family:var(--font-body); font-size:16px; line-height:1.3; font-weight:600;
  color:var(--_fg); background:var(--_bg);
  border:1.5px solid var(--_bd); border-radius:var(--r-sm);
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover{ background:var(--federal-strong); border-color:var(--federal-strong); }
.btn:active{ transform:translateY(1px); }
.btn--secondary{
  --_bg:transparent; --_fg:var(--federal); --_bd:var(--hairline-2);
}
.btn--secondary:hover{
  background:var(--ink-wash); border-color:var(--federal); color:var(--federal);
}
.btn--ghost{
  --_bg:transparent; --_fg:var(--ink); --_bd:transparent; min-height:44px; padding:0 12px;
}
.btn--ghost:hover{ background:var(--ink-wash); border-color:transparent; }
.btn .icon{ width:18px; height:18px; }

/* =========================================================================
   HEADER / NAVIGATION
   ========================================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.site-header.is-stuck{
  border-bottom-color:var(--hairline);
  box-shadow:var(--shadow-soft);
}
.header-inner{
  max-width:var(--container-wide); margin-inline:auto; padding-inline:var(--gutter);
  min-height:var(--header-h);
  display:flex; align-items:center; gap:var(--space-5);
}

/* Brand */
.brand{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.brand__mark{ width:34px; height:34px; flex:none; }
.brand__word{ font-family:var(--font-display); font-weight:800; font-size:1.18rem; letter-spacing:-.01em; }
.brand__word b{ color:var(--federal); font-weight:800; }
.brand__logo{ height:34px; width:auto; display:block; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .brand__logo{ filter:brightness(0) invert(1); }
}
:root[data-theme="dark"] .brand__logo{ filter:brightness(0) invert(1); }

/* Primary nav (desktop) */
.primary-nav{ display:flex; align-items:center; }
.nav-list{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.nav-link{
  display:inline-flex; align-items:center; gap:6px;
  min-height:44px; padding:0 14px; border-radius:var(--r-sm);
  font-weight:600; font-size:var(--fs-sm); color:var(--ink-2);
  text-decoration:none; background:transparent; border:0; cursor:pointer;
  font-family:var(--font-body);
  transition:background var(--t-fast), color var(--t-fast);
}
.nav-link:hover{ background:var(--ink-wash); color:var(--ink); }
.nav-link .caret{ width:14px; height:14px; transition:transform var(--t-fast); }
.nav-link[aria-expanded="true"] .caret{ transform:rotate(180deg); }

/* Solutions dropdown */
.has-menu{ position:relative; }
.menu-panel{
  position:absolute; top:calc(100% + 8px); left:0; z-index:120;
  width:min(520px, 90vw);
  background:var(--surface); border:1px solid var(--hairline);
  border-radius:var(--r-md); box-shadow:var(--shadow-pop);
  padding:var(--space-3);
  display:none;
}
.menu-panel[data-open="true"]{ display:block; }
.menu-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-2); list-style:none; margin:0; padding:0; }
.menu-item{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px; border-radius:var(--r-sm); text-decoration:none;
  color:var(--ink); border:1px solid transparent;
  transition:background var(--t-fast), border-color var(--t-fast);
}
.menu-item:hover{ background:var(--paper); border-color:var(--hairline); }
.menu-item__ic{
  flex:none; width:40px; height:40px; border-radius:8px;
  background:var(--ink-wash); color:var(--federal);
  display:grid; place-items:center;
}
.menu-item__ic svg{ width:22px; height:22px; }
.menu-item__t{ font-weight:700; font-size:var(--fs-body); line-height:1.2; }
.menu-item__d{ font-size:var(--fs-sm); color:var(--slate); margin-top:3px; }
.menu-foot{
  margin-top:var(--space-2); padding:12px; border-top:1px solid var(--hairline);
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  font-size:var(--fs-sm); color:var(--slate);
}
.menu-foot a{ font-weight:600; }

/* Header right cluster */
.header-actions{ margin-left:auto; display:flex; align-items:center; gap:var(--space-3); }

/* Search */
.search{ position:relative; display:flex; align-items:center; }
.search__toggle{
  width:44px; height:44px; display:grid; place-items:center;
  border:1px solid transparent; border-radius:var(--r-sm); background:transparent;
  color:var(--ink-2); cursor:pointer;
  transition:background var(--t-fast), color var(--t-fast);
}
.search__toggle:hover{ background:var(--ink-wash); color:var(--ink); }
.search__toggle svg{ width:20px; height:20px; }
.search__field{
  display:none;
  position:absolute; right:0; top:calc(100% + 8px); z-index:120;
  width:min(360px, 86vw);
  background:var(--surface); border:1px solid var(--hairline);
  border-radius:var(--r-md); box-shadow:var(--shadow-pop); padding:12px;
}
.search__field[data-open="true"]{ display:block; }
.search__row{ display:flex; gap:8px; }
.search__input{
  flex:1; min-height:44px; padding:0 12px;
  font:inherit; color:var(--ink);
  border:1.5px solid var(--hairline-2); border-radius:var(--r-sm);
  background:var(--surface);
}
.search__input::placeholder{ color:var(--slate-2); }
.search__input:focus-visible{ border-color:var(--federal); outline:3px solid var(--focus); outline-offset:1px; }

/* Mobile toggle */
.nav-toggle{
  display:none;
  width:46px; height:46px; place-items:center;
  border:1px solid var(--hairline-2); border-radius:var(--r-sm);
  background:var(--surface); color:var(--ink); cursor:pointer;
}
.nav-toggle svg{ width:24px; height:24px; }
.nav-toggle .close-ic{ display:none; }
.nav-toggle[aria-expanded="true"] .open-ic{ display:none; }
.nav-toggle[aria-expanded="true"] .close-ic{ display:block; }

/* =========================================================================
   MOBILE NAV PANEL
   ========================================================================= */
.mobile-nav{
  display:none;
  position:fixed; inset:var(--header-h) 0 0; z-index:90;
  background:var(--surface);
  padding:var(--space-5) var(--gutter) var(--space-8);
  overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
  border-top:1px solid var(--hairline);
}
.mobile-nav[data-open="true"]{ display:block; }
.mobile-nav__list{ list-style:none; margin:0 0 var(--space-5); padding:0; display:flex; flex-direction:column; }
.mobile-nav__list > li + li{ border-top:1px solid var(--hairline); }
.mobile-link,.m-disclosure__btn{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:56px; padding:0 4px;
  font-family:var(--font-body); font-size:1.0625rem; font-weight:600;
  color:var(--ink); text-decoration:none; background:transparent; border:0; cursor:pointer;
  text-align:left;
}
.m-disclosure__btn .caret{ width:18px; height:18px; transition:transform var(--t-fast); }
.m-disclosure__btn[aria-expanded="true"] .caret{ transform:rotate(180deg); }
.m-disclosure__panel{ display:none; padding:0 0 var(--space-3); }
.m-disclosure__panel[data-open="true"]{ display:block; }
.m-sub{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px; border-radius:var(--r-sm); text-decoration:none; color:var(--ink);
  background:var(--paper); border:1px solid var(--hairline);
}
.m-sub + .m-sub{ margin-top:8px; }
.m-sub__t{ font-weight:700; }
.m-sub__d{ font-size:var(--fs-sm); color:var(--slate); }
.mobile-cta{ display:flex; flex-direction:column; gap:12px; }
.mobile-cta .btn{ width:100%; }
.mobile-search{ margin-bottom:var(--space-5); }
.mobile-search .search__input{ width:100%; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(14,151,172,.10), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--paper) 70%);
}
/* background lines removed per request */
.hero::before{ content:none; }
.hero__inner{
  position:relative;
  max-width:var(--container-wide); margin-inline:auto; padding-inline:var(--gutter);
  display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:clamp(32px,4vw,64px); align-items:center;
}
.hero__copy{ max-width:48ch; }
.hero h1{
  font-size:var(--fs-display); font-weight:800; letter-spacing:-.025em; line-height:1.02;
  margin:0 0 var(--space-5);
}
.hero h1 em{
  font-style:italic; font-weight:800; color:var(--federal);
}
.hero h1 em #heroKeyword{
  display:inline-block;
  min-width:7.8ch;
  white-space:nowrap;
  will-change:transform, opacity;
}
.hero h1 em #heroKeyword.is-changing{
  animation:hero-keyword-in .58s cubic-bezier(.22,.8,.25,1) both;
}
.hero h1 em #heroKeyword.is-changing.is-reverse{
  animation-name:hero-keyword-in-reverse;
}
@keyframes hero-keyword-in{
  from{ opacity:0; transform:translateY(-.7em); }
  to{ opacity:1; transform:translateY(0); }
}
@keyframes hero-keyword-in-reverse{
  from{ opacity:0; transform:translateY(.7em); }
  to{ opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce){
  .hero h1 em #heroKeyword.is-changing{ animation:none; }
}
.hero__lead{ font-size:var(--fs-lead); color:var(--slate); line-height:1.55; margin-bottom:var(--space-6); }
.hero__ctas{ display:flex; flex-wrap:nowrap; gap:var(--space-3); margin-bottom:var(--space-6); }
.hero__note{
  display:flex; align-items:center; gap:10px;
  font-size:var(--fs-sm); color:var(--slate);
}
.hero__note svg{ width:18px; height:18px; color:var(--data-green); flex:none; }

/* --- Product visuals: stacked, both fully visible, gently animated --- */
.stage{ display:flex; flex-direction:column; gap:clamp(18px,2.5vw,30px); }
.win{
  background:var(--surface); border:1px solid var(--hairline);
  border-radius:var(--r-lg); overflow:hidden;
}
.win__bar{
  display:flex; align-items:center; gap:8px;
  padding:11px 14px; border-bottom:1px solid var(--hairline);
  background:linear-gradient(180deg,#fff,#fbfcfe);
}
.win__dots{ display:flex; gap:6px; }
.win__dots i{ width:10px; height:10px; border-radius:50%; display:block; }
.win__dots i:nth-child(1){ background:#F0655B; }
.win__dots i:nth-child(2){ background:#F4BD4F; }
.win__dots i:nth-child(3){ background:#5FC868; }
.win__title{ font-size:12px; font-weight:600; color:#5b6b82; margin-left:6px; }
.win__title b{ color:#1b2c44; }
.win__shot{ display:block; width:100%; height:auto; }
.ps-frame{ position:relative; width:100%; aspect-ratio:21/10; border:1px solid var(--hairline); border-radius:var(--r-md); overflow:hidden; background:#eef2f7; }
.ps-shot{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; display:block; }

/* Both windows fully visible, gently staggered, never overlapping */
.win--hcm{
  width:94%; align-self:flex-start; order:1;
  box-shadow:var(--shadow-ui);
  animation:winFloat 7s ease-in-out infinite;
}
.win--ems{
  width:94%; align-self:flex-end; order:2;
  box-shadow:var(--shadow-pop);
  animation:winFloat 7s ease-in-out infinite;
  animation-delay:-3.5s;
}
@keyframes winFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-9px); }
}

/* ---- EMS mock (map view) ---- */
.ems{ background:#EEF3FA; }
.ems__map{ position:relative; height:232px; background:#E7EEF7; }
.ems__map svg{ width:100%; height:100%; }
.ems__pin{ fill:#00707F; }
.ems__pin--active{ fill:#E0902B; }
.ems__legend{
  display:flex; gap:14px; padding:10px 14px; border-top:1px solid #DCE3EC;
  font-size:11px; color:#5b6b82; background:#fff; flex-wrap:wrap;
}
.ems__legend span{ display:inline-flex; align-items:center; gap:6px; }
.ems__legend i{ width:9px; height:9px; border-radius:2px; display:block; }

/* ---- HCM mock (dashboard) ---- */
.hcm{ display:flex; min-height:300px; background:#fff; }
.hcm__side{
  width:150px; flex:none; background:#0E2A47; color:#cfe0f4;
  padding:14px 10px; display:flex; flex-direction:column; gap:2px;
}
.hcm__brand{ display:flex; align-items:center; gap:8px; padding:4px 8px 12px; }
.hcm__brand svg{ width:20px; height:20px; }
.hcm__brand b{ color:#fff; font-size:13px; font-weight:700; }
.hcm__nav{ display:flex; align-items:center; gap:9px; padding:8px; border-radius:6px; font-size:12px; color:#a9c2e0; }
.hcm__nav svg{ width:15px; height:15px; opacity:.85; }
.hcm__nav.is-active{ background:rgba(255,255,255,.10); color:#fff; }
.hcm__main{ flex:1; padding:16px; min-width:0; }
.hcm__greet{ font-size:14px; font-weight:700; color:#12233b; }
.hcm__sub{ font-size:11px; color:#6b7a90; margin-bottom:12px; }
.hcm__tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:14px; }
.tile{ border:1px solid #E3E9F1; border-radius:8px; padding:9px 10px; background:#fff; }
.tile__k{ font-size:9px; letter-spacing:.02em; color:#7a8699; text-transform:uppercase; }
.tile__v{ font-size:17px; font-weight:700; color:#12233b; line-height:1.1; margin-top:3px; }
.tile__d{ font-size:9px; color:#17A672; margin-top:2px; }
.hcm__panels{ display:grid; grid-template-columns:1.35fr 1fr; gap:10px; }
.panel{ border:1px solid #E3E9F1; border-radius:8px; padding:11px; background:#fff; }
.panel__t{ font-size:11px; font-weight:700; color:#12233b; margin-bottom:9px; display:flex; justify-content:space-between; }
.panel__t span{ color:#7a8699; font-weight:500; }
.bars{ display:flex; align-items:flex-end; gap:7px; height:96px; }
.bars .col{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:3px; }
.bars .b{ border-radius:3px 3px 0 0; }
.bars .b1{ background:#0E97AC; }
.bars .b2{ background:#ABD3DA; }
.donut-wrap{ display:flex; align-items:center; gap:12px; }
.donut{
  width:86px; height:86px; border-radius:50%; flex:none;
  background:conic-gradient(#0E97AC 0 46%, #17A6A0 46% 70%, #17A672 70% 88%, #E0902B 88% 100%);
  position:relative;
}
.donut::after{ content:""; position:absolute; inset:20px; background:#fff; border-radius:50%; }
.donut__c{ position:absolute; inset:0; display:grid; place-items:center; z-index:1; }
.donut__c b{ font-size:14px; color:#12233b; }
.legend{ display:flex; flex-direction:column; gap:6px; font-size:10px; color:#5b6b82; }
.legend span{ display:inline-flex; align-items:center; gap:6px; }
.legend i{ width:8px; height:8px; border-radius:2px; display:block; }

/* ---- Foundation connector (one platform -> HCM + EMS) ---- */
.foundation{
  position:relative; max-width:var(--container-wide);
  margin:clamp(28px,4vw,44px) auto 0; padding-inline:var(--gutter);
}
.foundation__title{
  text-align:center; font-family:var(--font-display); font-weight:700;
  font-size:var(--fs-h3); color:var(--ink); margin-bottom:var(--space-4);
}
.foundation__map{
  display:flex; flex-direction:column; align-items:center; gap:0;
}
.f-node{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border-radius:var(--r-full);
  border:1.5px solid var(--federal); background:var(--surface); color:var(--federal);
  font-weight:700; font-size:var(--fs-sm);
}
.f-node svg{ width:18px; height:18px; }
.f-branch{ width:100%; max-width:520px; height:34px; }
.f-branch line, .f-branch path{ stroke:var(--hairline-2); stroke-width:1.5; fill:none; }
.f-envs{ display:flex; gap:var(--space-4); flex-wrap:wrap; justify-content:center; }
.f-env{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 16px; border-radius:var(--r-full);
  border:1px solid var(--hairline-2); background:var(--surface);
  font-weight:600; font-size:var(--fs-sm); color:var(--ink-2);
}
.f-env i{ width:8px; height:8px; border-radius:2px; display:block; }
.f-env .hcm-dot{ background:var(--federal); }
.f-env .ems-dot{ background:var(--data-amber); }

/* =========================================================================
   PHASE 2 — "WHAT UNIFY MEANS" (concept pillars)
   ========================================================================= */
.concept{
  background:var(--surface);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.concept__inner{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(36px,5vw,88px);
  align-items:start;
}
.concept__intro h2{
  font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em;
  line-height:1.08; max-width:15ch; margin-bottom:var(--space-5);
}
.concept__intro p{
  color:var(--slate); font-size:var(--fs-lead); line-height:1.55;
  max-width:44ch; margin-bottom:var(--space-6);
}

/* Reusable inline link affordance */
.link-cta{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:var(--fs-body); color:var(--federal);
  text-decoration:none; border-radius:var(--r-sm); padding:6px 2px;
}
.link-cta:hover{ text-decoration:underline; }
.link-cta svg{ width:18px; height:18px; transition:transform var(--t-fast); }
.link-cta:hover svg{ transform:translateX(3px); }

/* Pillars: nodes threaded by one vertical rail */
.pillars{ position:relative; list-style:none; margin:0; padding:0; }
.pillars::before{
  content:""; position:absolute; left:27px; top:52px; bottom:52px; width:2px;
  background:var(--hairline-2); border-radius:2px; z-index:0;
}
.pillar{
  position:relative;
  display:grid; grid-template-columns:56px 1fr; gap:var(--space-5);
  padding:var(--space-5) 0;
}
.pillar__node{
  position:relative; z-index:1;
  width:56px; height:56px; border-radius:14px;
  background:var(--surface);
  border:1.5px solid var(--hairline-2);
  box-shadow:0 0 0 5px var(--surface); /* clean break in the rail */
  color:var(--federal);
  display:grid; place-items:center;
}
.pillar__node::after{
  content:""; position:absolute; inset:0; border-radius:13px;
  background:rgba(0,112,127,.06);
}
.pillar__node svg{ width:28px; height:28px; position:relative; z-index:1; }
.pillar__body{ padding-top:2px; }
.pillar__body h3{
  font-family:var(--font-display); font-weight:700; font-size:1.25rem;
  color:var(--ink); line-height:1.25; margin-bottom:6px;
}
.pillar__body p{ color:var(--slate); font-size:var(--fs-body); line-height:1.55; max-width:50ch; }

@media (max-width:1024px){
  .concept__inner{ grid-template-columns:1fr; gap:clamp(32px,6vw,48px); }
  .concept__intro h2{ max-width:20ch; }
}
@media (max-width:520px){
  .pillar{ grid-template-columns:48px 1fr; gap:var(--space-4); }
  .pillar__node{ width:48px; height:48px; border-radius:12px; }
  .pillar__node svg{ width:24px; height:24px; }
  .pillars::before{ left:23px; top:48px; bottom:48px; }
}

/* =========================================================================
   PHASE 3 — HCM PRODUCT SHOWCASE (interactive capability tabs)
   ========================================================================= */
.showcase{
  background:var(--paper);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.showcase__head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; flex-wrap:wrap; margin-bottom:clamp(28px,4vw,48px);
}
.showcase__intro{ max-width:60ch; }
.showcase__intro h2{
  font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em;
  line-height:1.08; margin-bottom:var(--space-4);
}
.showcase__intro p{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; }
.count-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 16px; border:1px solid var(--hairline-2); border-radius:var(--r-full);
  background:var(--surface); font-weight:600; font-size:var(--fs-sm); color:var(--ink-2);
  white-space:nowrap;
}
.count-pill b{ color:var(--federal); }

/* Console frame — elevation reserved for the product */
.console{
  background:var(--surface); border:1px solid var(--hairline);
  border-radius:var(--r-lg); box-shadow:var(--shadow-ui); overflow:hidden;
}
.console__body{ display:grid; grid-template-columns:266px minmax(0,1fr); }

/* Capability rail (tablist) */
.cap-rail{ position:relative; border-right:1px solid var(--hairline); background:var(--paper); }
.cap-rail__inner{ position:absolute; inset:0; display:flex; flex-direction:column; padding:14px 12px; }
.cap-rail__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 8px 12px; }
.cap-rail__head .lbl{ font-size:var(--fs-label); text-transform:uppercase; letter-spacing:.06em; color:var(--slate-2); font-weight:700; }
.cap-rail__head .cnt{ font-size:11px; font-weight:700; color:var(--federal); background:rgba(0,112,127,.09); border-radius:var(--r-full); padding:3px 9px; }
.cap-tablist{ display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-width:thin; }
.cap-tab{
  position:relative; display:flex; align-items:center; gap:11px;
  width:100%; text-align:left; min-height:46px; padding:8px 12px;
  border:0; background:transparent; border-radius:var(--r-sm); cursor:pointer;
  font-family:var(--font-body); font-size:var(--fs-sm); font-weight:600; color:var(--ink-2);
  transition:background var(--t-fast), color var(--t-fast);
}
.cap-tab::after{
  content:""; position:absolute; left:12px; right:12px; bottom:2px; height:3px;
  border-radius:var(--r-full); background:var(--hairline-2); pointer-events:none;
}
.cap-tab.is-progressing::after{
  background:var(--federal); transform:scaleX(0); transform-origin:left center;
  animation:cap-tab-progress 5.2s linear forwards;
}
@keyframes cap-tab-progress{ to{ transform:scaleX(1); } }
@media (prefers-reduced-motion:reduce){
  .cap-tab.is-progressing::after{ animation:none; transform:scaleX(1); }
}
.cap-tab:hover{ background:var(--ink-wash); color:var(--ink); }
.cap-tab[aria-selected="true"]{ background:var(--surface); color:var(--ink); box-shadow:inset 0 0 0 1px var(--hairline); }
.cap-tab[aria-selected="true"]::before{
  content:""; position:absolute; left:0; top:9px; bottom:9px; width:3px;
  border-radius:0 2px 2px 0; background:var(--federal);
}
.cap-tab .ic{ width:18px; height:18px; color:var(--federal); flex:none; }
.cap-tab .nm{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
.cap-tab .chev{ margin-left:auto; width:16px; height:16px; color:var(--slate-2); opacity:0; flex:none; transition:opacity var(--t-fast); }
.cap-tab[aria-selected="true"] .chev{ opacity:1; color:var(--federal); }

/* Selected-capability panel */
.sc-panel{ padding:clamp(18px,2.4vw,28px); display:flex; flex-direction:column; gap:clamp(16px,2.2vw,24px); min-width:0; }
.sc-panel__head{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:24px; }
.sc-panel__meta{ min-width:0; }
.sc-kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:var(--fs-label); text-transform:uppercase; letter-spacing:.06em;
  color:var(--federal); font-weight:700; margin-bottom:10px;
}
.sc-kicker::before{ content:""; width:16px; height:2px; background:var(--federal); border-radius:2px; }
.sc-panel h3{ font-family:var(--font-display); font-size:clamp(1.35rem,1.1rem+1vw,1.7rem); font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.15; margin-bottom:10px; }
.sc-panel__desc{ color:var(--slate); font-size:var(--fs-body); line-height:1.55; max-width:56ch; }
.sc-panel__cta{ flex:none; }

/* ---- Product screen (the star) ---- */
.ps{ border:1px solid var(--hairline); border-radius:var(--r-md); overflow:hidden; background:#fff; }
.ps__top{ display:flex; align-items:center; gap:10px; padding:11px 14px; background:#0E2A47; color:#dbe7f6; }
.ps__top .m{ width:20px; height:20px; flex:none; }
.ps__brand{ font-weight:700; font-size:12.5px; color:#fff; }
.ps__crumb{ font-size:12px; color:#a9c2e0; display:inline-flex; gap:7px; align-items:center; }
.ps__crumb svg{ width:13px; height:13px; opacity:.6; }
.ps__crumb b{ color:#eaf2fd; font-weight:600; }
.ps__ctrls{ margin-left:auto; display:flex; gap:10px; align-items:center; }
.ps__search{ background:rgba(255,255,255,.12); color:#cfe0f4; border-radius:var(--r-full); padding:5px 11px; font-size:11px; display:inline-flex; gap:6px; align-items:center; }
.ps__search svg{ width:12px; height:12px; }
.ps__avatar{ width:24px; height:24px; border-radius:50%; background:#0E97AC; color:#fff; font-size:10px; font-weight:700; display:grid; place-items:center; }
.ps__sub{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid #EEF2F7; }
.ps__title strong{ display:block; font-size:15px; font-weight:700; color:#12233b; }
.ps__title span{ display:block; font-size:11px; color:#6b7a90; margin-top:3px; }
.ps__new{ font-size:11px; font-weight:600; color:#fff; background:#00707F; border-radius:var(--r-sm); padding:7px 12px; white-space:nowrap; }
.ps__tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:16px; }
.ps-tile{ border:1px solid #E3E9F1; border-radius:8px; padding:11px 12px; background:#fff; }
.ps-tile .k{ font-size:9.5px; text-transform:uppercase; letter-spacing:.03em; color:#7a8699; font-weight:600; }
.ps-tile .v{ font-size:18px; font-weight:700; color:#12233b; margin-top:4px; line-height:1.05; }
.ps__work{ display:grid; grid-template-columns:1.45fr 1fr; gap:14px; padding:0 16px 16px; }
.ps-list{ border:1px solid #E3E9F1; border-radius:8px; overflow:hidden; background:#fff; }
.ps-list__h{ font-size:11px; font-weight:700; color:#12233b; padding:11px 13px; border-bottom:1px solid #EEF2F7; }
.ps-row{ display:flex; align-items:center; gap:11px; padding:11px 13px; border-bottom:1px solid #F2F5F9; }
.ps-row:last-child{ border-bottom:0; }
.ps-row .ic{ width:28px; height:28px; border-radius:7px; background:#E2F1F3; color:#00707F; display:grid; place-items:center; flex:none; }
.ps-row .ic svg{ width:15px; height:15px; }
.ps-row .txt{ display:flex; flex-direction:column; min-width:0; }
.ps-row .t{ font-size:12px; font-weight:600; color:#1b2c44; }
.ps-row .d{ font-size:10.5px; color:#7a8699; }
.ps-row .st{ margin-left:auto; font-size:10px; font-weight:600; color:#17805a; background:#E7F6EF; padding:3px 9px; border-radius:var(--r-full); white-space:nowrap; }
.ps-row .chev{ width:15px; height:15px; color:#c2cddb; flex:none; }
.ps-row .st + .chev{ margin-left:8px; }
.ps-row .txt + .chev{ margin-left:auto; }
.ps-aside{ border:1px solid #E3E9F1; border-radius:8px; padding:13px; background:#fff; display:flex; flex-direction:column; }
.ps-aside__h{ font-size:11px; font-weight:700; color:#12233b; margin-bottom:12px; }
.ps-abars{ display:flex; align-items:flex-end; gap:8px; height:84px; margin-bottom:12px; }
.ps-abars .c{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:3px; }
.ps-abars .b{ border-radius:3px 3px 0 0; }
.ps-abars .b1{ background:#0E97AC; }
.ps-abars .b2{ background:#BFDCE0; }
.ps-astat{ display:flex; justify-content:space-between; font-size:11px; padding:7px 0; border-top:1px solid #F2F5F9; }
.ps-astat span{ color:#6b7a90; }
.ps-astat b{ color:#12233b; }

@media (max-width:900px){
  .console__body{ grid-template-columns:1fr; }
  .cap-rail{ position:static; border-right:0; border-bottom:1px solid var(--hairline); padding:0; }
  .cap-rail__inner{ position:static; display:block; min-width:0; max-width:100%; padding:12px; overflow:hidden; }
  .cap-rail__head{ padding:2px 4px 10px; }
  .cap-tablist{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); flex:0 1 auto; width:100%; max-width:100%; overflow:visible; gap:8px; padding:0 2px 2px; }
  .cap-tab{
    width:100%; min-width:0; max-width:none; min-height:42px; white-space:normal; justify-content:flex-start;
    border:1px solid var(--hairline-2); border-radius:var(--r-sm); background:var(--surface);
  }
  .cap-tab .nm{ min-width:0; overflow:visible; text-overflow:clip; white-space:normal; line-height:1.25; }
  .cap-tab[aria-selected="true"]{ background:var(--federal); color:#fff; box-shadow:none; }
  .cap-tab[aria-selected="true"]::before{ display:none; }
  .cap-tab[aria-selected="true"] .ic{ color:#fff; }
  .cap-tab .chev{ display:none; }
  .ps-frame{ aspect-ratio:auto; height:auto; }
  .ps-shot{ position:static; width:100%; height:auto; object-fit:initial; object-position:initial; }
}
@media (max-width:560px){
  .showcase{ padding-block:48px; }
  .showcase__head{ gap:16px; margin-bottom:28px; }
  .showcase__intro h2{ font-size:clamp(1.6rem,7vw,2rem); }
  .showcase__intro p{ font-size:1rem; }
  .count-pill{ padding:8px 12px; font-size:12px; }
  .sc-panel{ padding:18px 14px 20px; gap:18px; }
  .sc-panel__head{ grid-template-columns:1fr; gap:16px; }
  .sc-panel h3{ font-size:clamp(1.25rem,6vw,1.55rem); }
  .sc-panel__desc{ font-size:.9375rem; }
  .ps__tiles{ grid-template-columns:repeat(2,1fr); }
  .ps__work{ grid-template-columns:1fr; }
  .ps__search span{ display:none; }
  .sc-panel__cta,.sc-panel__cta .btn{ width:100%; }
}
@media (max-width:420px){
  .cap-tablist{ grid-template-columns:1fr; }
}

/* =========================================================================
   PHASE 4 — EMS PRODUCT SHOWCASE (reverse composition of HCM)
   ========================================================================= */
.showcase--ems{ background:var(--surface); }

/* Reverse: product interface left, capability rail right (desktop only) */
.console--reverse .console__body{ grid-template-columns:minmax(0,1fr) 266px; }
.console--reverse .cap-rail{ order:2; border-right:0; border-left:1px solid var(--hairline); }
.console--reverse .sc-panel{ order:1; }

/* Amber "needs review" status — EMS's distinguishing accent */
.ps-row .st.warn{ color:#8a5a12; background:#FBF0DA; }

/* Readiness progress panel (EMS aside — distinct from HCM's column chart) */
.ps-prog{ display:flex; flex-direction:column; gap:12px; }
.ps-prog__row{ display:grid; grid-template-columns:72px 1fr 34px; gap:9px; align-items:center; }
.ps-prog__l{ font-size:11px; color:#6b7a90; }
.ps-prog__t{ height:7px; background:#EDF1F6; border-radius:var(--r-full); overflow:hidden; }
.ps-prog__f{ display:block; height:100%; background:#0E97AC; border-radius:var(--r-full); }
.ps-prog__v{ font-size:11px; font-weight:700; color:#12233b; text-align:right; }

@media (max-width:900px){
  .console--reverse .console__body{ grid-template-columns:1fr; }
  .console--reverse .cap-rail{ order:0; border-left:0; border-bottom:1px solid var(--hairline); }
  .console--reverse .sc-panel{ order:0; }
}

/* =========================================================================
   PHASE 5 — PEOPLE-FOCUSED (five roles, one shared platform)
   ========================================================================= */
.people{
  background:var(--paper);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.people__head{ text-align:center; max-width:58ch; margin:0 auto clamp(36px,5vw,60px); }
.people__head .eyebrow{ justify-content:center; }
.people__head h2{
  font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em;
  line-height:1.08; margin-bottom:var(--space-4);
}
.people__head p{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; margin-bottom:var(--space-5); }

.roles-plane{ position:relative; }
.roles-grid{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:clamp(28px,4vw,40px) clamp(20px,3vw,32px);
  list-style:none; margin:0; padding:0;
}
.role{ text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; }
.role__node{
  position:relative; width:60px; height:60px; border-radius:16px;
  background:var(--surface); border:1.5px solid var(--hairline-2);
  color:var(--federal); display:grid; place-items:center;
}
.role__node::after{ content:""; position:absolute; inset:0; border-radius:15px; background:rgba(0,112,127,.06); }
.role__node svg{ width:30px; height:30px; position:relative; z-index:1; }
.role__name{ font-family:var(--font-display); font-weight:700; font-size:1.2rem; color:var(--ink); line-height:1.2; }
.role__need{ font-size:1rem; font-weight:700; color:var(--ink); margin:0; }
.role__need span{ font-weight:500; color:var(--slate); }

/* Connectors + shared platform bar */
.roles-connectors{ display:none; grid-template-columns:repeat(5,1fr); margin-top:clamp(28px,4vw,40px); }
.roles-connectors .conn{ display:flex; justify-content:center; }
.roles-connectors .conn i{ width:2px; height:34px; background:var(--hairline-2); border-radius:2px; }
.platform{
  display:flex; align-items:center; justify-content:center; gap:16px; text-align:center;
  margin-top:16px; padding:20px 26px;
  border:1px solid var(--hairline); border-radius:var(--r-md);
  background:linear-gradient(180deg, rgba(14,151,172,.07), rgba(14,151,172,.02));
}
.platform .mk{ width:38px; height:38px; flex:none; }
.platform__t{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--ink); line-height:1.2; }
.platform__d{ color:var(--slate); font-size:var(--fs-sm); margin-top:2px; }

@media (min-width:641px){
  .roles-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (min-width:1025px){
  .roles-grid{ grid-template-columns:repeat(5,1fr); }
  .roles-connectors{ display:grid; }
  .platform{ margin-top:0; }
}
@media (max-width:1024px){
  .platform{ flex-direction:row; margin-top:clamp(28px,5vw,40px); }
}

/* =========================================================================
   PHASE 6 — ENVIRONMENT -> UNIFYGOV -> OUTCOMES (flow diagram)
   ========================================================================= */
.envsec{
  background:var(--surface);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.envsec__head{ max-width:58ch; margin-bottom:clamp(32px,4.5vw,56px); }
.envsec__head h2{ font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em; line-height:1.08; margin-bottom:var(--space-4); }
.envsec__head p{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; margin-bottom:var(--space-5); }

.flow{
  display:grid; grid-template-columns:1.12fr auto .9fr auto 1fr;
  gap:clamp(8px,1.4vw,16px); align-items:stretch;
}
.stage{
  border:1px solid var(--hairline); border-radius:var(--r-md);
  background:var(--surface); padding:clamp(16px,2vw,22px);
  display:flex; flex-direction:column;
}
.stage__h{ font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--ink); line-height:1.2; }
.stage__sub{ color:var(--slate); font-size:var(--fs-sm); margin-top:4px; }

/* Environment systems */
.sys-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0 0; padding:0; list-style:none; }
.sys-chip{
  display:flex; align-items:center; gap:8px; min-width:0;
  padding:9px 10px; border:1px solid var(--hairline);
  border-radius:var(--r-sm); background:var(--paper);
  font-size:0.8125rem; font-weight:600; color:var(--ink-2); line-height:1.25;
}
.sys-chip .ic{ width:17px; height:17px; color:var(--federal); flex:none; }
.sys-chip .nm{ min-width:0; white-space:normal; overflow-wrap:break-word; }

/* Central platform (emphasized) */
.stage--core{
  align-items:center; justify-content:center; text-align:center;
  background:linear-gradient(180deg, rgba(0,112,127,.09), rgba(14,151,172,.03));
  border-color:#BCD9DE; box-shadow:var(--shadow-soft);
}
.core__mark{ width:58px; height:58px; margin-bottom:12px; }
.core__name{ font-family:var(--font-display); font-weight:800; font-size:1.35rem; letter-spacing:-.01em; color:var(--ink); }
.core__sub{ color:var(--slate); font-size:var(--fs-sm); line-height:1.5; margin-top:8px; max-width:24ch; }

/* Outcomes */
.out-list{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:2px; }
.out-item{ display:flex; gap:10px; align-items:flex-start; padding:8px 0; }
.out-item .ic{ width:20px; height:20px; color:var(--data-green); flex:none; margin-top:1px; }
.out-item .t{ font-size:var(--fs-sm); font-weight:700; color:var(--ink); display:block; }
.out-item .d{ font-size:12.5px; color:var(--slate); display:block; margin-top:1px; }

/* Arrows */
.flow__arrow{ display:grid; place-items:center; color:var(--slate-2); }
.flow__arrow svg{ width:26px; height:26px; }

@media (max-width:900px){
  .flow{ grid-template-columns:1fr; gap:6px; }
  .flow__arrow{ padding:2px 0; }
  .flow__arrow svg{ transform:rotate(90deg); }
  .stage--core{ padding-block:clamp(20px,5vw,28px); }
}
@media (max-width:360px){
  .sys-grid{ grid-template-columns:1fr; }
}

/* =========================================================================
   PHASE 7 — TRUST + STANDARDS / COMPLIANCE
   ========================================================================= */
.trust{
  background:var(--paper);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.trust__head{ text-align:center; max-width:62ch; margin:0 auto clamp(36px,5vw,56px); }
.trust__head .eyebrow{ justify-content:center; }
.trust__head h2{ font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em; line-height:1.1; margin-bottom:var(--space-4); }
.trust__head p{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; margin-bottom:var(--space-5); }

/* One cohesive framed matrix (hairline grid via 1px gap) — not a card wall */
.trust-grid{
  display:grid; grid-template-columns:1fr; gap:1px;
  background:var(--hairline);
  border:1px solid var(--hairline); border-radius:var(--r-lg); overflow:hidden;
  list-style:none; margin:0; padding:0;
}
.trust-cell{
  background:var(--surface); padding:clamp(20px,2.6vw,30px);
  display:flex; flex-direction:column; gap:12px;
}
.trust-cell__ic{
  width:46px; height:46px; border-radius:12px;
  background:rgba(0,112,127,.09); color:var(--federal);
  display:grid; place-items:center;
}
.trust-cell__ic svg{ width:25px; height:25px; }
.trust-cell h3{ font-family:var(--font-display); font-weight:700; font-size:1.15rem; color:var(--ink); line-height:1.2; }
.trust-cell p{ color:var(--slate); font-size:var(--fs-sm); line-height:1.5; }

@media (min-width:560px){ .trust-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:960px){ .trust-grid{ grid-template-columns:repeat(3,1fr); } }

/* ---- Standards / compliance (deep-navy authority band) ---- */
.standards{
  background:var(--ink); color:#E7EFF9;
  padding:clamp(56px,7vw,104px) 0;
}
.standards__inner{
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(32px,5vw,72px); align-items:center;
}
.standards .eyebrow{ color:#5CC4D6; }
.standards .eyebrow::before{ background:#5CC4D6; }
.standards h2{ font-size:var(--fs-h2); font-weight:800; letter-spacing:-.02em; line-height:1.1; color:#F3F8FD; margin-bottom:var(--space-4); }
.standards__intro p{ color:#A9BBD1; font-size:var(--fs-lead); line-height:1.55; margin-bottom:var(--space-5); }
.standards .link-cta{ color:#5CC4D6; }
.creds{ display:grid; grid-template-columns:1fr 1fr; gap:14px; list-style:none; margin:0; padding:0; }
.cred{
  display:flex; align-items:center; gap:14px; min-width:0;
  padding:18px; border:1px solid rgba(255,255,255,.16);
  border-radius:var(--r-md); background:rgba(255,255,255,.035);
}
.cred__emblem{
  width:46px; height:46px; border-radius:11px; flex:none;
  background:rgba(92,196,214,.15); color:#5CC4D6;
  display:grid; place-items:center;
}
.cred__emblem svg{ width:25px; height:25px; }
.cred__name{ font-weight:700; color:#F3F8FD; font-size:1.02rem; line-height:1.2; }
.cred__status{ font-size:var(--fs-sm); color:#A9BBD1; margin-top:3px; }

@media (max-width:900px){ .standards__inner{ grid-template-columns:1fr; } }
@media (max-width:520px){ .creds{ grid-template-columns:1fr; } }

/* =========================================================================
   PHASE 8 — FINAL CTA + FOOTER
   ========================================================================= */
.finalcta{
  position:relative; overflow:hidden; text-align:center;
  background:linear-gradient(180deg, var(--surface), var(--paper));
  border-top:1px solid var(--hairline);
  padding:clamp(64px,8vw,120px) 0;
}
.finalcta::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(58% 70% at 50% 0%, rgba(14,151,172,.10), transparent 62%);
}
.finalcta__inner{ position:relative; }
.finalcta__mark{ width:52px; height:52px; margin:0 auto var(--space-4); }
.finalcta .eyebrow{ justify-content:center; }
.finalcta h2{
  font-size:clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight:800;
  letter-spacing:-.025em; line-height:1.04;
  max-width:16ch; margin:0 auto var(--space-4);
}
.finalcta__lead{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; max-width:54ch; margin:0 auto var(--space-6); }
.finalcta__ctas{ display:flex; gap:var(--space-3); justify-content:center; flex-wrap:wrap; }

.site-footer{
  background:var(--ink); color:#C6D3E4;
  padding:clamp(48px,6vw,72px) 0 clamp(22px,3vw,30px);
}
.foot-top{
  display:grid; grid-template-columns:minmax(240px,1fr) minmax(0,2.3fr);
  gap:clamp(32px,5vw,64px);
  padding-bottom:clamp(32px,4vw,48px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.foot-brand{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; }
.foot-brand .mk{ width:34px; height:34px; flex:none; }
.foot-wm{ font-family:var(--font-display); font-weight:800; font-size:1.2rem; letter-spacing:-.01em; color:#F3F8FD; }
.foot-wm b{ color:#5CC4D6; font-weight:800; }
.foot-tag{ color:#9FB2CC; font-size:var(--fs-sm); line-height:1.55; max-width:34ch; margin:16px 0 18px; }
.foot-social{ display:flex; gap:10px; list-style:none; margin:0; padding:0; }
.foot-social a{
  width:42px; height:42px; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.16); border-radius:var(--r-sm); color:#C6D3E4;
  transition:background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.foot-social a:hover{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.32); }
.foot-social svg{ width:20px; height:20px; }

.foot-nav{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(22px,3vw,32px) clamp(16px,2vw,24px); }
.foot-group .foot-h{ font-family:var(--font-body); font-size:var(--fs-sm); font-weight:700; color:#8FA3BF; margin:0 0 12px; }
.foot-group ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.foot-group a{ display:inline-block; padding:4px 0; color:#C6D3E4; text-decoration:none; font-size:var(--fs-sm); border-radius:4px; }
.foot-group a:hover{ color:#fff; text-decoration:underline; }

.foot-bottom{
  display:flex; align-items:center; justify-content:space-between; gap:14px 24px; flex-wrap:wrap;
  padding-top:clamp(20px,3vw,28px);
}
.foot-copy{ color:#8FA3BF; font-size:var(--fs-sm); margin:0; }
.foot-legal{ display:flex; gap:8px 22px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.foot-legal a{ display:inline-block; padding:4px 0; color:#C6D3E4; text-decoration:none; font-size:var(--fs-sm); border-radius:4px; }
.foot-legal a:hover{ color:#fff; text-decoration:underline; }

@media (max-width:900px){
  .foot-top{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .finalcta__ctas .btn{ flex:1 1 auto; }
  .foot-nav{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:380px){
  .foot-nav{ grid-template-columns:1fr; }
}

/* =========================================================================
   PHASE 8 — FINAL CTA + FOOTER
   ========================================================================= */
.finalcta{
  background:var(--paper);
  border-top:1px solid var(--hairline);
  padding:clamp(56px,7vw,104px) 0;
}
.cta-card{
  max-width:880px; margin:0 auto; text-align:center;
  border:1px solid #BCD9DE; border-radius:var(--r-lg);
  background:linear-gradient(180deg, rgba(0,112,127,.07), rgba(14,151,172,.02));
  padding:clamp(36px,5vw,64px) clamp(24px,5vw,56px);
}
.cta-card .cta-mark{ width:48px; height:48px; margin:0 auto var(--space-5); display:block; }
.cta-card .eyebrow{ justify-content:center; }
.cta-card h2{
  font-size:clamp(2rem,1.4rem+2.6vw,3rem); font-weight:800;
  letter-spacing:-.025em; line-height:1.04; margin-bottom:var(--space-4);
}
.cta-card > p{ color:var(--slate); font-size:var(--fs-lead); line-height:1.55; max-width:52ch; margin:0 auto var(--space-6); }
.cta-actions{ display:flex; flex-wrap:wrap; gap:var(--space-3); justify-content:center; }
@media (max-width:520px){ .cta-actions{ flex-direction:column; } .cta-actions .btn{ width:100%; } }

/* ---- Footer ---- */
.site-footer{ background:var(--ink); color:#B8C6D8; padding:clamp(48px,6vw,76px) 0 28px; }
.footer-top{
  display:grid; grid-template-columns:minmax(240px,1fr) 2.4fr;
  gap:clamp(32px,5vw,64px);
  padding-bottom:clamp(32px,4vw,48px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-logo{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; }
.footer-logo svg{ width:32px; height:32px; }
.footer-logo__img{ height:34px; width:auto; display:block; }
.footer-logo .wm{ font-family:var(--font-display); font-weight:800; font-size:1.16rem; color:#F3F8FD; letter-spacing:-.01em; }
.footer-logo .wm b{ color:#5CC4D6; font-weight:800; }
.footer-tagline{ color:#8FA2BA; font-size:var(--fs-sm); line-height:1.5; margin:16px 0 18px; max-width:34ch; }
.socials{ display:flex; gap:10px; }
.social{
  width:42px; height:42px; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.18); border-radius:var(--r-sm);
  color:#B8C6D8; text-decoration:none;
  transition:background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social:hover{ background:#5CC4D6; color:#0B2140; border-color:#5CC4D6; }
.social svg{ width:20px; height:20px; }

.footer-nav{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(22px,3vw,32px) clamp(20px,3vw,32px); }
.footer-col__h{ color:#8FA2BA; font-size:var(--fs-label); text-transform:uppercase; letter-spacing:.06em; font-weight:700; margin:0 0 8px; }
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-link{ display:inline-block; color:#B8C6D8; text-decoration:none; font-size:var(--fs-sm); padding:7px 0; }
.footer-link:hover{ color:#F3F8FD; text-decoration:underline; }

.footer-bottom{ display:flex; align-items:center; justify-content:space-between; gap:14px 20px; flex-wrap:wrap; padding-top:24px; }
.copyright{ color:#8FA2BA; font-size:var(--fs-sm); margin:0; }
.legal{ display:flex; flex-wrap:wrap; align-items:center; list-style:none; margin:0; padding:0; }
.legal li + li{ border-left:1px solid rgba(255,255,255,.22); }
.legal a{ display:inline-block; color:#B8C6D8; text-decoration:none; font-size:var(--fs-sm); padding:4px 14px; }
.legal li:first-child a{ padding-left:0; }
.legal a:hover{ color:#F3F8FD; text-decoration:underline; }

@media (max-width:900px){
  .footer-top{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  .footer-nav{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:380px){
  .footer-nav{ grid-template-columns:1fr; }
}


/* --- Hero product carousel (auto-play coverflow) --- */
.hero-carousel{ position:relative; }
.hc-viewport{ position:relative; overflow:hidden; perspective:1300px; height:clamp(380px,42vw,540px); }
.hc-track{ position:absolute; inset:0; margin:0; padding:0; list-style:none; transform-style:preserve-3d; }
.hc-slide{
  position:absolute; top:50%; left:50%; width:84%; aspect-ratio:16/10;
  border-radius:14px; overflow:hidden; border:1px solid var(--hairline); background:#fff;
  transform:translate(-50%,-50%) scale(.58); opacity:0; z-index:1; pointer-events:none;
  box-shadow:var(--shadow-pop);
  transition:transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
  will-change:transform,opacity;
}
.hc-slide img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.hc-slide.is-active{ transform:translate(-50%,-50%) scale(1); opacity:1; z-index:3; box-shadow:var(--shadow-ui); pointer-events:auto; }
.hc-slide.is-prev{ transform:translate(-50%,-50%) translateX(-62%) rotateY(22deg) scale(.8); opacity:.72; z-index:2; }
.hc-slide.is-next{ transform:translate(-50%,-50%) translateX(62%) rotateY(-22deg) scale(.8); opacity:.72; z-index:2; }
.hc-cap{
  position:absolute; left:0; right:0; bottom:0; padding:26px 16px 12px;
  font-size:12px; font-weight:700; letter-spacing:.02em; color:#fff;
  background:linear-gradient(180deg, transparent, rgba(11,33,64,.78));
  opacity:0; transition:opacity .4s ease;
}
.hc-slide.is-active .hc-cap{ opacity:1; }
.hc-arrow{
  position:absolute; top:calc(50% - 22px); transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%; border:1px solid var(--hairline);
  background:var(--surface); color:var(--ink); display:grid; place-items:center; cursor:pointer;
  box-shadow:var(--shadow-soft); transition:background var(--t-fast), color var(--t-fast);
}
.hc-arrow:hover{ background:var(--federal); color:#fff; border-color:var(--federal); }
.hc-arrow svg{ width:20px; height:20px; }
.hc-prev{ left:-4px; } .hc-next{ right:-4px; }
.hc-controls{ display:none; }
.hc-dots{ display:flex; gap:6px; }
.hc-dot{ width:26px; height:26px; display:grid; place-items:center; background:none; border:0; cursor:pointer; padding:0; }
.hc-dot i{ width:8px; height:8px; border-radius:var(--r-full); background:var(--hairline-2); display:block; transition:background var(--t-fast), width var(--t-fast); }
.hc-dot[aria-current="true"] i{ background:var(--federal); width:22px; }
.hc-play{ width:34px; height:34px; border-radius:50%; border:1px solid var(--hairline-2); background:var(--surface); color:var(--ink-2); display:grid; place-items:center; cursor:pointer; }
.hc-play:hover{ color:var(--federal); border-color:var(--federal); }
.hc-play svg{ width:16px; height:16px; }
.hc-play .ic-play{ display:none; }
.hc-play[aria-pressed="false"] .ic-pause{ display:none; }
.hc-play[aria-pressed="false"] .ic-play{ display:block; }
@media (max-width:1024px){ .hc-viewport{ height:clamp(330px,56vw,480px); } }
@media (max-width:480px){
  .hc-slide{ width:88%; }
  .hc-slide.is-prev{ transform:translate(-50%,-50%) translateX(-58%) rotateY(18deg) scale(.78); }
  .hc-slide.is-next{ transform:translate(-50%,-50%) translateX(58%) rotateY(-18deg) scale(.78); }
  .hc-prev{ left:-2px; } .hc-next{ right:-2px; }
}
@media (prefers-reduced-motion: reduce){
  .hc-slide{ transition:none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1024px){
  .primary-nav, .header-actions .search, .header-actions .btn{ display:none; }
  .nav-toggle{ display:grid; }
  .header-actions{ gap:var(--space-2); }
  .hero__inner{ grid-template-columns:1fr; gap:clamp(36px,7vw,56px); }
  .hero__copy{ max-width:60ch; }
  .win--hcm, .win--ems{ width:100%; align-self:stretch; }
}
@media (max-width:680px){
  :root{ --header-h:64px; }
  .mobile-nav{ inset:var(--header-h) 0 0; }
  .hero{ padding-top:32px; }
  .win--hcm, .win--ems{ width:100%; }
  .hcm__side{ width:112px; }
  .hcm__tiles{ grid-template-columns:repeat(2,1fr); }
  .hcm__panels{ grid-template-columns:1fr; }
  .foundation__title{ font-size:1.1rem; }
}
@media (max-width:440px){
  .hero__ctas{ flex-wrap:wrap; }
  .hero__ctas .btn{ flex:1 1 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ transition:none !important; animation:none !important; }
  .win--ems, .win--hcm{ transform:none; }
}

/* Homepage hero carousel: one larger product screen with a clean crossfade. */
.hero-carousel .hc-viewport{
  height:clamp(440px,39vw,620px);
  perspective:none;
}
.hero-carousel .hc-slide{
  width:min(100%,820px);
  aspect-ratio:16/10;
  transform:translate(-50%,-50%) scale(.985);
  opacity:0;
  z-index:1;
  transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.hero-carousel .hc-slide.is-active{
  transform:translate(-50%,-50%) scale(1);
  opacity:1;
  z-index:3;
}
.hero-carousel .hc-slide.is-prev,
.hero-carousel .hc-slide.is-next{
  transform:translate(-50%,-50%) scale(.985);
  opacity:0;
  z-index:1;
}
.hero-carousel .hc-arrow,
.hero-carousel .hc-play{ display:none; }
.hero-carousel .hc-controls{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:clamp(-90px,-5vw,-28px);
  position:relative;
  z-index:4;
}
.hero-carousel .hc-dots{ gap:7px; }
.hero-carousel .hc-dot{ width:28px; height:28px; }
.hero-carousel .hc-dot i{ width:8px; height:8px; background:#B9CDE0; transition:width .35s ease, background .35s ease, transform .35s ease; }
.hero-carousel .hc-dot:hover i{ transform:scale(1.25); background:var(--federal); }
.hero-carousel .hc-dot[aria-current="true"] i{ width:24px; background:var(--federal); }
.hero{ padding-bottom:clamp(52px,6vw,92px); }
@media (min-width:1025px){
  .hero__inner{
    grid-template-columns:minmax(0,.88fr) minmax(0,1.22fr);
    gap:clamp(16px,2vw,32px);
  }
  .hero__copy{ max-width:46ch; }
  .hero-carousel{ width:100%; }
}
.hero-carousel .hc-slide{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  border:0;
  background:transparent;
  box-shadow:none;
}
.hero-carousel .hc-slide img{
  width:100%;
  height:auto;
  object-fit:initial;
  object-position:center;
  display:block;
  border-radius:16px 16px 0 0;
  filter:drop-shadow(0 22px 24px rgba(14,42,71,.18));
}
.hero-carousel .hc-cap{
  position:static;
  display:flex;
  align-items:center;
  min-height:56px;
  padding:16px 18px 14px;
  border-top:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg,#203c5d,#0b213f);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  font-size:12px;
  letter-spacing:.025em;
  text-shadow:0 1px 2px rgba(0,0,0,.28);
  border-radius:0 0 16px 16px;
}
.hero-carousel .hc-slide.is-active{ box-shadow:none; }
@media (max-width:1024px){
  .hero-carousel .hc-viewport{ height:clamp(360px,62vw,520px); }
}
@media (max-width:480px){
  .hero-carousel .hc-viewport{ height:clamp(280px,72vw,420px); }
  .hero-carousel .hc-slide{ width:100%; border-radius:12px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-carousel .hc-slide{ transition:none; }
}

/* Align homepage environment and outcome cards with the EMS presentation. */
.envsec .stage--env,
.envsec .stage--out{
  align-items:stretch;
  text-align:left;
}
.envsec .stage--env .stage__h,
.envsec .stage--env .stage__sub,
.envsec .stage--out .stage__h,
.envsec .stage--out .stage__sub{
  text-align:left;
}
.envsec .stage--core{
  align-items:center;
  text-align:center;
}
.envsec .sys-chip,
.envsec .out-item{
  text-align:left;
}

/* Homepage environment section redesign: a branded connected-foundation band. */
.envsec{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(65% 90% at 100% 0%, rgba(92,196,214,.18), transparent 60%),
    linear-gradient(135deg,#071f3d 0%,#0b2d50 58%,#0a3657 100%);
  color:#F3F8FD;
  border-top:0;
}
.envsec::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.2px);
  background-size:20px 20px;
  -webkit-mask-image:linear-gradient(135deg,#000,transparent 68%);
  mask-image:linear-gradient(135deg,#000,transparent 68%);
}
.envsec .container{ position:relative; z-index:1; }
.envsec__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"eyebrow eyebrow" "title cta" "copy cta";
  column-gap:clamp(28px,6vw,96px);
  align-items:end;
  max-width:none;
  margin-bottom:clamp(34px,5vw,58px);
}
.envsec__head .eyebrow{ grid-area:eyebrow; color:#7AD7E5; }
.envsec__head .eyebrow::before{ background:#5CC4D6; }
.envsec__head h2{ grid-area:title; max-width:18ch; margin-bottom:12px; color:#F3F8FD; font-size:clamp(2rem,1.45rem + 1.9vw,3.1rem); }
.envsec__head p{ grid-area:copy; max-width:60ch; margin:0; color:#BFD1E2; }
.envsec__head .link-cta{ grid-area:cta; align-self:end; margin-bottom:5px; color:#72D0DE; white-space:nowrap; }
.envsec .flow{ grid-template-columns:minmax(0,1fr) 58px minmax(250px,.8fr) 58px minmax(0,1fr); gap:0; align-items:stretch; }
.envsec .stage{ min-height:310px; padding:clamp(22px,3vw,34px); border:1px solid rgba(14,42,71,.12); border-radius:18px; background:#F8FBFD; }
.envsec .stage--env,.envsec .stage--out{ align-items:stretch; text-align:left; box-shadow:0 18px 40px -28px rgba(0,0,0,.45); }
.envsec .stage--core{ align-items:center; text-align:center; background:linear-gradient(150deg,#148396,#0b526b 78%); border-color:rgba(122,215,229,.58); box-shadow:0 24px 50px -26px rgba(0,0,0,.58); }
.envsec .stage--core .core__name{ color:#fff; }
.envsec .stage--core .core__sub{ color:#D6EEF2; }
.envsec .stage--core .core__mark{ filter:brightness(0) invert(1); }
.envsec .stage__h{ font-size:1.25rem; }
.envsec .stage__sub{ margin-top:8px; }
.envsec .sys-grid{ margin-top:24px; gap:10px; }
.envsec .sys-chip{ padding:11px 12px; background:#F1F6FA; }
.envsec .out-list{ margin-top:24px; gap:8px; }
.envsec .out-item{ padding:9px 0; }
.envsec .out-item .t{ color:#102D4E; }
.envsec .out-item .d{ color:#5C718B; }
.envsec .flow__arrow{ position:relative; color:#7AD7E5; }
.envsec .flow__arrow::before{ content:""; position:absolute; left:8px; right:8px; top:50%; height:1px; background:rgba(122,215,229,.48); }
.envsec .flow__arrow svg{ position:relative; z-index:1; width:28px; height:28px; padding:5px; box-sizing:content-box; border:1px solid rgba(122,215,229,.48); border-radius:50%; background:#0b2d50; }
@media (max-width:900px){
  .envsec__head{ grid-template-columns:1fr; grid-template-areas:"eyebrow" "title" "copy" "cta"; align-items:start; }
  .envsec__head .link-cta{ margin-top:22px; }
  .envsec .flow{ grid-template-columns:1fr; gap:10px; }
  .envsec .stage{ min-height:0; }
  .envsec .flow__arrow{ min-height:38px; }
  .envsec .flow__arrow::before{ left:50%; right:auto; top:5px; bottom:5px; width:1px; height:auto; }
  .envsec .flow__arrow svg{ transform:rotate(90deg); }
}
@media (max-width:480px){
  .envsec{ padding-block:48px 60px; }
  .envsec .stage{ padding:22px 18px; }
  .envsec .sys-grid{ grid-template-columns:1fr; }
}

/* Eyebrow labels use text only; remove the decorative leading mark site-wide. */
.eyebrow{ gap:0; }
.eyebrow::before{ display:none !important; }

/* Typography standardization */
.hero h1{ line-height:1.08; }
.concept__intro h2,.showcase__intro h2,.people__head h2,.envsec__head h2,.trust__head h2,.standards h2,.finalcta h2,.cta-card h2{ font-size:var(--fs-h2); line-height:1.15; }
@media (min-width:768px){
  :root{ --fs-display:3rem; --fs-h2:2.375rem; --fs-h3:1.875rem; --fs-h4:1.5rem; --fs-h5:1.25rem; --fs-h6:1.125rem; --fs-lead:1.125rem; }
}
@media (min-width:1280px){
  :root{ --fs-display:3.5rem; --fs-h2:2.75rem; --fs-h3:2rem; --fs-h4:1.625rem; --fs-h5:1.375rem; --fs-h6:1.125rem; --fs-lead:1.125rem; }
}
@media (max-width:767px){
  .showcase__intro h2{ font-size:var(--fs-h2); }
  .mobile-link,.m-disclosure__btn{ font-size:16px; }
  .hero__lead,.showcase__intro p,.people__head p,.envsec__head p,.trust__head p{ font-size:17px; }
}

/* Center the HCM and EMS showcase introductions while preserving the controls. */
.showcase__head{ position:relative; display:block; text-align:center; }
.showcase__intro{ margin-inline:auto; }
.showcase__intro .eyebrow{ justify-content:center; }
.showcase__head .count-pill{ position:absolute; right:0; bottom:0; }
@media (max-width:767px){
  .showcase__head{ display:flex; flex-direction:column; align-items:center; }
  .showcase__head .count-pill{ position:static; }
}
