/* ==========================================================================
   iCloudEMS — main stylesheet
   1. Tokens  2. Base  3. Layout  4. Type  5. Buttons  6. Header/Nav
   7. Sections & cards  8. Product UI kit  9. Page-specific  10. Footer
   11. Forms  12. Motion  13. Utilities
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url("../fonts/plus-jakarta-sans-latin.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: "Plus Jakarta Sans Fallback";
  src: local("Arial");
  size-adjust: 112.78%;
  ascent-override: 92.03%;
  descent-override: 19.68%;
  line-gap-override: 0%;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0A1628;
  --navy: #051124;
  --ocean: #0052AE;
  --ocean-dark: #00418C;
  --sky: #3A9FE3;
  --mist: #F2F8FE;
  --ash: #4E6680;
  --steel: #8BA4BC;
  --line: #D6E8F5;
  --line-strong: #BDD5EA;
  --white: #FFFFFF;
  --navy-2: #0B1E3A;
  --navy-line: rgba(255, 255, 255, .12);
  --ok: #17885B;
  --ok-bg: #E4F5EC;
  --warn: #B26A00;
  --warn-bg: #FFF3DF;

  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.125rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.55rem + 2.1vw, 3.25rem);
  --fs-stat: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(48px, 6vw, 84px);
  --container: 1200px;
  --header-h: 76px;
  --shadow-ui: 0 1px 2px rgba(10, 22, 40, .06), 0 18px 48px -18px rgba(5, 17, 36, .28);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ocean-dark); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(58, 159, 227, .25); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ocean); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #DCE7F5; }
.section-border { border-top: 1px solid var(--line); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-text-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-even, .split-text-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* 4. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }
p { margin: 0; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ash); max-width: 62ch; }
.section-navy .lead { color: #B9CBE2; }
.muted { color: var(--ash); }
.small { font-size: var(--fs-sm); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow { color: var(--sky); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052AE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--line);
}
.section-navy .check-list li::before { background-color: rgba(58,159,227,.14); border-color: rgba(58,159,227,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A9FE3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1.5px solid transparent;
  font-size: .9375rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-secondary:hover { background: var(--mist); color: var(--ocean-dark); }
.btn-light { background: var(--white); color: var(--ocean); }
.btn-light:hover { background: var(--mist); color: var(--ocean-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: .9375rem; color: var(--ocean); }
.section-navy .text-link { color: #D6E9FF; }
.section-navy .text-link:hover { color: var(--white); }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.microcopy { font-size: var(--fs-sm); color: var(--ash); max-width: 52ch; }

/* 6. Header / navigation --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(5,17,36,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled .header-inner { height: 62px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 40px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand img { height: 34px; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; background: transparent; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ocean); background: var(--mist); }
.nav-link[aria-current="page"] {
  color: var(--ocean);
  background: #E4F1FB;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 0 var(--ocean);
}
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-link[aria-current="page"] .icon { color: var(--ocean); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 560px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -24px rgba(5,17,36,.35); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px;
}
.dropdown[hidden] { display: none; }
.dropdown a { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--mist); }
.dropdown a[aria-current="page"] {
  background: #EEF5FD;
  box-shadow: inset 0 0 0 1px rgba(58, 159, 227, .22);
}
.dropdown a[aria-current="page"] .dd-title { color: var(--ocean); }
.dropdown a[aria-current="page"] .dd-icon {
  background: #E4F1FB;
  border-color: rgba(58, 159, 227, .35);
  color: var(--ocean);
}
.dd-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ocean); }
.dropdown a:hover .dd-icon { background: var(--white); }
.dd-title { display: block; font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.dd-desc { display: block; font-size: var(--fs-sm); color: var(--ash); line-height: 1.4; margin-top: 2px; }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.mobile-panel { display: none; }

@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--white);
    overflow-y: auto; padding: 16px var(--gutter) calc(110px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
  }
  .site-header.is-scrolled + .mobile-panel { top: 62px; }
  .mobile-panel[hidden] { display: none; }
  .mobile-list { list-style: none; margin: 0; padding: 0; display: grid; }
  .mobile-list > li { border-bottom: 1px solid var(--line); }
  .mobile-list a, .mobile-sub-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 4px;
    font-size: 1.0625rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
  }
  .mobile-list a[aria-current="page"],
  .mobile-sub-toggle[aria-current="page"] {
    color: var(--ocean);
    font-weight: 700;
    background: var(--mist);
    border-radius: 8px;
    padding-inline: 12px;
    box-shadow: inset 0 0 0 1px rgba(58, 159, 227, .22);
  }
  .mobile-sub a[aria-current="page"] {
    background: #EEF5FD;
  }
  .mobile-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .mobile-sub { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
  .mobile-sub[hidden] { display: none; }
  .mobile-sub a { padding: 12px 12px; font-size: 1rem; border-radius: 8px; justify-content: flex-start; gap: 12px; }
  .mobile-sub a .dd-icon { width: 34px; height: 34px; }
  .mobile-panel .btn { margin-top: 24px; width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* Universal Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(5, 17, 36, 0.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ash);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: color 0.18s ease, transform 0.15s ease, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-item .icon {
  width: 20px;
  height: 20px;
  color: inherit;
  stroke-width: 1.8;
  transition: transform 0.15s ease;
}
.mobile-nav-item span {
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mobile-nav-item:hover,
.mobile-nav-item:active {
  color: var(--ocean);
  background-color: rgba(0, 82, 174, 0.05);
}
.mobile-nav-item:active .icon {
  transform: scale(0.92);
}
.mobile-nav-call {
  color: var(--ocean);
  font-weight: 700;
}
.mobile-nav-call .icon {
  color: var(--ocean);
}
@media (max-width: 760px) {
  .mobile-bottom-nav { display: grid; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Back to top — sitewide */
