/* ==========================================================================
   CloudVision, v3
   Translated from the "Home, desktop 1440" and "Home, mobile 390"
   artboards. Navy ground, electric cyan accent, Plus Jakarta Sans display,
   IBM Plex Mono for eyebrows and figures. Desktop layout at ≥1024px, the
   mobile artboard's stacking below 768px, a tablet blend in between.
   ========================================================================== */

/* Self-hosted latin subsets (OFL), same files and unicode-range Google Fonts serves */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Tokens (from the design system's tokens.json) ---------- */
:root {
  color-scheme: light;
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --raised: #EEF3F9;
  --navy: #0B1628;
  --navy-surface: #111F38;
  --navy-raised: #13294A;
  --navy-footer: #070F1F;

  --ink: #0B1628;
  --ink-body: #12203A;
  --ink-muted: #4E6280;
  --on-navy: #FFFFFF;
  --on-navy-body: #B8C6DA;
  --on-navy-muted: #8FA1BB;
  --on-navy-soft: #D7E0EC;

  --accent: #14E4F5;
  --accent-hover: #5CEBF7;
  --accent-ink: #0891A3;
  --accent-text: #077584; /* cyan family dark enough for small text on white (5.4:1) */
  --accent-tint: rgba(20,228,245,.10);
  --link: #0A66C2;

  --line: #DDE5F0;
  --line-strong: #B9C8DC;
  --line-navy: rgba(255,255,255,.10);
  --line-navy-strong: rgba(255,255,255,.20);

  --good: #3DDC97;
  --good-fill: #7CF2D0;
  --warn: #F5A524;
  --warn-ink: #8F5B0F;
  --warn-fill: #FFF4D6;
  --bad: #FF6B6B;
  --bad-fill: #FF8A8A;
  --bad-ink: #C0392B; /* red text on white (5.4:1); --bad is for navy */

  --r-sm: 6px; --r-md: 8px; --r-lg: 14px; --r-xl: 16px; --r-pill: 999px;

  --shadow-card: 0 12px 40px rgba(11,22,40,.08);
  --shadow-float: 0 30px 60px rgba(0,0,0,.45);
  --shadow-panel: 0 30px 70px rgba(11,22,40,.25);

  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22,1,.36,1);

  /* One fluid heading scale, so H1 > H2 > H3 at every width */
  --fs-h1: clamp(32px, 1.4vw + 24px, 46px);
  --fs-h2: clamp(28px, 1.25vw + 20px, 40px);
  --fs-h3: clamp(17px, .35vw + 15px, 20px);
  --gutter: 80px;
  --nav-h: 80px;
  --container: 1440px;
}
@media (max-width: 1023px) { :root { --gutter: 40px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; --nav-h: 64px; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-md); z-index: 999; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--accent); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-text); }
.on-navy .eyebrow { color: var(--accent); }
.eyebrow.muted { color: var(--ink-muted); }

.display-lg, .display-md { font-size: var(--fs-h2); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.on-navy .display-lg, .on-navy .display-md { color: var(--on-navy); }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.on-navy .lead { color: var(--on-navy-body); }
@media (max-width: 767px) { .lead { font-size: 15px; } }

/* Section header: eyebrow + heading on the left, intro on the right at desktop; stacked on phones */
/* Two-part titles: the second phrase (the punch line) always starts on its own line */
.t-line { display: block; text-wrap: balance; }
@media (min-width: 768px) { .t-line.one { white-space: nowrap; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 760px; flex-shrink: 0; }
.section-head > .lead { max-width: 440px; }
.section-head.stack { flex-direction: column; align-items: flex-start; gap: 16px; max-width: 760px; }
.section-head.stack > .lead { max-width: none; font-size: 18px; }
.section-head.snug { margin-bottom: 28px; }
@media (max-width: 1365px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head > .lead { max-width: 640px; }
}
/* .side: a short heading keeps its intro beside it down to tablet width, the intro taking the free width (capped for line length) */
.section-head.side > .lead { flex: 1 1 auto; max-width: 720px; }
/* .lines: one sentence per line, and the block only as wide as its longest sentence */
.lead.lines > span { display: block; text-wrap: balance; }
.section-head.side > .lead.lines { flex-grow: 0; }
@media (min-width: 1024px) and (max-width: 1365px) {
  .section-head.side { flex-direction: row; align-items: flex-end; gap: 48px; }
}
@media (max-width: 767px) {
  .section-head { margin-bottom: 28px; gap: 12px; }
  .section-head > div { gap: 12px; }
  .section-head.stack > .lead { font-size: 15px; }
}

/* Mid-page CTA under a section's content */
.section-cta { margin-top: 48px; }
@media (max-width: 767px) { .section-cta { margin-top: 32px; } .section-cta .btn { width: 100%; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--r-md); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.4); padding: 0 24px; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-raised); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Nav ---------- */
#mainNav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: var(--surface); border-bottom: 1px solid var(--line); }
#mainNav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: block; flex-shrink: 0; height: 32px; width: auto; } /* the CloudVision "C" mark, used on its own (no tile) */
.brand-word { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-word span { font-weight: 500; }
.on-navy .brand-word { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--ink-muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
/* Services dropdown: opens on hover and on keyboard focus (focus-within), so it needs no script */
.nav-drop { position: relative; }
.nav-drop-label { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-label svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-drop:hover .nav-drop-label svg, .nav-drop:focus-within .nav-drop-label svg { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 248px; padding: 8px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; } /* bridges the gap so the menu stays open while the pointer moves down */
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
.nav-links .nav-drop-menu a { padding: 10px 12px; border-radius: var(--r-md); }
.nav-links .nav-drop-menu a:hover { background: var(--bg); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--ink); }
.hamburger svg { width: 22px; height: 22px; }
@media (max-width: 1099px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn-sm { height: 44px; padding: 0 14px; font-size: 13px; }
  .brand-mark { height: 28px; }
  .brand-word { font-size: 18px; }
}
/* Small phones (360px Androids): the full nav needs 373px, so shorten the CTA to "Book demo" */
.hide-xs { display: inline; }
@media (max-width: 400px) {
  .hide-xs { display: none; }
  #mainNav .wrap { gap: 12px; }
  .nav-right { gap: 4px; }
}

/* Closed = visibility:hidden, so its links leave the tab order and the accessibility tree (not just the screen) */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--surface); display: flex; flex-direction: column; padding: 12px var(--gutter) 32px; transform: translateY(-100%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
.mobile-menu.open { transform: translateY(0); visibility: visible; transition: transform .32s var(--ease); }
.mobile-menu-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--ink); }
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 16px; }
.mobile-menu nav a { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a.secondary { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.mobile-menu nav a.secondary { padding: 10px 0 10px 16px; border-bottom: 0; } /* service links sit under "Services" */
.mobile-menu nav a[aria-current="page"] { color: var(--accent-ink); }
.mobile-menu { overflow-y: auto; } /* the longer menu still fits short phones */
.mobile-menu .btn { margin-top: 24px; width: 100%; }

/* ---------- Hero ---------- */
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; }
.hero { background: var(--navy); position: relative; overflow: hidden; }
#top { scroll-margin-top: var(--nav-h); }
.faq h3[id] { scroll-margin-top: calc(var(--nav-h) + 24px); } /* deep links to an answer land below the sticky nav */ /* the sticky nav sits above the hero, so #top must land at the very top of the page */
.cs-block[id] { scroll-margin-top: calc(var(--nav-h) + 24px); } /* in-page links to a section land below the sticky nav */
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 64px; display: grid; grid-template-columns: calc(var(--fs-h1) * 15.5) 1fr; gap: 64px; align-items: start; } /* sized to the headline font, so the longest punchline part ("The board asks if your data is safe.") stays on one line */
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow.a { right: -180px; top: -220px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(20,228,245,.22) 0%, rgba(20,228,245,0) 65%); }
.hero-glow.b { left: -120px; bottom: -260px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(29,95,232,.18) 0%, rgba(29,95,232,0) 65%); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; position: relative; }
.hero .punch { font-size: var(--fs-h1); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.hero .punch .accent { color: var(--accent); }
/* The real h1: the indexed, read-aloud headline, set as a strong standfirst under the decorative punchline */
.hero-intro { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; } /* h1 + lead read as one titled block */
.hero-h1 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--on-navy-soft); max-width: 540px; }
/* Rotating punchline: every line shares one grid cell, so the block holds the tallest line's height */
.hero .punch { display: grid; position: relative; }
.punch .hl { grid-area: 1 / 1; align-self: end; visibility: hidden; }
.punch .ln { display: block; text-wrap: balance; }
.punch .hl.on { visibility: visible; }
.punch .caret { position: absolute; left: 0; top: 0; color: var(--accent); animation: caretBlink 1.1s steps(1) infinite; }
.punch .caret.busy { animation: none; }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .punch .caret { display: none; } }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--on-navy-body); max-width: 540px; }
.hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-ticks { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 12px; }
.tick { display: flex; align-items: center; gap: 8px; color: var(--on-navy-body); font-size: 13px; font-weight: 600; }
.tick svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }
.cta-alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.cta-alt a:hover { color: var(--accent); }

