/* ============================================================================
   Governe — shared brand + navigation layer
   ----------------------------------------------------------------------------
   Loaded LAST on every page, after each page's inline <style>, so the rules
   here win where selectors match. It exists to keep three things identical
   across all eight pages: the header, the brand mark, and the mobile menu.

   Page-specific colour and layout still live in each page's inline styles.
   ========================================================================== */

/* --------------------------------------------------------------- brand mark */
/* The real Aiebo lockup. Two files: logo-light.png has a white wordmark for the
   dark nav and footer; logo-dark.png keeps the navy wordmark for light
   surfaces. The tile and the white bubble inside it are identical in both. */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 34px; width: auto; display: block; flex: none; align-self: center; }
.foot-inner .logo-img, .footin .logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 560px) { .logo-img { height: 29px; } }

/* Footer lockup: mark + wordmark with the positioning line beneath it. */
.footbrand { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footslogan { font-size: 12px; letter-spacing: .01em; color: #7e8da0; }
@media (max-width: 560px) { .footslogan { font-size: 11.5px; } }

/* ---------------------------------------------------------------- nav shell */
nav .nav-inner,
nav .navin {
  position: relative;
  width: min(100% - 48px, 1160px);
  height: 72px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links,
.navlinks { display: flex; align-items: center; gap: 26px; }

.nav-links > a:not(.btn),
.navlinks > a:not(.btn) {
  font-size: 13.5px;
  text-decoration: none;
  color: #bbc4ce;
  transition: color .18s;
  white-space: nowrap;
}
.nav-links > a:not(.btn):hover,
.navlinks > a:not(.btn):hover { color: #fff; }

/* Header CTA — one treatment everywhere. */
.nav-links .btn,
.navlinks .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #b8c3ff, #8fa2ff);
  color: #0b1020;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(108, 126, 255, .22);
  transition: transform .18s, box-shadow .18s;
}
.nav-links .btn:hover,
.navlinks .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(108, 126, 255, .3);
}

/* ------------------------------------------------------------ mobile toggle */
/* The button is injected by site.js, so it never appears without the script
   that makes it work. `.js-nav` on <html> is set by the same script. */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:focus-visible { outline: 2px solid #8fa2ff; outline-offset: 2px; }
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: #e7ebf2;
  transition: background .18s;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: #e7ebf2;
  transition: transform .2s ease;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span:before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .js-nav .nav-toggle { display: inline-flex; }

  /* Collapse the links into a panel that drops out of the header bar. */
  .js-nav nav .nav-links,
  .js-nav nav .navlinks {
    position: absolute;
    top: 100%;
    /* the header bar is inside a max-width wrapper; bleed the panel to the
       full viewport so it lines up with the bar above it */
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    display: grid;
    gap: 2px;
    padding: 10px 20px 18px;
    background: #080d1c;
    border-top: 1px solid rgba(160, 170, 255, .16);
    border-bottom: 1px solid rgba(160, 170, 255, .16);
    box-shadow: 0 26px 50px rgba(0, 0, 0, .38);

    /* closed state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .js-nav nav .nav-links.is-open,
  .js-nav nav .navlinks.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  /* The old rules hid nav links outright on small screens — undo that, the
     panel is what hides them now. */
  .js-nav .nav-links > a,
  .js-nav .navlinks > a:not(.btn),
  .js-nav .nav-links a:not(:last-child) { display: flex; }

  .js-nav nav .nav-links > a:not(.btn),
  .js-nav nav .navlinks > a:not(.btn) {
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    color: #dbe0ea;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .js-nav nav .nav-links .btn,
  .js-nav nav .navlinks .btn {
    margin-top: 14px;
    min-height: 48px;
    width: 100%;
    font-size: 15px;
  }
}

/* Desktop: never leave the panel classes applied. */
@media (min-width: 901px) {
  nav .nav-links,
  nav .navlinks { position: static; visibility: visible; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- footer nav */
footer { padding: 34px 0; text-align: left; }
.foot-inner,
.footin {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.foot-links,
.footlinks { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a,
.footlinks a { color: #8e99ad; text-decoration: none; }
.foot-links a:hover,
.footlinks a:hover { color: #fff; }

@media (max-width: 560px) {
  nav .nav-inner,
  nav .navin,
  .foot-inner,
  .footin { width: min(100% - 32px, 1160px); }
  .foot-inner,
  .footin { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ------------------------------------------------------ one-page story flow */
.onepage-section { padding: 96px 0; scroll-margin-top: 84px; }
.onepage-section:nth-of-type(even) { background: #f3f5fb; }
.onepage-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(520px,1.15fr); gap: 64px; align-items: center; }
#security .onepage-grid { grid-template-columns: minmax(520px,1.15fr) minmax(0,.85fr); }
#security .onepage-copy h2 { max-width: none; font-size: clamp(38px,3.6vw,52px); }
.security-title-break { display: inline; }
.onepage-copy .eyebrow { margin-bottom: 16px; }
.onepage-section .eyebrow,
.dashboard .section-head .eyebrow {
  color: #4653c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}
.onepage-section .eyebrow::before,
.dashboard .section-head .eyebrow::before {
  width: 30px;
  height: 2px;
  background: #e47c43;
}
.onepage-copy h2 { max-width: 12ch; color: #151a32; font-size: clamp(38px,4.3vw,58px); line-height: 1.04; letter-spacing: -.045em; }
.onepage-copy p { max-width: 50ch; margin-top: 20px; color: #5d687e; font-size: 17px; line-height: 1.65; }
.onepage-copy .text-link { display: inline-flex; margin-top: 24px; color: #4657c8; font-weight: 750; text-decoration: none; }
.onepage-copy .text-link:hover { color: #2839aa; }
.onepage-visual { min-width: 0; }
.onepage-visual img { display: block; width: 100%; height: auto; border: 1px solid #dddfea; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -38px rgba(24,31,72,.38); }
.onepage-diagram-button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; background: transparent; cursor: zoom-in; }
.onepage-diagram-button:focus-visible { outline: 3px solid #8fa2ff; outline-offset: 5px; }
.onepage-zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 7px; background: rgba(11,16,32,.88); color: #fff; font: 11px "DM Mono",monospace; }
.architecture-dialog { width: min(96vw,1600px); max-width: none; height: auto; max-height: 94vh; margin: auto; padding: 48px 18px 18px; border: 1px solid rgba(143,162,255,.28); border-radius: 18px; background: #f8f8f5; box-shadow: 0 32px 100px rgba(5,10,28,.55); overflow: auto; }
.architecture-dialog::backdrop { background: rgba(5,9,24,.82); backdrop-filter: blur(6px); }
.architecture-dialog img { display: block; width: 100%; height: auto; max-height: calc(94vh - 66px); object-fit: contain; }
.architecture-dialog-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 1px solid #d6d9e5; border-radius: 50%; background: #fff; color: #171c39; font-size: 24px; line-height: 1; cursor: pointer; }
body.dialog-open { overflow: hidden; }
.roi-framework { display: grid; gap: 10px; padding: 22px; border: 1px solid #dedee8; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 24px 60px -40px rgba(24,31,72,.34); }
.roi-layer { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid #e4e4ed; border-radius: 11px; background: #fff; }
.roi-layer>span { color: #757dde; font: 12px "DM Mono",monospace; }
.roi-layer b { display: block; color: #151a32; font-size: 17px; }
.roi-layer small { display: block; margin-top: 3px; color: #687086; }
.roi-layer em { color: #14745f; font: normal 11px "DM Mono",monospace; letter-spacing: .04em; }
.roi-benefits,.about-principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 34px; }
#about .onepage-grid { align-items: end; }
#about .about-principles { margin-top: 24px; }
.roi-benefit,.about-principle { padding: 22px; border: 1px solid #e1e1ea; border-radius: 12px; background: rgba(255,255,255,.82); }
.roi-benefit span { color: #7279d8; font: 11px "DM Mono",monospace; letter-spacing: .07em; text-transform: uppercase; }
.roi-benefit b,.about-principle b { display: block; margin-top: 8px; color: #151a32; font-size: 16px; }
.roi-benefit p,.about-principle p { margin-top: 6px; color: #687086; font-size: 13.5px; line-height: 1.55; }
.about-proof { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid #dedee8; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -40px rgba(24,31,72,.34); }
.about-proof div { padding: 30px 24px; border-right: 1px solid #e5e4ec; }
.about-proof div:last-child { border-right: 0; }
.about-proof strong { display: block; color: #151a32; font-size: 27px; }
.about-proof span { display: block; margin-top: 5px; color: #687086; font-size: 13px; line-height: 1.45; }
@media (max-width: 950px) {
  .onepage-grid { grid-template-columns: 1fr; gap: 38px; }
  #security .onepage-grid { grid-template-columns: 1fr; }
  #security .onepage-copy { order: 1; }
  #security .onepage-visual { order: 2; }
  #security .onepage-copy h2 { max-width: 16ch; }
  .security-title-break { display: none; }
  .onepage-copy h2 { max-width: 16ch; }
  .onepage-visual { max-width: 780px; }
}
@media (max-width: 620px) {
  .onepage-section { padding: 74px 0; }
  .roi-layer { grid-template-columns: 34px 1fr; }
  .roi-layer em { grid-column: 2; }
  .about-proof { grid-template-columns: 1fr; }
  .about-proof div { border-right: 0; border-bottom: 1px solid #e5e4ec; }
  .about-proof div:last-child { border-bottom: 0; }
  .roi-benefits,.about-principles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   READABILITY CORRECTIONS
   The rebrand layer flipped several card backgrounds (dark <-> light) without
   updating the text colours set in the layer beneath it, leaving three
   high-intent surfaces unreadable. These rules load last and put them right.
   ========================================================================== */

/* --- assessment.html: the booking panel became dark; labels stayed navy --- */
.book > div > h3 { color: #fff; }
.book > div > p { color: #c3c8da; }
.book .field > label { color: #e4e8f2; }
.book .field > label .opt { color: #a6b0c5; }
.book .promise li { color: #d3d9e6; }
.book .promise svg { color: #65dfc2; }
.book .consent { color: #c3c8da; }
.book .consent a { color: #b8c3ff; }
.book .field-error { color: #f0a273; }
.book .field.has-error .consent { color: #f0a273; }

/* --- roi.html: the "we will / won't tell you" cards became light --------- */
.hcard.do b { color: #0e7250; }
.hcard.dont b { color: #a8471f; }
.hcard p { color: #5b6b84; }

/* --- scorecard.html: the result card is the payoff moment; keep it dark --
   A blanket rule had swept it in with the light cards, leaving white text on
   a white gradient — the score, grade and confirmation were invisible. */
.rcard {
  background: radial-gradient(700px 400px at 50% -30%, #2b3072 0%, #141a3a 55%, #0b1023 85%);
  border: 1px solid rgba(169, 179, 255, .26);
  box-shadow: 0 30px 70px rgba(11, 16, 32, .32);
  color: #fff;
}
.rcard .pillar { color: #f0a273; }
.rcard .capture h3 { color: #fff; }
.rcard .capture p { color: #c3c8da; }
.rcard .capture .consent { color: #a6b0c5; }
.rcard .capture .consent a { color: #b8c3ff; }

/* --- index.html: an un-scoped `.section-head h2 {color:#151a32}` from the
   rebrand layer also hit the dark 'Control without slowing down AI.' section,
   leaving near-black type on a navy background. --- */
.outcomes .section-head h2,
.dark-sec .section-head h2,
.assessment .section-head h2,
.cta.dark .section-head h2 { color: #fff; }
.outcomes .section-head .eyebrow,
.dark-sec .section-head .eyebrow,
.assessment .section-head .eyebrow { color: #f0a273; }

/* --- security.html: the h4s became h3s to fix heading order; keep their size */
.pcard .pcard-h { font-size: 16px; color: var(--navy); }

/* --- scorecard.html: "Want the full breakdown?" became an h2 for the same
   reason; it must keep the smaller in-card size, not the section-head size. */
.rcard .capture h2 { font-size: 18px; letter-spacing: -.02em; color: #fff; margin: 0; }

/* ==========================================================================
   KEYBOARD FOCUS
   Nothing on the site showed a focus ring, so a keyboard user had no way to
   see where they were. :focus-visible keeps it invisible for mouse users.
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #8fa2ff;
  outline-offset: 3px;
  border-radius: 4px;
}
/* On light surfaces the indigo needs to be the deeper value to stay visible. */
.proofsec a:focus-visible-x,
.cta a:focus-visible,
.credline a:focus-visible,
.story a:focus-visible,
.legal a:focus-visible { outline-color: #5340bd; }

/* Checkbox/radio chips: the real input is visually hidden, so move the ring
   onto the label the user actually sees. */
.check input:focus-visible + label,
.opt input:focus-visible + label {
  outline: 2px solid #5340bd;
  outline-offset: 2px;
}

/* ==========================================================================
   MOTION
   The homepage honours prefers-reduced-motion; the legal pages had no such
   rule. Apply it site-wide from here.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LIGHT EDITORIAL REFRESH
   A calmer, brighter presentation with the product film as the homepage hero.
   ========================================================================== */
:root {
  --paper: #f8f9fd;
  --line: #dfe4f0;
}

body { background: #fbfcff; }

nav {
  background: rgba(251, 252, 255, .92);
  border-bottom: 1px solid rgba(69, 79, 124, .12);
  box-shadow: 0 8px 30px rgba(40, 48, 91, .06);
}
.navin .logo-img,
.nav-inner .logo-img { content: url("assets/logo-dark.png"); }
.footin .logo-img,
.foot-inner .logo-img { content: url("assets/logo-light.png"); }
nav .navlinks a:not(.btn),
nav .nav-links a:not(.btn) { color: #4f5b73; }
nav .navlinks a:not(.btn):hover,
nav .nav-links a:not(.btn):hover { color: #171c39; }
.nav-toggle {
  border-color: #d7dceb;
  background: #f2f4fb;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after { background: #242b4f; }

/* Homepage: the film is now the main visual, replacing the orbit graphic. */
.hero {
  min-height: auto;
  padding: 145px 0 96px;
  color: #151a32;
  background:
    radial-gradient(700px 430px at 15% 18%, rgba(143, 162, 255, .22), transparent 68%),
    radial-gradient(620px 430px at 90% 75%, rgba(87, 214, 186, .16), transparent 66%),
    linear-gradient(145deg, #f7f8ff 0%, #fdfcff 52%, #f5fbfa 100%);
}
@media (min-width: 901px) {
  .hero {
    min-height: clamp(720px, 78svh, 820px);
    display: flex;
    align-items: center;
  }
  .hero > .hero-grid { width: min(var(--max), calc(100% - 40px)); }
}
.hero::before {
  background: linear-gradient(115deg, rgba(255, 255, 255, .75), transparent 44%);
}
.hero::after {
  background-image: radial-gradient(rgba(79, 91, 140, .13) 1px, transparent 1px);
  opacity: .5;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.hero-grid {
  grid-template-columns: minmax(0, .84fr) minmax(540px, 1.16fr);
  gap: clamp(38px, 4vw, 56px);
  align-items: start;
}
.hero-copy {
  max-width: 630px;
  text-align: left;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4656b2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.35;
  text-transform: none;
  box-shadow: none;
}
.hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #e8925f;
  box-shadow: 0 0 0 4px rgba(232, 146, 95, .14);
}
.hero h1 {
  font-size: clamp(46px, 3.9vw, 52px);
  line-height: 1.04;
  max-width: 12.5ch;
  margin-inline: 0;
  color: #151a32;
}
.hero h1 span {
  background: linear-gradient(100deg, #5368d9, #258f80 76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  max-width: 48ch;
  margin-inline: 0;
  color: #5d687e;
}
.hero .actions { justify-content: flex-start; }
@media (min-width: 901px) {
  .hero .actions { flex-wrap: nowrap; gap: 10px; }
  .hero .actions .btn {
    min-height: 48px;
    padding-inline: 16px;
    font-size: 13.5px;
    white-space: nowrap;
  }
}
.hero .btn.ghost {
  color: #283255;
  border-color: #cbd2e4;
  background: rgba(255, 255, 255, .62);
}
.hero .btn.ghost:hover { border-color: #929fca; }
.hero .trustline a { color: #59667f; }

.hero-film {
  width: 100%;
  margin-top: 40px;
  padding: 10px;
  border: 1px solid rgba(91, 104, 162, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 36px 90px rgba(45, 54, 105, .2);
  backdrop-filter: blur(14px);
}
.hero-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #101429;
  cursor: zoom-in;
}
.hero-video-trigger img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 716;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.hero-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 13, 31, .48));
  transition: background .25s ease;
}
.hero-video-trigger:hover img { transform: scale(1.025); filter: brightness(.92); }
.video-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 38px rgba(10, 15, 40, .3);
  transform: translate(-50%, -50%);
}
.video-play i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #303b78;
}
.video-open-label {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font: 600 12px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-film .filmnote {
  margin: 12px 0 3px;
  color: #68738a;
}
.dashboard { padding-top: 90px; }

.video-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: transparent;
}
.video-dialog::backdrop {
  background: rgba(5, 8, 22, .82);
  backdrop-filter: blur(10px);
}
.video-dialog-inner {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: #0c1022;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
}
.video-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 80px);
  aspect-ratio: 1280 / 716;
  border-radius: 12px;
  background: #000;
}
.video-dialog-close {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: #fff;
  color: #171c39;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* Carry the brighter palette through the interior page introductions. */
.page-hero {
  color: #151a32;
  background:
    radial-gradient(680px 420px at 12% 20%, rgba(143, 162, 255, .2), transparent 68%),
    radial-gradient(580px 380px at 90% 80%, rgba(87, 214, 186, .13), transparent 65%),
    linear-gradient(145deg, #f7f8ff, #f9fcfb);
}
.page-hero h1 { color: #151a32; }
.page-hero h1 span { color: #5368d9; }
.page-hero .eyebrow,
.page-hero .label {
  color: #4653c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}
main .section-head .eyebrow,
.page-details .section-head .eyebrow,
section.section:not(.dark-sec):not(.assessment):not(.outcomes) .section-head .eyebrow {
  color: #4653c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}
.page-hero p,
.page-hero .lede { color: #5d687e; }

/* Leadership dashboard: lead with decisions, then supporting charts. */
.dash-kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #e0deea;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
}
.dash-kpi {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid #e6e4ef;
}
.dash-kpi:last-child { border-right: 0; }
.dash-kpi > span {
  display: block;
  color: #68738a;
  font-size: 12px;
}
.dash-kpi strong {
  display: block;
  margin: 7px 0 5px;
  color: #171c39;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.035em;
}
.dash-kpi strong em { color: #7b8498; font-size: .48em; font-style: normal; font-weight: 600; letter-spacing: 0; }
.dash-kpi small { font-size: 11px; font-weight: 700; }
.trend.up { color: #5368d9; }
.trend.good,
.trend.safe { color: #16816f; }
.view-switch { display: flex; gap: 5px; margin: -8px 0 25px; flex-wrap: wrap; }
.view-switch span,
.view-switch strong { padding: 6px 9px; border-radius: 6px; color: #737d91; font: 600 10px "DM Mono", monospace; }
.view-switch strong { background: #ebeefe; color: #4c5fc6; }
.hbars { display: grid; gap: 17px; }
.hbar { display: grid; grid-template-columns: 82px 1fr 55px; gap: 12px; align-items: center; }
.hbar > span { color: #59647a; font-size: 12px; }
.hbar > i { height: 9px; overflow: hidden; border-radius: 99px; background: #ebeaf1; }
.hbar > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #687be5, #9baaff); }
.hbar:first-child > i b { background: linear-gradient(90deg, #d26d41, #f0a273); }
.hbar > strong { color: #2a304c; font-size: 11px; text-align: right; }
.attention-card { display: flex; flex-direction: column; }
.attention-item { padding: 15px 0; border-top: 1px solid #e7e5ef; }
.attention-item:first-of-type { border-top: 0; padding-top: 1px; }
.attention-item > span { display: block; margin-bottom: 5px; color: #5368d9; font: 700 9px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.attention-item.warn > span { color: #a9532b; }
.attention-item strong { color: #262c48; font-size: 13px; line-height: 1.4; }
.attention-item p { margin: 4px 0 0; color: #758096; font-size: 11px; line-height: 1.45; }
.policy-mini { margin-top: auto; padding-top: 16px; border-top: 1px solid #e7e5ef; }
.policy-mini > div:first-child { display: flex; justify-content: space-between; color: #667188; font-size: 10px; }
.policy-mini > div:first-child b { color: #303752; }
.policy-track { display: flex; height: 8px; margin: 11px 0 10px; overflow: hidden; border-radius: 99px; background: #eeeef3; }
.policy-track i { width: 87%; background: #57d6ba; }
.policy-track b { width: 12.7%; background: #e8925f; }
.policy-track em { width: .3%; min-width: 3px; background: #8f98aa; }
.policy-legend { display: flex; gap: 10px; flex-wrap: wrap; color: #717b8e; font-size: 9px; }
.policy-legend span { display: inline-flex; align-items: center; gap: 4px; }
.policy-legend i { width: 6px; height: 6px; border-radius: 50%; }
.policy-legend .allowed { background: #57d6ba; }
.policy-legend .redacted { background: #e8925f; }
.policy-legend .blocked { background: #8f98aa; }
.dash > .illus { grid-column: 1 / -1; }

/* Smooth the dashboard -> security -> CTA palette transition. */
.proofsec {
  background:
    radial-gradient(680px 430px at 82% 18%, rgba(79, 105, 190, .22), transparent 66%),
    radial-gradient(520px 360px at 12% 100%, rgba(47, 151, 139, .1), transparent 70%),
    linear-gradient(135deg, #0b1227 0%, #101d38 58%, #0b1830 100%);
  border-top-color: rgba(146, 162, 220, .16);
  border-bottom-color: rgba(70, 81, 127, .18);
}
.proofsec p { color: #c7d0df; }
.proofsec .sub { color: #a9b5ca; }
.cta {
  background:
    radial-gradient(520px 280px at 0% 50%, rgba(232, 146, 95, .11), transparent 72%),
    radial-gradient(560px 320px at 100% 30%, rgba(143, 162, 255, .12), transparent 72%),
    #f8f7f4;
  border-top: 1px solid #e6e2dc;
}
.cta h2 {
  max-width: 11ch;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.06;
}
.cta .eyebrow { color: #5340bd; }
.cta p { color: #4f596d; }

@media (max-width: 900px) {
  nav { position: fixed; }
  .js-nav nav .nav-links,
  .js-nav nav .navlinks {
    background: rgba(251, 252, 255, .98);
    border-color: #dfe3ef;
    box-shadow: 0 26px 50px rgba(36, 44, 78, .14);
  }
  .js-nav nav .nav-links > a:not(.btn),
  .js-nav nav .navlinks > a:not(.btn) {
    color: #3f4a64;
    border-bottom-color: #e5e8f1;
  }
  .hero { padding-top: 124px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 760px; text-align: center; }
  .hero h1 { max-width: 12ch; margin-inline: auto; }
  .hero .lede { max-width: 58ch; margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-film { margin-top: 0; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-kpi { border-right: 0; border-bottom: 1px solid #e6e4ef; }
  .dash-kpi:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 66px; }
  .hero-grid { gap: 38px; }
  .hero .eyebrow {
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: .02em;
  }
  .hero h1 { font-size: clamp(38px, 10.8vw, 43px); }
  .hero-film { padding: 6px; border-radius: 15px; }
  .hero-film video { border-radius: 10px; }
  .hero-film .filmnote { padding: 0 8px; line-height: 1.5; }
  .video-play { width: 58px; height: 58px; }
  .video-open-label { right: 12px; bottom: 11px; font-size: 10px; }
  .video-dialog { width: calc(100vw - 20px); }
  .video-dialog-close { top: -16px; right: -4px; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-kpi,
  .dash-kpi:nth-child(2) { border-right: 0; border-bottom: 1px solid #e6e4ef; }
  .dash-kpi:last-child { border-bottom: 0; }
  .hbar { grid-template-columns: 72px 1fr 50px; gap: 8px; }
}

/* ==========================================================================
   ROI PAGE — aligned with the homepage visual and content system
   ========================================================================== */
.roi-page { background: #fbfcff; color: #151a32; }
.roi-page .page-hero {
  padding: 142px 0 52px;
  background:
    radial-gradient(700px 430px at 15% 18%, rgba(143, 162, 255, .22), transparent 68%),
    radial-gradient(620px 430px at 90% 75%, rgba(87, 214, 186, .15), transparent 66%),
    linear-gradient(145deg, #f7f8ff 0%, #fdfcff 52%, #f5fbfa 100%);
}
.roi-page .page-hero::before {
  background-image: radial-gradient(rgba(79, 91, 140, .13) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .42;
}
.roi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}
.roi-page .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #4656b2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: none;
}
.roi-page .page-hero .eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8925f;
  box-shadow: 0 0 0 4px rgba(232, 146, 95, .14);
}
.roi-page .page-hero h1 {
  max-width: 10ch;
  margin-top: 18px;
  color: #151a32;
  font-size: clamp(48px, 4.4vw, 60px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.roi-page .page-hero p {
  max-width: 50ch;
  color: #5d687e;
  font-size: 18px;
  line-height: 1.6;
}
.roi-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.roi-secondary {
  border-color: #cbd2e4;
  background: rgba(255, 255, 255, .62);
  color: #283255;
}
.roi-secondary:hover { border-color: #929fca; transform: translateY(-2px); }
.roi-proof {
  padding: 10px;
  border: 1px solid rgba(91, 104, 162, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 32px 80px rgba(45, 54, 105, .16);
  backdrop-filter: blur(14px);
}
.roi-proof-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 16px;
  color: #69748a;
  font: 10px "DM Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.roi-proof-head b { color: #4656b2; font-weight: 600; }
.roi-proof-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 18px 16px;
  border-top: 1px solid #e6e8f0;
}
.roi-proof-row > span { color: #8a94a8; font: 11px "DM Mono", monospace; }
.roi-proof-row strong { display: block; color: #202641; font-size: 16px; }
.roi-proof-row small { display: block; margin-top: 3px; color: #737d91; font-size: 12px; }
.roi-proof-row em {
  padding: 5px 8px;
  border-radius: 5px;
  background: #eef0ff;
  color: #5368d9;
  font: 600 9px "DM Mono", monospace;
  font-style: normal;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.roi-proof-row:last-child em { background: #fff2e9; color: #a9532b; }
.roi-page .section { padding: 105px 0; }
#roi-framework { padding-top: 64px; }
.roi-page .section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.roi-page .section-head h2 { color: #151a32; font-weight: 600; letter-spacing: -.045em; }
.roi-page .layer,
.roi-page .chart-card,
.roi-page .decision-card,
.roi-page .faq-list details { border-color: #dedee8; border-radius: 12px; box-shadow: 0 18px 45px rgba(39, 32, 92, .08); }
.roi-map-card { overflow: hidden; }
#roi-framework,
#portfolio-decisions { scroll-margin-top: 90px; }
.roi-map-card .chart-head { margin: 0; padding: 0 0 16px; }
.roi-map-visual {
  overflow: hidden;
  border: 1px solid #e1e3eb;
  border-radius: 9px;
  background: #fbfbf8;
}
.roi-map-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.roi-map-labels {
  display: grid;
  grid-template-columns: .75fr 1.15fr 1fr;
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #e2e3eb;
  border-radius: 8px;
  background: #e2e3eb;
}
.roi-map-labels > div { padding: 11px 12px; background: #fafaff; }
.roi-map-labels span { display: block; margin-bottom: 3px; color: #7b8498; font: 9px "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.roi-map-labels strong { color: #252c49; font-size: 11px; line-height: 1.35; }
.roi-decision-flow {
  display: grid;
  grid-template-columns: 1fr 52px 1.15fr 52px 1.15fr;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #dcddea;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 26px 65px rgba(39, 32, 92, .11);
}
.roi-flow-stage {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e2e3eb;
  border-radius: 11px;
  background: linear-gradient(145deg, #fff, #faf9fd);
}
.roi-flow-num { color: #5968c8; font: 600 10px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.roi-flow-stage h3 { margin: 19px 0 8px; color: #202641; font-size: 21px; }
.roi-flow-stage > p { min-height: 66px; color: #68738a; font-size: 13px; line-height: 1.55; }
.roi-flow-arrow { display: grid; place-items: center; color: #7788e5; font-size: 30px; }
.roi-sketch { height: 58px; margin-top: 18px; display: flex; align-items: center; justify-content: center; }
.roi-sketch-input { position: relative; }
.roi-sketch-input i { position: absolute; width: 48px; height: 34px; border: 2px solid #26345e; border-radius: 6px; background: #fff; box-shadow: 3px 3px 0 #d9defb; transform: rotate(-7deg) translateX(-23px); }
.roi-sketch-input i:nth-child(2) { border-color: #b75d36; box-shadow: 3px 3px 0 #f4d2bd; transform: rotate(5deg) translateX(23px); }
.roi-sketch-input i:nth-child(3) { border-color: #278b7b; box-shadow: 3px 3px 0 #c5eee7; transform: translateY(17px); }
.roi-sketch-evidence { gap: 8px; }
.roi-sketch-evidence i { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid #2e3d6b; border-radius: 50%; background: #eef0ff; color: #344579; font: 700 16px "DM Mono", monospace; font-style: normal; box-shadow: 2px 3px 0 #cdd4fb; }
.roi-sketch-evidence i:nth-child(2) { border-color: #b75d36; background: #fff0e6; color: #a9532b; box-shadow-color: #f0cdb8; }
.roi-sketch-evidence i:nth-child(3) { border-color: #278b7b; background: #e9faf6; color: #278b7b; box-shadow-color: #bceadf; }
.roi-sketch-branch { gap: 2px; flex-direction: column; color: #344579; }
.roi-sketch-branch i { font: 700 22px "DM Mono", monospace; font-style: normal; line-height: .8; }
.roi-sketch-branch i:first-child { color: #278b7b; }
.roi-sketch-branch i:nth-child(2) { color: #b75d36; }
.roi-sketch-branch i:last-child { color: #9b3d3d; }
.roi-flow-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 16px; }
.roi-flow-tags span { padding: 6px 8px; border-radius: 5px; background: #eff1fb; color: #566179; font: 600 9px "DM Mono", monospace; }
.roi-flow-measures,
.roi-flow-actions { display: grid; gap: 7px; margin-top: 14px; }
.roi-flow-measures span,
.roi-flow-actions span { padding: 9px 10px; border-left: 3px solid #8fa2ff; border-radius: 4px; background: #f6f7fb; color: #737d91; font-size: 10px; }
.roi-flow-measures span:nth-child(2) { border-color: #e8925f; }
.roi-flow-measures span:nth-child(3) { border-color: #57d6ba; }
.roi-flow-measures b,
.roi-flow-actions b { display: block; margin-bottom: 2px; color: #27304d; font-size: 11px; }
.roi-flow-actions .scale { border-color: #57b99d; }
.roi-flow-actions .consolidate { border-color: #e8925f; }
.roi-flow-actions .stop { border-color: #b95050; }
.roi-page .honesty {
  background:
    radial-gradient(680px 430px at 82% 18%, rgba(79, 105, 190, .22), transparent 66%),
    radial-gradient(520px 360px at 12% 100%, rgba(47, 151, 139, .1), transparent 70%),
    linear-gradient(135deg, #0b1227 0%, #101d38 58%, #0b1830 100%);
}
.roi-page .honesty .hcard { background: rgba(255, 255, 255, .055); border-color: rgba(160, 174, 224, .2); }
.roi-page .cta-band {
  color: #151a32;
  background:
    radial-gradient(520px 280px at 0% 50%, rgba(232, 146, 95, .11), transparent 72%),
    radial-gradient(560px 320px at 100% 30%, rgba(143, 162, 255, .12), transparent 72%),
    #f8f7f4;
  border-top: 1px solid #e6e2dc;
}
.roi-page .cta-band::before { display: none; }
.roi-page .cta-band h2 { color: #151a32; font-weight: 600; letter-spacing: -.045em; }
.roi-page .cta-band p { color: #59647a; }

@media (max-width: 900px) {
  .roi-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .roi-page .page-hero h1 { max-width: 12ch; }
  .roi-proof { max-width: 680px; width: 100%; }
  .roi-decision-flow { grid-template-columns: 1fr; gap: 12px; }
  .roi-flow-arrow { height: 34px; transform: rotate(90deg); }
  .roi-flow-stage > p { min-height: 0; }
  .dashboard { padding-top: 68px; }
}

@media (max-width: 560px) {
  .roi-page .page-hero { padding: 122px 0 46px; }
  .roi-page .page-hero h1 { font-size: clamp(40px, 12vw, 48px); }
  .roi-page .page-hero p { font-size: 16px; }
  .roi-actions { display: grid; }
  .roi-actions .btn { width: 100%; }
  .roi-proof-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .roi-proof-row { grid-template-columns: 26px 1fr; }
  .roi-proof-row em { grid-column: 2; justify-self: start; }
  .roi-page .section { padding: 78px 0; }
  .roi-map-labels { grid-template-columns: 1fr; }
}