.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 95;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(5, 17, 36, .55);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease), background .2s var(--ease);
}
.back-to-top .icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--ocean-dark); }
.back-to-top:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
@media (max-width: 760px) {
  .back-to-top {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-sm); color: var(--ash); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--steel); }
.breadcrumb a { color: var(--ash); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--ocean); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.section-navy .breadcrumb, .section-navy .breadcrumb a { color: #9FB4CF; }
.section-navy .breadcrumb [aria-current] { color: var(--white); }

/* 7. Sections & cards ------------------------------------------------------ */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); position: relative; overflow: hidden; }
.page-hero.section-navy { background: var(--navy); }
/* Tighter, consistent gap from sticky nav → breadcrumb on inner pages */
.page-hero:has(.breadcrumb) {
  padding-top: clamp(20px, 2.5vw, 32px);
}
.page-hero .breadcrumb {
  margin: 0 0 clamp(18px, 2.2vw, 24px);
}
.hero-grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,82,174,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,82,174,.045) 1px, transparent 1px);
  background-size: 24px 24px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.section-navy.hero-grid-bg::before { background-image: linear-gradient(rgba(58,159,227,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(58,159,227,.055) 1px, transparent 1px); }
.page-hero > .container { position: relative; }
.hero-container-single { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.hero-copy { display: grid; gap: 22px; align-content: start; }
.hero-copy .lead { max-width: 68ch; }
.hero-container-single .hero-copy { max-width: 1000px; }
.hero-container-single .hero-copy .lead { max-width: 68ch; }
.page-home .page-hero .hero-copy { max-width: 1000px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--ash); }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--ocean); border: 1px solid var(--line); }
.card-icon .icon { width: 22px; height: 22px; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--ocean); }
.section-navy .card { background: var(--navy-2); border-color: var(--navy-line); }
.section-navy .card p { color: #B9CBE2; }
.section-navy .card-icon { background: rgba(58,159,227,.12); border-color: rgba(58,159,227,.3); color: var(--sky); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: var(--mist); color: var(--ocean); border: 1px solid var(--line); white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); border-color: #BFE6D2; }
.pill-warn { background: var(--warn-bg); color: var(--warn); border-color: #F2D7A6; }
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.chip .icon { width: 16px; height: 16px; color: var(--ocean); }

/* Hero stats + assurance */
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
.hero-stat { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat strong { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: var(--fs-sm); color: var(--ash); font-weight: 600; }
.assurance { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); color: var(--ash); font-weight: 600; }
.assurance li { display: inline-flex; align-items: center; gap: 8px; }
.assurance .icon { width: 16px; height: 16px; color: var(--ocean); }
.trust-line { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.trust-line::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sky); transform: rotate(45deg); }
@media (max-width: 760px) {
  .page-hero {
    padding-block: clamp(20px, 3.5vw, 32px) clamp(32px, 5vw, 48px);
  }
  .page-hero:has(.breadcrumb) {
    padding-top: clamp(12px, 2vw, 16px);
  }
  .page-hero .breadcrumb {
    margin: 0 0 10px;
  }
  .hero-copy {
    gap: 14px;
  }
  .hero-copy h1 {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.12;
  }
  .hero-copy .lead {
    font-size: 0.9375rem;
    line-height: 1.45;
  }
  .hero-copy .btn-row {
    gap: 8px;
    margin-top: 2px;
  }
  /* Solution pages: Keep CTA buttons immediately visible and clear of mobile bottom bar */
  .page-solution .hero-copy .btn-row {
    order: 3;
  }
  .page-solution .hero-copy .hero-proof {
    order: 4;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
  }
  .page-solution .hero-copy .trust-line,
  .page-solution .hero-copy p.small {
    order: 5;
  }
  .hero-proof-item {
    padding: 6px 12px;
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
    border-radius: 8px;
  }
  .hero-proof-item strong {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  .hero-proof-item span {
    font-size: 0.75rem;
    line-height: 1.25;
  }
}
@media (max-width: 520px) {
  .hero-stats { flex-wrap: wrap; gap: 14px 0; }
  .hero-stat { padding-right: 16px; margin-right: 16px; min-width: 0; flex: 1 1 auto; }
  .hero-stat strong { font-size: 1.375rem; white-space: nowrap; }
  .hero-stat span { font-size: .75rem; }
  .hero-copy .btn-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .hero-copy .btn-row .btn {
    width: 100%;
    justify-content: center;
    padding-block: 10px;
  }
}

/* Institution showcase */
.showcase { padding-block: clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line); }
.showcase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; justify-content: space-between; margin-bottom: 24px; }
.showcase-head h2 { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); letter-spacing: -.01em; font-weight: 700; }
.showcase-hint { font-size: var(--fs-xs); color: #3E5670; font-weight: 600; }
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
@supports not (mask-image: linear-gradient(#000, #000)) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.logo-tile {
  flex: 0 0 210px;
  width: 210px;
  height: 84px;
  display: grid;
  place-items: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(5, 17, 36, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.logo-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 6px 16px rgba(5, 17, 36, 0.08);
}
.logo-tile img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-tile:hover img {
  filter: none;
  opacity: 1;
}
@media (max-width: 640px) {
  .marquee { min-height: 84px; }
  .logo-tile {
    flex: 0 0 170px;
    width: 170px;
    height: 72px;
    padding: 10px 16px;
  }
}
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.logo-grid li { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.logo-grid img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.logo-grid span { font-size: var(--fs-sm); font-weight: 600; color: var(--ash); }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticker { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 6px; justify-content: center; font-size: var(--fs-sm); color: var(--ash); font-weight: 600; }
.ticker span { display: inline-flex; align-items: center; gap: 6px; }
.ticker span + span::before { content: "·"; color: var(--steel); margin-right: 6px; }

/* Proof band */
.proof { position: relative; overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.proof-item { padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 36px); display: grid; gap: 12px; align-content: start; position: relative; }
.proof-item + .proof-item { border-left: 1px solid var(--navy-line); }
.proof-num { font-size: var(--fs-stat); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.proof-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--sky); margin-left: 2px; }
.proof-label { font-size: var(--fs-lg); font-weight: 700; color: var(--white); }
.proof-item p { color: #A9BCD6; font-size: .9875rem; }
.proof-item .text-link { color: var(--sky); margin-top: 6px; }
.proof-item .text-link:hover { color: var(--white); }
.proof-meter { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 4px; }
.proof-meter span { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--ocean), var(--sky)); border-radius: inherit; }
.proof-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 36px; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--navy-line); }
}