/* Hero platform visual: three floating cards */
.hero-visual { position: relative; height: 640px; }
.hv-card { position: absolute; box-sizing: border-box; display: flex; flex-direction: column; }
.hv-summary { left: 0; top: 24px; width: 100%; max-width: 616px; padding: 28px; border-radius: var(--r-xl); background: var(--navy-surface); border: 1px solid var(--line-navy); box-shadow: 0 40px 80px rgba(0,0,0,.45); gap: 22px; }
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-head .eyebrow { color: var(--on-navy-muted); }
.hv-head strong { display: block; font-size: 16px; font-weight: 700; color: #fff; margin-top: 4px; }
.hv-head small { font-size: 12px; font-weight: 600; color: var(--on-navy-muted); }
.bar-track { height: 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); overflow: hidden; }
.bar-track.thin { height: 6px; }
.bar { height: 100%; border-radius: var(--r-pill); background: var(--accent); transform-origin: left; }
.bar.warn { background: var(--warn); } .bar.good { background: var(--good); }
.hv-legend { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hv-legend .keys { display: flex; gap: 18px; font-size: 12px; font-weight: 600; color: var(--on-navy-body); }
.hv-legend .keys span { display: flex; align-items: center; gap: 6px; }
.hv-legend .keys i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hv-legend .keys i.bad { background: var(--bad); }
.figure { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.figure.xl { font-size: 30px; }
.figure.xl small { font-size: 16px; color: var(--on-navy-muted); }
.pc { margin-left: .1em; } /* every % sign on the page sits a touch away from its number */
.hv-rule { height: 1px; background: rgba(255,255,255,.08); }
.hv-rows { display: flex; flex-direction: column; gap: 12px; }
.hv-row { display: grid; grid-template-columns: 130px 56px 1fr 56px; align-items: center; gap: 16px; }
.hv-row b { font-size: 13px; font-weight: 700; color: #fff; }
.hv-row small { font-size: 12px; color: var(--on-navy-muted); }
.hv-row .pct { font-family: var(--mono); font-size: 13px; font-weight: 600; text-align: right; color: var(--accent); }
.hv-row .pct.warn { color: var(--warn); } .hv-row .pct.good { color: var(--good); }

.hv-report { right: 0; top: 388px; width: 300px; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-float); gap: 12px; }
.hv-report .eyebrow { font-size: 10px; color: var(--ink-muted); }
.hv-report-head { display: flex; align-items: center; justify-content: space-between; }
.pill-warn { font-size: 11px; font-weight: 700; color: var(--warn-ink); background: var(--warn-fill); padding: 4px 8px; border-radius: var(--r-pill); }
.hv-report strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.hv-report .figure { color: var(--ink); font-size: 34px; }
.hv-report .sub { font-size: 12px; color: var(--ink-muted); }
.hv-report .bar-track { background: #E9EEF5; height: 6px; }
.hv-report .baseline { display: flex; align-items: baseline; gap: 6px; }

.hv-alert { left: 0; top: 530px; flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--navy-raised); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.hv-alert .ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(61,220,151,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-alert .ico svg { width: 18px; height: 18px; stroke: var(--good); }
.hv-alert b { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.hv-alert small { font-size: 12px; color: var(--on-navy-muted); }

/* Hero entrance (matches the artboard's rise/grow keyframes) */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.r1 { animation: rise .8s var(--ease) .1s both; }
/* H1, lead and CTAs: slide only, never start invisible (LCP candidates, and the CTA must show in the first frame) */
@keyframes riseT { from { transform: translateY(28px); } to { transform: none; } }
.r2 { animation: riseT .8s var(--ease) .3s both; }
.r3 { animation: riseT .8s var(--ease) .5s both; }
.r4 { animation: riseT .8s var(--ease) .7s both; }
/* Card build, bars, count-ups and parallax live in hero.css / hero.js */

/* 1180-1365: two columns that share the space, copy a little wider (the full-width copy column only fits from 1366) */
@media (max-width: 1365px) {
  .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .hv-report { top: auto; bottom: 20px; }
  .hv-alert { left: 0; top: auto; bottom: 0; }
  .hero-visual { height: 600px; }
}
/* Below 1180 the cards no longer fit beside the copy: stack them under it, in flow (no fixed
   offsets), summary on top with the report and alert tucked beneath it. */
@media (max-width: 1179px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { height: auto; max-width: 720px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 0 20px; }
  .hv-card { position: relative; top: auto; right: auto; bottom: auto; left: auto; }
  .hv-summary { grid-column: 1 / -1; max-width: none; }
  .hv-report { grid-column: 2; grid-row: 2; width: auto; margin-top: -20px; }
  .hv-alert { grid-column: 1; grid-row: 2; align-self: end; justify-self: start; margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .grid-bg { background-size: 40px 40px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .hero-copy { gap: 22px; }
  .hero .punch { letter-spacing: -.03em; }
  .hero-intro { gap: 8px; }
  .hero-h1 { font-size: 17px; }
  .hero-lead { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns .btn { width: 100%; }
  .hero-ticks { gap: 10px 18px; padding-top: 0; }
  .tick { font-size: 12px; }
  .hero-glow.a { right: -160px; top: -160px; width: 420px; height: 420px; }
  .hero-glow.b { display: none; }
  .hero-visual { grid-template-columns: minmax(0, 1fr); }
  .hv-summary { padding: 20px; border-radius: var(--r-lg); gap: 16px; }
  .hv-summary .hv-head strong { font-size: 14px; }
  .hv-head .eyebrow { white-space: nowrap; }
  .hv-head small { display: none; }
  .hv-summary .figure.xl { font-size: 28px; }
  .hv-summary .bar-track { height: 12px; }
  .hv-summary .hv-legend .keys { font-size: 11px; }
  .hv-row { grid-template-columns: 110px 1fr 44px; gap: 12px; }
  .hv-row small { display: none; }
  .hv-row b, .hv-row .pct { font-size: 12px; }
  .hv-row:last-child { display: none; }
  .hv-report { grid-column: 1; grid-row: 2; justify-self: center; width: min(280px, 88%); margin-top: 4px; padding: 16px; border-radius: 12px; gap: 10px; }
  .hv-report .figure { font-size: 28px; }
  .hv-report strong { font-size: 13px; }
  .hv-report .sub { font-size: 11px; }
  .hv-report .sub.hide-m { display: none; }
  .hv-alert { grid-column: 1; grid-row: 3; justify-self: center; margin-top: 16px; margin-bottom: 0; padding: 10px 14px; gap: 10px; }
  .hv-alert .ico { width: 32px; height: 32px; }
  .hv-alert b { font-size: 12px; } .hv-alert small { font-size: 11px; }
}

/* ---------- Integrations strip ---------- */
.protects { background: var(--surface); border-bottom: 1px solid var(--line); }
.protects .wrap { min-height: 132px; display: flex; align-items: center; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.protects .eyebrow { white-space: nowrap; }
/* Official product logos, no borders. Wraps onto a second line rather than hiding any of them. */
.logo-row { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--ink-body); white-space: nowrap; }
.logo img { flex-shrink: 0; width: 20px; height: 20px; object-fit: contain; } /* never squeezed by a long name: every icon keeps its own shape at every width */
/* Phones: a centred 3 x 3 grid of compact tiles (icon over name) instead of a ragged wrapped line */
@media (max-width: 767px) {
  .protects .wrap { flex-direction: column; align-items: center; gap: 12px; min-height: 0; padding-top: 24px; padding-bottom: 24px; }
  .logo-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 6px; }
  .logo { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); font-size: 11.5px; line-height: 1.25; text-align: center; white-space: normal; text-wrap: balance; }
  .logo img { width: 22px; height: 22px; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0 104px; }
.section.tight { padding: 96px 0; }
.section.white { background: var(--surface); }
.section.tint { background: var(--raised); } /* the grey band that alternates with white ones; --bg alone is too close to white to read as a change */
/* Two light sections in a row always get a hairline, so the band change never relies on a near-invisible tint alone */
.section:not(.on-navy) + .section:not(.on-navy) { border-top: 1px solid var(--line); }
.on-navy { background: var(--navy); color: var(--on-navy-body); }
.on-navy.band { background: var(--navy-surface); }
@media (max-width: 767px) { .section, .section.tight { padding: 64px 0; } }

/* Services cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s; }
/* Hover lift only on cards that go somewhere */
a.card:hover, .card:has(a):not(.svc):hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); } /* service cards stay still: only their links react */
.svc { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
/* Header row: icon and step label side by side, separated from the title by a hairline */
.svc-top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.svc-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.svc-ico svg { width: 20px; height: 20px; stroke: var(--accent); }
.svc .eyebrow { color: var(--ink-muted); font-size: 11px; white-space: nowrap; }
.svc h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--ink); min-height: 2.5em; }
.svc p { color: var(--ink-muted); font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--ink-body); background: var(--raised); padding: 5px 9px; border-radius: var(--r-sm); white-space: nowrap; }
.svc h3 a { padding-block: 2px; } /* inline: taller tap target, no layout change */
.svc h3 a:hover { color: var(--link); } /* pills stay still on hover; only the card titles react */
@media (max-width: 1023px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cards-4 { grid-template-columns: 1fr; gap: 14px; }
  .svc { padding: 24px; }
  .svc-top { padding-bottom: 14px; }
  .svc h3 { min-height: 0; }
  .svc p { font-size: 14px; }
  .tags { display: none; }
}

/* Risk band */
.stats-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat { padding: 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-navy); display: flex; flex-direction: column; gap: 14px; }
.stat .figure { font-size: 56px; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat .figure em { font-style: normal; }
.stat p { color: var(--on-navy-soft); }
.stat .figure small { font-size: .42em; letter-spacing: 0; margin-left: .1em; }
.stat-src { margin-top: auto; padding-top: 4px; font-size: 11.5px; color: var(--on-navy-muted); text-decoration: underline; text-decoration-color: rgba(143,161,187,.4); text-underline-offset: 3px; transition: color .15s ease; padding-bottom: 2px; margin-bottom: -2px; }
.stat-src:hover { color: #fff; }
@media (max-width: 1023px) { .stats-3 { gap: 16px; } .stat { padding: 24px; } .stat .figure { font-size: 44px; } .stat p { font-size: 14px; } }
@media (max-width: 767px) { .stats-3 { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .stats-3 { gap: 12px; } .stat { padding: 24px; gap: 8px; } .stat .figure { font-size: 44px; } .stat p { font-size: 14px; } }

/* Platform */
/* Both columns end on one line: the mock's navy panel stretches to the card column's height (main.js sets min-height, not height) */
.platform-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: stretch; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feat { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.feat-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--raised); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-ico svg { width: 20px; height: 20px; stroke: var(--navy); }
.feat h3 { font-size: var(--fs-h3); font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.feat p { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
@media (max-width: 1023px) {
  .platform-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .feature-list { gap: 12px; }
  .feat { padding: 20px; flex-direction: column; gap: 6px; }
  .feat-ico { display: none; }
}

/* Platform mock: a simplified take on the redesigned portal Overview (cloud-vision-web, Sep 2026),
   for people who haven't used it: top bar, compliance score, two totals and the services list.
   Drawn at a fixed width and scaled to fit by main.js, like a screenshot. */
.pm-fit { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(11,22,40,.9); box-shadow: var(--shadow-panel); background: #0B1628; }
.pm {
  --pm-bg: #0B1628; --pm-surface: #111F38; --pm-raised: #13294A; --pm-body: #B8C6DA; --pm-muted: #8FA1BB;
  --pm-accent: #14E4F5; --pm-line: rgba(255,255,255,.08); --pm-good: #3DDC97; --pm-warn: #F5A524;
  width: 860px; transform-origin: 0 0; background: var(--pm-bg); color: #fff; font-size: 13px; line-height: 1.4; text-align: left;
}
.pm svg { width: 16px; height: 16px; flex-shrink: 0; }
.pm-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pm-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--pm-muted); white-space: nowrap; }
.pm-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--pm-line); }
.pm-logo { display: flex; align-items: center; gap: 8px; }
.pm-logo .brand-mark { height: 24px; }
.pm .brand-word { font-size: 16px; color: #fff; }
.pm-delta.warn { color: var(--pm-warn); }
.pm-org { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--pm-surface); border: 1px solid var(--pm-line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pm-avatar { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #2EB2FF; color: #0B1628; font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pm-main { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pm-h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pm-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--pm-surface); border: 1px solid var(--pm-line); color: var(--pm-muted); font-size: 12px; white-space: nowrap; }
.pm-pill svg { color: var(--pm-accent); width: 13px; height: 13px; }
.pm-pill b { color: #fff; font-weight: 500; }
.pm-tile { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pm-kpis { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.pm-kpis > .pm-tile:not(.pm-hero) > :last-child { margin-top: auto; }
.pm-hero { flex-direction: row; align-items: center; gap: 18px; }
.pm-hero > div { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.pm-spark { flex: 1 1 0; min-width: 0; width: auto !important; height: 76px !important; }
.pm-figure { font-family: var(--mono); font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pm-figure.xl { font-size: 48px; letter-spacing: -.03em; }
.pm-figure small { font-size: .42em; color: var(--pm-muted); margin-left: .12em; letter-spacing: normal; }
.pm-figure.good, .pm-delta.good { color: var(--pm-good); }
.pm-delta { font-size: 12px; font-weight: 600; }
.pm-sub { font-size: 12px; color: var(--pm-muted); }
.pm-services { gap: 0; padding: 20px 22px 8px; }
.pm-h2 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.pm-tr { display: grid; grid-template-columns: 170px 44px 1fr 44px 60px; gap: 16px; align-items: center; padding: 11px 2px; border-top: 1px solid var(--pm-line); font-size: 13px; }
.pm-svc { display: flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.pm-obj { color: var(--pm-muted); font-size: 12px; }
.pm-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pm-dot.m365 { background: #2EB2FF; } .pm-dot.qb { background: #7C6FF2; }
.pm-bar { height: 7px; border-radius: 999px; background: var(--pm-line); overflow: hidden; }
.pm-bar span { display: block; height: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(var(--p)); transition: transform .8s var(--ease); }
.pm-bar .good { background: var(--pm-good); } .pm-bar .accent { background: var(--pm-accent); } .pm-bar .warn { background: var(--pm-warn); }
.pm-pct { font-weight: 600; text-align: right; }
.pm-pct.good { color: var(--pm-good); } .pm-pct.accent { color: var(--pm-accent); } .pm-pct.warn { color: var(--pm-warn); }
.pm-when { font-size: 11px; color: var(--pm-muted); text-align: right; }

/* Spotlight: hovering a feature card lights the part of the dashboard it describes */
.pm [data-spot] { outline: 2px solid transparent; outline-offset: 4px; transition: opacity .3s ease, outline-color .3s ease, background-color .3s ease, border-color .3s ease; }
.pm.is-spot [data-spot]:not(.lit) { opacity: .18; }
.pm.is-spot [data-spot].lit { outline-color: rgba(20,228,245,.85); }
.pm-tr.lit { background: rgba(20,228,245,.1); border-radius: 8px; outline-offset: 0; }
.pm-pill.lit { background: rgba(20,228,245,.12); color: #fff; outline-offset: 3px; }
.pm-kpis.lit { border-radius: 18px; outline-offset: 6px; }
.feat[data-spot-key] { cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.feat[data-spot-key] .feat-ico { transition: background-color .2s ease, color .2s ease; }
.feat.is-on { border-color: var(--accent-text); box-shadow: var(--shadow-card); }
.feat.is-on .feat-ico { background: var(--navy); }
.feat.is-on .feat-ico svg { stroke: var(--accent); }

/* Build-in, once, when the dashboard scrolls into view (armed only when motion is allowed) */
.pm-armed .pm-bar span { transform: scaleX(0); transition-duration: 1.1s; }
.pm-armed .pm-tr:nth-child(3) .pm-bar span { transition-delay: .08s; }
.pm-armed .pm-tr:nth-child(4) .pm-bar span { transition-delay: .16s; }
.pm-armed .pm-tr:nth-child(5) .pm-bar span { transition-delay: .24s; }
.pm-armed .pm-tr:nth-child(6) .pm-bar span { transition-delay: .32s; }
.pm-armed .pm-spark .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.pm-armed .pm-spark .ar { opacity: 0; transition: opacity .8s ease .9s; }
.pm-play .pm-bar span { transform: scaleX(var(--p)); }
.pm-live .pm-bar span { transition-delay: 0s !important; transition-duration: .8s; }

/* Report viewer: the portal's report dialog over the dashboard, showing today's daily email */
.pm { position: absolute; top: 0; left: 0; } /* out of flow: the panel's height comes from main.js's min-height and the grid stretch, never the unscaled drawing */
.pm-modal { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(4,9,18,.6); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.pm-modal.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.pm-dialog { width: 600px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; transform: translateY(10px) scale(.97); transition: transform .3s var(--ease); }
.pm-modal.open .pm-dialog { transform: none; }
.pm-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 18px; border-bottom: 1px solid var(--pm-line); font-size: 14px; }
.pm-dlg-tools { display: flex; gap: 4px; color: var(--pm-muted); }
.pm-dlg-tools i { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background-color .12s ease, color .12s ease; }
.pm-dlg-tools svg { width: 15px; height: 15px; }
.pm-dlg-body { min-height: 0; overflow: hidden; padding: 14px 14px 0; background: #EBF0F7; }

/* Feature-card views: the portal's own screens, shown while their card is hovered */
.pm-main { position: relative; }
.pm-reports, .pm-phone { opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .45s var(--ease), visibility 0s .3s; }
.pm-reports.open, .pm-phone.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .45s var(--ease); }

/* Reports page */
.pm-reports { position: absolute; inset: 0; z-index: 4; background: var(--pm-bg); padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; transform: translateX(16px); }
.rp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rp-h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.rp-sub { margin: 4px 0 0; font-size: 12px; color: var(--pm-muted); }
.rp-btn { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 8px 14px; border-radius: 8px; background: var(--pm-accent); color: #0B1628; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rp-btn svg { width: 13px; height: 13px; }
.rp-tile { background: var(--pm-surface); border: 1px solid var(--pm-line); border-radius: 14px; padding: 16px 18px 6px; min-height: 0; overflow: hidden; }
.rp-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 15px; }
.rp-chips { display: flex; gap: 6px; white-space: nowrap; overflow: hidden; }
.rp-chips span { padding: 4px 9px; border-radius: 999px; background: var(--pm-raised); color: var(--pm-body); font-size: 10.5px; font-weight: 600; }
.rp-chips .on { background: var(--pm-accent); color: #0B1628; }
.rp-chips .outline { background: none; box-shadow: inset 0 0 0 1px var(--pm-line); }
.rp-tr { display: grid; grid-template-columns: 1.15fr 1fr 58px 1.3fr 28px; gap: 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--pm-line); font-size: 12px; }
.rp-thead { border-top: 0; padding-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); }
.rp-tr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-tr .rp-sent { font-weight: 700; }
.rp-tr .rp-muted { color: var(--pm-muted); }
.rp-badge { justify-self: start; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.rp-badge.good { background: rgba(61,220,151,.14); color: var(--pm-good); } .rp-badge.warn { background: rgba(245,165,36,.14); color: var(--pm-warn); } .rp-badge.bad { background: rgba(255,107,107,.14); color: #FF6B6B; }
.rp-dl { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .15s ease, box-shadow .15s ease; }
.rp-dl svg { width: 15px; height: 15px; }
.rp-dl.press { background: rgba(20,228,245,.16); box-shadow: 0 0 0 2px rgba(20,228,245,.85); }
.rp-file { position: absolute; right: 28px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--pm-raised); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 12px; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .35s var(--ease); }
.rp-file.show { opacity: 1; transform: none; }
.rp-file b { display: block; font-weight: 700; }
.rp-file small { color: var(--pm-muted); font-size: 11px; }
.rp-file > svg { width: 16px; height: 16px; color: var(--pm-good); }
.rp-pdf { width: 32px; height: 38px; border-radius: 5px; background: #E5484D; color: #fff; font-size: 9px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }

/* iPhone with the portal's mobile Overview, centred over the faded dashboard */
.pm-phone { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; background: rgba(4,9,18,.78); }
.ph-body { width: 236px; height: 490px; flex-shrink: 0; padding: 8px; border-radius: 44px; background: #04070D; box-shadow: 0 0 0 1.5px #2B3754, 0 34px 70px rgba(0,0,0,.6); transform: translateY(26px) scale(.98); transition: transform .5s var(--ease); }
.pm-phone.open .ph-body { transform: none; }
.ph-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--pm-bg); }
.ph-status { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 4px 22px 0 26px; font-size: 12px; }
.ph-island { position: absolute; top: 10px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #000; }
.ph-sys { display: flex; gap: 4px; align-items: center; }
.ph-sys svg { width: 15px !important; height: 10px !important; fill: #fff; color: #fff; }
.ph-sys svg + svg { width: 22px !important; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; border-bottom: 1px solid var(--pm-line); }
.ph-top .brand-mark { height: 18px; }
.ph-top .brand-word { font-size: 13px; }
.ph-top > svg { width: 17px; height: 17px; color: var(--pm-body); }
.ph-page { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 9px; }
.ph-org { margin: 0; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--pm-muted); }
.ph-h1 { margin: -6px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ph-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: var(--pm-surface); border: 1px solid var(--pm-line); color: var(--pm-muted); font-size: 8.5px; white-space: nowrap; }
.ph-pill svg { width: 10px !important; height: 10px !important; color: var(--pm-accent); }
.ph-pill b { color: #fff; font-weight: 500; }
.ph-kpi { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--pm-surface); border: 1px solid var(--pm-line); }
.ph-ring { width: 54px !important; height: 54px !important; }
.ph-ring circle[data-att] { transition: stroke-dasharray .8s var(--ease); }
.ph-ring text { fill: #fff; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.ph-kpi > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ph-eyebrow { font-family: var(--mono); font-size: 7px; letter-spacing: .03em; color: var(--pm-muted); white-space: nowrap; overflow: hidden; }
.ph-lead { font-size: 11px; line-height: 1.3; height: 3.9em; font-variant-numeric: tabular-nums; } /* fixed: live figures never reflow the screen */
.ph-delta { font-size: 9px; font-weight: 600; line-height: 1.3; height: 2.6em; }
.ph-delta.good { color: var(--pm-good); } .ph-delta.warn { color: var(--pm-warn); } .ph-delta.flat { color: var(--pm-muted); }
.ph-link { font-size: 9.5px; font-weight: 700; color: var(--pm-accent); }
.ph-tile { padding: 10px 12px 4px; border-radius: 12px; background: var(--pm-surface); border: 1px solid var(--pm-line); }
.ph-h2 { display: block; font-size: 12px; margin-bottom: 2px; }
.ph-svc { display: grid; grid-template-columns: 1fr 34px 28px; gap: 7px; align-items: center; padding: 8px 0; border-top: 1px solid var(--pm-line); font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.ph-svc:first-child { border-top: 0; }
.ph-svc em { font-style: normal; color: #FF8A8A; font-weight: 600; }
.ph-svc i { height: 4px; border-radius: 4px; background: var(--pm-line); overflow: hidden; }
.ph-svc i span { display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p)); }
.ph-svc .pm-mono { text-align: right; font-size: 9.5px; font-weight: 600; }
.ph-svc .good { color: var(--pm-good); } .ph-svc .accent { color: var(--pm-accent); } .ph-svc .warn { color: var(--pm-warn); }
.ph-svc i .good { background: var(--pm-good); } .ph-svc i .accent { background: var(--pm-accent); } .ph-svc i .warn { background: var(--pm-warn); }

/* Email preview: mirrors the API's current compliance_report.html (light card, navy header and verdict band) */
.em { background: #fff; border: 1px solid #DDE5F0; border-radius: 12px; overflow: hidden; color: #0B1628; font-size: 12px; line-height: 1.4; }
.em p { margin: 0; }
.em-mono { font-family: var(--mono); }
.em-head { background: #0B1628; padding: 18px 22px 20px; }
.em-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.em-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; }
.em-logo .brand-mark { height: 22px; }
.em-date { font-size: 10px; letter-spacing: .1em; color: #8FA1BB; white-space: nowrap; }
.em-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #14E4F5; margin-bottom: 8px !important; }
.em-title { font-size: 17px; font-weight: 700; line-height: 1.28; color: #fff; margin-bottom: 14px !important; }
.em-score { display: flex; gap: 18px; align-items: flex-start; background: #111F38; border: 1px solid #23324D; border-radius: 10px; padding: 14px 16px; }
.em-overall { display: flex; flex-direction: column; width: 104px; flex-shrink: 0; }
.em-k { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #8FA1BB; }
.em-pct { font-size: 30px; font-weight: 600; line-height: 1; color: #fff; margin-top: 4px; }
.em-trend { margin-top: 5px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.em-meter { flex: 1; min-width: 0; padding-top: 16px; }
.em-track { height: 8px; border-radius: 5px; background: #23324D; overflow: hidden; }
.em-track span, .em-svc i span { display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p)); }
.em-counts { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; font-size: 11px; color: #B8C6DA; white-space: nowrap; }
.em-counts b { color: #fff; }
.em-counts .bad, .em-counts .bad b { color: #FF8A8A; }
.em-body { padding: 18px 22px 22px; }
.em-h2 { font-size: 13px; font-weight: 700; margin-bottom: 8px !important; }
.em-h2.bad { color: var(--bad-ink); margin-top: 16px !important; }
.em-svc { display: grid; grid-template-columns: 118px 1fr 40px 66px; gap: 10px; align-items: center; padding: 4px 0; }
.em-svc b { font-size: 12px; white-space: nowrap; }
.em-svc i { height: 7px; border-radius: 4px; background: #E9EEF5; overflow: hidden; }
.em-svc .em-mono { text-align: right; font-weight: 700; }
.em-svc small { text-align: right; font-size: 11px; color: #4E6280; white-space: nowrap; }
.em-svc small.bad { color: var(--bad-ink); font-weight: 700; }
.em-group { border: 1px solid #DDE5F0; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.em-group > b { display: block; background: #F5F8FC; padding: 8px 12px; border-bottom: 1px solid #DDE5F0; font-size: 12px; }
.em-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 11px; }
.em-row + .em-row { border-top: 1px solid #F0F4F8; }
.em-row b { flex: 1; min-width: 0; color: var(--ink-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-row small { color: #4E6280; white-space: nowrap; }
.em-st { white-space: nowrap; font-size: 9.5px; font-weight: 700; color: #7A2E24; background: #FFD9D9; padding: 3px 8px; border-radius: 5px; }
.em-btn { display: inline-block; margin-top: 14px; padding: 0 20px; height: 38px; line-height: 38px; border-radius: 8px; background: #0B1628; color: #fff; font-size: 12px; font-weight: 700; }
.em-meta { margin-top: 10px !important; font-size: 11px; color: #4E6280; }
.pm-play .pm-spark .ln { stroke-dashoffset: 0; }
.pm-play .pm-spark .ar { opacity: 1; }

/* Phone: narrower drawing, totals and services stack */
@media (max-width: 767px) {
  .pm { width: 390px; }
  .pm-topbar { padding: 14px 16px; }
  .pm-org { font-size: 11px; }
  .pm-main { padding: 18px 16px 16px; gap: 12px; }
  .pm-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pm-h1 { font-size: 22px; }
  .pm-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pm-hero { grid-column: 1 / -1; }
  .pm-figure.xl { font-size: 42px; }
  .pm-figure { font-size: 26px; }
  .pm-tile { padding: 16px; }
  .pm-services { padding: 16px 16px 6px; }
  .pm-tr { grid-template-columns: 1fr 72px 38px; gap: 12px; }
  .pm-obj, .pm-when { display: none; }
  .pm-modal { padding: 14px; }
  .pm-reports { padding: 18px 16px; gap: 12px; }
  .rp-head { flex-direction: column; gap: 10px; }
  .rp-h1 { font-size: 20px; }
  .rp-tile { padding: 14px 12px 4px; }
  .rp-tile-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rp-chips { max-width: 100%; }
  .rp-tr { grid-template-columns: 1fr 52px 26px; }
  .rp-tr > :nth-child(2), .rp-tr > :nth-child(4) { display: none; }
  .rp-file { right: 16px; left: 16px; bottom: 16px; }
  .em-head { padding: 16px; }
  .em-body { padding: 16px; }
  .em-title { font-size: 15px; }
  .em-score { flex-direction: column; gap: 4px; }
  .em-meter { width: 100%; padding-top: 8px; }
  .em-svc { grid-template-columns: 104px 1fr 36px; }
  .em-svc small, .em-row small { display: none; }
}

/* Below 1280px the mock gets the full width (it would shrink too far beside the feature list) */
@media (max-width: 1279px) {
  .platform-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-list { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) { .feature-list { grid-template-columns: 1fr; } }

/* Why */
.why-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 2px solid var(--navy); }
.why h3 { font-size: var(--fs-h3); font-weight: 800; color: var(--ink); }
.why p { color: var(--ink-muted); }
.why-trust { max-width: 720px; margin-bottom: 48px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }
.badge svg { width: 14px; height: 14px; stroke: var(--accent-text); }
@media (max-width: 1023px) { .why-3 { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .why { padding-top: 20px; gap: 8px; } .why p { font-size: 14px; } .why-trust { margin-bottom: 28px; font-size: 13px; } }

/* Steps */
.steps-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.step .num { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: var(--fs-h3); font-weight: 800; color: #fff; }
.step p { color: var(--on-navy-body); }
@media (max-width: 1023px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .steps-4 { grid-template-columns: 1fr; gap: 20px; }
  .step { display: grid; grid-template-columns: 28px 1fr; gap: 6px 16px; padding-top: 18px; }
  .step .num { font-size: 13px; grid-row: span 2; }
  .step p { font-size: 14px; }
}

/* Stories */
.stories-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story { padding: 36px; display: flex; flex-direction: column; gap: 22px; background: var(--bg); }
.story .quote-mark { width: 32px; height: 24px; fill: var(--accent); }
.story blockquote { font-size: 17px; line-height: 1.6; color: var(--ink-body); }
.story-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story-who b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.story-who small { font-size: 13px; color: var(--ink-muted); }
.story { position: relative; }
.story-link { color: var(--link); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.story-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.story-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.story-link:focus-visible { outline: none; }
.story-link:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.story:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.story:hover .story-link { color: var(--ink); }
.story:hover .story-link svg { transform: translateX(3px); }
.text-link { color: var(--link); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { color: var(--ink); }
.text-link svg { width: 16px; height: 16px; }
@media (max-width: 1023px) { .stories-3 { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .stories-3 { gap: 14px; }
  .story { padding: 24px; gap: 16px; }
  .story .quote-mark { display: none; }
  .story blockquote { font-size: 15px; }
  .avatar { width: 40px; height: 40px; font-size: 13px; }
}

/* Contact */
/* When a navy band sits directly above Contact (today: Getting Started), the contact section switches to the light
   theme so the two stand apart. Put a white section back in between (e.g. Client Stories) and these stop applying. */
.section.on-navy + .contact { background: var(--surface); color: var(--ink-muted); }
.section.on-navy + .contact .eyebrow { color: var(--accent-text); }
.section.on-navy + .contact .contact-copy h2 { color: var(--ink); }
.section.on-navy + .contact .lead { color: var(--ink-muted); }
.section.on-navy + .contact .contact-meta div { color: var(--ink); }
.section.on-navy + .contact .contact-meta svg { stroke: var(--accent-text); }
.section.on-navy + .contact .contact-next-label { color: var(--ink-muted); }
.section.on-navy + .contact .contact-next ol, .section.on-navy + .contact .contact-next li { border-color: var(--line); }
.section.on-navy + .contact .contact-next .num { color: var(--accent-text); }
.section.on-navy + .contact .contact-next b { color: var(--ink); }
.section.on-navy + .contact .contact-next li p { color: var(--ink-muted); }
.section.on-navy + .contact .contact-partner { color: var(--ink-muted); }
.contact-partner + .contact-partner { margin-top: 8px; }
.contact-partner a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* The form stays a navy card on the white section: strongest contrast on the page, with the cyan button as the one thing to press */
/* .contact still carries .on-navy, whose cyan focus ring is 1.6:1 on white: use the dark one outside the form */
.section.on-navy + .contact .contact-copy :focus-visible { outline-color: var(--accent-ink); }
.section.on-navy + .contact .contact-form { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-panel); }
.contact .wrap { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: start; padding-top: 104px; padding-bottom: 104px; }
.contact-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.contact-copy h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.contact-copy .lead { font-size: 18px; max-width: 520px; }
.contact-meta { display: flex; flex-direction: column; gap: 14px; }
/* "What happens next": three short steps so visitors know what sending the form leads to */
.contact-next-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 12px; }
.contact-next ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-navy); }
.contact-next li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-navy); }
.contact-next .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); padding-top: 3px; }
.contact-next b { display: block; font-size: 15px; color: #fff; }
.contact-next li p { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--on-navy-body); }
.contact-partner { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--on-navy-body); }
/* Trial or demo pills the CTA buttons pre-select; a third, partner pilot, appears only from IT-provider links */
.form-choice { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form-choice legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.form-choice label { position: relative; flex: 1 1 140px; cursor: pointer; }
.form-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.form-choice span { display: flex; flex-direction: column; justify-content: center; min-height: 48px; height: 100%; padding: 8px 12px; border: 1px solid rgba(255,255,255,.38); border-radius: var(--r-md); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s; }
.form-choice input:checked + span { border-color: var(--accent); background: rgba(20,228,245,.12); }
.form-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(20,228,245,.35); }
.contact-meta div { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 600; }
.contact-meta svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }
.contact-meta a { padding-block: 2px; margin-block: -2px; }
/* Direct contact card: set apart from the copy above, with the number's two ways in as matching buttons */
.contact-meta { padding: 22px 24px; border: 1px solid var(--line-navy); border-radius: var(--r-lg); background: rgba(255,255,255,.04); }
.contact-meta .contact-next-label { margin-bottom: 0; color: var(--accent); }
.section.on-navy + .contact .contact-meta .contact-next-label { color: var(--accent-text); }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 340px; padding-top: 4px; }
.contact-meta .contact-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; margin: 0; border: 1px solid var(--line-navy-strong); border-radius: var(--r-md); font-size: 14px; font-weight: 600; color: #fff; transition: border-color .2s, color .2s; }
.contact-meta .contact-chip:hover { border-color: var(--accent); }
.contact-meta .contact-chip svg { width: 16px; height: 16px; }
.contact-meta .contact-chip .i-line { fill: none; stroke: var(--accent); }
.contact-meta .contact-chip .i-fill { fill: var(--accent); stroke: none; }
.section.on-navy + .contact .contact-meta { background: var(--accent-tint); border-color: rgba(7,117,132,.22); }
.section.on-navy + .contact .contact-meta .contact-chip { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.section.on-navy + .contact .contact-meta .contact-chip:hover { border-color: var(--accent-text); }
.section.on-navy + .contact .contact-meta .contact-chip .i-line { stroke: var(--accent-text); }
.section.on-navy + .contact .contact-meta .contact-chip .i-fill { fill: var(--accent-text); stroke: none; }
.contact-form { padding: 36px; border-radius: var(--r-xl); background: var(--navy-surface); border: 1px solid var(--line-navy); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.field { height: 48px; border: 1px solid rgba(255,255,255,.38); border-radius: var(--r-md); background: rgba(255,255,255,.06); color: #fff; padding: 0 14px; font-size: 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field::placeholder { color: var(--on-navy-muted); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,228,245,.18); }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238FA1BB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select.field option { color: var(--ink); background: #fff; }
textarea.field { height: 92px; padding: 12px 14px; resize: none; }
.was-validated .field:invalid { border-color: var(--bad); }
.contact-form .btn { width: 100%; height: 54px; }
.contact-form .btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.form-status { font-size: 13px; min-height: 1.2em; }
.form-status.ok { color: var(--good); } .form-status.err { color: var(--bad); }
.form-note { font-size: 12px; line-height: 1.55; color: var(--on-navy-muted); text-align: center; }
.form-note span { display: block; text-wrap: balance; } /* one sentence per line, each wrapping evenly on small phones */
@media (max-width: 1279px) { .contact .wrap { grid-template-columns: 1fr 480px; gap: 48px; } }
@media (max-width: 1179px) { .contact .wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) {
  .contact .wrap { padding-top: 64px; padding-bottom: 64px; gap: 28px; }
  .contact-copy { gap: 14px; padding-top: 0; }
  .contact-copy .lead { font-size: 15px; }
  .contact-meta { order: 3; gap: 10px; }
  .contact-meta div { font-size: 14px; }
  .contact-meta { padding: 18px; }
  .contact-actions { max-width: none; }
  .contact-form { padding: 24px; border-radius: var(--r-lg); gap: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-group { gap: 6px; }
  .field { font-size: 16px; }
  textarea.field { height: 88px; }
}

/* Footer */
footer { background: var(--navy-footer); color: var(--on-navy-muted); }
footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.foot-brand .brand-word { font-size: 20px; color: #fff; }
.foot-brand p { font-size: 14px; }
.foot-trust { font-size: 12.5px; line-height: 1.6; color: var(--on-navy-muted); }
/* LinkedIn: a bordered button to match the badges above, in the footer's muted light colour */
.foot-social { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: var(--on-navy-body); transition: color .15s, border-color .15s, background .15s; }
.foot-social svg { width: 20px; height: 20px; flex-shrink: 0; }
.foot-social .foot-social-in { fill: var(--navy-footer); }
.foot-social:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .eyebrow { color: #fff; font-size: 11px; }
.foot-col a { font-size: 14px; color: var(--on-navy-muted); transition: color .15s; padding-block: 2px; margin-block: -2px; } /* 24px+ tap target, same visual rhythm */
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-navy); font-size: 13px; }
.foot-bottom div { display: flex; gap: 20px; }
.foot-bottom a { padding: 12px 0; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 767px) {
  footer .wrap { padding-top: 48px; padding-bottom: 32px; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-brand { grid-column: span 2; gap: 12px; }
  .foot-brand .brand-word { font-size: 18px; }
  .foot-brand p { font-size: 13px; }
  .foot-bottom { font-size: 12px; padding-top: 20px; }
}

/* ---------- Cookie banner ---------- */
#cookieBanner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-panel); padding: 22px; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
#cookieBanner.cb-visible { opacity: 1; transform: none; pointer-events: auto; }
.cb-text { display: flex; gap: 14px; }
.cb-icon { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--accent-text); margin-top: 2px; }
.cb-heading { font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.cb-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.cb-desc a { color: var(--link); text-decoration: underline; }
.cb-actions { display: flex; gap: 10px; margin-top: 16px; }
.cb-actions button { flex: 1; height: 44px; border-radius: var(--r-md); font-size: 14px; font-weight: 700; transition: transform .16s var(--ease), background .15s; }
.cb-actions button:active { transform: scale(.98); }
.cb-decline { border: 1px solid var(--line-strong); color: var(--ink); }
.cb-decline:hover { background: var(--raised); }
.cb-accept { background: var(--navy); color: #fff; }
.cb-accept:hover { background: var(--navy-raised); }
/* Phones: a slim bottom bar, not a card over the content */
@media (max-width: 767px) {
  #cookieBanner { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; padding: 14px 16px; }
  .cb-icon, .cb-heading { display: none; }
  .cb-actions { margin-top: 10px; }
  .cb-actions button { height: 40px; }
}

/* ---------- Scroll reveal (once, purposeful) ---------- */
/* Hidden only once the inline <head> script has added .js, so content stays visible if JS never runs */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js .reveal-group .reveal-child { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal-group.in .reveal-child { opacity: 1; transform: none; }
.reveal-child:nth-child(2) { transition-delay: 60ms; }
.reveal-child:nth-child(3) { transition-delay: 120ms; }
.reveal-child:nth-child(4) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-child { opacity: 1 !important; transform: none !important; } }

/* ---------- Legal pages ---------- */
.legal-nav { height: var(--nav-h); background: var(--surface); border-bottom: 1px solid var(--line); }
.legal-nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-back { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-muted); padding-block: 2px; margin-block: -2px; }
.nav-back:hover { color: var(--ink); }
.nav-back svg { width: 16px; height: 16px; }
.page-header { background: var(--navy); color: #fff; }
.page-header .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; }
.page-header h1 { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.page-header p { font-size: 14px; color: var(--on-navy-muted); }
.legal-content { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.legal-content h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 44px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 28px 0 10px; }
.legal-content p { color: var(--ink-muted); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--ink-muted); padding-left: 20px; position: relative; }
.legal-content li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-content a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content code { font-family: var(--mono); font-size: .86em; background: var(--raised); padding: 2px 6px; border-radius: 5px; }
.info-box, .warn-box { border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 32px; font-size: 14px; }
.info-box { background: var(--raised); border: 1px solid var(--line); }
.warn-box { background: var(--warn-fill); border: 1px solid rgba(183,121,31,.25); }
.info-box p, .warn-box p { color: var(--ink-body); margin: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th { text-align: left; background: var(--raised); font-weight: 700; color: var(--ink); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-muted); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { background: none; font-weight: 600; white-space: normal; vertical-align: top; } /* row headers in comparison tables read like the first column */
.table-wrap tbody tr:last-child th { border-bottom: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge-row .badge { font-size: 12px; }
.legal-footer { background: var(--navy-footer); color: var(--on-navy-muted); }
.legal-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.legal-footer a { display: inline-block; padding-block: 4px; margin-block: -4px; } /* 24px tap target */
.legal-content p > a:only-child { display: inline-block; padding-block: 3px; margin-block: -3px; } /* a link alone on its line (contact email): 24px+ tap target */
.legal-footer a:hover { color: #fff; }
@media (max-width: 767px) { .page-header .wrap { padding-top: 40px; padding-bottom: 40px; } .page-header h1 { font-size: 30px; } .legal-content { padding-top: 40px; padding-bottom: 56px; } .legal-content h2 { font-size: 21px; } }

/* ==========================================================================
   Case study pages (from the "Case study, template 1440" artboard)
   ========================================================================== */
.ph { background: var(--warn-fill); color: var(--warn-ink); border: 1px dashed rgba(183,121,31,.45); border-radius: 4px; padding: 0 5px; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-navy .ph { background: rgba(245,165,36,.12); color: #F5C46B; border-color: rgba(245,165,36,.4); }
.nav-links a.is-current { color: var(--ink); }
button.text-link { font: inherit; font-weight: 700; font-size: 14px; padding: 0; }

.cs-hero { position: relative; overflow: hidden; }
.cs-glow { position: absolute; right: -200px; top: -240px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(20,228,245,.20) 0%, rgba(20,228,245,0) 65%); pointer-events: none; }
.cs-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: end; padding-top: 72px; padding-bottom: 80px; }
.cs-intro { display: flex; flex-direction: column; gap: 24px; }
.cs-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: var(--on-navy-body); font-size: 14px; font-weight: 600; }
.cs-back:hover { color: #fff; }
.cs-back svg { width: 16px; height: 16px; }
.cs-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cs-meta a { padding-block: 3px; margin-block: -3px; } /* breadcrumb tap target 24px+ */
.cs-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-muted); }
.cs-meta .eyebrow.muted { color: var(--on-navy-muted); }
.cs-hero h1 { font-size: 56px; line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.cs-summary { font-size: 19px; line-height: 1.6; color: var(--on-navy-body); max-width: 640px; }
/* Guides: the summary is the page's short answer, set apart from the headline as a callout */
.cs-answer { padding: 18px 22px 20px 24px; background: rgba(255,255,255,.04); border: 1px solid var(--line-navy); border-left: 3px solid var(--accent); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.cs-answer::before { content: "In short"; display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
/* Guides: the review date sits on its own line under the byline, with no separator */
.cs-meta-date { flex-basis: 100%; }
.cs-facts { padding: 28px; border-radius: var(--r-xl); background: var(--navy-surface); border: 1px solid var(--line-navy); display: flex; flex-direction: column; gap: 20px; }
.cs-logo { height: 64px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.cs-facts dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.cs-facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.cs-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cs-facts dt { color: var(--on-navy-muted); }
.cs-facts dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }

.cs-results { background: var(--surface); border-bottom: 1px solid var(--line); }
.cs-results .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-results .wrap > div { padding: 36px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.cs-results .wrap > div:first-child { padding-left: 0; }
.cs-results .wrap > div:last-child { padding-right: 0; border-right: 0; }
.cs-results .figure { font-size: 44px; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.cs-results .figure .ph { font-size: 32px; }
.cs-results .lbl { font-size: 14px; font-weight: 600; color: var(--ink-muted); }

.cs-body .wrap { display: grid; grid-template-columns: 1fr 360px; gap: 96px; align-items: start; padding-top: 96px; padding-bottom: 96px; }
.cs-prose { display: flex; flex-direction: column; gap: 56px; max-width: 760px; min-width: 0; } /* min-width: 0 lets wide tables scroll inside .table-wrap instead of widening the grid column */
.cs-block { display: flex; flex-direction: column; gap: 18px; }
.cs-block h2 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.cs-block p { font-size: 17px; line-height: 1.7; color: var(--ink-body); }
.cs-quote { margin: 0; padding: 36px 40px; border-radius: var(--r-lg); background: var(--navy); display: flex; flex-direction: column; gap: 20px; }
.cs-quote .quote-mark { width: 32px; height: 24px; fill: var(--accent); }
.cs-quote blockquote { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.cs-quote figcaption { display: flex; align-items: center; gap: 12px; }
.cs-quote .avatar { background: var(--navy-raised); }
.cs-quote b { display: block; font-size: 14px; color: #fff; }
.cs-quote small { font-size: 13px; color: var(--on-navy-body); }
.cs-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 8px; }
.cs-step { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cs-step > span:last-child { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.cs-block h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 8px; }
.cs-block ul { display: flex; flex-direction: column; gap: 10px; }
.cs-block li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.7; color: var(--ink-body); }
.cs-block li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cs-block a:not(.btn), .faq a, .lead a { text-decoration: underline; text-underline-offset: 2px; }
.cs-block a:not(.btn), .faq a { color: var(--link); }

/* FAQ: plain h3 + p pairs, always expanded so every answer is in the rendered text */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.faq > div { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.faq p { color: var(--ink-muted); line-height: 1.65; }
.cs-prose .faq { grid-template-columns: 1fr; gap: 28px; }
@media (max-width: 767px) { .faq { grid-template-columns: 1fr; gap: 28px; } .cs-block li { font-size: 16px; } }

.cs-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); }
.cs-glance { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.cs-glance ul { display: flex; flex-direction: column; gap: 12px; }
.cs-glance li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-body); }
.cs-glance li svg { width: 16px; height: 16px; stroke: var(--accent-text); flex-shrink: 0; }
.cs-glance li a { padding-block: 2px; margin-block: -2px; }
.cs-glance hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.cs-glance small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.cs-glance b { font-size: 15px; color: var(--ink); }
.cs-side-cta { padding: 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; }
.cs-side-cta b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cs-side-cta p { font-size: 14px; line-height: 1.55; }
.cs-side-cta .btn { height: 46px; font-size: 14px; }
.cs-pdf { align-self: flex-start; }

.cs-more { background: var(--surface); border-top: 1px solid var(--line); }
.cs-more .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.cs-more-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cs-more-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.guides-intro { max-width: 760px; }
.cs-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cs-more-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); color: var(--ink); }
.cs-more-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.cs-more-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.cs-more-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cs-more-card:hover .cs-more-link { color: var(--ink); }
.cs-more-card:hover .cs-more-link svg { transform: translateX(3px); }

.cs-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding-top: 96px; padding-bottom: 96px; }
.cs-cta .wrap > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.cs-cta h2 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.cs-cta p { font-size: 17px; line-height: 1.6; }
.cs-cta p.cta-alt { font-size: 15px; }
.cs-cta .btn { flex-shrink: 0; }

.cs-foot { background: var(--navy-footer); color: var(--on-navy-muted); }
.cs-foot .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; }
.cs-foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cs-foot .brand-word { font-size: 20px; color: #fff; }
.cs-foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.cs-foot a { font-size: 14px; color: var(--on-navy-muted); }
.cs-foot a:hover { color: #fff; }

@media (max-width: 1279px) {
  .cs-hero .wrap { grid-template-columns: 1fr 360px; gap: 48px; }
  .cs-hero h1 { font-size: 46px; }
  .cs-body .wrap { gap: 56px; grid-template-columns: 1fr 320px; }
}
@media (max-width: 1023px) {
  .cs-hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .cs-results .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-results .wrap > div { padding: 28px 24px; border-bottom: 1px solid var(--line); }
  .cs-results .wrap > div:nth-child(odd) { padding-left: 0; }
  .cs-results .wrap > div:nth-child(even) { border-right: 0; padding-right: 0; }
  .cs-results .wrap > div:nth-child(n+3) { border-bottom: 0; }
  .cs-body .wrap { grid-template-columns: 1fr; gap: 48px; }
  .cs-side { position: static; }
  .cs-cta .wrap { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 767px) {
  .cs-hero .wrap { padding-top: 40px; padding-bottom: 48px; gap: 28px; }
  .cs-intro { gap: 18px; }
  .cs-hero h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; }
  .cs-summary { font-size: 16px; }
  .cs-answer { padding: 14px 16px 16px 18px; }
  .cs-facts { padding: 20px; border-radius: var(--r-lg); }
  .cs-results .figure { font-size: 32px; }
  .cs-results .figure .ph { font-size: 22px; }
  .cs-results .lbl { font-size: 13px; }
  .cs-body .wrap { padding-top: 56px; padding-bottom: 56px; }
  .cs-prose { gap: 40px; }
  .cs-block h2 { font-size: 26px; }
  .cs-block p { font-size: 16px; }
  .cs-quote { padding: 28px 24px; }
  .cs-quote blockquote { font-size: 19px; }
  .cs-steps { grid-template-columns: 1fr; }
  .cs-more .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .cs-more-head { flex-direction: column; align-items: flex-start; }
  .cs-more-head h2 { font-size: 26px; }
  .cs-more-grid { grid-template-columns: 1fr; gap: 14px; }
  .cs-more-card { padding: 22px; }
  .cs-cta .wrap { padding-top: 64px; padding-bottom: 64px; }
  .cs-cta h2 { font-size: 30px; }
  .cs-cta .btn { width: 100%; }
  .cs-foot-top { flex-direction: column; align-items: flex-start; }
  .cs-foot nav { gap: 18px; }
}

/* "Download as PDF" = print: just the story, on white */
@media print {
  .cs-page #mainNav, .cs-page .mobile-menu, .cs-page #cookieBanner, .cs-page .skip-link, .cs-page .cs-back,
  .cs-page .cs-side-cta, .cs-page .cs-pdf, .cs-page .cs-more, .cs-page .cs-cta, .cs-page .cs-foot { display: none !important; }
  .cs-page .cs-hero, .cs-page .cs-quote { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cs-page .cs-body .wrap { grid-template-columns: 1fr 260px; gap: 32px; padding-top: 32px; }
  .cs-page .cs-side { position: static; }
  .cs-page .cs-block, .cs-page .cs-quote, .cs-page .cs-step { break-inside: avoid; }
}