/* Role tabs — Balanced spacing & consistent card dimensions */
.tabs { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.tablist {
  display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--mist); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; border: 0; background: transparent; scroll-snap-align: start;
  font-size: .9375rem; font-weight: 700; color: var(--ash); cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ocean); box-shadow: 0 1px 3px rgba(5,17,36,.1), 0 0 0 1px var(--line); }
.tabpanel[hidden] { display: none; }
.role-panel {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 2.5vw, 32px); align-items: stretch;
}
.role-copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 0; }
.role-copy h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.35; letter-spacing: -.01em; }
.role-kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.role-panel .app {
  min-height: 380px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.role-panel .app-body {
  flex: 1;
}
@media (max-width: 1024px) {
  .role-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .role-panel .app { min-height: auto; }
}

/* Connected flow rail */
.flow-rail { list-style: none; margin: 0 0 clamp(24px, 3.5vw, 40px); padding: 18px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); counter-reset: flow; }
.flow-rail li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 6px 4px; font-size: .8125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.flow-rail li::after { content: ""; position: absolute; top: 25px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 10px); }
.flow-rail li:last-child::after { display: none; }
.flow-node { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ocean); border: 1px solid var(--line); position: relative; z-index: 1; }
.flow-node .icon { width: 18px; height: 18px; }
.flow-rail li.is-key .flow-node { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
@media (max-width: 1024px) {
  .flow-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .flow-rail li:nth-child(4)::after { display: none; }
}
@media (max-width: 560px) {
  .flow-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-rail li:nth-child(2n)::after { display: none; }
  .flow-rail li:nth-child(4)::after { display: none; }
}

/* Solutions Carousel */
.solutions-carousel-wrapper {
  position: relative;
  width: 100%;
  display: grid;
  gap: 14px;
}
.solutions-carousel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
}
.solutions-carousel-counter .carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(0, 82, 174, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 82, 174, 0.12);
}
.solutions-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 17, 36, 0.06);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 82, 174, 0.28);
}
.carousel-arrow:active:not(:disabled) {
  transform: scale(0.96);
}
.carousel-arrow:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.solutions-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 14px;
  cursor: grab;
}
.solutions-carousel-track::-webkit-scrollbar {
  display: none;
}
.solutions-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}
.solutions-carousel-slide {
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
  display: flex;
}
.solutions-carousel-slide .solution-card {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
@media (max-width: 900px) {
  .solutions-carousel-slide {
    flex: 0 0 calc(85vw - 20px);
    max-width: 440px;
  }
}
@media (max-width: 540px) {
  .solutions-carousel-slide {
    flex: 0 0 calc(90vw - 16px);
    max-width: 360px;
  }
}
.solutions-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 0;
}
.carousel-dot {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.carousel-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: #D3DFEC;
  transform: translate(-50%, -50%) scaleX(0.286);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.28s ease;
}
.carousel-dot.is-active::before {
  transform: translate(-50%, -50%) scaleX(1);
  background: var(--ocean);
}
.carousel-dot:hover:not(.is-active)::before {
  background: var(--ash);
}

/* Solution cards */
.solution-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  gap: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease;
}
.solution-visual {
  height: 172px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease;
}
.solution-body {
  padding: 22px 24px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.solution-proof { font-size: var(--fs-sm); font-weight: 700; color: var(--ocean); }
.solution-best { font-size: var(--fs-sm); color: var(--ash); }
.solution-card .text-link { margin-top: 6px; }

/* Consistent card hover & zoom interactions across the website */
.card,
.card-link,
.solution-card,
.audience-card,
.module,
.quote-card,
.stat-tile,
.office,
.contact-block,
.blog-card,
.hero-proof-item,
.criterion,
.contrast-col,
.form-card,
.arch-tile {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  will-change: transform, box-shadow;
}

.card:hover,
.card-link:hover,
.solution-card:hover,
.audience-card:hover,
.module:hover,
.quote-card:hover,
.stat-tile:hover,
.office:hover,
.contact-block:hover,
.blog-card:hover,
.hero-proof-item:hover,
.criterion:hover,
.contrast-col:hover,
.form-card:hover,
.arch-tile:hover {
  transform: translateY(-6px) scale(1.025) !important;
  border-color: rgba(0, 82, 174, 0.4) !important;
  box-shadow: 0 22px 46px -12px rgba(0, 82, 174, 0.2), 0 8px 24px -6px rgba(5, 17, 36, 0.08) !important;
  position: relative;
  z-index: 2;
}

.section-navy .card:hover,
.section-navy .card-link:hover,
.section-navy .stat-tile:hover,
.section-navy .arch-tile:hover {
  border-color: var(--sky) !important;
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(58, 159, 227, 0.35) !important;
}

.card-icon {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.card:hover .card-icon,
.card-link:hover .card-icon,
.module:hover .card-icon {
  transform: scale(1.08);
}

.card-link:hover h3,
.solution-card:hover h3,
.audience-card:hover h3 {
  color: var(--ocean);
  transition: color 0.2s ease;
}

.card-link:hover .text-link .icon,
.solution-card:hover .text-link .icon,
.audience-card:hover .text-link .icon {
  transform: translateX(5px);
}

.text-link .icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover .solution-visual {
  background: #EDF4FB;
}

/* Audience cards */
.audience-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; }
.audience-art { height: 112px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ocean); }
@media (max-width: 520px) { .audience-card { grid-template-columns: minmax(0, 1fr); } }

/* Walkthrough */
.walkthrough { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.walk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--navy-line); border-radius: var(--r-lg); overflow: hidden; }
.walk-stats div { padding: 20px; display: grid; gap: 4px; }
.walk-stats div + div { border-left: 1px solid var(--navy-line); }
.walk-stats strong { font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.walk-stats span { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: #9FB4CF; font-weight: 700; }
.video-frame {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(160deg, #1b3355, #0b1a30);
  box-shadow: 0 32px 70px -25px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.video-frame > .video-poster {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-width: none;
  object-fit: cover;
}
.video-frame video, .video-frame .video-poster, .video-frame iframe, .video-frame .video-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 0;
  background: var(--navy);
  display: block;
}
.video-play {
  position: absolute; inset: 8px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(5,17,36,0) 40%, rgba(5,17,36,.65) 100%); color: var(--white); font-weight: 700; font-size: .9375rem;
}
.video-play-btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ocean); box-shadow: 0 0 0 10px rgba(255,255,255,.14); transition: transform .2s var(--ease); }
.video-play:hover .video-play-btn { transform: scale(1.06); }
.video-play-btn .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; stroke: none; }
.video-play[hidden] { display: none; }
@media (max-width: 900px) {
  .walkthrough { grid-template-columns: minmax(0, 1fr); }
  .video-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; padding: 6px; }
  .video-frame > .video-poster { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .video-frame video, .video-frame iframe, .video-frame .video-embed { border-radius: 12px; }
}
.walk-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .walk-stats div { padding: 14px; } .walk-stats strong { font-size: 1.5rem; } }
@media (max-width: 400px) {
  .walk-stats-2 { grid-template-columns: minmax(0, 1fr); }
  .walk-stats-2 div + div { border-left: 0; border-top: 1px solid var(--navy-line); }
}

/* Testimonials */
.quote-card { position: relative; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); display: grid; gap: 22px; align-content: space-between; }
.quote-mark { width: 36px; height: 36px; color: var(--sky); }
.stars { display: flex; gap: 3px; color: #E7A93B; }
.stars .icon { width: 16px; height: 16px; }
.quote-card blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
.quote-by { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: var(--white); font-weight: 800; font-size: .9375rem; }
.avatar-leader {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ocean), #051124);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9375rem;
  box-shadow: 0 4px 12px rgba(0, 82, 174, 0.25);
  flex-shrink: 0;
}
.avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--white);
}
.quote-by strong { display: block; font-size: .9875rem; }
.quote-by span { display: block; font-size: var(--fs-sm); color: var(--ash); line-height: 1.45; }
.pull-quote { margin: 0; padding: 22px 26px; border-left: 3px solid var(--sky); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; display: grid; gap: 10px; }
.pull-quote p { font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.55; }
.pull-quote footer { font-size: var(--fs-sm); color: var(--ash); }

/* CTA band */
.cta-band { background: var(--navy); color: #C9D8EC; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,82,174,.55) 0%, rgba(0,82,174,0) 65%); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 6vw, 72px) clamp(16px, 2vw, 24px); }
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin-top: 12px; color: #B9CBE2; max-width: 56ch; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .cta-inner .btn-row,
  .cta-band .btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .cta-inner .btn-row .btn,
  .cta-band .btn-row .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    font-size: clamp(0.78125rem, 3.2vw, 0.875rem);
    gap: 6px;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    min-width: 0;
  }
  .cta-inner .btn-row .btn .icon,
  .cta-band .btn-row .btn .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
}
@media (max-width: 360px) {
  .cta-inner .btn-row,
  .cta-band .btn-row {
    gap: 6px;
  }
  .cta-inner .btn-row .btn,
  .cta-band .btn-row .btn {
    padding: 9px 4px;
    font-size: 0.75rem;
    gap: 4px;
  }
  .cta-inner .btn-row .btn .icon {
    width: 13px;
    height: 13px;
  }
}

/* WhatsApp Button & Footer Enhancements */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(37, 211, 102, 0.45) !important;
  color: var(--white) !important;
  transition: all 0.25s ease;
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15) !important;
  border-color: #25D366 !important;
  color: #25D366 !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.22);
}
.btn-whatsapp .icon {
  width: 18px;
  height: 18px;
  color: #25D366;
  flex-shrink: 0;
}
.btn-hero-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-whatsapp .icon {
  width: 18px;
  height: 18px;
  color: #25D366;
  flex-shrink: 0;
}
.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  margin-top: 36px;
}
.footer-office {
  padding: 16px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 6px;
  font-size: var(--fs-xs);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-office:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}
.footer-office span {
  color: var(--sky);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-office strong {
  color: var(--white);
  font-size: 0.8125rem;
}
.footer-office address {
  font-style: normal;
  color: #9FB4CF;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .footer-offices {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--ocean); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details[open] { border-color: var(--line-strong); }
.faq .faq-a { padding: 0 22px 22px; color: var(--ash); max-width: 70ch; }

/* 8. Product UI kit -------------------------------------------------------- */
.app {
  --app-side: 164px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-ui);
  overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--ink); min-width: 0;
}
.app-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F7FAFE; border-bottom: 1px solid var(--line); }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3DFEC; display: block; }
.app-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); color: var(--ash); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-url .icon { width: 12px; height: 12px; color: var(--ok); }
.app-body { display: grid; grid-template-columns: var(--app-side) minmax(0, 1fr); min-height: 0; }
.app-side { background: var(--navy); color: #9FB4CF; padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.app-side-logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--navy-line); }
.app-side-logo img { height: 22px; width: auto; }
.app-nav { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 7px; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-nav .icon { width: 15px; height: 15px; }
.app-nav.is-active { background: rgba(58,159,227,.16); color: var(--white); }
.app-nav.is-active .icon { color: var(--sky); }
.app-main { padding: 16px 18px 18px; display: grid; gap: 12px; align-content: start; background: #FBFDFF; min-width: 0; container-type: inline-size; }
.gauge-wrap { flex-wrap: wrap; min-width: 0; }
.gauge-wrap > * { min-width: 0; }
@container (max-width: 470px) {
  .app-main .panel-row { grid-template-columns: minmax(0, 1fr); }
  .app-main .panel-row .gauge-wrap { flex-wrap: wrap; }
}
@container (max-width: 330px) {
  .app-main .kpi-value { font-size: 16px; }
  .app-main .kpi-label { font-size: 9px; letter-spacing: .04em; }
}
.app-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.app-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.app-sub { font-size: 11.5px; color: var(--ash); }
.app-user { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ash); }
.app-user i { width: 24px; height: 24px; border-radius: 50%; background: var(--ocean); color: var(--white); font-style: normal; font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.app-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.app-filter { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 11.5px; font-weight: 600; color: var(--ash); }
.app-filter .icon { width: 12px; height: 12px; }
.app-filter.is-on { border-color: #A9CBEF; color: var(--ocean); background: #EEF5FD; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 4px; min-width: 0; }
.kpi-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.kpi-value { font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi-note { font-size: 11px; color: var(--ash); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 10px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 12.5px; }
.panel-head .muted { font-weight: 600; font-size: 11px; }
.panel-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bar-row { display: grid; gap: 5px; }
.bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 10px; font-size: 12px; font-weight: 600; }
.bar-label span { min-width: 0; }
.bar-label b { font-variant-numeric: tabular-nums; flex: none; }
.bar { height: 7px; border-radius: 7px; background: #E8F0F9; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--ocean), var(--sky)); transform-origin: left; }
.bar.bar-lg { height: 10px; }
.bar.is-ok span { background: linear-gradient(90deg, #12795A, #2DB585); }
.gauge { position: relative; width: 112px; aspect-ratio: 1; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .g-track { stroke: #E8F0F9; }
.gauge .g-val { stroke: url(#g-grad); stroke: var(--ocean); stroke-linecap: round; stroke-dasharray: var(--len) 1000; }
.gauge-center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.gauge-center strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-center span { font-size: 10.5px; color: var(--ash); font-weight: 600; margin-top: 3px; }
.gauge-lg { width: 150px; }
.gauge-lg .gauge-center strong { font-size: 30px; }
.gauge-wrap { display: flex; align-items: center; gap: 16px; }
.grade { display: grid; gap: 2px; }
.grade strong { font-size: 30px; font-weight: 800; color: var(--ok); line-height: 1; }
.grade span { font-size: 11px; color: var(--ash); font-weight: 600; }
.stat-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.stat-table th { text-align: left; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); font-weight: 700; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.stat-table th:last-child, .stat-table td:last-child { text-align: right; }
.stat-table td { padding: 9px 0; border-bottom: 1px solid #EEF3F9; font-weight: 600; }
.stat-table tr:last-child td { border-bottom: 0; }
.stat-table .num { font-variant-numeric: tabular-nums; font-weight: 800; }
.stat-table .ok { color: var(--ok); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--sky); vertical-align: middle; }
.status-dot.ok { background: var(--ok); }
.status-dot.warn { background: #E2A23B; }
.chart { display: grid; gap: 6px; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 74px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.chart-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sky), var(--ocean)); opacity: .85; transform-origin: bottom; }
.chart-bars span:last-child { opacity: 1; }
.chart-axis { display: flex; gap: 10px; font-size: 10.5px; color: var(--ash); font-weight: 600; }
.chart-axis span { flex: 1; text-align: center; }
.funnel { display: grid; gap: 8px; }
.funnel-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.funnel-step .bar { grid-column: 1 / -1; height: 26px; border-radius: 6px; }
.funnel-step .bar span { border-radius: 6px; }
.funnel-name { font-size: 12px; font-weight: 600; }
.funnel-val { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.big-figure { display: flex; align-items: baseline; gap: 6px; }
.big-figure strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.trend-down { color: var(--ok); font-weight: 800; }
.app-compact { --app-side: 0px; min-height: 380px; }
.app-compact .app-side { display: none; }
.app-compact .app-body { grid-template-columns: minmax(0, 1fr); height: 100%; }
.app-compact .app-main { padding: 18px 20px; gap: 14px; height: 100%; }
@media (max-width: 640px) {
  .app { --app-side: 0px; font-size: 12px; }
  .app-side { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-main { padding: 12px; grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 9px; }
  .kpi-value { font-size: 16px; }
  .kpi-label { font-size: 9px; letter-spacing: .04em; }
  .panel-row { grid-template-columns: minmax(0, 1fr); }
  .gauge { width: 92px; }
  .mini-row { grid-template-columns: minmax(0, 1fr) auto; white-space: normal; }
  .mini-row .bar { grid-column: 1 / -1; }
}

/* Mini visuals inside solution cards */
.mini { display: grid; gap: 8px; height: 100%; align-content: center; font-size: 11.5px; }
.mini .bar { height: 6px; }
.mini-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) 34px; white-space: nowrap; gap: 8px; align-items: center; font-weight: 600; color: var(--ash); }
.mini-row b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.mini-steps { display: flex; align-items: center; gap: 4px; }
.mini-steps span { flex: 1; height: 30px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ocean); }
.mini-steps span.done { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
.mini-steps .icon { width: 14px; height: 14px; }
.mini-chain { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.mini-chain span { padding: 7px 10px; border-radius: 7px; background: var(--white); border: 1px solid var(--line); font-weight: 800; color: var(--ocean); font-size: 12px; }
.mini-chain span.end { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
.mini-chain i { color: var(--steel); font-style: normal; font-weight: 700; }

/* Hub diagram */
.hub { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.hub svg.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines circle { fill: none; stroke: var(--line); }
.hub-lines line { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 12px;
  box-shadow: 0 0 0 10px rgba(0,82,174,.08), 0 0 0 22px rgba(0,82,174,.04), 0 24px 48px -20px rgba(5,17,36,.6);
}
.hub-core img { width: 78%; height: auto; }
.hub-core span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.hub-node {
  position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; width: 112px; text-align: center;
  font-size: .8125rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.hub-node i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ocean); box-shadow: 0 10px 24px -16px rgba(5,17,36,.35); }
.hub-node i .icon { width: 22px; height: 22px; }
@media (max-width: 520px) {
  .hub-node { width: 84px; font-size: .6875rem; }
  .hub-node i { width: 38px; height: 38px; }
  .hub-node i .icon { width: 18px; height: 18px; }
  .hub-core span { font-size: 9px; }
}

/* Module list */
.module { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.module h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.module p { color: var(--ash); font-size: .9875rem; }

/* Architecture tiles */
.arch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--r-lg); overflow: hidden; }
.arch-tile { background: var(--navy); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 10px; align-content: start; }
.arch-tile .arch-value { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.arch-tile h3 { font-size: 1.0625rem; color: var(--white); }
.arch-tile p { color: #A9BCD6; font-size: .9375rem; }
.arch-tile .card-icon { background: rgba(58,159,227,.12); border-color: rgba(58,159,227,.3); color: var(--sky); }
@media (max-width: 1024px) { .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .arch-grid { grid-template-columns: minmax(0, 1fr); } }

/* 9. Page-specific --------------------------------------------------------- */
/* Hero stat cards (solution pages) */
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof-item { display: grid; gap: 2px; padding: 14px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); min-width: 160px; }
.hero-proof-item strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ocean); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-proof-item span { font-size: var(--fs-sm); font-weight: 600; color: var(--ash); }
.section-navy .hero-proof-item { background: rgba(255,255,255,.04); border-color: var(--navy-line); }
.section-navy .hero-proof-item strong { color: var(--white); }
.section-navy .hero-proof-item span { color: #A9BCD6; }

/* Problem statement */
.problem { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.problem-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--warn); display: inline-flex; gap: 8px; align-items: center; }
.problem-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
@media (max-width: 900px) { .problem { grid-template-columns: minmax(0, 1fr); } }

/* Audit timeline (accreditation) */
.cycle { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: 22px; display: grid; gap: 18px; }
.cycle-row { display: grid; gap: 8px; }
.cycle-row-head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 700; }
.cycle-track { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.cycle-track span { height: 28px; border-radius: 5px; background: #EDF2F8; }
.cycle-track.rush span:nth-child(n+11) { background: #E9A23B; }
.cycle-track.continuous span { background: linear-gradient(180deg, var(--sky), var(--ocean)); opacity: .9; }
.cycle-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ash); font-weight: 600; }

/* Steps (3-step workflow) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; display: grid; gap: 10px; background: var(--white); position: relative; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; color: var(--ocean); }
.steps h3 { font-size: 1.0625rem; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Criteria list */
.criteria { display: grid; gap: 12px; }
.criterion { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.criterion b { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--ocean); font-size: .875rem; }

/* Evaluation pipeline (interactive) */
.pipeline { display: grid; gap: 22px; }
.pipeline-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.pipeline-steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: var(--navy-line); }
.pipeline-steps::after { content: ""; position: absolute; top: 27px; left: 8%; height: 2px; width: calc(var(--progress, 0) * 84%); background: linear-gradient(90deg, var(--ocean), var(--sky)); transition: width .45s var(--ease); }
.pipeline-step button {
  position: relative; z-index: 1; width: 100%; display: grid; justify-items: center; gap: 10px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  color: #9FB4CF; font-weight: 700; font-size: .875rem; text-align: center; line-height: 1.3;
}
.pipeline-step .p-node { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-2); border: 1.5px solid var(--navy-line); color: #9FB4CF; transition: all .25s var(--ease); }
.pipeline-step .p-node .icon { width: 22px; height: 22px; }
.pipeline-step button[aria-selected="true"] { color: var(--white); }
.pipeline-step button[aria-selected="true"] .p-node { background: var(--ocean); border-color: var(--sky); color: var(--white); box-shadow: 0 0 0 6px rgba(58,159,227,.18); }
.pipeline-step.is-done .p-node { border-color: var(--sky); color: var(--sky); }
.pipeline-step .p-num { font-size: 11px; letter-spacing: .12em; color: var(--sky); }
.pipeline-detail { border: 1px solid var(--navy-line); border-radius: var(--r-lg); background: var(--navy-2); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; min-height: 128px; }
.pipeline-detail[hidden] { display: none; }
.pipeline-detail h3 { color: var(--white); }
.pipeline-detail p { color: #B9CBE2; margin-top: 6px; }
.pipeline-detail .card-icon { width: 56px; height: 56px; }
@media (max-width: 760px) {
  .pipeline-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .pipeline-steps::before, .pipeline-steps::after { display: none; }
  .pipeline-detail { grid-template-columns: minmax(0, 1fr); }
}

/* Paper vs digital contrast */
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contrast-col { border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; align-content: start; }
.contrast-col h3 { font-size: 1rem; }
.contrast-old { background: #FBF6EE; border: 1px solid #F0DEC2; }
.contrast-old h3 { color: var(--warn); }
.contrast-new { background: var(--mist); border: 1px solid var(--line); }
.contrast-new h3 { color: var(--ocean); }
.contrast ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.contrast li { display: flex; gap: 10px; align-items: flex-start; }
.contrast li .icon { width: 18px; height: 18px; margin-top: 3px; }
.contrast-old li .icon { color: var(--warn); }
.contrast-new li .icon { color: var(--ocean); }
@media (max-width: 560px) { .contrast { grid-template-columns: minmax(0, 1fr); } }

/* Lifecycle journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.journey li { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 4px; font-weight: 700; font-size: .9375rem; }
.journey li::after { content: ""; position: absolute; top: 31px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: linear-gradient(90deg, var(--ocean), var(--sky)); }
.journey li:last-child::after { display: none; }
.journey .j-node { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ocean); box-shadow: 0 12px 28px -18px rgba(5,17,36,.4); }
.journey .j-node .icon { width: 26px; height: 26px; }
.journey li.is-end .j-node { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
@media (max-width: 900px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 360px; }
  .journey li { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; padding: 0 0 22px; }
  .journey li::after { top: 64px; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--ocean), var(--sky)); }
}

/* Separate systems vs one pipeline */
.silos { display: grid; gap: 16px; }
.silo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.silo { border: 1.5px dashed #E2B66B; background: #FFFBF4; border-radius: var(--r); padding: 16px; display: grid; gap: 8px; justify-items: start; font-weight: 700; font-size: .9375rem; }
.silo .icon { color: var(--warn); }
.silo-gap { text-align: center; font-size: var(--fs-sm); font-weight: 700; color: var(--warn); }
.one-pipe { border: 1px solid var(--ocean); background: var(--mist); border-radius: var(--r); padding: 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; font-weight: 700; color: var(--ocean); }
@media (max-width: 560px) { .silo-row { grid-template-columns: minmax(0, 1fr); } }

/* Student record (360°) */
.record { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.record-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ocean); color: var(--white); display: grid; place-items: center; align-content: center; text-align: center; gap: 6px; font-weight: 800; font-size: 1rem; line-height: 1.25; box-shadow: 0 0 0 12px rgba(0,82,174,.08); }
.record-core .icon { width: 30px; height: 30px; }
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.record-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed #9EBCD8;
  animation: rotate-slow 40s linear infinite;
  pointer-events: none;
}
.record-ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocean);
  box-shadow: 0 0 8px rgba(0, 82, 174, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .record-ring { animation: none; }
}
.record-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; font-weight: 700; font-size: .875rem; }
.record-node i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ocean); box-shadow: 0 10px 24px -16px rgba(5,17,36,.35); }
.record-node i .icon { width: 22px; height: 22px; }

/* OBE chain */
.obe-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 480px; margin-inline: auto; }
.obe-chain li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; align-items: center; position: relative; padding-bottom: 20px; }
.obe-chain li::after { content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 2px; background: linear-gradient(180deg, #3A9FE3, #0052AE); }
.obe-chain li:last-child { padding-bottom: 0; }
.obe-chain li:last-child::after { display: none; }
.obe-chain .obe-node,
.obe-node {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: #F0F6FC;
  border: 1.5px solid #D0E2F5;
  color: var(--ocean);
  box-shadow: 0 4px 14px -6px rgba(5,17,36,.08);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  flex-shrink: 0;
  line-height: 0 !important;
  font-size: 0 !important;
}
.obe-chain .obe-node .icon,
.obe-node .icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
  flex: none;
  stroke-width: 1.85;
}
.obe-chain .obe-node-co,
.obe-node-co {
  background: #F0F6FD !important;
  border-color: #D2E4F8 !important;
  color: #0052AE !important;
}
.obe-chain .obe-node-po,
.obe-node-po {
  background: #EEF4FD !important;
  border-color: #CADFF8 !important;
  color: #004494 !important;
}
.obe-chain .obe-node-pso,
.obe-node-pso {
  background: #EDF7F9 !important;
  border-color: #C8E8EB !important;
  color: #0D7D8A !important;
}
.obe-chain .obe-node-attain,
.obe-node-attain {
  background: #EBF4FC !important;
  border-color: #C4DEF7 !important;
  color: #0060C7 !important;
}
.obe-chain .obe-node-audit,
.obe-node-audit {
  background: linear-gradient(135deg, #0052AE 0%, #003673 100%) !important;
  border-color: #0052AE !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px -8px rgba(0,82,174,.42);
}
.obe-chain .obe-node-audit .icon,
.obe-node-audit .icon {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
.obe-chain li:hover .obe-node {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px -8px rgba(0,82,174,.28);
}
.obe-chain strong { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.obe-chain li > div > span { display: block; font-size: var(--fs-sm); color: var(--ash); margin-top: 2px; }
.section-navy .obe-node { background: var(--navy-2); border-color: var(--navy-line); color: var(--sky); }
.section-navy .obe-chain li.is-end .obe-node { background: var(--ocean); color: var(--white); border-color: var(--sky); }
.section-navy .obe-chain li > div > span { color: #A9BCD6; }

/* Region map (industry) */
.region { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.region svg { width: 100%; height: auto; }
.region .r-dot { fill: #D6E3F1; }
.region .r-route { fill: none; stroke: var(--ocean); stroke-width: 2; stroke-dasharray: 5 6; }
.region .r-pin { fill: var(--ocean); }
.region .r-pin-ring { fill: rgba(0,82,174,.14); }
.region .r-label { font: 700 15px var(--font); fill: var(--ink); }
.region .r-sub { font: 600 12px var(--font); fill: var(--ash); }
.region .r-country { font: 800 12px var(--font); fill: var(--steel); letter-spacing: .18em; }

/* Stat tiles (about) */
.stat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.stat-tile { padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; }
.stat-tile + .stat-tile { border-left: 1px solid var(--line); }
.stat-tile strong { font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--ocean); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-tile span { font-weight: 600; color: var(--ash); }
@media (max-width: 900px) {
  .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile:nth-child(3) { border-left: 0; }
  .stat-tile:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Offices */
.office { display: grid; gap: 10px; align-content: start; }
.office-badge { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); }
.office h3 { font-size: 1.0625rem; }
.office address { font-style: normal; color: var(--ash); }

/* Teams */
.teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.teams li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-weight: 700; }
.teams li .card-icon { flex: none; }
@media (max-width: 1024px) { .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .teams { grid-template-columns: minmax(0, 1fr); } }

/* Contact centre */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-aside { display: grid; gap: 16px; }
.contact-block { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: 22px; display: grid; gap: 12px; }
.contact-block h2 { font-size: 1.0625rem; letter-spacing: 0; }
.contact-line { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.contact-line .icon { color: var(--ocean); margin-top: 3px; }
.contact-line a { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-line a:hover { text-decoration: underline; }
.contact-line small { display: block; color: var(--ash); font-size: var(--fs-sm); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ocean); background: var(--white); }
.social:hover { background: var(--mist); }
.social .icon { width: 18px; height: 18px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } .contact-aside { order: -1; } }

/* Demo page */
.demo-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.expect li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.expect li strong { display: block; font-size: 1rem; }
.expect li > div span { display: block; color: var(--ash); font-size: .9375rem; }
@media (max-width: 960px) { .demo-layout { grid-template-columns: minmax(0, 1fr); } }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 5vw, 64px) var(--section); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-sm); }
.legal-toc summary { display: none; }
.legal-toc-title { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ash); text-decoration: none; text-transform: capitalize; line-height: 1.4; }
.legal-toc a:hover { color: var(--ocean); }
.legal-toc a.is-active { color: var(--ocean); border-left-color: var(--ocean); font-weight: 700; }
.legal-body { max-width: 74ch; font-size: 1rem; line-height: 1.75; color: #22334B; }
.legal-body h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); text-transform: none; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 1em; }
.legal-body p > br:first-child { display: none; }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: var(--fs-sm); color: var(--ash); font-weight: 600; }
.legal-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.legal-offices .contact-block { font-size: .9375rem; }
.legal-offices h3 { font-size: 1rem; }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 0; background: var(--white); }
  .legal-toc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
  .legal-toc summary::-webkit-details-marker { display: none; }
  .legal-toc[open] summary .icon { transform: rotate(180deg); }
  .legal-toc .legal-toc-title { display: none; }
  .legal-toc ol { margin: 0 16px 14px; }
  .legal-offices { grid-template-columns: minmax(0, 1fr); }
}

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #A9BCD6; font-size: .9375rem; border-top: 1px solid var(--navy-line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(24px, 3vw, 36px) 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 42px; width: auto; }
.about-logo { height: 52px; width: auto; }
.story-logo { display: inline-block; background: var(--white); padding: 8px 12px; border-radius: 8px; }
.story-logo img { height: 48px; width: auto; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D8EC; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--navy-line); color: #C9D8EC; text-decoration: none; }
.footer-socials a:hover { background: rgba(255,255,255,.06); color: var(--white); text-decoration: none; }
.footer-socials .icon { width: 17px; height: 17px; }
.footer-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 28px; border-top: 1px solid var(--navy-line); }
.footer-office { display: grid; gap: 4px; }
.footer-office span { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.footer-office strong { color: var(--white); font-weight: 700; font-size: .9375rem; }
.footer-office address { font-style: normal; font-size: var(--fs-sm); line-height: 1.55; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--navy-line); font-size: var(--fs-sm); }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-offices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* 11. Forms ---------------------------------------------------------------- */
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 60px -40px rgba(5,17,36,.45); scroll-margin-top: calc(var(--header-h) + 20px); }
#video-section-id, #walkthrough, #demo-form, #contact-form { scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card h2 { font-size: 1.375rem; margin-bottom: 6px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 22px;
  align-items: start;
}
.field {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.field-full { grid-column: 1 / -1; }
.field > label,
.field > legend {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin: 0;
  line-height: 1.3;
  display: block;
  min-height: 0;
}
.field .req { color: var(--ocean); margin-left: 2px; }
.field .opt { color: var(--ash); font-weight: 500; white-space: nowrap; }
.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select {
  height: 48px;
}
.field textarea { height: auto; min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(58,159,227,.25); }
.field [aria-invalid="true"] { border-color: #C2410C; box-shadow: 0 0 0 1px #C2410C; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(194, 65, 12, .22); }
.field-error {
  font-size: var(--fs-sm);
  color: #B4360A;
  font-weight: 600;
  line-height: 1.25;
  min-height: 0;
  margin: 0;
}
.field-error:empty {
  display: none;
}
fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  grid-template-rows: auto auto;
}
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check-opt { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.check-opt:hover { border-color: var(--steel); }
.check-opt input { width: 18px; height: 18px; min-height: 0; height: 18px; margin: 0; accent-color: var(--ocean); flex: none; }
.check-opt:has(input:checked) { border-color: var(--ocean); background: var(--mist); }
.form-foot { display: grid; gap: 12px; margin-top: 22px; }
.form-note { font-size: var(--fs-sm); color: var(--ash); }
.form-success { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: var(--r); background: var(--ok-bg); border: 1px solid #BFE6D2; color: #0E5A3D; }
.form-success[hidden],
form[hidden] { display: none !important; }
.form-success .icon { width: 28px; height: 28px; }
.form-success strong { font-size: 1.125rem; color: #0E5A3D; }
@media (max-width: 640px) { .form-grid, .check-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* 12. Motion ---------------------------------------------------------------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .page-hero .reveal { opacity: 1; transform: none; } /* above-the-fold content is never hidden */
.js .anim-bars .bar span { transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.js .anim-bars.is-in .bar span { transform: scaleX(1); }
.js .anim-bars .chart-bars span { transform: scaleY(0); transition: transform .9s var(--ease); }
.js .anim-bars.is-in .chart-bars span { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Inline row cards (walkthrough link, careers link) stack on small screens */
@media (max-width: 860px) {
  .card[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Clip positioned diagram nodes that sit near edges on narrow viewports */
@media (max-width: 520px) {
  .hub, .record { overflow: hidden; }
}

/* 13. Utilities ------------------------------------------------------------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: clamp(32px, 4vw, 48px); }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-lg { display: grid; gap: 28px; align-content: start; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
