/* VisionX AI site styles. Uses MDS semantic tokens from tokens.css.
   Dark sections set data-theme="dark", which flips MDS semantics for that subtree. */

:root {
  --site-max: 1240px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --brand-gradient: linear-gradient(90deg, var(--metacomp-primary-500) 0%, var(--metacomp-secondary-500) 100%);
  --brand-gradient-dark: linear-gradient(90deg, var(--metacomp-primary-200) 0%, var(--metacomp-secondary-300) 100%);
  --dark-bg: radial-gradient(1200px 600px at 85% 10%, rgba(55,158,154,.22), transparent 60%),
             radial-gradient(900px 500px at 0% 100%, rgba(127,103,190,.25), transparent 60%),
             linear-gradient(180deg, var(--metacomp-primary-990) 0%, var(--metacomp-primary-950) 100%);
  --ok: var(--conditions-success-500);
  --warn: var(--conditions-error-500);
  --crit: var(--conditions-critical-500);
  --bad: var(--conditions-danger-500);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-brand);
  letter-spacing: var(--font-letter-spacing);
  font-size: 16px; line-height: 1.6;
  color: var(--text);
  background: var(--surface-white);
}
h1, h2, h3, h4 { margin: 0; color: var(--text-page-title); font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
a { color: var(--text-link); }
img { max-width: 100%; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--site-max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--surface-white); padding: 8px 16px; border-radius: var(--radius-m); }
.skip-link:focus { left: 16px; }
.muted { color: var(--text-remarks); }
.small { font-size: 13px; line-height: 20px; }
.center { text-align: center; }

/* ---------- Buttons, tags, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--radius-full);
  font: 600 14px/1 var(--font-brand); letter-spacing: .2px; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-primary { background: var(--metacomp-primary-800); color: #fff; }
.btn-primary:hover { background: var(--metacomp-primary-700); color: #fff; }
[data-theme="dark"] .btn-primary { background: #fff; color: var(--metacomp-primary-900); }
[data-theme="dark"] .btn-primary:hover { background: var(--metacomp-primary-100); color: var(--metacomp-primary-900); }
.btn-ghost { background: transparent; color: var(--text-page-title); border-color: var(--border-subtle, var(--neutral-200)); }
.btn-ghost:hover { background: var(--surface-item-hover); color: var(--text-page-title); }
[data-theme="dark"] .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; letter-spacing: .4px; white-space: nowrap; }
.tag-sample { background: var(--surface-item-hover); color: var(--text-remarks); }
.tag-live { background: var(--conditions-success-100); color: var(--conditions-success-700, #166b1d); }
.tag-early { background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
[data-theme="dark"] .tag-sample { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
[data-theme="dark"] .tag-early { background: rgba(208,188,255,.15); color: var(--metacomp-primary-200); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-full); background: var(--surface-white); border: 1px solid var(--border-minimal); font-size: 13px; color: var(--text-description); }
.chip-warn { border-color: var(--warn); color: var(--conditions-error-700, #8a6219); }
.chip-crit { border-color: var(--crit); color: var(--conditions-critical-700, #96491f); }
.chip-danger { border-color: var(--bad); color: var(--conditions-danger-600); }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-success { background: var(--ok); box-shadow: 0 0 0 4px rgba(35,177,47,.15); }
.dot-warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(255,186,48,.18); }
.dot-danger { background: var(--bad); box-shadow: 0 0 0 4px rgba(245,61,61,.15); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; flex: none; align-items: center; color: #111; }
.brand-logo { height: 28px; width: 197px; display: block; overflow: visible; }
.brand:hover { opacity: .85; }
.main-nav { position: relative; display: flex; gap: 4px; flex: 1; }
.main-nav > a, .main-nav > .nav-trigger { position: relative; z-index: 1; }
.nav-pill { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; border-radius: var(--radius-m); background: var(--surface-item-hover); opacity: 0; pointer-events: none; transition: transform .38s cubic-bezier(.22,1,.36,1), width .38s cubic-bezier(.22,1,.36,1), opacity .2s; }
.nav-pill.show { opacity: 1; }
.nav-pill.snap { transition: opacity .2s; }
.site-header.on-dark .nav-pill { background: rgba(255,255,255,.1); }
.main-nav a, .lang-toggle {
  padding: 8px 12px; border-radius: var(--radius-m); font-size: 14px; color: var(--text); text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-family: inherit; letter-spacing: inherit;
}
.main-nav a:hover { text-decoration: none; color: var(--text); }
.lang-toggle:hover { background: var(--surface-item-hover); }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; background: none; border-radius: var(--radius-m); font: 14px/20px var(--font-brand); letter-spacing: inherit; color: var(--text); cursor: pointer; white-space: nowrap; }
.nav-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }

.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-trigger.is-active { font-weight: 600; }
.site-header.on-dark .nav-trigger { color: rgba(255,255,255,.88); }
.site-header.on-dark .nav-trigger:hover, .site-header.on-dark .nav-trigger[aria-expanded="true"] { color: #fff; }

/* Mega menu panels: white on light header, dark glass over the dark hero */
.mega-drop { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }
.mega-drop-h { position: relative; height: 0; overflow: hidden; background: var(--surface-white); transition: height .48s cubic-bezier(.22,1,.36,1), box-shadow .3s; pointer-events: auto; }
.site-header.mega-open .mega-drop-h { border-bottom: 1px solid var(--border-minimal); box-shadow: 0 40px 60px -40px rgba(15,5,45,.35); }
.mega { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; transform: translate3d(calc(var(--o, 1) * 100%), 0, 0); transition: transform .52s cubic-bezier(.22,1,.36,1), opacity .38s cubic-bezier(.22,1,.36,1), visibility 0s .52s; }
.mega.on { opacity: 1; visibility: visible; transform: none; transition: transform .52s cubic-bezier(.22,1,.36,1), opacity .38s cubic-bezier(.22,1,.36,1) .06s, visibility 0s; }
.mega.instant { transition: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding-top: 24px; padding-bottom: 28px; }
.mega-label { font-size: 12px; color: var(--text-remarks); margin-bottom: 12px; padding-left: 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mm-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius-l); color: var(--text); text-decoration: none; transition: background .2s; }
.mm-item:hover { background: var(--surface-item-hover); text-decoration: none; color: var(--text); }
.mm-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.mm-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-title { font-size: 14px; font-weight: 600; color: var(--text-page-title); }
.mm-desc { font-size: 13px; line-height: 18px; color: var(--text-remarks); }
.mega-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--dark-bg); color: #fff; text-decoration: none; min-height: 180px; transition: transform .25s var(--ease); }
.mega-card:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.mega-kicker { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-300); }
.mega-card strong { font-size: 20px; line-height: 1.3; }
.mega-card > span:not(.mega-kicker):not(.mega-link) { font-size: 13px; color: rgba(255,255,255,.7); }
.mega-link { margin-top: auto; font-size: 14px; font-weight: 600; }
.site-header.on-dark.mega-open { background: #140a3c; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.08); }
.site-header.on-dark .mega-drop-h { background: #140a3c; }
.site-header.on-dark.mega-open .mega-drop-h { border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 40px 60px -30px rgba(5,0,20,.7); }
.site-header.on-dark .mega-label, .site-header.on-dark .mm-desc { color: rgba(255,255,255,.55); }
.site-header.on-dark .mm-item, .site-header.on-dark .mm-title { color: #fff; }
.site-header.on-dark .mm-item:hover { background: rgba(255,255,255,.07); }
.site-header.on-dark .mm-icon { background: rgba(208,188,255,.14); color: var(--metacomp-primary-200); }
.site-header.on-dark .mega-card { background: linear-gradient(135deg, rgba(127,103,190,.35), rgba(55,158,154,.3)); border: 1px solid rgba(255,255,255,.12); }
.site-header.menu-open .mobile-nav .mm-item, .site-header.menu-open .mobile-nav .mm-title { color: var(--text-page-title); }
.site-header.menu-open .mobile-nav .mm-desc { color: var(--text-remarks); }
.site-header.menu-open .mobile-nav .mm-icon { background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.site-header.menu-open .mobile-nav .mm-item:hover { background: var(--surface-item-hover); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: var(--radius-full); }
.lang-toggle .globe { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle[aria-expanded="true"] { background: var(--surface-item-hover); }
.site-header.on-dark .lang-toggle[aria-expanded="true"] { background: rgba(255,255,255,.1); }
/* Over the dark hero the menu becomes dark glass so it reads as part of the header */
.site-header.on-dark .lang-list { background: rgba(24,12,62,.88); border-color: rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(5,0,20,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.on-dark .lang-list li { color: rgba(255,255,255,.85); }
.site-header.on-dark .lang-list li:hover, .site-header.on-dark .lang-list li:focus { background: rgba(255,255,255,.08); }
.site-header.on-dark .lang-list .lang-list-title { color: rgba(255,255,255,.45); }
.site-header.on-dark .lang-list .lang-list-title:hover { background: none; }
.site-header.on-dark .lang-list li[aria-selected="true"] { color: #fff; }
.site-header.on-dark .lang-list li[aria-selected="true"]::after { filter: brightness(0) invert(1); }
.lang-menu { position: relative; }
.lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 200; min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: var(--radius-l); box-shadow: 0 12px 32px rgba(15,5,45,.12);
  font-size: 14px;
}
.lang-list { opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
.lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: none; transition: opacity .22s cubic-bezier(.22,1,.36,1), transform .22s cubic-bezier(.22,1,.36,1), visibility 0s; }
.lang-list li { transition: background .15s; }
.lang-list .lang-list-title { padding: 8px 12px 6px; font-size: 12px; color: var(--text-remarks); cursor: default; }
.lang-list .lang-list-title:hover { background: none; }
.lang-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: var(--radius-m); font-size: 14px; color: var(--text); cursor: pointer; }
.lang-list li:hover, .lang-list li:focus { background: var(--surface-item-hover); outline: none; }
.lang-list li[aria-selected="true"] { font-weight: 600; color: var(--metacomp-primary-800); }
.lang-list li[aria-selected="true"]::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23381e72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--radius-m); }
.menu-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 24px; background: var(--surface-white); border-top: 1px solid var(--border-minimal); }
.mobile-nav[hidden] { display: none; }
.mobile-nav:not([hidden]) { animation: navdown .32s cubic-bezier(.22,1,.36,1); }
@keyframes navdown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav a:not(.btn) { padding: 12px 8px; color: var(--text); font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--border-minimal); }
.mobile-nav .btn { margin-top: 16px; }
.mobile-nav { max-height: calc(100vh - var(--header-h)); overflow: auto; }
.mobile-label { font-size: 12px; color: var(--text-remarks); padding: 16px 8px 4px; }
.mobile-nav .mm-item { border-bottom: 0; padding: 8px; }
.mobile-nav .mm-desc { display: none; }
.mobile-nav a.mobile-more { font-weight: 600; color: var(--metacomp-primary-800); }

/* Over the dark hero: transparent header, white logo and links */
.site-header.on-dark { color: #fff; }
.site-header.on-dark.scrolled { background: rgba(15,5,45,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,.08); }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .main-nav a, .site-header.on-dark .lang-toggle { color: rgba(255,255,255,.88); }
.site-header.on-dark .main-nav a:hover { color: #fff; }
.site-header.on-dark .lang-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-header.on-dark .header-cta { background: #fff; color: var(--metacomp-primary-900); }
.site-header:not(.on-dark), .site-header.menu-open { background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border-minimal); color: var(--text); }
.site-header.menu-open .brand { color: #111; }
.site-header.menu-open .main-nav a, .site-header.menu-open .lang-toggle { color: var(--text); }
/* Mobile menu button: a <button> does not inherit colour by default, so the bars (currentColor) stayed black over the dark hero.
   Follow the header like the globe does. */
.menu-toggle { color: var(--text); transition: background .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.site-header.on-dark .menu-toggle { color: rgba(255,255,255,.88); }
.site-header.menu-open .menu-toggle { color: var(--text); }
/* Hover tint only where there is a real pointer; on touch it would stick after the tap. */
@media (hover: hover) {
  .menu-toggle:hover { background: var(--surface-item-hover); }
  .site-header.on-dark .menu-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
  .site-header.menu-open .menu-toggle:hover { background: var(--surface-item-hover); color: var(--text); }
}
/* With the menu open the header sits on the same white as the panel below,
   instead of the translucent glass, which turns grey over the dark hero. */
/* (Also beats .on-dark.scrolled, so opening the menu part-way down the hero gives the same light header.) */
.site-header.menu-open, .site-header.on-dark.scrolled.menu-open { background: var(--surface-white); border-bottom-color: var(--border-minimal); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--gradient-light); }
.section-dark, .cta-band { background: var(--dark-bg); color: var(--text); }
.section-head { max-width: 640px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--metacomp-secondary-600); }
[data-theme="dark"] .eyebrow { color: var(--metacomp-secondary-300); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.4; }
h4 { font-size: 14px; line-height: 20px; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text-description); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .section-head { margin-bottom: 0; }
.split-rev > :first-child { order: 2; }

.card, .route-card {
  background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: var(--radius-l);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .25s, transform .25s var(--ease);
}
.card:hover, .route-card:hover { box-shadow: var(--elevation-hover); transform: translateY(-2px); }
.card p, .route-card p { color: var(--text-description); font-size: 15px; }
.card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-light); box-shadow: inset 0 0 0 1px var(--metacomp-primary-100); display: grid; place-items: center; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--metacomp-primary-700); stroke-width: 1.6; stroke-linecap: round; }

.panel { background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--elevation-raised); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--text-description); margin-bottom: 12px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: var(--dark-bg); color: var(--text); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); pointer-events: none; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero-title { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.1; color: #fff; max-width: 15em; text-wrap: balance; }
.hero-slogan { font-size: clamp(18px, 2.1vw, 26px); line-height: 1.4; font-weight: 600; text-wrap: balance; }
.grad-text { background: var(--brand-gradient-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* Hero network-scan animation: full-bleed background behind the copy */
.hero-home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--header-h); }
.hero-home .hero-copy { position: relative; z-index: 2; flex: 1; justify-content: center; padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(24px, 4vh, 48px); }
.hero-net { position: absolute; inset: 0; z-index: 0; }
.netscan-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 50% 44%, rgba(15,5,45,.82) 0%, rgba(15,5,45,.55) 55%, rgba(15,5,45,0) 100%),
    linear-gradient(180deg, rgba(15,5,45,.55) 0%, rgba(15,5,45,0) 18%, rgba(15,5,45,0) 72%, rgba(15,5,45,.9) 100%); }
.hero-home .stat-strip { z-index: 2; padding-bottom: 28px; }
.hero-home > .container { width: 100%; }
/* Caption for the background simulation: a quiet footnote, not a headline */
.netscan-bar { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 12px; font-size: 11.5px; color: rgba(255,255,255,.42); }
.netscan-caption { display: flex; align-items: center; gap: 8px; min-height: 18px; font-weight: 400; }
.netscan-caption span { transition: opacity .3s; }
.netscan-caption.swap span { opacity: 0; }
.netscan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--metacomp-secondary-300); opacity: .8; flex: none; transition: background .3s; }
.netscan-bar[data-phase="detect"] .netscan-dot, .netscan-bar[data-phase="trace"] .netscan-dot, .netscan-bar[data-phase="hold"] .netscan-dot { background: var(--bad); }
.netscan-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.32); padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.netscan-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.netscan-legend .tag { height: auto; padding: 0; background: none; color: rgba(255,255,255,.32); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.lg-node, .lg-tx, .lg-flag { display: inline-block; border-radius: 50%; width: 5px; height: 5px; }
.lg-node { background: rgba(208,188,255,.6); }
.lg-tx { background: rgba(255,255,255,.7); }
.lg-flag { background: rgba(245,61,61,.75); }
.lg-node { width: 8px; height: 8px; background: rgba(208,188,255,.7); }
.lg-tx { width: 6px; height: 6px; background: #fff; box-shadow: 0 0 6px #fff; }
.lg-flag { width: 8px; height: 8px; background: var(--bad); box-shadow: 0 0 0 3px rgba(245,61,61,.25); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Try-it panel (decision demo) inside the screening section */
.try-panel { margin-top: 32px; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--dark-bg); color: var(--text); }
.try-copy { display: flex; flex-direction: column; gap: 12px; }
.try-copy h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.try-copy p { color: rgba(255,255,255,.72); }
.decision-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 16px; }
.dc-head { display: flex; justify-content: space-between; align-items: center; }
.dc-title { font-weight: 600; color: #fff; }
.dc-field { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dc-field legend { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 8px; padding: 0; }
.seg { display: flex; background: rgba(0,0,0,.25); border-radius: var(--radius-full); padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 34px; border: 0; border-radius: var(--radius-full); background: transparent; color: rgba(255,255,255,.75); font: 600 13px/1 var(--font-brand); cursor: pointer; transition: background .2s, color .2s; }
.seg button:hover { color: #fff; }
.seg button[aria-checked="true"] { background: #fff; color: var(--metacomp-primary-900); }
.dc-flow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; }
.dc-svg { width: 100%; height: auto; display: block; }
.dc-path { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 3; stroke-linecap: round; transition: stroke .35s; }
.dc-path.active.r-auto { stroke: var(--ok); }
.dc-path.active.r-edd { stroke: var(--warn); }
.dc-path.active.r-quarantine { stroke: var(--bad); }
.dc-origin { fill: var(--metacomp-primary-300); }
.dc-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
.dc-ends { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 18px; }
.dc-ends li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.45); transition: color .3s; white-space: nowrap; }
.dc-ends li .dot { opacity: .35; transition: opacity .3s; box-shadow: none; }
.dc-ends li.active { color: #fff; font-weight: 600; }
.dc-ends li.active .dot { opacity: 1; }
.dc-result { min-height: 44px; font-size: 14px; color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }

.stat-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; color: var(--text-page-title); font-variant-numeric: tabular-nums; }
.hero .stat-num { color: #fff; }
.stat-label { font-size: 13px; color: var(--text-remarks); }
.hero .stat-label { color: rgba(255,255,255,.6); }

/* ---------- 3. Loop ---------- */
.loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.loop-grid .section-head { margin-bottom: 0; }
.loop-steps { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.loop-steps li { display: flex; gap: 14px; padding: 14px 16px; border-radius: var(--radius-l); transition: background .4s, box-shadow .4s; cursor: default; }
.loop-steps li div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text-description); }
.loop-steps li strong { color: var(--text-page-title); font-size: 15px; }
.loop-num { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); transition: background .4s, color .4s; }
.loop-steps li.lit { background: var(--surface-white); box-shadow: var(--elevation-raised); }
.loop-steps li.lit .loop-num { background: var(--metacomp-primary-800); color: #fff; }
.loop-svg { width: 100%; max-width: 440px; display: block; margin: 0 auto; overflow: visible; }
.loop-track { fill: none; stroke: var(--metacomp-primary-100); stroke-width: 10; }
.loop-arc { fill: none; stroke: var(--metacomp-secondary-500); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset .9s var(--ease); }
.loop-arc.lit { stroke-dashoffset: 0; }
.loop-node circle { fill: var(--surface-white); stroke: var(--metacomp-primary-200); stroke-width: 2; transition: fill .4s, stroke .4s; }
.loop-node text { font-size: 14px; font-weight: 600; text-anchor: middle; fill: var(--metacomp-primary-700); transition: fill .4s; }
.loop-node.lit circle { fill: var(--metacomp-primary-800); stroke: var(--metacomp-primary-800); }
.loop-node.lit text { fill: #fff; }
.loop-center-k { font-size: 22px; font-weight: 600; text-anchor: middle; fill: var(--metacomp-primary-800); }
.loop-center-v { font-size: 13px; text-anchor: middle; fill: var(--text-remarks); }

/* ---------- 4. Onboarding ---------- */
.product-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 18px; }
.product-list li { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.product-list li strong { color: var(--text-page-title); }
.product-list li .tag { justify-self: start; }
.product-list li p { grid-column: 1 / -1; font-size: 14px; color: var(--text-description); }
.tabs { display: flex; gap: 4px; background: var(--surface-background); padding: 4px; border-radius: var(--radius-full); margin-bottom: 20px; }
.tabs button { flex: 1; height: 38px; border: 0; background: transparent; border-radius: var(--radius-full); font: 600 14px/1 var(--font-brand); color: var(--text-description); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tabs button[aria-selected="true"] { background: var(--surface-white); color: var(--metacomp-primary-800); box-shadow: var(--elevation-raised); }
.onb-panel { display: flex; flex-direction: column; gap: 20px; transition: opacity .25s; }
.onb-panel.swapping { opacity: 0; }
.onb-subject { display: flex; align-items: center; gap: 12px; }
.onb-subject > div { display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.onb-subject strong { color: var(--text-page-title); font-size: 15px; }
.onb-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-light); box-shadow: inset 0 0 0 1px var(--metacomp-primary-100); display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--metacomp-primary-700); }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-description); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s var(--ease); }
.checklist li.in { opacity: 1; transform: none; }
.checklist li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--conditions-success-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%231d8f27' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checklist li.flag::before { background: var(--conditions-error-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 5v5M9 13h.01' fill='none' stroke='%23cd9526' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.crr { background: var(--surface-background); border-radius: var(--radius-l); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.crr-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-description); }
.crr-top strong { font-size: 28px; color: var(--text-page-title); font-variant-numeric: tabular-nums; }
.crr-bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, rgba(35,177,47,.25) 0 61%, rgba(255,186,48,.3) 61% 72%, rgba(245,61,61,.25) 72% 100%); }
.crr-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 10px; background: var(--metacomp-primary-800); transition: width .9s var(--ease); }
.crr-cut { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--surface-white); }
.crr-scale { display: grid; grid-template-columns: 61% 11% 28%; font-size: 11px; color: var(--text-remarks); }
.crr-band { font-size: 13px; font-weight: 600; color: var(--text-page-title); }

/* ---------- 5. KYT ---------- */
.kyt-demo { background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: 20px; box-shadow: var(--elevation-raised); overflow: hidden; }
.kyt-input { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border-minimal); flex-wrap: wrap; }
.kyt-input > div { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.kyt-input code { font-size: 14px; color: var(--text-page-title); }
.kyt-body { display: grid; grid-template-columns: 1.3fr 60px 1fr; align-items: center; padding: 24px; gap: 8px; }
.providers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.providers li { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-radius: var(--radius-m); background: var(--surface-background); font-size: 14px; transition: background .3s; }
.p-name { font-weight: 600; color: var(--text-page-title); }
.p-res { font-size: 12px; color: var(--text-remarks); display: inline-flex; align-items: center; gap: 6px; }
.p-res::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--neutral-300); border-top-color: transparent; animation: spin .8s linear infinite; visibility: hidden; }
.providers li.loading .p-res::before { visibility: visible; }
.providers li.done .p-res::before { animation: none; border: 0; width: 8px; height: 8px; visibility: visible; background: var(--ok); }
.providers li.done[data-l="medium"] .p-res::before { background: var(--warn); }
.providers li.done[data-l="high"] .p-res::before { background: var(--bad); }
.providers li.done[data-l="high"] { background: var(--conditions-danger-100); }
@keyframes spin { to { transform: rotate(360deg); } }
.kyt-merge svg { width: 100%; height: 240px; display: block; }
.kyt-merge path { fill: none; stroke: var(--metacomp-primary-200); stroke-width: 1.5; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .8s var(--ease); }
.kyt-demo.merged .kyt-merge path { stroke-dashoffset: 0; }
.verdict { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius-l); border: 1px dashed var(--border-minimal); opacity: .45; transition: opacity .4s, border-color .4s, background .4s; }
.kyt-demo.merged .verdict { opacity: 1; border-style: solid; border-color: var(--bad); background: rgba(245,61,61,.04); }
.verdict-level { font-size: 32px; line-height: 1.1; color: var(--text-page-title); }
.kyt-demo.merged .verdict-level { color: var(--conditions-danger-600); }
.verdict-route { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--text-page-title); margin-top: 4px; visibility: hidden; }
.kyt-demo.merged .verdict-route { visibility: visible; }
.routes { margin-top: 32px; }
.route-card .dot { margin-bottom: 4px; }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px; background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: var(--radius-l); }
.fact { display: flex; flex-direction: column; gap: 10px; }
.fact h4 { color: var(--text-page-title); }
.fact p { color: var(--text-description); }
.fact-wide { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border-minimal); }

/* ---------- 6. Investigation graph ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; font-size: 14px; color: var(--text-description); }
.steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); font-weight: 600; font-size: 13px; }
.steps strong { color: var(--text-page-title); font-size: 15px; }
.section-head > .tag { align-self: flex-start; }
.graph-svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-edge { fill: none; stroke: var(--metacomp-primary-300); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset .6s var(--ease); }
.g-side { stroke: var(--neutral-300); stroke-dasharray: 4 4; stroke-dashoffset: 0; opacity: 0; transition: opacity .5s; }
.g-node { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); }
.g-node circle { fill: var(--metacomp-primary-100); stroke: var(--metacomp-primary-600); stroke-width: 2; }
.g-node text, .g-typo text { font-size: 14px; text-anchor: middle; fill: var(--text-description); font-family: var(--font-brand); }
.g-client circle { fill: var(--metacomp-primary-800); stroke: var(--metacomp-primary-800); }
.g-exchange circle { fill: var(--neutral-100); stroke: var(--neutral-400); }
.g-bad circle { fill: var(--conditions-danger-100); stroke: var(--bad); }
.g-bad text { fill: var(--conditions-danger-600); font-weight: 600; }
.g-typo rect { fill: rgba(255,186,48,.08); stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 6 5; }
.g-typo text { fill: var(--conditions-error-700, #8a6219); font-weight: 600; }
.g-typo { opacity: 0; transition: opacity .6s; }
.hop-0 .g-node[data-hop="0"], .hop-1 .g-node[data-hop="1"], .hop-2 .g-node[data-hop="2"], .hop-3 .g-node[data-hop="3"], .hop-4 .g-node[data-hop="4"] { opacity: 1; transform: none; }
.hop-1 .g-edge[data-hop="1"]:not(.g-side), .hop-2 .g-edge[data-hop="2"]:not(.g-side), .hop-3 .g-edge[data-hop="3"]:not(.g-side), .hop-4 .g-edge[data-hop="4"]:not(.g-side) { stroke-dashoffset: 0; }
.hop-2 .g-side[data-hop="2"], .hop-3 .g-side[data-hop="3"] { opacity: 1; }
.hop-4 .g-edge[data-hop="4"] { stroke: var(--bad); }
.hop-5 .g-typo { opacity: 1; }
.principle { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--metacomp-secondary-500); background: var(--metacomp-secondary-50); border-radius: 0 var(--radius-m) var(--radius-m) 0; font-size: 13px; color: var(--text-description); }

/* ---------- 7. MegaMap ---------- */
.section-dark h2, .cta-band h2 { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.72); }
.section-dark h3 { color: #fff; }
.mm-stage { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 16px; }
.mm-svg { width: 100%; height: auto; display: block; }
/* MegaMap story: seed case -> related cases -> key node */
.mm-case { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.mm-case.on { opacity: 1; transform: none; }
.mm-stage[data-step="3"] .mm-case, .mm-stage[data-step="4"] .mm-case { opacity: .55; }
.mm-e { stroke: rgba(255,255,255,.22); stroke-width: 1.3; }
.mm-n { stroke-width: 2; }
.mm-case.seed .mm-n { fill: rgba(208,188,255,.3); stroke: var(--metacomp-primary-200); }
.mm-case.found .mm-n { fill: rgba(147,221,218,.22); stroke: var(--metacomp-secondary-300); }
.mm-label { font-size: 12px; font-weight: 600; fill: rgba(255,255,255,.7); text-anchor: middle; font-family: var(--font-brand); }
.mm-x { opacity: 0; transition: opacity .6s var(--ease), stroke-dashoffset 1s var(--ease); }
.mm-x.on { opacity: 1; }
.mm-x.shared { stroke: #fff; stroke-width: 1.8; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.mm-x.shared.on { stroke-dashoffset: 0; }
.mm-wallet { fill: #fff; transition-delay: .5s; }
.mm-x.pattern { stroke: var(--metacomp-secondary-300); stroke-width: 1.6; stroke-dasharray: 5 6; }
.mm-tag { font-size: 11px; fill: var(--metacomp-secondary-200); text-anchor: middle; font-family: var(--font-brand); transition-delay: .3s; }
.mm-inf { stroke: var(--bad); stroke-width: 1.6; stroke-dasharray: 4 6; opacity: 0; transition: opacity .6s; animation: mmflow 1.2s linear infinite; }
.mm-inf.on { opacity: .85; }
@keyframes mmflow { to { stroke-dashoffset: -20; } }
.mm-hub, .mm-hub-ring, .mm-hub-t, .mm-hub-s { opacity: 0; transition: opacity .6s var(--ease); }
.mm-stage[data-step="4"] .mm-hub, .mm-stage[data-step="4"] .mm-hub-t, .mm-stage[data-step="4"] .mm-hub-s { opacity: 1; }
.mm-stage[data-step="4"] .mm-hub-ring { opacity: 1; animation: mmring 1.6s infinite; }
.mm-hub { fill: #fff; stroke: var(--bad); stroke-width: 4; }
.mm-hub-ring { fill: none; stroke: var(--bad); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
@keyframes mmring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.mm-hub-t { font-size: 14px; font-weight: 600; fill: #fff; text-anchor: middle; font-family: var(--font-brand); }
.mm-hub-s { font-size: 12px; fill: rgba(255,255,255,.7); text-anchor: middle; font-family: var(--font-brand); }
/* keep labels readable where lines cross them */
.mm-hub-t, .mm-hub-s, .mm-tag, .mm-label { paint-order: stroke; stroke: #15102f; stroke-width: 5px; stroke-linejoin: round; }
.mm-caption { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 24px; margin: 4px 0 8px; font-size: 14px; font-weight: 600; color: #fff; }
.mm-step { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: rgba(255,255,255,.12); }
.mm-stage[data-step="3"] .mm-step, .mm-stage[data-step="4"] .mm-step { background: var(--bad); }
.lg-seed { border-color: var(--metacomp-primary-200); } .lg-found { border-color: var(--metacomp-secondary-300); } .lg-key { background: #fff; border-color: var(--bad); }
.lg-line { display: inline-block; width: 18px; height: 0; border-top: 2px solid #fff; }
.lg-line.lg-dash { border-top: 2px dashed var(--metacomp-secondary-300); }
.mm-legend { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,.75); padding: 8px 0 4px; }
.mm-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid; }
.mm-replay { position: absolute; top: 16px; right: 16px; }
.mm-points { margin: 40px 0 24px; }
.mm-points > div { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 8. Monitoring ---------- */
.bullets { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-description); font-size: 15px; }
.bullets li::marker { color: var(--metacomp-secondary-500); }
.drr-svg { width: 100%; height: auto; display: block; overflow: visible; }
.drr-zone-high { fill: rgba(245,61,61,.06); }
.drr-threshold { stroke: var(--bad); stroke-dasharray: 6 5; stroke-width: 1.5; }
.drr-th-label { font-size: 13px; fill: var(--conditions-danger-600); text-anchor: start; font-family: var(--font-brand); }
.drr-axis { stroke: var(--border-minimal); }
.drr-line { fill: none; stroke: var(--metacomp-primary-700); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.drr-head { fill: var(--metacomp-primary-800); stroke: #fff; stroke-width: 3; }
.drr-label { opacity: 0; transition: opacity .4s; }
.drr-label.in { opacity: 1; }
.drr-label circle { fill: var(--warn); }
.drr-label text { font-size: 13px; text-anchor: middle; fill: var(--text-description); font-family: var(--font-brand); }
.drr-tick { font-size: 12px; fill: var(--text-remarks); font-family: var(--font-brand); }
.drr-out { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border-minimal); flex-wrap: wrap; }
.drr-route { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-page-title); flex: 1; transition: color .3s; }
.drr-route.flip { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.94); opacity: .3; } 100% { transform: none; opacity: 1; } }

/* ---------- 9. Agents ---------- */
.lifecycle { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--metacomp-primary-700); }
.lifecycle span { padding: 6px 12px; border-radius: var(--radius-full); background: var(--surface-white); border: 1px solid var(--metacomp-primary-100); }
.lifecycle i { width: 14px; height: 1px; background: var(--metacomp-primary-200); }
.sub { font-size: 18px; margin-top: 8px; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; }
.section-head > .btn { align-self: flex-start; }
.chat { background: var(--metacomp-primary-990); color: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,5,45,.25); }
.chat-head { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.chat-title { margin-left: 8px; font-size: 12px; color: rgba(255,255,255,.6); flex: 1; }
.chat .tag-sample { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.msg-user { align-self: flex-end; background: var(--metacomp-primary-700); border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; white-space: pre-line; min-height: 48px; }
.caret { display: inline-block; width: 7px; height: 16px; background: var(--metacomp-secondary-300); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.chat.typed-done .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.code { margin: 0; padding: 16px 20px; background: rgba(0,0,0,.3); font-size: 12.5px; line-height: 1.7; color: var(--metacomp-secondary-200); overflow-x: auto; }

/* ---------- 10. Trust ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 8px 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; color: var(--neutral-400); white-space: nowrap; transition: color .2s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:hover { color: var(--metacomp-primary-800); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 16px; text-align: center; }
.trust-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-l); background: var(--gradient-light); }

/* ---------- 11. Roles ---------- */
.role-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; min-height: 240px;
  background: var(--surface-white); border: 1px solid var(--border-minimal); border-radius: var(--radius-l);
  color: var(--text); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.role-card:hover { text-decoration: none; color: var(--text); box-shadow: var(--elevation-hover); transform: translateY(-4px); border-color: var(--metacomp-primary-200); }
.role-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-600); }
.role-card h3 { font-size: 20px; }
.role-more { font-size: 15px; color: var(--text-description); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.role-card:hover .role-more, .role-card:focus-visible .role-more { max-height: 140px; opacity: 1; }
.role-link { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--metacomp-primary-800); }
.role-link::after { content: " →"; transition: margin .2s; }
.role-card:hover .role-link::after { margin-left: 4px; }
@media (hover: none) { .role-more { max-height: none; opacity: 1; } }

/* ---------- 12. CTA + footer ---------- */
.cta-band { padding: clamp(72px, 8vw, 112px) 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta-inner p { color: rgba(255,255,255,.72); font-size: 17px; }
.cta-inner .small { font-size: 13px; color: rgba(255,255,255,.5); }
.site-footer { background: var(--metacomp-primary-990); color: rgba(255,255,255,.7); padding: 56px 0 32px; }
.site-footer .brand-logo { color: #fff; height: 32px; width: 225px; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h4 { color: #fff; margin-bottom: 4px; }
.footer-grid a { color: rgba(255,255,255,.7); font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); }


/* ---------- Inner pages ---------- */
.page-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero-inner { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.page-hero .eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; color: #fff; text-wrap: balance; }
.page-lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 680px; }
.page-hero .hero-ctas { justify-content: flex-start; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Product and solution cards */
.prod-card, .sol-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); color: var(--text); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.prod-card:hover, .sol-card:hover { color: var(--text); text-decoration: none; box-shadow: var(--elevation-hover); transform: translateY(-4px); border-color: var(--metacomp-primary-200); }
.prod-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.prod-top strong { font-size: 20px; line-height: 1.3; color: var(--text-page-title); }
.prod-pos { font-size: 15px; color: var(--metacomp-secondary-700); font-weight: 600; }
.prod-card .bullets { font-size: 14px; }
.prod-card .role-link, .sol-card .role-link { margin-top: auto; }
.sol-card h3 { font-size: 20px; }
.sol-card p { color: var(--text-description); font-size: 15px; }
.card .mm-icon { margin-bottom: 4px; }

/* Solution steps */
.step-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.step-num { font-size: 32px; font-weight: 600; line-height: 1; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-card p { color: var(--text-description); font-size: 15px; }
.step-sample { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; border-radius: var(--radius-m); background: var(--surface-background); }
.step-line { font-size: 13px; font-weight: 600; color: var(--text-page-title); font-variant-numeric: tabular-nums; }
.prod-links { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.prod-link { justify-content: space-between; align-items: center; }
.prod-link > span:last-child { color: var(--metacomp-primary-700); font-size: 18px; }
@media (max-width: 960px) {
  .mx-main { grid-template-columns: 1fr; }
  .mx-layer { grid-template-columns: 1fr auto; grid-template-areas: "k go" "name go" "desc go" "sub go"; }
  .mx-layer + .mx-layer::before { left: 28px; }
  .mx-rowlabel { min-width: 0; width: 100%; }
}

/* Product matrix: four product lines in lifecycle order, score rail underneath */
.matrix2 { display: flex; flex-direction: column; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.mx-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mx-col { display: flex; flex-direction: column; gap: 10px; position: relative; }
/* One continuous timeline: each stage label runs a line to its column edge, bridged across the gap */
.mx-stage::after { content: ""; flex: 1; height: 2px; margin-left: 4px; background: var(--metacomp-primary-200); }
.mx-col:last-child .mx-stage::after { background: linear-gradient(90deg, var(--metacomp-primary-200), transparent); }
.mx-col + .mx-col::before { content: ""; position: absolute; left: -16px; top: 13px; width: 16px; height: 2px; background: var(--metacomp-primary-200); }
.mx-stage span:last-child { white-space: nowrap; }
.mx-stage { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); }
.mx-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--metacomp-primary-800); color: #fff; letter-spacing: 0; font-size: 11px; flex: none; }
.mx-card { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius-l); color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; min-height: 220px; }
.mx-card:hover { color: #fff; text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,5,45,.2); }
.mx-card strong { font-size: 18px; line-height: 1.3; padding-right: 20px; }
.mx-card .mx-d { font-size: 14px; opacity: .85; }
.mx-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.mx-chips span { font-size: 12px; padding: 3px 10px; border-radius: var(--radius-full); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.mx-card .mx-go { position: absolute; top: 18px; right: 18px; opacity: .7; }
.mx-col:nth-child(1) .mx-card { background: linear-gradient(150deg, #4a3a9a, var(--metacomp-primary-700)); }
.mx-col:nth-child(2) .mx-card { background: linear-gradient(150deg, #3f57c9, #5b4fd0); }
.mx-col:nth-child(3) .mx-card { background: linear-gradient(150deg, var(--metacomp-secondary-700), var(--metacomp-secondary-500)); }
.mx-col:nth-child(4) .mx-card { background: linear-gradient(150deg, var(--metacomp-primary-950), var(--metacomp-primary-800)); }
.mx-rail { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius-l); background: var(--gradient-light); border: 1px solid var(--metacomp-primary-100); }
.mx-rail-label, .mx-rowlabel { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); }
.mx-rail-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mx-rail-track::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ok), var(--warn) 60%, var(--bad)); opacity: .5; }
.mx-pt { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 22px; font-size: 13px; color: var(--text-description); }
.mx-pt::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-white); border: 3px solid var(--metacomp-primary-700); }
.mx-pt b { color: var(--text-page-title); font-size: 14px; }
.matrix2.in .mx-pt::before { animation: railpulse 3.2s infinite; animation-delay: calc(var(--k, 0) * .8s); }
.mx-pt:nth-child(2) { --k: 1; } .mx-pt:nth-child(3) { --k: 2; } .mx-pt:nth-child(4) { --k: 3; }
@keyframes railpulse { 0%, 30%, 100% { box-shadow: 0 0 0 0 rgba(103,80,164,0); } 12% { box-shadow: 0 0 0 6px rgba(103,80,164,.25); } }
.mx-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mx-foot > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--radius-l); background: var(--surface-background); }
.mx-list { font-size: 13px; color: var(--text-description); }
.matrix2.reveal .mx-col { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.matrix2.reveal.in .mx-col { opacity: 1; transform: none; }
.matrix2.reveal.in .mx-col:nth-child(2) { transition-delay: .12s; } .matrix2.reveal.in .mx-col:nth-child(3) { transition-delay: .24s; } .matrix2.reveal.in .mx-col:nth-child(4) { transition-delay: .36s; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Why It Matters: small looping illustrations, running once the card is in view */
.viz { position: relative; height: 112px; margin: -4px 0 6px; border-radius: var(--radius-m); background: var(--surface-background); overflow: hidden; }
.viz * { animation-play-state: paused !important; }
.reveal.in .viz * { animation-play-state: running !important; }
/* 1: one provider lights part of the chain, six light all of it */
.vc-nodes { position: absolute; left: 16px; right: 16px; top: 24px; display: flex; justify-content: space-between; }
.vc-nodes::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--neutral-200); }
.vc-nodes i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--neutral-300); }
.vc-band { position: absolute; top: 18px; height: 24px; left: 12px; border-radius: 12px; background: rgba(62,207,174,.28); box-shadow: 0 0 0 1px rgba(62,207,174,.6); animation: vcband 6s infinite var(--ease); }
@keyframes vcband { 0%, 8% { left: 12px; width: 0; } 20%, 45% { left: 12px; width: 34%; } 55% { left: 40%; width: 30%; } 70%, 92% { left: 12px; width: calc(100% - 24px); } 100% { left: 12px; width: calc(100% - 24px); opacity: 0; } }
.vc-bars { position: absolute; left: 16px; right: 16px; top: 52px; height: 30px; }
.vc-bars i { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); height: 3px; border-radius: 3px; background: var(--metacomp-primary-400); opacity: 0; animation: vcbar 6s infinite; }
.vc-bars i:nth-child(1) { top: 0; } .vc-bars i:nth-child(2) { top: 5px; } .vc-bars i:nth-child(3) { top: 10px; } .vc-bars i:nth-child(4) { top: 15px; } .vc-bars i:nth-child(5) { top: 20px; } .vc-bars i:nth-child(6) { top: 25px; }
.vc-bars i:nth-child(1) { animation-name: vcbar1; }
@keyframes vcbar1 { 0%, 10% { opacity: 0; } 18%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vcbar { 0%, 58% { opacity: 0; } 66%, 92% { opacity: 1; } 100% { opacity: 0; } }
.vc-label { position: absolute; left: 16px; bottom: 6px; font-size: 11px; font-weight: 600; color: var(--text-description); }
.vc-label span { position: absolute; left: 0; bottom: 0; white-space: nowrap; animation: vcone 6s infinite; }
.vc-label .vc-six { animation-name: vcsix; color: var(--metacomp-secondary-700); }
@keyframes vcone { 0%, 55% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes vcsix { 0%, 60% { opacity: 0; } 68%, 95% { opacity: 1; } 100% { opacity: 0; } }
/* 2: transfers pile up in front of one reviewer */
.vq-lane { position: absolute; left: 16px; right: 16px; top: 22px; height: 40px; }
.vq-lane::before { content: ""; position: absolute; left: 0; right: 44px; top: 19px; height: 2px; background: var(--neutral-200); }
.vq-lane i { position: absolute; top: 12px; left: 0; width: 16px; height: 16px; border-radius: 5px; background: var(--metacomp-primary-400); opacity: 0; animation: vqmove 7s infinite var(--ease); animation-delay: calc(var(--i) * .7s); }
@keyframes vqmove { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 22%, 88% { left: calc(100% - 64px - var(--i) * 22px); opacity: 1; } 100% { left: calc(100% - 64px - var(--i) * 22px); opacity: 0; } }
.vq-gate { position: absolute; right: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--conditions-error-100); color: var(--conditions-error-600); }
.vq-gate svg, .va-bot svg, .va-wallet svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vq-meta { position: absolute; left: 16px; right: 16px; bottom: 10px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--text-description); }
.vq-count { position: relative; width: 24px; text-align: right; color: var(--conditions-error-600); }
.vq-count span { position: absolute; right: 0; opacity: 0; animation: vqc 7s infinite; }
.vq-count span:nth-child(2) { animation-delay: 1.4s; } .vq-count span:nth-child(3) { animation-delay: 2.8s; } .vq-count span:nth-child(4) { animation-name: vqclast; animation-delay: 4.2s; }
@keyframes vqc { 0% { opacity: 0; } 4%, 18% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes vqclast { 0% { opacity: 0; } 4%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
/* 3: an agent pays a wallet; the question becomes a verified owner */
.va-bot, .va-wallet { position: absolute; top: 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.va-bot { left: 16px; background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.va-wallet { right: 16px; background: var(--metacomp-secondary-50); color: var(--metacomp-secondary-700); }
.va-path { position: absolute; left: 64px; right: 64px; top: 59px; height: 2px; background: repeating-linear-gradient(90deg, var(--neutral-300) 0 6px, transparent 6px 12px); }
.va-coin { position: absolute; left: 0; top: -9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-style: normal; font-weight: 600; color: #fff; background: var(--metacomp-secondary-500); animation: vacoin 5s infinite var(--ease); }
@keyframes vacoin { 0%, 45% { left: 0; opacity: 0; } 50% { opacity: 1; } 80% { left: calc(100% - 20px); opacity: 1; } 90%, 100% { left: calc(100% - 20px); opacity: 0; } }
.va-badge { position: absolute; left: 12px; top: 10px; height: 22px; font-size: 11px; font-weight: 600; }
.va-badge span { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 3px 10px; border-radius: var(--radius-full); }
.va-q { background: var(--conditions-error-100); color: #8a6219; animation: vaq 5s infinite; }
.va-ok { background: var(--conditions-success-100); color: #166b1d; opacity: 0; animation: vaok 5s infinite; }
@keyframes vaq { 0%, 35% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes vaok { 0%, 38% { opacity: 0; } 45%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* One score across stages */
.scoreflow { position: relative; padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px) 24px; border-radius: 24px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.sf-stages { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 6vw, 96px); }
.sf-stage { min-width: 0; overflow-wrap: break-word; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 16px 18px; border-radius: var(--radius-l); background: var(--surface-background); border: 2px solid transparent; transition: border-color .4s, background .4s, box-shadow .4s; min-height: 150px; }
.sf-stage.on { border-color: var(--metacomp-primary-300); background: var(--surface-white); box-shadow: 0 10px 28px rgba(15,5,45,.10); }
.sf-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-600); }
.sf-stage strong { font-size: 18px; color: var(--text-page-title); }
.sf-p { font-size: 13px; color: var(--text-remarks); }
.sf-route, .sf-flag { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.sf-route.show, .sf-flag.show { opacity: 1; transform: none; }
.sf-route.ok { background: var(--conditions-success-100); color: #166b1d; }
.sf-route.edd { background: var(--conditions-error-100); color: #8a6219; }
.sf-flag { background: var(--conditions-danger-100); color: var(--conditions-danger-600); }
.sf-track { position: absolute; z-index: 0; height: 0; border-top: 2px dashed var(--metacomp-primary-200); }
.sf-return { position: absolute; z-index: 0; height: 52px; border: 2px dashed var(--metacomp-primary-200); border-top: 0; border-radius: 0 0 28px 28px; opacity: .35; transition: opacity .4s, border-color .4s; }
.sf-return.on { opacity: 1; border-color: var(--bad); }
.sf-score { position: absolute; z-index: 2; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 84px; padding: 8px 12px; border-radius: 16px; color: #fff; background: var(--ok); box-shadow: 0 10px 24px rgba(15,5,45,.25); transform: translate(-50%, -50%); transition: left 1.1s cubic-bezier(.65,0,.35,1), top 1.1s cubic-bezier(.65,0,.35,1), background .5s, opacity .4s; }
.sf-score b { font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sf-score-k, .sf-score-l { font-size: 11px; font-weight: 600; letter-spacing: .6px; }
.sf-score.high { background: var(--bad); }
.sf-score { opacity: 0; }
.scoreflow.live .sf-score { opacity: 1; }
.sf-caption { margin-top: 104px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text-page-title); min-height: 24px; transition: opacity .3s; }
.sf-caption.swap { opacity: 0; }
.sf-tag { position: absolute; right: 16px; bottom: 16px; }

/* Product page heroes: a different accent and visual for each product */
.ph-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ph-grid .page-hero-inner { max-width: none; }
.ph-identity { background: radial-gradient(900px 500px at 85% 30%, rgba(62,207,174,.25), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgba(169,107,244,.28), transparent 60%), linear-gradient(180deg, var(--metacomp-primary-990), #1d1150); }
.ph-kyt { background: radial-gradient(900px 500px at 80% 30%, rgba(87,157,245,.32), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(83,92,249,.28), transparent 60%), linear-gradient(180deg, #0b0a33, #141a5a); }
.ph-txm { background: radial-gradient(900px 500px at 80% 30%, rgba(55,158,154,.38), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(32,101,99,.35), transparent 60%), linear-gradient(180deg, #06201f, #0d2e3a); }
.ph-tracex { background: radial-gradient(900px 500px at 80% 30%, rgba(245,61,61,.18), transparent 55%), radial-gradient(700px 500px at 0% 100%, rgba(127,103,190,.3), transparent 60%), linear-gradient(180deg, #0f052d, #24103f); }
.ph-visual { position: relative; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; min-height: 300px; }
/* identity */
.pv-identity { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pvi-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); animation: pvirow 5.4s infinite; animation-delay: var(--d); }
.pvi-row > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.pvi-row small { color: rgba(255,255,255,.6); }
.pvi-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(208,188,255,.16); color: var(--metacomp-primary-200); }
.pvi-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pvi-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); animation: pvicheck 5.4s infinite; animation-delay: var(--d); background-position: center; background-repeat: no-repeat; background-size: 14px; }
@keyframes pvirow { 0%, 5% { background: rgba(255,255,255,.06); } 12%, 22% { background: rgba(62,207,174,.16); } 30%, 100% { background: rgba(255,255,255,.06); } }
@keyframes pvicheck { 0%, 10% { border-color: rgba(255,255,255,.25); background-color: transparent; background-image: none; } 16%, 85% { border-color: var(--ok); background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); } 92%, 100% { border-color: rgba(255,255,255,.25); background-color: transparent; background-image: none; } }
.pvi-out { align-self: flex-end; display: flex; align-items: baseline; gap: 8px; margin-top: 6px; padding: 8px 16px; border-radius: var(--radius-full); background: var(--ok); font-size: 12px; font-weight: 600; animation: pviout 5.4s infinite; }
.pvi-out b { font-size: 20px; }
@keyframes pviout { 0%, 50% { opacity: 0; transform: translateY(6px); } 58%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* kyt */
.pv-kyt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0; }
.pvk-list { display: flex; flex-direction: column; gap: 8px; }
.pvk-p { padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); animation: pvkp 4.8s infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes pvkp { 0%, 10% { border-color: rgba(255,255,255,.12); } 18%, 40% { border-color: rgba(147,221,218,.8); background: rgba(147,221,218,.12); } 55%, 100% { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); } }
.pvk-lines { width: 100%; height: 240px; }
.pvk-lines path { fill: none; stroke: rgba(147,221,218,.55); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: pvkflow 1.2s linear infinite; }
@keyframes pvkflow { to { stroke-dashoffset: -20; } }
.pvk-out { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 16px; border-radius: 18px; background: rgba(245,61,61,.16); border: 1px solid rgba(245,61,61,.7); text-align: center; animation: pvkout 4.8s infinite; }
.pvk-out b { font-size: 26px; color: #ff8a8a; }
.pvk-out small { font-size: 11px; color: rgba(255,255,255,.7); max-width: 9em; }
@keyframes pvkout { 0%, 35% { box-shadow: 0 0 0 0 rgba(245,61,61,0); } 50% { box-shadow: 0 0 0 10px rgba(245,61,61,.15); } 70%, 100% { box-shadow: 0 0 0 0 rgba(245,61,61,0); } }
/* tracex */
.pv-tracex svg { width: 100%; height: auto; display: block; }
.pvt-edges path { fill: none; stroke: rgba(208,188,255,.3); stroke-width: 1.5; }
.pvt-trace { fill: none; stroke: var(--bad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: pvttrace 5s infinite var(--ease); }
@keyframes pvttrace { 0%, 10% { stroke-dashoffset: 320; } 60%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pvt-nodes circle { fill: rgba(208,188,255,.7); }
.pvt-client { fill: none; stroke: var(--metacomp-secondary-300); stroke-width: 3; }
.pvt-bad { fill: var(--bad); }
.pvt-ring { fill: none; stroke: var(--bad); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pvtring 1.6s infinite; }
@keyframes pvtring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.pv-tracex text { font-size: 12px; fill: rgba(255,255,255,.75); font-family: var(--font-brand); }
.pvt-tag { position: absolute; left: 24px; bottom: 20px; padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; background: rgba(255,186,48,.16); border: 1px solid rgba(255,186,48,.6); }
/* txm */
.pv-txm { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.pvm-layers { display: flex; gap: 8px; }
.pvm-layers span { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; font-size: 13px; font-weight: 600; background: rgba(147,221,218,.1); border: 1px solid rgba(147,221,218,.35); animation: pvml 4.5s infinite; }
.pvm-layers span:nth-child(2) { animation-delay: .4s; } .pvm-layers span:nth-child(3) { animation-delay: .8s; }
@keyframes pvml { 0%, 8% { background: rgba(147,221,218,.1); } 15%, 30% { background: rgba(147,221,218,.3); } 40%, 100% { background: rgba(147,221,218,.1); } }
.pvm-chart { width: 100%; height: auto; }
.pvm-th { stroke: rgba(245,61,61,.7); stroke-dasharray: 5 5; }
.pvm-line { fill: none; stroke: var(--metacomp-secondary-300); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: pvmline 4.5s infinite var(--ease); }
@keyframes pvmline { 0%, 5% { stroke-dashoffset: 400; } 65%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pvm-out { align-self: flex-end; display: flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: var(--radius-full); background: var(--bad); font-size: 12px; font-weight: 600; animation: pviout 4.5s infinite; }
.pvm-out b { font-size: 20px; }
/* identity page KYA steps */
.kya-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kya-step { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.kya-step p { font-size: 14px; color: var(--text-description); }

/* Home hero: keep the network as texture so the headline and slogan lead */
.hero-home .netscan-canvas { opacity: .55; }
.hero-home .hero-shade { background:
    radial-gradient(ellipse 52% 42% at 50% 46%, rgba(15,5,45,.92) 0%, rgba(15,5,45,.75) 45%, rgba(15,5,45,.25) 80%, rgba(15,5,45,0) 100%),
    linear-gradient(180deg, rgba(15,5,45,.6) 0%, rgba(15,5,45,0) 20%, rgba(15,5,45,0) 70%, rgba(15,5,45,.92) 100%); }
.hero-home .hero-slogan { font-size: clamp(22px, 2.8vw, 34px); }
.hero-home .hero-title { text-shadow: 0 4px 30px rgba(15,5,45,.6); }

@media (max-width: 960px) {
  .mx-cols { grid-template-columns: 1fr 1fr; }
  .mx-col + .mx-col::before { display: none; }
  .mx-rail { grid-template-columns: 1fr; }
  .mx-rail-track { grid-template-columns: 1fr 1fr; }
  .mx-rail-track::before { display: none; }
  .mx-foot, .grid-2, .kya-flow { grid-template-columns: 1fr; }
  .ph-grid { grid-template-columns: 1fr; }
  .ph-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .mx-cols { grid-template-columns: 1fr; }
  .mx-card { min-height: 0; }
  .sf-stages { gap: 8px; }
  .sf-stage { padding: 12px 4px; min-height: 130px; }
  .sf-stage strong { font-size: 12.5px; }
  .sf-k { font-size: 10px; letter-spacing: .6px; }
  .sf-p { font-size: 11px; }
  .sf-route, .sf-flag { font-size: 10px; padding: 3px 6px; }
  .sf-score { min-width: 64px; padding: 6px 8px; }
  .sf-score b { font-size: 18px; }
  .sf-tag { top: 12px; bottom: auto; right: 12px; }
  .scoreflow { padding-top: 44px; }
  .pv-kyt { grid-template-columns: 1fr; gap: 12px; }
  .pvk-lines { display: none; }
  .pvk-list { flex-direction: row; flex-wrap: wrap; }
}

/* Products mega menu: one column per category */
.mega-inner-cols { display: flex; flex-direction: column; gap: 12px; grid-template-columns: none; }
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-cat { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border-minimal); font-size: 13px; font-weight: 600; letter-spacing: .4px; color: var(--text-page-title); text-decoration: none; }
.mega-cat .mm-icon { width: 32px; height: 32px; border-radius: 10px; }
.mega-cat .mm-icon svg { width: 18px; height: 18px; }
.mega-cat:hover { text-decoration: none; color: var(--metacomp-primary-700); }
.mega-prod { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: var(--radius-m); text-decoration: none; transition: background .2s; }
.mega-prod:hover { background: var(--surface-item-hover); text-decoration: none; }
.mega-all { align-self: flex-start; margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--metacomp-primary-700); text-decoration: none; }
.site-header.on-dark .mega-cat { color: #fff; border-color: rgba(255,255,255,.1); }
.site-header.on-dark .mega-prod:hover { background: rgba(255,255,255,.07); }
.site-header.on-dark .mega-all { color: var(--metacomp-primary-200); }

.mega-sol-inner { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.mega-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sol-subs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sol-subs li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text-page-title); font-weight: 600; }
.sol-subs li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--metacomp-secondary-500); }
.uses { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.uses .mx-rowlabel { margin-right: 6px; }
.use-chip { text-decoration: none; font-weight: 600; color: var(--metacomp-primary-800); border-color: var(--metacomp-primary-200); }
.use-chip:hover { background: var(--metacomp-primary-50); text-decoration: none; color: var(--metacomp-primary-800); }
.cat-head > .mm-icon { flex: none; }
.cat-card strong { font-size: 17px; color: var(--text-page-title); }
@media (max-width: 960px) { .mega-sol-inner { grid-template-columns: 1fr; } }

/* Solutions mega menu: scenario cards */
.sol-col { gap: 8px; }
.scn-card { min-height: 84px; position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: var(--radius-l); color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.scn-card:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,5,45,.22); }
.sol-col-0 .scn-card { background: linear-gradient(140deg, var(--metacomp-secondary-700), var(--metacomp-secondary-500)); }
.sol-col-1 .scn-card { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.sol-col-2 .scn-card { background: linear-gradient(140deg, var(--metacomp-primary-950), var(--metacomp-primary-700)); }
.scn-card .mm-icon { background: rgba(255,255,255,.16); color: #fff; }
.scn-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; padding-right: 16px; }
.scn-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.scn-desc { font-size: 12px; line-height: 17px; opacity: .8; }
.scn-go { position: absolute; top: 14px; right: 14px; opacity: .7; }
.sub-card { min-height: 66px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-white); border: 1px solid var(--border-minimal); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.sub-card:hover { text-decoration: none; border-color: var(--metacomp-primary-200); box-shadow: 0 6px 16px rgba(15,5,45,.08); transform: translateX(3px); }
.sub-title { font-size: 14px; font-weight: 600; color: var(--text-page-title); }
.sub-desc { font-size: 12px; line-height: 17px; color: var(--text-remarks); }
.site-header.on-dark .sub-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.site-header.on-dark .sub-card:hover { background: rgba(255,255,255,.09); border-color: rgba(208,188,255,.4); }
.site-header.on-dark .sub-title { color: #fff; }
.site-header.on-dark .sub-desc { color: rgba(255,255,255,.55); }

.prod-col-0 .scn-card { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.prod-col-1 .scn-card { background: linear-gradient(140deg, #3f57c9, #5b4fd0); }
.prod-col-2 .scn-card { background: linear-gradient(140deg, var(--metacomp-secondary-700), var(--metacomp-secondary-500)); }
.prod-col-3 .scn-card { background: linear-gradient(140deg, var(--metacomp-primary-950), var(--metacomp-primary-800)); }
.mega-products .scn-card { min-height: 76px; }
.mega-products .sub-card { min-height: 0; }
/* Make every clickable item in the menus respond clearly on hover */
.sub-card { position: relative; padding-right: 32px; }
.sub-card::after { content: "→"; position: absolute; right: 14px; top: 50%; transform: translate(-4px, -50%); opacity: 0; color: var(--metacomp-primary-600); transition: opacity .2s, transform .2s var(--ease); }
.sub-card:hover::after { opacity: 1; transform: translate(0, -50%); }
.sub-card:hover { background: var(--metacomp-primary-10, #fffbfe); }
.sub-card:hover .sub-title { color: var(--metacomp-primary-700); }
.site-header.on-dark .sub-card::after { color: var(--metacomp-primary-200); }
.site-header.on-dark .sub-card:hover .sub-title { color: #fff; }
.scn-card:hover .scn-go { opacity: 1; transform: translateX(3px); }
.scn-go { transition: opacity .2s, transform .2s var(--ease); }

/* Matrix: products inside each category column */
.mx-card { padding: 0; gap: 0; min-height: 0; }
.mx-cat { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 14px; color: #fff; text-decoration: none; }
.mx-cat:hover { color: #fff; text-decoration: none; }
.mx-cat strong { font-size: 18px; padding-right: 24px; }
.mx-sub2 { font-size: 12px; opacity: .75; }
.mx-cat .mx-go { top: 18px; right: 18px; }
.mx-prods { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 14px; }
.mx-prod { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.mx-prod:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.22); transform: translateX(3px); }
.mx-prod > span:first-child { font-weight: 600; font-size: 14px; }
.mx-pd { font-size: 12px; opacity: .8; }
.mx-card:hover { transform: none; box-shadow: none; }

/* Catalog: products grouped by category */
.cat-group { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--border-minimal); }
.cat-group:first-of-type { margin-top: 0; }
.cat-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.cat-head > div { flex: 1; }
.cat-head h3 { font-size: 22px; }
.cat-sub { font-size: 14px; font-weight: 400; color: var(--text-remarks); }
.cat-head p { color: var(--text-description); margin-top: 4px; }
.cat-all { font-size: 14px; font-weight: 600; color: var(--metacomp-primary-700); white-space: nowrap; text-decoration: none; padding-top: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); color: var(--text); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.cat-card:hover { color: var(--text); text-decoration: none; box-shadow: var(--elevation-hover); transform: translateY(-3px); border-color: var(--metacomp-primary-200); }
.cat-card p { font-size: 14px; color: var(--text-description); }
.cat-card .role-link { margin-top: auto; }

/* Category pages: sticky product switcher and product blocks */
.cat-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-minimal); }
.cat-nav-inner { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); margin-right: 12px; white-space: nowrap; }
.cat-nav a { padding: 8px 14px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; color: var(--text-description); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--metacomp-primary-50); color: var(--metacomp-primary-800); text-decoration: none; }
/* html already pads by the header height; add the switcher and cancel the section top padding so the heading lands just below it */
.prod-block, #overview { scroll-margin-top: calc(52px + 16px - var(--section-y)); }
.demo-section { scroll-margin-top: 68px; }
.prod-block .pb-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.prod-block h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pb-tagline { font-size: 20px; font-weight: 600; color: var(--metacomp-secondary-700); }
.pb-caps { display: grid; gap: 16px; }
.pb-cols-4 { grid-template-columns: repeat(4, 1fr); }
.pb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pb-cap { padding: 22px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--metacomp-primary-300); }
.pb-cap h3 { font-size: 16px; }
.pb-cap p { font-size: 14px; color: var(--text-description); }
.demo-section { padding-top: 0; }
.demo-section.section-dark { padding-top: var(--section-y); }
.prod-block.section-tint + .demo-section { background: var(--gradient-light); }
.ph-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ph-chips-k { font-size: 12px; color: rgba(255,255,255,.55); margin-right: 4px; }
.ph-chip { padding: 5px 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.ph-chip:hover { color: #fff; background: rgba(255,255,255,.18); text-decoration: none; }
.layers-panel .layers { display: flex; flex-direction: column; gap: 8px; }
.layer { width: var(--w); display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, var(--metacomp-primary-50), var(--metacomp-secondary-50)); border: 1px solid var(--metacomp-primary-100); }
.layer b { min-width: 84px; color: var(--text-page-title); }
.layer span { font-size: 14px; color: var(--text-description); }

@media (max-width: 960px) {
  .mega-cols { grid-template-columns: 1fr 1fr; }
  .cat-grid, .pb-cols-4, .pb-cols-3 { grid-template-columns: 1fr 1fr; }
  .cat-head { flex-wrap: wrap; }
  .layer { width: 100%; }
}
@media (max-width: 560px) {
  .cat-grid, .pb-cols-4, .pb-cols-3 { grid-template-columns: 1fr; }
  .layer { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid-3 > .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 > .reveal:nth-child(3) { transition-delay: .16s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav, .mega-drop { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 960px) {
  .split, .loop-grid, .try-panel { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .grid-3, .trust-stats { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .kyt-body { grid-template-columns: 1fr; }
  .kyt-merge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .role-card { min-height: 0; }
  .role-more { max-height: none; opacity: 1; }
}
@media (max-width: 560px) {
  .header-inner .brand-logo { height: 22px; width: 155px; }
  .header-cta { display: none; }
  .dc-ends li { font-size: 12px; }
  .hero-ctas .btn { flex: 1; }
  .netscan-legend { display: none; }
  .hero-home .hero-copy { padding-top: 24px; padding-bottom: 16px; gap: 16px; }
  .hero-home .stat-strip { gap: 12px 16px; padding-top: 16px; padding-bottom: 20px; }
  .hero-home .stat-num { font-size: 24px; }
  .hero-home .stat-label { font-size: 12px; line-height: 16px; }
  .hero-home .hero-ctas .btn { height: 48px; }
  .mm-replay { position: static; margin: 8px auto 0; display: flex; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 24px 48px; }
  .marquee-track span[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- 2026-10-31: four pains, investigation as an alert branch, homepage try-it ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card { padding: 22px; }
.grid-4 .card h3 { font-size: 18px; line-height: 1.35; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* 4: scattered cases get linked to one key wallet */
.viz-cases svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-l { fill: none; stroke: var(--conditions-danger-600, #d64545); stroke-width: 2; stroke-dasharray: 4 4; opacity: 0; animation: vxline 7s infinite; animation-delay: var(--d); }
@keyframes vxline { 0%, 40% { opacity: 0; } 50%, 90% { opacity: .8; } 100% { opacity: 0; } }
.vx-case circle { fill: var(--surface-white); stroke: var(--metacomp-primary-400); stroke-width: 2; }
.vx-hub { fill: var(--conditions-danger-600, #d64545); opacity: 0; animation: vxhub 7s infinite; }
.vx-hub-ring { fill: none; stroke: var(--conditions-danger-600, #d64545); stroke-width: 2; opacity: 0; transform-origin: 150px 50px; animation: vxring 7s infinite; }
@keyframes vxhub { 0%, 58% { opacity: 0; } 64%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vxring { 0%, 60% { opacity: 0; transform: scale(.6); } 70% { opacity: .7; transform: scale(1); } 90% { opacity: .3; transform: scale(1.25); } 100% { opacity: 0; } }
.viz-cases .vc-label span { animation-duration: 7s; }
.viz-cases .vx-six { color: var(--conditions-danger-600, #d64545); }

/* Matrix: three stages in a row, investigation as a branch fed by alerts from stages 2 and 3 */
.mx-cols { grid-template-columns: repeat(3, 1fr); }
.mx-col:nth-child(3) .mx-stage::after { background: linear-gradient(90deg, var(--metacomp-primary-200), transparent); }
.mx-branch { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: stretch; margin-top: 8px; }
.mx-branch::before, .mx-branch::after { content: ""; position: absolute; top: -28px; height: 28px; border-left: 2px dashed var(--bad); opacity: .55; }
.mx-branch::before { left: 50%; }
.mx-branch::after { left: calc(83.33% + 5px); }
.mx-branch-k { display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); }
.mx-branch-from { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-remarks); }
.mx-n.mx-alert { background: var(--bad); font-size: 14px; }
.mx-branch .mx-card { background: linear-gradient(150deg, var(--metacomp-primary-950), var(--metacomp-primary-800)); }
.mx-prods-row { flex-direction: row; }
.mx-prods-row .mx-prod { flex: 1; min-width: 0; }
.mx-pt-inv::before { border-color: var(--bad) !important; }
.matrix2.reveal .mx-branch { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease) .45s, transform .6s var(--ease) .45s; }
.matrix2.reveal.in .mx-branch { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .mx-cols { grid-template-columns: 1fr; }
  .mx-branch { grid-template-columns: 1fr; }
  .mx-branch::before, .mx-branch::after { display: none; }
  .mx-prods-row { flex-direction: column; }
}

/* Homepage try-it section */
.try-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 20px; font-size: 14px; color: var(--text-description); }

/* Mega menu: category / scenario card arrow centred on the card, not pinned to the top */
.scn-card { align-items: center; }
.scn-text { padding-right: 0; }
.scn-go { position: static; flex: none; align-self: center; transform: none; }
.scn-card:hover .scn-go { transform: translateX(3px); }
.try-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.try-rules li { display: flex; gap: 10px; align-items: baseline; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.5; }
.try-rules .dot { flex: none; transform: translateY(-1px); }

/* Demo sections continue the product block above them: no top padding, and one seamless background.
   A tinted block followed by a demo stays flat at the gradient's start colour; the demo carries the gradient on. */
.demo-section { background: var(--surface-white); }
.prod-block.section-tint:has(+ .demo-section) { background: var(--metacomp-primary-10); }
.prod-block.section-tint + .demo-section { background: var(--gradient-light); }
.demo-section.section-dark { background: var(--dark-bg); }

/* Mega menu cards: icon and arrow share the top row, title and line below get the full card width,
   and every header card / sub-card has the same height so the columns line up row by row. */
.scn-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 128px; padding: 16px 18px; }
.scn-card .mm-icon { width: 36px; height: 36px; border-radius: 10px; }
.scn-text { padding-right: 0; gap: 3px; }
.scn-title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.scn-go { position: absolute; top: 16px; right: 18px; height: 36px; display: flex; align-items: center; }
.mega-products .scn-card { min-height: 128px; }
.sub-card, .mega-products .sub-card { min-height: 80px; justify-content: center; }
@media (max-width: 1180px) { .scn-title { white-space: normal; } }

/* MegaMap canvas demo (after the LGM MegaMap reference) */
.mm-stage { padding: 20px 20px 16px; background: radial-gradient(ellipse at 78% 55%, rgba(124,77,255,.22), transparent 60%), linear-gradient(180deg, #0b0a2c, #120c3a); border-color: rgba(255,255,255,.1); overflow: hidden; }
.mm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-right: 96px; }
.mm-count { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.mm-count b { font-size: 26px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; min-width: 1.4em; }
.mm-status { margin-left: 14px; color: rgba(255,255,255,.75); }
.mm-legend { padding: 0; gap: 14px; font-size: 12px; justify-content: flex-end; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.mm-canvas { display: block; width: 100%; margin: 8px 0 4px; }
.mm-foot { display: flex; flex-direction: column; gap: 4px; }
.mm-kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #b9a4ff; }
.mm-stage .mm-caption { display: block; margin: 0; min-height: 24px; text-align: left; font-size: 16px; font-weight: 600; color: #fff; }
.mm-progress { height: 2px; margin: 8px 0 6px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.mm-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b48cff, #ffa53d); }
.mm-stage .mm-note { margin: 0; font-size: 11.5px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 760px) {
  .mm-top { padding-right: 0; }
  .mm-legend { justify-content: flex-start; gap: 10px; }
  .mm-stage .mm-caption { font-size: 14px; }
}
.sol-col-3 .scn-card { background: linear-gradient(140deg, #6a3fc9, #a35fe0); }

/* KYT: four steps from screen to decision */
.kf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kf-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.kf-step + .kf-step::before { content: "→"; position: absolute; left: -14px; top: 26px; width: 12px; text-align: center; color: var(--metacomp-primary-300); font-weight: 600; }
.kf-n { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--metacomp-secondary-600); }
.kf-step h3 { font-size: 20px; }
.kf-step p { font-size: 14px; color: var(--text-description); flex: 1; }
.kf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kf-chips span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.kf-chips .kf-c-bad { background: var(--conditions-danger-100); color: var(--conditions-danger-600); }
.kf-chips .kf-c-warn { background: var(--conditions-error-100); color: #8a6219; }
.kf-chips .kf-c-ok { background: var(--conditions-success-100); color: #166b1d; }
.kf-proof { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 20px 24px; border-radius: var(--radius-l); background: var(--gradient-light); border: 1px solid var(--metacomp-primary-100); }
.kf-proof > div { display: flex; align-items: baseline; gap: 12px; }
.kf-proof b { font-size: 30px; font-weight: 600; color: var(--metacomp-primary-800); white-space: nowrap; }
.kf-proof > div span { font-size: 14px; color: var(--text-description); }
.kf-proof p { grid-column: 1 / -1; margin: 0; }
@media (max-width: 960px) { .kf-grid { grid-template-columns: 1fr 1fr; } .kf-step + .kf-step::before { display: none; } .kf-proof { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kf-grid { grid-template-columns: 1fr; } }

/* TxM: identity / behaviour / network layers and DRR factors */
.ly-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.ly-layers { display: flex; flex-direction: column; gap: 12px; }
.ly-card { display: grid; grid-template-columns: 150px 1fr; grid-template-areas: "k sides" "k o"; gap: 6px 16px; padding: 16px 20px; border-radius: var(--radius-l); background: var(--surface-background); border: 1px solid var(--border-minimal); }
.ly-k { grid-area: k; align-self: center; font-size: 15px; font-weight: 600; color: var(--metacomp-primary-800); }
.ly-sides { grid-area: sides; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ly-sides > span { display: flex; flex-direction: column; font-size: 13px; color: var(--text-description); }
.ly-sides b { font-size: 11px; letter-spacing: 1px; color: var(--metacomp-secondary-600); }
.ly-card p { grid-area: o; margin: 0; font-size: 13px; color: var(--text-remarks); }
.ly-drr { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-l); background: var(--dark-bg); color: #fff; }
.ly-drr-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.ly-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ly-bars li { display: grid; grid-template-columns: 96px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.ly-bars i { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.ly-bars i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, #3ecfae, #a96bf4); transition: width 1.2s var(--ease); }
.ly-drr.in .ly-bars i::after { width: calc(var(--w) * 3.2); }
.ly-bars b { text-align: right; }
.ly-drr .small { color: rgba(255,255,255,.6); }
@media (max-width: 960px) { .ly-grid { grid-template-columns: 1fr; } .ly-card { grid-template-columns: 1fr; grid-template-areas: "k" "sides" "o"; } }

/* Matrix: flagship marker */
.mx-flag { align-self: flex-start; margin-bottom: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-full); background: rgba(255,255,255,.18); }
.tag-flag { margin-left: 8px; vertical-align: middle; background: var(--metacomp-secondary-50, #e6f7f4); color: var(--metacomp-secondary-700); }

/* Who we serve */
.serve-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.serve-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.serve-n { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--metacomp-secondary-600); }
.serve-card h3 { font-size: 17px; line-height: 1.35; }
.serve-card p { font-size: 13.5px; color: var(--text-description); }
@media (max-width: 1100px) { .serve-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .serve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .serve-grid { grid-template-columns: 1fr; } }
.hero-lead { max-width: 46em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.82); text-shadow: 0 2px 16px rgba(15,5,45,.6); }
.hero-home .hero-title { font-size: clamp(34px, 4.6vw, 62px); max-width: 17em; }
.kf-proof b span { font-size: inherit; color: inherit; }

/* Company mega menu: About Us card on the left, its sections on the right */
.mega-company-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 8px 24px; }
.company-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.company-col .scn-card { height: 100%; background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
@media (max-width: 960px) { .mega-company-grid { grid-template-columns: 1fr; } }

/* About Us */
.ab-who { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.ab-who .section-head { margin-bottom: 0; }
.ab-who-body { display: flex; flex-direction: column; gap: 16px; }
.ab-who-body p:not(.lead) { color: var(--text-description); }
.ab-stack { display: flex; flex-direction: column; gap: 10px; max-width: 980px; margin: 0 auto; }
.ab-tier { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.ab-tier + .ab-tier::before { content: ""; position: absolute; left: 50%; top: -10px; height: 10px; border-left: 2px solid var(--metacomp-primary-200); }
.ab-tier > div { display: flex; flex-direction: column; gap: 2px; }
.ab-tier strong { font-size: 18px; color: var(--text-page-title); }
.ab-tier > div > span { color: var(--text-description); font-size: 14px; }
.ab-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-600); }
.ab-tier:nth-child(1) { background: var(--dark-bg); border-color: transparent; }
.ab-tier:nth-child(1) strong { color: #fff; } .ab-tier:nth-child(1) > div > span { color: rgba(255,255,255,.72); } .ab-tier:nth-child(1) .ab-k { color: #93ddda; }
.ab-tier-prod > div.ab-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex-direction: row; }
.ab-prod { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; color: #fff; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.ab-prod:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,5,45,.2); }
.ab-prod:nth-child(1) { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.ab-prod:nth-child(2) { background: linear-gradient(140deg, #3f57c9, #5b4fd0); }
.ab-prod:nth-child(3) { background: linear-gradient(140deg, var(--metacomp-secondary-700), var(--metacomp-secondary-500)); }
.ab-prod strong { color: #fff; font-size: 18px; }
.ab-prod > span:not(.ab-flag):not(.ab-go) { font-size: 13px; opacity: .85; }
.ab-flag { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.ab-go { position: absolute; top: 14px; right: 14px; opacity: .7; }
.ab-tier-base { background: var(--surface-background); box-shadow: none; }
.ab-tier-base a { text-decoration: none; }
.ab-uses { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.ab-uses .mx-rowlabel { margin-right: 4px; }
.ab-pn { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--metacomp-secondary-600); }
@media (max-width: 960px) { .ab-who { grid-template-columns: 1fr; } .ab-tier { grid-template-columns: 1fr; gap: 8px; } .ab-tier-prod > div.ab-prods { grid-template-columns: 1fr; } }

/* KYT vendor wall: a dark band under the KYT hero, official logos shown as one-colour white marks */
.pw-band { background: var(--dark-bg); padding: 28px 0 32px; border-top: 1px solid rgba(255,255,255,.08); }
.pw { display: flex; flex-direction: column; gap: 18px; }
.pw-title { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.pw-track { gap: 64px; align-items: center; animation-duration: 30s; }
.marquee-track .pw-item { display: inline-flex; align-items: center; height: 36px; }
.pw-item img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .72; transition: opacity .2s; }
.pw-item:hover img { opacity: 1; }
.pw-marquee { padding: 4px 0; }
@media (prefers-reduced-motion: reduce) { .marquee-track .pw-item[aria-hidden="true"] { display: none; } }
.pw-item img[src*="beosin"], .pw-item img[src*="slowmist"] { height: 36px; }

/* About Us v2 */
.ab-who + .ab-bridge { margin-top: 40px; }
.ab-bridge { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; align-items: stretch; }
.ab-side { padding: 20px 22px; border-radius: var(--radius-l); background: var(--surface-background); border: 1px solid var(--border-minimal); }
.ab-side ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ab-side li { font-size: 15px; color: var(--text-page-title); padding-left: 16px; position: relative; }
.ab-side li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--metacomp-secondary-500); }
.ab-core { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px 24px; border-radius: var(--radius-l); background: var(--dark-bg); color: #fff; text-align: center; position: relative; }
.ab-core::before, .ab-core::after { content: "⟷"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--metacomp-primary-300); font-size: 18px; }
.ab-core::before { left: -15px; } .ab-core::after { right: -15px; }
.ab-core-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #93ddda; }
.ab-core strong { font-size: 18px; line-height: 1.35; color: #fff; }
.ab-core-tag { margin-top: 6px; align-self: center; font-size: 12px; padding: 4px 12px; border-radius: var(--radius-full); background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.ab-facts { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-facts > div { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: var(--radius-l); background: var(--gradient-light); border: 1px solid var(--metacomp-primary-100); }
.ab-facts b { font-size: 28px; font-weight: 600; color: var(--metacomp-primary-800); white-space: nowrap; }
.ab-facts span { font-size: 14px; color: var(--text-description); }
.ab-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.ab-vm-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.ab-vm-card h3 { font-size: 24px; line-height: 1.3; }
.ab-vm-card p { color: var(--text-description); }
.tm-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tm-card { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.tm-card.tm-lead { grid-column: span 3; }
.tm-head { display: flex; align-items: center; gap: 16px; }
.tm-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-background); }
.tm-lead .tm-photo { width: 88px; height: 88px; }
.tm-head h3 { font-size: 20px; }
.tm-role { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-primary-600); }
.tm-bio { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tm-bio li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-description); }
.tm-bio li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--metacomp-primary-300); }
.ab-work { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.ab-work .section-head { margin-bottom: 0; }
.ab-steps { display: flex; flex-direction: column; gap: 12px; }
.ab-step { display: grid; grid-template-columns: 40px 1fr; grid-template-areas: "n t" "n d"; gap: 2px 12px; padding: 18px 20px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.ab-step .kf-n { grid-area: n; font-size: 18px; }
.ab-step h3 { grid-area: t; font-size: 17px; }
.ab-step p { grid-area: d; font-size: 14px; color: var(--text-description); margin: 0; }
.ws-note { margin-top: 20px; }
.mega-company-grid { grid-template-columns: 1fr 3fr; }
.company-subs { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .ab-bridge, .ab-facts, .ab-vm, .ab-work { grid-template-columns: 1fr; }
  .ab-core::before, .ab-core::after { display: none; }
  .tm-grid { grid-template-columns: 1fr; } .tm-card, .tm-card.tm-lead { grid-column: auto; }
  .company-subs { grid-template-columns: 1fr 1fr; }
}
.tx-principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tx-principles span { font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.proto-note { margin-top: 20px; padding-left: 12px; border-left: 3px solid var(--metacomp-secondary-300); }

/* Solutions: three solutions, each with its products */
.sol3-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: 28px; }
.sol3-head .pb-head { margin-bottom: 0; }
.sol3-points { list-style: none; margin: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.sol3-points li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-page-title); }
.sol3-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--metacomp-secondary-500); }
.sol3-prods-k { display: block; margin-bottom: 10px; }
.sol3-grid.sol3-n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .sol3-head { grid-template-columns: 1fr; } .sol3-grid.sol3-n4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sol3-grid.sol3-n4 { grid-template-columns: 1fr; } }

/* Homepage v3: company line as the title, Beyond AML as the line under it, four slogans */
.hero-home .hero-title-co { font-size: clamp(34px, 4.8vw, 64px); max-width: 16em; }
.hero-sub { margin: -4px 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 600; line-height: 1.35; color: #93ddda; max-width: 34em; text-shadow: 0 2px 16px rgba(15,5,45,.6); }
.hero-slogans { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hs-item { display: flex; align-items: center; gap: 14px; }
.hs-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(208,188,255,.14); color: #d0bcff; }
.hs-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hs-t { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.25; color: #fff; }
@media (max-width: 960px) { .hero-slogans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hero-slogans { grid-template-columns: 1fr; gap: 12px; } .hs-t { font-size: 17px; } }

/* Intro with launch video slot */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.intro-grid > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.intro-grid p:not(.lead):not(.eyebrow) { color: var(--text-description); }
@media (max-width: 960px) { .intro-grid { grid-template-columns: 1fr; } }

/* Launch video: a poster card that opens the modal player (#videoModal) */
/* Only a static centred play button on the poster: no text, no motion. Hover just deepens its colour. */
.video-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; text-decoration: none; background: linear-gradient(135deg, #deeefd, #bfe9fd); border: 1px solid rgba(56,30,114,.1); box-shadow: var(--elevation-raised); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.video-card:hover { text-decoration: none; }
.video-card:focus-visible { outline: 3px solid var(--metacomp-primary-500, #7b5cff); outline-offset: 4px; }
.vc-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(56,30,114,.88); color: #fff; box-shadow: 0 12px 32px rgba(56,30,114,.35); }
.vc-play svg { width: 40px; height: 40px; fill: currentColor; margin-left: 5px; }
.video-card:hover .vc-play, .video-card:focus-visible .vc-play { background: var(--metacomp-primary-800); }

/* The modal player: full-viewport dialog, the video centred and sized to fit both width and height */
.vmodal { --vm-pad: clamp(12px, 4vw, 48px); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: var(--vm-pad); border: 0; background: transparent; color: #fff; overflow: hidden; }
.vmodal[open] { display: grid; place-items: center; }
.vmodal::backdrop { background: rgba(8,5,28,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vmodal-box { width: min(1200px, 100%, calc((100vh - 2 * var(--vm-pad) - 60px) * 16 / 9)); display: flex; flex-direction: column; gap: 12px; }
@supports (height: 100dvh) { .vmodal-box { width: min(1200px, 100%, calc((100dvh - 2 * var(--vm-pad) - 60px) * 16 / 9)); } }
.vmodal-head { display: flex; justify-content: flex-end; }
.vmodal-close { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .2s, transform .25s var(--ease); }
.vmodal-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.vmodal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vmodal-close:focus-visible, .vmodal video:focus-visible { outline: 3px solid #93ddda; outline-offset: 3px; }
.vmodal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.vmodal video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vmodal-spin { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; animation: vm-spin .8s linear infinite; }
.vmodal-spin.on { opacity: 1; }
.vmodal-end, .vmodal-err { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; gap: 12px; padding: 20px; text-align: center; background: rgba(10,6,40,.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vmodal-err { flex-direction: column; }
.vmodal-err p { margin: 0; color: rgba(255,255,255,.88); }
.vmodal-end .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vmodal[open] .vmodal-box { animation: vm-in .32s var(--ease); }
.vmodal[open]::backdrop { animation: vm-fade .25s ease; }
.vmodal.closing .vmodal-box { animation: vm-out .18s ease forwards; }
.vmodal.closing::backdrop { animation: vm-fade .18s ease reverse forwards; }
@keyframes vm-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes vm-out { to { opacity: 0; transform: scale(.98); } }
@keyframes vm-fade { from { opacity: 0; } }
@keyframes vm-spin { to { transform: rotate(360deg); } }
html:has(.vmodal[open]) { overflow: hidden; }
@media (max-width: 560px) {
  .vc-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .vc-play svg { width: 32px; height: 32px; margin-left: 4px; }
  .vmodal-frame { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vmodal-close { transition: none; }
  .vmodal-close:hover { transform: none; }
  .vmodal[open] .vmodal-box, .vmodal[open]::backdrop, .vmodal.closing .vmodal-box, .vmodal.closing::backdrop { animation: none; }
  .vmodal-spin { animation-duration: 1.6s; }
}

/* Founding members: the three executives as tall portrait cards, the co-chairmen as a compact row */
.tm-execs { grid-template-columns: repeat(3, 1fr); }
.tm-execs .tm-card { grid-column: auto; padding: 0; overflow: hidden; }
.tm-exec .tm-head { flex-direction: column; align-items: stretch; gap: 0; }
.tm-exec .tm-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; object-position: center 25%; }
.tm-exec .tm-head > div { padding: 18px 22px 0; }
.tm-exec .tm-head h3 { font-size: 22px; }
.tm-exec .tm-bio { padding: 0 22px 22px; }
.tm-sub { margin: 36px 0 14px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-remarks); }
.tm-chairs { grid-template-columns: 1fr 1fr; }
.tm-chairs .tm-card { grid-column: auto; }
.tm-chair .tm-photo { width: 72px; height: 72px; }
@media (max-width: 960px) { .tm-execs, .tm-chairs { grid-template-columns: 1fr; } .tm-exec .tm-photo { aspect-ratio: 1; } }

/* Homepage type scale, v4: one clear title, a one-line claim, a quiet description, compact slogans */
.hero-home .hero-copy { gap: 0; }
.hero-home .hero-title-co { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.01em; max-width: 14em; }
.hero-sub { margin: 18px 0 0; font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; letter-spacing: .01em; color: #93ddda; max-width: none; text-wrap: balance; }
.hero-home .hero-lead { margin: 14px 0 0; font-size: clamp(15px, 1.1vw, 16px); line-height: 1.7; color: rgba(255,255,255,.7); max-width: 40em; }
.hero-home .hero-ctas { margin-top: 30px; }
.hero-slogans { gap: 12px 24px; padding-top: 18px; padding-bottom: 22px; }
.hs-item { gap: 12px; }
.hs-ic { width: 36px; height: 36px; border-radius: 10px; }
.hs-ic svg { width: 18px; height: 18px; }
.hs-t { font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.92); }
@media (min-width: 1100px) { .hero-sub { white-space: nowrap; } }

/* Intro: a modest title, the description as the main read, a larger video */
.intro-grid { grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); }
.intro-grid > div:first-child { gap: 0; }
#intro h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
#intro .lead { margin-top: 18px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; max-width: 600px; color: var(--text-page-title); }
/* The 6fr/5fr columns above override the earlier single-column rule, so restate it here:
   tablets and phones get the copy first, then the full-width video. */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  #intro .lead { max-width: none; }
}
/* Beyond AML as the small line above the title */
.hero-home .hero-claim { margin: 0 0 18px; max-width: none; text-wrap: balance; }
.hero-home .hero-title-co + .hero-lead { margin-top: 20px; }

/* Request a Demo / free screening page */
.dm-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.dm-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.dm-side h2 { font-size: 24px; }
.dm-steps { list-style: none; counter-reset: dm; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dm-steps li { counter-increment: dm; position: relative; padding-left: 44px; display: flex; flex-direction: column; gap: 2px; }
.dm-steps li::before { content: counter(dm, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--metacomp-primary-700); background: var(--metacomp-primary-50); }
.dm-steps b { color: var(--text-page-title); }
.dm-steps span { font-size: 14px; color: var(--text-description); }
.dm-card { padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.dm-form { display: flex; flex-direction: column; gap: 22px; }
.dm-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dm-form legend { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-600); }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-page-title); }
.dm-form input[type="text"], .dm-form input[type="email"], .dm-form input[type="tel"], .dm-form input[type="date"], .dm-form select, .dm-form textarea {
  font: inherit; font-weight: 400; font-size: 15px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-subtle, #d9d4ea); background: var(--surface-white); color: var(--text-page-title); transition: border-color .15s, box-shadow .15s; }
.dm-form input:focus, .dm-form select:focus, .dm-form textarea:focus { outline: none; border-color: var(--metacomp-primary-500); box-shadow: 0 0 0 3px rgba(123,92,255,.18); }
.dm-form textarea { resize: vertical; }
.dm-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-form .dm-chip { flex-direction: row; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle, #d9d4ea); cursor: pointer; font-weight: 500; }
.dm-form .dm-chip:has(input:checked) { border-color: var(--metacomp-primary-500); background: var(--metacomp-primary-50); color: var(--metacomp-primary-800); }
.dm-chip input { accent-color: var(--metacomp-primary-700); margin: 0; }
.dm-form .dm-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text-description); }
.dm-consent input { margin-top: 3px; accent-color: var(--metacomp-primary-700); }
.dm-error { margin: 0; color: var(--conditions-danger-600, #d64545); font-size: 14px; }
.dm-form .btn { align-self: flex-start; }
.dm-done { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 32px 0; }
.dm-done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--ok); }
@media (max-width: 960px) { .dm-grid { grid-template-columns: 1fr; } .dm-side { position: static; } }
@media (max-width: 560px) { .dm-row { grid-template-columns: 1fr; } .dm-form .btn { align-self: stretch; } }
[hidden] { display: none !important; }
.dm-form label:has(> input:required, > select:required) > span:first-child::after { content: " *"; color: var(--conditions-danger-600, #d64545); }

/* Slogans back to a size that reads as headlines (Summer: make them big) */
.hero-slogans { gap: 16px 28px; padding-top: 24px; padding-bottom: 28px; }
.hs-ic { width: 46px; height: 46px; border-radius: 12px; }
.hs-ic svg { width: 22px; height: 22px; }
.hs-t { font-size: clamp(17px, 1.65vw, 23px); line-height: 1.25; color: #fff; }

/* Launch video link in the hero */
.hero-ctas .btn-video { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px; color: #fff; font-weight: 600; text-decoration: none; }
.btn-video:hover { color: #93ddda; text-decoration: none; }
.bv-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); transition: transform .2s var(--ease), background .2s; }
.btn-video:hover .bv-ic { transform: scale(1.08); background: rgba(147,221,218,.25); }
.bv-ic svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }

/* DRR chart inside the Web2.5 solution */
.sol3-drr { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sol3-drr-copy { display: flex; flex-direction: column; gap: 10px; }
.sol3-drr-copy h3 { font-size: clamp(22px, 2vw, 28px); }
.sol3-drr-copy p:not(.eyebrow) { color: var(--text-description); }
@media (max-width: 960px) { .sol3-drr { grid-template-columns: 1fr; } }
.pb-cta { margin-top: 24px; }

/* ---------- Founding members: one person per row ---------- */
.tm-rows { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; margin: 0 auto; }
.tm-row { display: grid; grid-template-columns: 168px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; padding: 22px; border-radius: 20px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.tm-row-photo { width: 168px; height: 200px; border-radius: 14px; object-fit: cover; object-position: center 20%; background: var(--surface-background); }
.tm-row-body { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.tm-row-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--border-minimal); }
.tm-row-head h3 { font-size: 24px; }
.tm-row .tm-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.tm-row:not(.tm-row-lead) { grid-template-columns: 112px 1fr; padding: 18px 22px; box-shadow: none; }
.tm-row:not(.tm-row-lead) .tm-row-photo { width: 112px; height: 132px; }
.tm-row:not(.tm-row-lead) .tm-row-head h3 { font-size: 20px; }
@media (max-width: 760px) {
  .tm-row, .tm-row:not(.tm-row-lead) { grid-template-columns: 96px 1fr; }
  .tm-row-photo, .tm-row:not(.tm-row-lead) .tm-row-photo { width: 96px; height: 116px; }
  .tm-row .tm-bio { grid-template-columns: 1fr; }
}

/* ---------- Product diagrams from Summer's brochure ---------- */
.kd-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 4px; border-radius: 50%; background: var(--metacomp-primary-700); color: #fff; font-size: 11px; letter-spacing: 0; }
.kd-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.kd-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kd { display: grid; grid-template-columns: 1fr 260px 1fr; gap: 0 48px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.kd-col { display: flex; flex-direction: column; gap: 10px; position: relative; }
.kd-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-background); font-size: 14.5px; font-weight: 600; color: var(--text-page-title); position: relative; }
.kd-item small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-remarks); }
.kd-more { justify-content: center; color: var(--text-remarks); letter-spacing: 2px; }
.kd-in .kd-item::after, .kd-out .kd-item::before { content: ""; position: absolute; top: 50%; width: 48px; border-top: 2px dashed var(--metacomp-primary-200); }
.kd-in .kd-item::after { left: 100%; }
.kd-out .kd-item::before { right: 100%; }
.kd-in .kd-more::after { display: none; }
.kd-core { aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: #fff; background: radial-gradient(circle at 35% 30%, #7b5cff, #2a1a78 70%); box-shadow: 0 20px 50px rgba(42,26,120,.35), inset 0 0 0 8px rgba(255,255,255,.08); position: relative; z-index: 1; }
.kd-core strong { font-size: 22px; color: #fff; }
.kd-core > span:last-child { font-size: 14px; color: rgba(255,255,255,.8); }
.kd-core-v { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; font-weight: 700; background: rgba(255,255,255,.14); margin-bottom: 4px; }
.kd-core-v svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }
.kd-core-ai strong { font-size: 18px; padding: 0 22px; line-height: 1.3; }
.kd-agentic .kd-in { justify-content: center; }
.kd-ask { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kd-ask-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-primary-700); margin-right: 6px; }
.kd-ask-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--radius-full); background: var(--surface-white); border: 1px solid var(--border-minimal); font-size: 14px; font-weight: 600; color: var(--text-page-title); }
.kd-ask-chip .kd-ic { width: 30px; height: 30px; border-radius: 50%; }
@media (max-width: 960px) {
  .kd { grid-template-columns: 1fr; gap: 20px; }
  .kd-core { width: 220px; margin: 0 auto; }
  .kd-in .kd-item::after, .kd-out .kd-item::before { display: none; }
}

/* Benefit band (bottom of the KYT and TxM brochure pages) */
.benefit-band { background: linear-gradient(120deg, #2a1a78, #4a3a9a); color: #fff; padding: 26px 0; }
.bb-inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.bb-k { display: flex; align-items: center; gap: 14px; padding-right: 32px; border-right: 1px solid rgba(255,255,255,.2); }
.bb-k strong { font-size: clamp(18px, 1.8vw, 24px); font-style: italic; color: #fff; }
.benefit-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; flex: 1; }
.benefit-band li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.92); }
.benefit-band .kd-ic { background: rgba(255,255,255,.14); color: #fff; width: 32px; height: 32px; border-radius: 50%; }
.benefit-band li small { display: block; font-size: 13px; color: rgba(255,255,255,.7); }
.bb-4 ul { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .bb-k { border-right: 0; padding-right: 0; } .bb-4 ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bb-4 ul { grid-template-columns: 1fr; } }

/* TraceX: how it works (value props + architecture stack) */
.tb-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tb-props { display: flex; flex-direction: column; gap: 16px; }
.tb-props h2 { margin-bottom: 6px; }
.tb-prop { display: flex; gap: 14px; align-items: flex-start; }
.tb-prop .kd-ic { width: 44px; height: 44px; border-radius: 12px; }
.tb-prop h3 { font-size: 18px; margin-bottom: 4px; }
.tb-prop p { font-size: 14.5px; color: var(--text-description); margin: 0; }
.stack { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 22px; border-radius: 24px; background: var(--gradient-light); border: 1px solid var(--metacomp-primary-100); }
.st-arrow { text-align: center; color: var(--metacomp-primary-400); font-weight: 700; line-height: 1; }
.st-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-out-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-white); border: 1px solid var(--border-minimal); font-size: 12.5px; color: var(--text-remarks); }
.st-out-item b { font-size: 14px; color: var(--metacomp-primary-800); }
.st-risk { border-color: rgba(229,72,77,.35); background: #fff5f5; } .st-risk b { color: var(--conditions-danger-600, #d64545); }
.st-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-tool { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface-white); border: 1px solid var(--border-minimal); }
.st-tool b { display: block; font-size: 14px; color: var(--text-page-title); }
.st-tool span { font-size: 12.5px; color: var(--text-remarks); }
.st-tool .kd-ic { width: 32px; height: 32px; }
.st-lgm { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #4a3a9a, #6a4fd0); box-shadow: 0 12px 26px rgba(74,58,154,.3); }
.st-lgm .kd-ic { background: rgba(255,255,255,.16); color: #fff; width: 44px; height: 44px; }
.st-lgm b { display: block; font-size: 18px; color: #fff; }
.st-lgm span { font-size: 13.5px; color: rgba(255,255,255,.85); }
.st-data { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border-radius: 12px; background: var(--surface-white); border: 1px solid var(--border-minimal); font-size: 13.5px; color: var(--text-description); }
.st-data b { color: var(--text-page-title); }
@media (max-width: 960px) { .tb-grid { grid-template-columns: 1fr; } .st-out, .st-tools { grid-template-columns: 1fr; } }

/* Web2.5 TxM architecture: inputs | layers + engine | outputs */
.ta { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 28px; align-items: center; }
.ta-in, .ta-out { display: flex; flex-direction: column; gap: 14px; }
.ta-out { gap: 10px; }
.ta-grp { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface-white); border: 1px solid var(--border-minimal); }
.ta-grp > b { font-size: 13px; padding: 6px 12px; border-radius: 10px; color: #fff; background: linear-gradient(120deg, #3f57c9, #5b4fd0); }
.ta-grp + .ta-grp > b { background: linear-gradient(120deg, #6a3fc9, #a35fe0); }
.ta-grp .kd-item { padding: 6px 8px; font-size: 13.5px; background: transparent; }
.ta-grp .kd-ic { width: 30px; height: 30px; }
.ta-mid { display: flex; flex-direction: column; gap: 10px; }
.ta-layer { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.ta-layer b { display: block; font-size: 17px; color: var(--text-page-title); }
.ta-layer span { font-size: 13.5px; color: var(--text-description); }
.ta-l1 .kd-ic { background: #ede7ff; } .ta-l2 .kd-ic { background: #e3ecff; color: #3f57c9; } .ta-l3 .kd-ic { background: #e0f6f3; color: var(--metacomp-secondary-700); }
.ta-engine { margin-top: 6px; padding: 18px; border-radius: 20px; text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 0%, #7b5cff, #2a1a78 70%); box-shadow: 0 18px 40px rgba(42,26,120,.3); }
.ta-engine strong { display: block; font-size: 22px; color: #fff; }
.ta-engine > span { font-size: 13.5px; color: rgba(255,255,255,.82); }
.ta-scale { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 6px 8px; border-radius: var(--radius-full); background: rgba(255,255,255,.12); font-size: 13px; }
.ta-scale b { padding: 3px 12px; border-radius: var(--radius-full); background: #fff; color: var(--metacomp-primary-800); }
.ta-scale i { font-style: normal; opacity: .7; }
.ta-out .kd-item { background: var(--surface-white); border: 1px solid var(--border-minimal); }
@media (max-width: 960px) { .ta { grid-template-columns: 1fr; } }

/* Products overview hero: brochure cover lines */
.pi-trio { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; color: #b9a4ff; }
.pi-strip { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
.pi-strip i { font-style: normal; margin: 0 10px; opacity: .6; }

/* ---------- Solutions mega menu: the VisionX platform as one tree ---------- */
.pl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pl-top .mega-all { margin-left: 0; }
.pl-brand { font-size: 13px; color: var(--text-remarks); } .pl-brand b { color: var(--text-page-title); }
.pl-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pl-col { display: flex; flex-direction: column; gap: 8px; }
.pl-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-l); color: #fff; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.pl-head:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,5,45,.22); }
.pl-head .mm-icon { background: rgba(255,255,255,.16); color: #fff; width: 36px; height: 36px; }
.pl-head .scn-text { flex: 1; }
.pl-head .scn-go { position: static; height: auto; }
.pl-onboarding .pl-head { background: linear-gradient(140deg, #1f6f63, var(--metacomp-secondary-500)); }
.pl-web25 .pl-head { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.pl-web3 .pl-head { background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
.pl-plain, .pl-grp { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 14px; border: 1px solid var(--border-minimal); background: var(--surface-white); }
.pl-web25 .pl-grp { border-style: dashed; border-color: #e8a17a; }
.pl-grp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 8px; font-size: 14px; font-weight: 700; color: var(--text-page-title); text-decoration: none; }
.pl-grp-h:hover { text-decoration: none; color: var(--metacomp-primary-700); }
.pl-flag { font-size: 10.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-full); background: #fbe3d6; color: #a4471b; }
.pl-item { position: relative; display: block; padding: 8px 28px 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-page-title); text-decoration: none; transition: background .15s, color .15s; }
.pl-item::after { content: "→"; position: absolute; right: 10px; top: 50%; transform: translate(-4px, -50%); opacity: 0; transition: opacity .15s, transform .15s; color: var(--metacomp-primary-600); }
.pl-item:hover { text-decoration: none; background: var(--metacomp-primary-50); color: var(--metacomp-primary-800); }
.pl-item:hover::after { opacity: 1; transform: translate(0, -50%); }
.pl-scs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--border-minimal); }
.pl-sc-k { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); margin-right: 4px; }
.pl-sc { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-full); border: 1px solid var(--border-minimal); color: var(--text-page-title); text-decoration: none; }
.pl-sc:hover { text-decoration: none; border-color: var(--metacomp-primary-300); color: var(--metacomp-primary-700); }
/* over the dark hero */
.site-header.on-dark .pl-brand { color: rgba(255,255,255,.55); } .site-header.on-dark .pl-brand b { color: #fff; }
.site-header.on-dark .pl-plain, .site-header.on-dark .pl-grp { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.site-header.on-dark .pl-web25 .pl-grp { border-color: rgba(232,161,122,.55); }
.site-header.on-dark .pl-grp-h, .site-header.on-dark .pl-item, .site-header.on-dark .pl-sc { color: #fff; }
.site-header.on-dark .pl-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-header.on-dark .pl-item::after { color: var(--metacomp-primary-200); }
.site-header.on-dark .pl-flag { background: rgba(251,227,214,.18); color: #f7b48f; }
.site-header.on-dark .pl-scs { border-top-color: rgba(255,255,255,.14); }
.site-header.on-dark .pl-sc { border-color: rgba(255,255,255,.2); }
.site-header.on-dark .pl-sc-k { color: rgba(255,255,255,.55); }

/* Hero slogans, v3: one line each on desktop, medium weight, evenly spread with dividers */
.hero-slogans { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 24px; }
.hs-item { gap: 12px; }
.hs-item + .hs-item { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.hs-ic { width: 38px; height: 38px; border-radius: 10px; }
.hs-ic svg { width: 19px; height: 19px; }
.hs-t { font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; letter-spacing: .01em; line-height: 1.3; color: rgba(255,255,255,.95); white-space: nowrap; }
@media (max-width: 1180px) {
  .hero-slogans { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .hs-item + .hs-item { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) { .hero-slogans { grid-template-columns: 1fr; } .hs-t { white-space: normal; } }
.hero-slogans { gap: 12px 18px; }
.hs-item + .hs-item { padding-left: 18px; }
.hs-ic { width: 34px; height: 34px; }
.hs-ic svg { width: 17px; height: 17px; }
.hs-t { font-size: clamp(14px, 1.12vw, 17px); }
@media (max-width: 1280px) { .hero-slogans { grid-template-columns: 1fr 1fr; justify-content: stretch; } .hs-item + .hs-item { padding-left: 0; border-left: 0; } }

/* Products menu: four product columns, same building blocks as the Solutions menu */
.pl-cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pp-kyt .pl-head { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.pp-tracex .pl-head { background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
.pp-txm .pl-head { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.pp-identity .pl-head { background: linear-gradient(140deg, #1f6f63, var(--metacomp-secondary-500)); }
.pl-flag-on { margin-left: 6px; vertical-align: 2px; background: rgba(255,255,255,.2); color: #fff; }
.site-header.on-dark .pl-flag-on { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 1100px) { .pl-cols-4 { grid-template-columns: 1fr 1fr; } }
.pl-cols-4 .pl-head { min-height: 96px; }
.pl-cols .pl-head { min-height: 76px; }
.pl-go { opacity: .5; font-weight: 400; transition: transform .15s, opacity .15s; }
.pl-grp-h:hover .pl-go { opacity: 1; transform: translateX(3px); }
.pl-web25 .pl-grp, .site-header.on-dark .pl-web25 .pl-grp { border-style: solid; border-color: var(--border-minimal); }
.site-header.on-dark .pl-web25 .pl-grp { border-color: rgba(255,255,255,.12); }

/* Custom select: replaces the native dropdown in forms */
.csel { position: relative; }
.csel-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.csel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-subtle, #d9d4ea); background: var(--surface-white); font: inherit; font-size: 15px; font-weight: 400; color: var(--text-page-title); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.csel-btn:hover { border-color: var(--metacomp-primary-300); }
.csel-btn:focus-visible, .csel.open .csel-btn { outline: none; border-color: var(--metacomp-primary-500); box-shadow: 0 0 0 3px rgba(123,92,255,.18); }
.csel-btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--text-remarks); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.csel.open .csel-btn svg { transform: rotate(180deg); }
.csel-empty .csel-val { color: var(--text-remarks); }
.csel-btn:disabled { opacity: .5; cursor: not-allowed; }
.csel-invalid .csel-btn { border-color: var(--conditions-danger-600, #d64545); }
.csel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: 0 18px 40px rgba(15,5,45,.16); animation: cselin .16s var(--ease); }
@keyframes cselin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.csel-list li { position: relative; padding: 9px 34px 9px 12px; border-radius: 8px; font-size: 15px; color: var(--text-page-title); cursor: pointer; outline: none; }
.csel-list li:hover, .csel-list li:focus { background: var(--metacomp-primary-50); color: var(--metacomp-primary-800); }
.csel-list li[aria-selected="true"] { font-weight: 600; color: var(--metacomp-primary-800); }
.csel-list li[aria-selected="true"]::after { content: "✓"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--metacomp-primary-600); }
@media (prefers-reduced-motion: reduce) { .csel-list { animation: none; } }
.dm-form label:has(.csel-native:required) > span:first-child::after { content: " *"; color: var(--conditions-danger-600, #d64545); }
@keyframes cselin { from { transform: translateY(-4px); } to { transform: none; } }
#megamap-home .mm-stage + p.center { margin-top: 28px; }
#scenarios .grid-3 + p.center { margin-top: 32px; }
.tm-sub:first-of-type { margin-top: 0; }
.tm-row-photo { background: #fff; }

/* ---------- Text rhythm pass (2026-11-13): more air around and inside dense blocks ---------- */
.section-head { gap: 18px; margin-bottom: 56px; max-width: 680px; }
.section-head .lead, .prod-block .pb-head .lead { max-width: 44em; }
.prod-block .pb-head { gap: 16px; margin-bottom: 44px; }
.pb-tagline { line-height: 1.4; }
.pb-caps { gap: 20px; }
.pb-cap { padding: 26px 24px; gap: 10px; }
.pb-cap h3 { font-size: 17px; line-height: 1.35; }
.pb-cap p, .card p, .route-card p { font-size: 15px; line-height: 1.7; }
@media (max-width: 1280px) { .pb-cols-4 { grid-template-columns: 1fr 1fr; } }

/* KYT four steps: two by two, so each step has room to read */
.kf-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kf-step + .kf-step::before { display: none; }
.kf-step { padding: 28px 28px 26px; gap: 12px; }
.kf-step p { font-size: 15px; line-height: 1.7; }
.kf-proof { margin-top: 32px; padding: 24px 28px; gap: 16px 40px; }

/* About */
.ab-who-body { gap: 20px; }
.ab-who-body p { line-height: 1.75; }
.ab-vm-card p { line-height: 1.7; }
.tm-row { padding: 28px; }
.tm-row-body { gap: 16px; }
.tm-row .tm-bio { gap: 10px 36px; }
.tm-bio li { font-size: 14.5px; line-height: 1.65; }

/* Product diagrams and lists */
.ta-mid { gap: 12px; }
.ta-layer { padding: 18px 20px; }
.ta-layer span { font-size: 14px; line-height: 1.6; }
.kd-item { padding: 12px 16px; }
.tb-props { gap: 22px; }
.tb-prop p { line-height: 1.65; }
.sol3-points { gap: 12px; padding: 22px 24px; }
.sol3-points li { line-height: 1.55; }
.serve-card p { line-height: 1.6; }
@media (max-width: 760px) { .section-head { margin-bottom: 40px; } .prod-block .pb-head { margin-bottom: 32px; } .kf-grid { grid-template-columns: 1fr; } }

/* About · Who We Are: title and opening line on the left, the story on the right, balanced */
.ab-who { grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-who-head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 120px; }
.ab-who-head h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; }
.ab-who-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; font-weight: 500; color: var(--text-page-title); padding-left: 16px; border-left: 3px solid var(--metacomp-secondary-500); }
.ab-who-body { gap: 22px; padding-top: 6px; }
.ab-who-body p { font-size: 16px; line-height: 1.8; color: var(--text-description); }
.ab-who-body .ab-who-close { padding-top: 18px; border-top: 1px solid var(--border-minimal); color: var(--text-page-title); font-weight: 500; }
@media (max-width: 960px) { .ab-who { grid-template-columns: 1fr; } .ab-who-head { position: static; } }

/* Custom date picker (shares the .csel button look) */
.cdate .csel-btn svg { transform: none !important; }
.cdate-pop { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: 300px; padding: 14px; border-radius: 14px; background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: 0 18px 40px rgba(15,5,45,.16); animation: cselin .16s var(--ease); }
.cdate-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cdate-head strong { font-size: 15px; font-weight: 600; color: var(--text-page-title); }
.cdate-nav { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.cdate-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--text-description); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cdate-next svg { transform: rotate(180deg); }
.cdate-nav:hover:not(:disabled) { background: var(--metacomp-primary-50); }
.cdate-nav:disabled { opacity: .3; cursor: default; }
.cdate-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cdate-wd { padding: 4px 0 6px; text-align: center; font-size: 12px; font-weight: 500; color: var(--text-remarks); }
.cdate-day { height: 36px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; color: var(--text-page-title); cursor: pointer; outline: none; }
.cdate-day:hover:not(:disabled), .cdate-day:focus-visible { background: var(--metacomp-primary-50); color: var(--metacomp-primary-800); }
.cdate-day.is-today { font-weight: 700; color: var(--metacomp-primary-600); }
.cdate-day[aria-selected="true"] { background: var(--metacomp-primary-600); color: #fff; font-weight: 600; }
.cdate-day:disabled { color: var(--text-remarks); opacity: .4; cursor: default; }
@media (prefers-reduced-motion: reduce) { .cdate-pop { animation: none; } }
@media (max-width: 400px) { .cdate-pop { width: calc(100vw - 48px); } }

/* TraceX: the brochure headline is long, so it runs a size smaller */
#pt-title { font-size: clamp(34px, 3.5vw, 50px); }

/* ---------- 2026-11-16: AEGIS, the core graph intelligence system ---------- */
.ph-aegis { background: radial-gradient(900px 500px at 80% 30%, rgba(63,224,207,.22), transparent 58%), radial-gradient(700px 500px at 0% 100%, rgba(123,92,255,.34), transparent 60%), linear-gradient(180deg, #0c0a2e, #102a3a); }
.ae-title { font-size: clamp(56px, 7vw, 92px); letter-spacing: 6px; line-height: 1; }
.ae-expand { margin: -6px 0 0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: #8ff0e2; }
.ae-name { margin: 0; padding: 10px 14px; border-left: 3px solid #3fe0cf; border-radius: 0 10px 10px 0; background: rgba(255,255,255,.06); font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.72); }
.ae-name b { color: #fff; }
.ae-say { margin: 0 6px 0 4px; color: #8ff0e2; font-weight: 600; }
.pv-aegis svg { width: 100%; height: auto; display: block; }
.pva-edges path { fill: none; stroke: rgba(208,188,255,.26); stroke-width: 1.4; }
.pva-attn line { stroke: #ffc861; stroke-linecap: round; animation: pvaw 4s var(--ease) infinite; }
.pva-attn .w1 { stroke-width: 1.5; opacity: .35; } .pva-attn .w2 { stroke-width: 2; opacity: .45; animation-delay: .4s; }
.pva-attn .w3 { stroke-width: 5; opacity: .95; animation-delay: .8s; } .pva-attn .w4 { stroke-width: 2.5; opacity: .55; animation-delay: 1.2s; }
.pva-attn .w5 { stroke-width: 1.2; opacity: .3; animation-delay: 1.6s; } .pva-attn .w6 { stroke-width: 1.8; opacity: .4; animation-delay: 2s; }
@keyframes pvaw { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .35; } }
.pva-nodes circle { fill: rgba(208,188,255,.75); }
.pva-hot { fill: #ff9a5a; }
.pva-ring { fill: none; stroke: #ff9a5a; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pvtring 1.6s infinite; }
.pva-core { fill: #3fe0cf; stroke: rgba(255,255,255,.7); stroke-width: 2; filter: drop-shadow(0 0 12px rgba(63,224,207,.6)); }
.pv-aegis text { font-size: 12px; fill: rgba(255,255,255,.75); font-family: var(--font-brand); }
.pv-aegis .pva-core-t { font-size: 9px; font-weight: 700; letter-spacing: .5px; fill: #06201f; }
.pva-tag { background: rgba(63,224,207,.14); border-color: rgba(63,224,207,.4); color: #8ff0e2; }

.ae-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ae-part { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); box-shadow: var(--elevation-raised); }
.ae-part h3 { font-size: 22px; }
.ae-part > p:last-child { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-description); }
.ae-part-k { margin: 6px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--metacomp-secondary-600); }
.ae-part-v { padding: 18px; border-radius: 16px; background: var(--gradient-light); border: 1px solid var(--metacomp-primary-100); }
.ae-part-v svg { width: 100%; height: auto; display: block; max-height: 130px; }
.aep-line line { stroke: var(--metacomp-primary-500); stroke-width: var(--w); stroke-linecap: round; opacity: calc(.25 + var(--w) / 6); }
.aep-edge path { fill: none; stroke: var(--metacomp-primary-200); stroke-width: 1.6; }
.aep-flow { fill: none; stroke: var(--metacomp-secondary-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 8; animation: aeflow 1.6s linear infinite; }
@keyframes aeflow { to { stroke-dashoffset: -28; } }
.aep-n circle { fill: var(--metacomp-primary-200); }
.aep-hi { fill: #ff9a5a; }
.aep-q { fill: var(--metacomp-primary-700); }
.ae-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ae-chips span { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); background: var(--surface-white); border: 1px solid var(--metacomp-primary-100); color: var(--metacomp-primary-700); }
.ae-allinall { margin: 32px auto 0; text-align: center; font-size: 18px; color: var(--text-description); }
.ae-allinall b { color: var(--text-page-title); }

.ae-flow { display: grid; grid-template-columns: .9fr 2.2fr .9fr .85fr; gap: 28px; align-items: stretch; }
.ae-col { position: relative; display: flex; flex-direction: column; gap: 10px; }
.ae-col + .ae-col::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: #5fe3d4; font-weight: 700; }
.ae-col-k { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ae-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); text-decoration: none; flex: 1; justify-content: center; }
.ae-card b { color: #fff; font-size: 15px; }
.ae-card span { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.ae-in .ae-card { border-color: rgba(63,224,207,.35); background: rgba(63,224,207,.06); }
.ae-prod { transition: border-color .2s, background .2s; }
.ae-prod:hover { text-decoration: none; border-color: #ffc861; background: rgba(255,200,97,.08); }
.ae-u { border-color: rgba(255,200,97,.3); }
.ae-core { padding: 18px; border-radius: 22px; border: 1.5px solid rgba(63,224,207,.55); background: rgba(63,224,207,.04); box-shadow: 0 0 40px rgba(63,224,207,.12) inset; }
.ae-core-k { color: #8ff0e2; }
.ae-core-body { display: grid; grid-template-columns: 1.1fr auto 1.15fr; gap: 14px; align-items: center; flex: 1; }
.ae-core-in, .ae-core-out { display: flex; flex-direction: column; gap: 8px; }
.ae-mini-k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #7fe9dc; }
.ae-core-in svg { width: 100%; height: auto; display: block; }
.aec-e path { fill: none; stroke: rgba(159,182,188,.5); stroke-width: 1.4; }
.aec-flow { fill: none; stroke: #3fe0cf; stroke-width: 2.4; stroke-dasharray: 6 8; animation: aeflow 1.6s linear infinite; }
.aec-n { fill: #9fdff5; } .aec-bad { fill: #ff5d7a; } .aec-ex { fill: #5ab8ff; } .aec-focus { fill: #3fe0cf; }
.ae-core-in text { font-size: 9.5px; fill: rgba(255,255,255,.7); font-family: var(--font-brand); }
.ae-pats { display: flex; flex-wrap: wrap; gap: 6px; }
.ae-pats span { font-size: 12px; padding: 3px 10px; border-radius: 8px; border: 1px dashed rgba(255,200,97,.55); color: #ffd98f; }
.ae-engine { width: 112px; padding: 18px 10px; border-radius: 18px; text-align: center; background: linear-gradient(160deg, #0f6f6c, #2a1a78); border: 1.5px solid #3fe0cf; box-shadow: 0 0 26px rgba(63,224,207,.35); }
.ae-engine strong { display: block; color: #fff; font-size: 20px; letter-spacing: 2px; }
.ae-engine span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,.75); }
.ae-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.ae-bar b { color: var(--c); }
.ae-bar i { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--c) calc(var(--v) * 100%), rgba(255,255,255,.1) 0); transform-origin: left; }
.reveal .ae-bar i { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.reveal.in .ae-bar i { transform: none; }
.ae-traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ae-traits span { font-size: 12.5px; padding: 4px 12px; border-radius: var(--radius-full); background: rgba(63,224,207,.08); border: 1px solid rgba(63,224,207,.35); color: #dff7f3; }

.ae-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ae-vs-badge { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--metacomp-secondary-500), var(--metacomp-primary-600)); box-shadow: 0 0 0 6px var(--surface-background); }
.ae-side { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.ae-side-g { border-top: 4px solid var(--metacomp-secondary-500); }
.ae-side-l { border-top: 4px solid var(--metacomp-primary-300); }
.ae-side-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; padding: 3px 12px; border-radius: var(--radius-full); background: var(--metacomp-secondary-50); color: var(--metacomp-secondary-700); }
.ae-side-l .ae-side-tag { background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); }
.ae-side h3 { font-size: 21px; margin-top: 4px; }
.ae-side-sub { margin: 0 0 6px; font-size: 14.5px; color: var(--text-description); }
.ae-rows { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ae-rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-background); }
.ae-rows dt { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--metacomp-secondary-700); padding-top: 2px; }
.ae-side-l .ae-rows dt { color: var(--metacomp-primary-600); }
.ae-rows dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-page-title); }
.ae-why { margin-top: 28px; padding: 24px 26px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid rgba(255,186,48,.45); }
.ae-why h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8a6219; margin-bottom: 14px; }
.ae-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ae-why-grid b { display: block; font-size: 16px; color: var(--text-page-title); margin-bottom: 4px; }
.ae-why-grid p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-description); }

.ae-fuse { padding: 20px; border-radius: 24px; background: var(--dark-bg); }
.ae-fuse svg { width: 100%; height: auto; display: block; }
.aef-ask, .aef-ans { fill: none; stroke-width: 2.4; stroke-dasharray: 6 8; animation: aeflow 1.6s linear infinite; }
.aef-ask { stroke: #b9a2e6; } .aef-ans { stroke: #3fe0cf; }
.aef-halo { fill: #3fe0cf; opacity: .12; }
.aef-g { fill: #0f6f6c; stroke: #5fe3d4; stroke-width: 2; }
.aef-l { fill: #2a1a78; stroke: #b9a2e6; stroke-width: 1.6; }
.ae-fuse text { font-family: var(--font-brand); }
.aef-gt { font-size: 28px; font-weight: 700; fill: #fff; letter-spacing: 2px; } .aef-gs { font-size: 12px; fill: #dff7f3; }
.aef-lt { font-size: 20px; font-weight: 700; fill: #fff; } .aef-ls { font-size: 11px; fill: #d4c9f2; }
.aef-k { font-size: 13px; font-weight: 700; fill: #d4c9f2; } .aef-k-g { fill: #8ff0e2; } .aef-s { font-size: 12px; fill: rgba(255,255,255,.7); }

/* "Powered by AEGIS" link band, used on KYT, TraceX, TxM and the homepage */
.ae-band { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-l); color: #fff; text-decoration: none; background: linear-gradient(120deg, #0f4f5c, #2a1a78); border: 1px solid rgba(63,224,207,.45); transition: transform .2s var(--ease), box-shadow .2s; }
.ae-band:hover { text-decoration: none; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42,26,120,.25); }
.ae-band-mark { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: rgba(63,224,207,.18); border: 1px solid rgba(63,224,207,.6); color: #8ff0e2; }
.ae-band-t { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ae-band-t b { font-size: 16px; color: #fff; }
.ae-band-t span { font-size: 14px; color: rgba(255,255,255,.75); }
.ae-band-go { font-weight: 600; color: #8ff0e2; white-space: nowrap; }

/* Homepage AEGIS section */
.ae-home { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ae-home .section-head { margin-bottom: 0; }
.ae-home-parts { display: grid; gap: 14px; }
.ae-home-parts .ae-part { padding: 22px 24px; gap: 6px; }
.ae-home-parts .ae-part h3 { font-size: 18px; }
.ae-home-parts .ae-part p { font-size: 14.5px; }
.ae-home-pow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--text-remarks); }
.ae-home-pow a { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); background: var(--metacomp-primary-50); color: var(--metacomp-primary-700); text-decoration: none; }

/* Products and Solutions menus: AEGIS as the core strip under the columns */
.pl-core { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 12px 16px; border-radius: 14px; text-decoration: none; background: linear-gradient(120deg, #0f4f5c, #2a1a78); color: #fff; }
.pl-core:hover { text-decoration: none; color: #fff; filter: brightness(1.08); }
.pl-core-mark { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: #8ff0e2; }
.pl-core-t { flex: 1; font-size: 13.5px; color: rgba(255,255,255,.85); }
.pl-core-go { color: #8ff0e2; }

@media (max-width: 1100px) {
  .ae-flow { grid-template-columns: 1fr 1fr; }
  .ae-core { grid-column: 1 / -1; order: -1; }
  .ae-col + .ae-col::before { display: none; }
  .ae-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ae-duo, .ae-vs, .ae-home { grid-template-columns: 1fr; }
  .ae-vs-badge { display: none; }
  .ae-core-body { grid-template-columns: 1fr; }
  .ae-engine { width: auto; }
  .ae-band { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .ae-flow, .ae-why-grid { grid-template-columns: 1fr; }
  .ae-rows > div { grid-template-columns: 1fr; gap: 2px; }
}
a.st-lgm { text-decoration: none; transition: transform .2s var(--ease); }
a.st-lgm:hover { text-decoration: none; color: #fff; transform: translateY(-2px); }
.ae-expand-light { margin: -4px 0 4px; color: var(--metacomp-secondary-700); font-size: 16px; }
.ab-tier-core { grid-template-columns: 170px 1fr auto; text-decoration: none; background: linear-gradient(120deg, #0f4f5c, #2a1a78); border-color: transparent; }
.ab-tier-core:hover { text-decoration: none; filter: brightness(1.08); }
.ab-tier-core strong { color: #fff; letter-spacing: 2px; } .ab-tier-core > div > span { color: rgba(255,255,255,.78); }
.ab-tier-core .ab-k { color: #8ff0e2; } .ab-tier-core .ab-go { color: #8ff0e2; }
@media (max-width: 760px) { .ab-tier-core { grid-template-columns: 1fr; } }
/* AEGIS flow: give the core room; "Uncovers" becomes a strip underneath */
.ae-flow { grid-template-columns: .8fr 2.6fr .8fr; row-gap: 22px; }
.ae-unc { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: 12px; padding-top: 18px; border-top: 1px dashed rgba(255,200,97,.35); }
.ae-unc::before { display: none; }
.ae-unc .ae-col-k { align-self: center; margin: 0 8px 0 0; color: #ffd98f; }
.ae-unc .ae-card { flex: 1; flex-direction: row; align-items: center; justify-content: center; padding: 14px 16px; }
.ae-core-body { grid-template-columns: 1fr 120px 1.25fr; gap: 18px; }
.ae-bar { font-size: 13.5px; }
@media (max-width: 1100px) { .ae-flow { grid-template-columns: 1fr 1fr; } .ae-unc { flex-wrap: wrap; } }
@media (max-width: 560px) { .ae-flow { grid-template-columns: 1fr; } .ae-unc { flex-direction: column; } }
.ae-core-out .ae-mini-k { text-transform: none; letter-spacing: .3px; font-size: 12px; justify-content: space-between; }
.aef-ls { font-size: 10px; }
@media (max-width: 860px) { .ae-core-body { grid-template-columns: 1fr; } .ae-engine { width: auto; } .ae-core-in svg { max-width: 320px; } }

/* AEGIS base row in the Products and Solutions menus (replaces the heavy gradient strip) */
.pl-core { position: relative; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 18px; margin-top: 6px; padding: 10px 18px 10px 16px;
  border-radius: 14px; text-decoration: none; background: var(--surface-white); border: 1px solid var(--border-minimal); color: var(--text-page-title); filter: none; transition: border-color .2s, box-shadow .2s; }
.pl-core::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #3fe0cf, #7b5cff); }
.pl-core:hover { text-decoration: none; color: var(--text-page-title); filter: none; border-color: var(--metacomp-secondary-300); box-shadow: 0 8px 20px rgba(15,5,45,.10); }
.pl-core-k { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); padding-right: 16px; border-right: 1px solid var(--border-minimal); }
.pl-core-name { display: inline-flex; align-items: center; gap: 10px; }
.pl-core-name .mm-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--metacomp-secondary-50); color: var(--metacomp-secondary-700); }
.pl-core-name .mm-icon svg { width: 18px; height: 18px; }
.pl-core-name b { font-size: 15px; letter-spacing: 2px; color: var(--text-page-title); }
.pl-core-t { font-size: 13.5px; color: var(--text-description); }
.pl-core-go { font-size: 13px; font-weight: 600; color: var(--metacomp-primary-700); white-space: nowrap; }
@media (max-width: 960px) { .pl-core { grid-template-columns: auto 1fr auto; } .pl-core-k { display: none; } }
.site-header.on-dark .pl-core { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.site-header.on-dark .pl-core:hover { border-color: rgba(63,224,207,.55); box-shadow: none; }
.site-header.on-dark .pl-core-k { color: rgba(255,255,255,.55); border-right-color: rgba(255,255,255,.14); }
.site-header.on-dark .pl-core-name .mm-icon { background: rgba(63,224,207,.16); color: #8ff0e2; }
.site-header.on-dark .pl-core-name b { color: #fff; }
.site-header.on-dark .pl-core-t { color: rgba(255,255,255,.72); }
.site-header.on-dark .pl-core-go { color: #8ff0e2; }

/* AEGIS vs LLM: the original comparison graphics on dark stages */
.aev .dash { stroke-dasharray: 6 8; animation: aeflow 1.6s linear infinite; }
.aev .dash-slow { stroke-dasharray: 5 7; animation: aeflow 3s linear infinite; }
.aev .pulse { animation: aevpulse 3s ease-in-out infinite; }
@keyframes aevpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.aev .grow { transform-box: fill-box; transform-origin: left center; animation: aevgrow 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes aevgrow { from { transform: scaleX(0); } }
.aev text { font-family: var(--font-brand); }
.aev-stage { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 20px 22px 22px; border-radius: var(--radius-l); color: #e8f1f2;
  background: radial-gradient(900px 340px at 10% -20%, #134048 0%, transparent 60%), radial-gradient(800px 340px at 110% 130%, #1b282d 0%, transparent 60%), #0b171d; border: 1px solid #1f5c5a; }
.aev-l { border-color: #3a2f62; background: radial-gradient(900px 340px at 90% -20%, #251e44 0%, transparent 60%), radial-gradient(800px 340px at -10% 130%, #123a44 0%, transparent 60%), #0b171d; }
.aev-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-full); color: #7ff0e2; border: 1px solid #2c8c84; background: rgba(63,224,207,.08); }
.aev-l .aev-tag { color: #bba9ec; border-color: #56478c; background: rgba(171,154,224,.06); }
.aev-tag-gold { color: #ffd98f; border-color: #a8752a; background: rgba(255,200,97,.08); }
.aev-stage h3 { color: #fff; font-size: 21px; margin-top: 6px; }
.aev-sub { margin: 0 0 6px; font-size: 14.5px; color: #9fb6bc; }
.aev-svg { width: 100%; height: auto; display: block; margin: 4px 0 10px; }
.aev-stage .ae-rows > div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.aev-stage .ae-rows dt { color: #7ff0e2; }
.aev-l .ae-rows dt { color: #bba9ec; }
.aev-stage .ae-rows dd { color: #dce8ea; }
.ae-vs.aev { align-items: stretch; }
.aev-fuse-stage { border-color: #5c4520; background: radial-gradient(1000px 360px at 35% -25%, #3a2c10 0%, transparent 60%), radial-gradient(900px 360px at 100% 120%, #1b282d 0%, transparent 60%), radial-gradient(700px 300px at 0% 120%, #0f3a40 0%, transparent 60%), #0b171d; }
.aev-fuse { margin-top: 10px; }
.aev-steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aev-steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--radius-l); background: var(--surface-white); border: 1px solid var(--border-minimal); }
.aev-steps li::before { content: "0" counter(s); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--metacomp-secondary-600); }
.aev-steps strong { font-size: 17px; color: var(--text-page-title); }
.aev-steps span { font-size: 14.5px; line-height: 1.65; color: var(--text-description); }
@media (max-width: 860px) { .aev-steps { grid-template-columns: 1fr; } .aev-fuse-stage { overflow-x: auto; } .aev-fuse { min-width: 720px; } }
/* Menus: every column ends on the same line, so the AEGIS row sits under an even block */
.pl-cols { align-items: stretch; }
.pl-col > :last-child { flex: 1; }
.pl-plain, .pl-grp { justify-content: flex-start; }
.mega-platform .pl-top { margin-bottom: 0; }

/* ---------- 2026-11-16: menus as product cards ---------- */
.pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pc { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--surface-white); border: 1px solid var(--border-minimal); transition: box-shadow .2s, transform .2s var(--ease); }
.pc:hover { box-shadow: 0 12px 28px rgba(15,5,45,.12); }
.pc-h { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 14px 16px; color: #fff; text-decoration: none; }
.pc-h:hover { color: #fff; text-decoration: none; }
.pc-h .mm-icon { width: 36px; height: 36px; background: rgba(255,255,255,.16); color: #fff; }
.pc-h .scn-text { flex: 1; min-width: 0; }
.pc-h .scn-title { white-space: normal; }
.pc-h .scn-go { position: static; height: auto; transition: transform .2s; }
.pc-h:hover .scn-go { transform: translateX(3px); }
.pc-b { display: flex; flex-direction: column; gap: 2px; padding: 8px; flex: 1; }
.pc-kyt .pc-h { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.pc-tracex .pc-h { background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
.pc-txm .pc-h { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.pc-identity .pc-h { background: linear-gradient(140deg, #1f6f63, var(--metacomp-secondary-500)); }
.sl-grid { row-gap: 10px; }
.sl-sec { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; border-bottom: 2px solid var(--border-minimal); color: var(--text-page-title); text-decoration: none; }
.sl-sec:hover { text-decoration: none; color: var(--metacomp-primary-700); }
.sl-sec .mm-icon { width: 28px; height: 28px; border-radius: 8px; }
.sl-sec .mm-icon svg { width: 16px; height: 16px; }
.sl-sec .scn-text { flex: 1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sl-sec .scn-title { font-size: 14px; font-weight: 700; }
.sl-sec .scn-desc { font-size: 12.5px; color: var(--text-remarks); opacity: 1; }
.sl-onboarding { grid-column: 1; border-bottom-color: var(--metacomp-secondary-400); }
.sl-web25 { grid-column: 2; border-bottom-color: #6a7fe0; }
.sl-web3 { grid-column: 3 / 5; border-bottom-color: var(--metacomp-primary-400); }
.site-header.on-dark .pc { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.site-header.on-dark .sl-sec { color: #fff; }
.site-header.on-dark .sl-sec .scn-desc { color: rgba(255,255,255,.6); }
.site-header.on-dark .sl-sec .mm-icon { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 1100px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-sec { display: none; }
}

/* Menus: wider panel so names and lines sit on one line; quiet product cards with a colour accent */
.mega-platform .container { max-width: 1480px; }
.pc { --pc: var(--metacomp-primary-600); --pc-soft: var(--metacomp-primary-50); border-top: 3px solid var(--pc); }
.pc-kyt { --pc: #6a4fd0; --pc-soft: #efeaff; }
.pc-tracex { --pc: #4a3a9a; --pc-soft: #ece8fb; }
.pc-txm { --pc: #3f57c9; --pc-soft: #e7ecff; }
.pc-identity { --pc: var(--metacomp-secondary-600); --pc-soft: var(--metacomp-secondary-50); }
.pc .pc-h, .pc-kyt .pc-h, .pc-tracex .pc-h, .pc-txm .pc-h, .pc-identity .pc-h { background: none; color: var(--text-page-title); min-height: 0; padding: 14px 16px 12px; border-bottom: 1px solid var(--border-minimal); }
.pc .pc-h:hover { color: var(--text-page-title); background: var(--pc-soft); }
.pc-h .mm-icon { background: var(--pc-soft); color: var(--pc); }
.pc-h .scn-title { font-size: 15px; font-weight: 700; white-space: nowrap; }
.pc-h .scn-desc { color: var(--text-remarks); opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-h .scn-go { color: var(--pc); }
.sl-sec .scn-desc { white-space: nowrap; }
.site-header.on-dark .pc { border-top-color: var(--pc); }
.site-header.on-dark .pc-kyt { --pc: #b9a2e6; } .site-header.on-dark .pc-tracex { --pc: #9d8cf0; }
.site-header.on-dark .pc-txm { --pc: #8fa6ff; } .site-header.on-dark .pc-identity { --pc: #6fd9c9; }
.site-header.on-dark .pc .pc-h { color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.site-header.on-dark .pc .pc-h:hover { background: rgba(255,255,255,.05); }
.site-header.on-dark .pc-h .mm-icon { background: rgba(255,255,255,.08); color: var(--pc); }
.site-header.on-dark .pc-h .scn-desc { color: rgba(255,255,255,.6); }
@media (max-width: 1280px) { .pc-h .scn-title, .pc-h .scn-desc, .sl-sec .scn-desc { white-space: normal; } }
.site-header .container { max-width: 1480px; }
.pc-h .scn-desc { white-space: normal; overflow: visible; text-overflow: clip; }
@media (min-width: 1200px) { .site-header .container, .mega-platform .container { padding-left: 40px; padding-right: 40px; } }

.pc-h .scn-title { display: flex; align-items: center; gap: 8px; }
.pc-badge { font-size: 10.5px; font-weight: 600; letter-spacing: .5px; padding: 1px 7px; border-radius: var(--radius-full); color: var(--pc); background: var(--pc-soft); }
.site-header.on-dark .pc-badge { background: rgba(255,255,255,.08); }

/* ---------- 2026-11-16: menus, colour headers back, one type scale, everything on the same lines ---------- */
.pc { border-top: 0; }
.site-header.on-dark .pc { border-top: 1px solid rgba(255,255,255,.12); }
.pc .pc-h, .site-header.on-dark .pc .pc-h { color: #fff; border-bottom: 0; height: 84px; min-height: 0; padding: 0 14px; gap: 12px; align-items: center; }
.pc-kyt .pc-h { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.pc-tracex .pc-h { background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
.pc-txm .pc-h { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.pc-identity .pc-h { background: linear-gradient(140deg, #1f6f63, var(--metacomp-secondary-500)); }
.pc .pc-h:hover, .site-header.on-dark .pc .pc-h:hover { color: #fff; filter: brightness(1.08); background-color: transparent; }
.pc-kyt .pc-h:hover { background: linear-gradient(140deg, #4a3a9a, var(--metacomp-primary-700)); }
.pc-tracex .pc-h:hover { background: linear-gradient(140deg, var(--metacomp-primary-950), #4a3a9a); }
.pc-txm .pc-h:hover { background: linear-gradient(140deg, #3f57c9, #6a4fd0); }
.pc-identity .pc-h:hover { background: linear-gradient(140deg, #1f6f63, var(--metacomp-secondary-500)); }
.pc-h .mm-icon, .site-header.on-dark .pc-h .mm-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; }
.pc-h .mm-icon svg { width: 18px; height: 18px; }
.pc-h .scn-text { display: flex; flex-direction: column; gap: 3px; }
.pc-h .scn-title { font-size: 15px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.pc-h .scn-desc, .site-header.on-dark .pc-h .scn-desc { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.8); white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-h .scn-go { color: rgba(255,255,255,.85); align-self: center; }
.pc-badge, .site-header.on-dark .pc-badge { color: #fff; background: rgba(255,255,255,.18); font-size: 10.5px; line-height: 16px; }
/* sub-products: one row height, one size */
.pc-b { padding: 8px; gap: 0; }
.pc-b .pl-item { font-size: 14px; line-height: 20px; padding: 8px 28px 8px 10px; }
/* Solutions: the section labels share one height and one baseline */
.sl-sec { height: 52px; padding: 0 4px; align-items: center; }
.sl-sec .scn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; flex-wrap: nowrap; min-width: 0; }
.sl-sec .scn-title { font-size: 14px; line-height: 18px; }
.sl-sec .scn-desc { font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sl-sec .mm-icon { width: 30px; height: 30px; }
/* the label row above both grids */
.mega-platform .pl-top { height: 20px; align-items: center; }
.pl-brand { font-size: 13px; }
/* AEGIS row: same side edges and corner radius as the cards; sits above them */
.pl-core { border-radius: 16px; min-height: 52px; padding-top: 0; padding-bottom: 0; margin: 0 0 6px; }
@media (max-width: 1280px) { .pc-h .scn-title { white-space: normal; } }

/* AEGIS copy v2 */
.ae-name-full { display: block; margin-bottom: 2px; color: #8ff0e2; font-weight: 600; }
.ae-part > p:not(.ae-part-k) { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-description); }
.ae-rule { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ae-rule > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-background); font-size: 13.5px; line-height: 1.5; color: var(--text-description); }
.ae-rule-g { background: var(--metacomp-secondary-50) !important; }
.ae-rule-k { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-remarks); }
.ae-rule-g .ae-rule-k { color: var(--metacomp-secondary-700); }
.ae-name-row { margin: 40px 0 16px; text-align: center; }
.ae-name-h { margin: 0; font-size: 15px; color: var(--text-description); }
.ae-name-h b { letter-spacing: 2px; color: var(--text-page-title); }
.ae-duo-sm .ae-part { padding: 22px 24px; }
.ae-together { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 17px; line-height: 1.6; color: var(--text-page-title); font-weight: 500; }
.ae-home-tag { margin: 4px 0 0; padding-left: 12px; border-left: 3px solid var(--metacomp-secondary-400); font-size: 15px; font-weight: 600; color: var(--text-page-title); }
@media (max-width: 560px) { .ae-rule { grid-template-columns: 1fr; } }

/* AEGIS banner at the top of the menus: a small echo of the homepage hero */
.ae-nav { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin: 2px 0 8px; padding: 16px 20px 16px 18px; border-radius: 18px;
  text-decoration: none; color: #fff; background: var(--dark-bg); border: 1px solid rgba(143,240,226,.28); box-shadow: 0 10px 30px rgba(15,5,45,.18); transition: border-color .2s, box-shadow .2s; }
.ae-nav::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000); pointer-events: none; }
.ae-nav > * { position: relative; }
.ae-nav:hover { color: #fff; text-decoration: none; border-color: rgba(143,240,226,.6); box-shadow: 0 14px 34px rgba(63,224,207,.18); }
.ae-nav-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(208,188,255,.14); color: #d0bcff; }
.ae-nav-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ae-nav-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ae-nav-k { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #8ff0e2; }
.ae-nav-t { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ae-nav-t b { font-size: 20px; letter-spacing: 3px; color: #fff; }
.ae-nav-t span { font-size: 14px; color: rgba(255,255,255,.72); }
.ae-nav-pow { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: rgba(255,255,255,.55); white-space: nowrap; }
.ae-nav-pow span { margin-right: 4px; }
.ae-nav-pow i { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.ae-nav-net { flex: none; width: 110px; height: 44px; }
.ae-nav-net circle { fill: rgba(208,188,255,.7); }
.ae-nav-e { fill: none; stroke: rgba(208,188,255,.3); stroke-width: 1.2; }
.ae-nav-f { fill: none; stroke: #3fe0cf; stroke-width: 2; stroke-dasharray: 5 6; animation: aeflow 1.6s linear infinite; }
.ae-nav .ae-nav-bad { fill: #ff7a8a; } .ae-nav .ae-nav-hub { fill: #3fe0cf; }
.ae-nav-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border-radius: var(--radius-full); background: #fff; color: var(--metacomp-primary-900, #1b1150); font-size: 13.5px; font-weight: 600; transition: transform .2s var(--ease); }
.ae-nav:hover .ae-nav-btn { transform: translateX(2px); }
@media (max-width: 1200px) { .ae-nav-net { display: none; } }
@media (max-width: 1000px) { .ae-nav-pow { display: none; } .ae-nav-t span { display: none; } .ae-nav-btn { margin-left: auto; } }

/* AEGIS hero: copy on top, the network animation full width underneath */
.ae-hero { position: relative; display: flex; flex-direction: column; gap: 36px; }
.ae-hero .page-hero-inner { max-width: 880px; }
.ae-hero-stage { box-shadow: 0 30px 80px rgba(5,2,25,.45); }
@media (min-width: 1100px) {
  .ae-hero .page-hero-inner { max-width: none; display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 56px; row-gap: 14px; align-items: end; }
  .ae-hero .page-hero-inner > * { grid-column: 1; }
  .ae-hero .page-hero-inner > .page-lead, .ae-hero .page-hero-inner > .ae-name, .ae-hero .page-hero-inner > .ph-chips, .ae-hero .page-hero-inner > .hero-ctas { grid-column: 2; }
  .ae-hero .page-hero-inner > .page-lead { grid-row: 2; }
  .ae-hero .page-hero-inner > .ae-name { grid-row: 3; }
  .ae-hero .page-hero-inner > .ph-chips { grid-row: 4; }
  .ae-hero .page-hero-inner > .hero-ctas { grid-row: 5; }
  .ae-hero .page-hero-inner > .crumbs { grid-row: 1; } .ae-hero .page-hero-inner > .eyebrow { grid-row: 2; align-self: start; }
  .ae-hero .page-hero-inner > .ae-title { grid-row: 3; } .ae-hero .page-hero-inner > .ae-expand { grid-row: 4; align-self: start; }
}

/* AEGIS hero v2: one centred column over the animation, no dead space */
@media (min-width: 1100px) {
  .ae-hero .page-hero-inner { display: flex; flex-direction: column; align-items: center; }
  .ae-hero .page-hero-inner > * { grid-column: auto; grid-row: auto; align-self: auto; }
}
.ae-hero { gap: 44px; }
.ae-hero .page-hero-inner { max-width: 860px; margin: 0 auto; align-items: center; text-align: center; gap: 0; }
.ae-hero .crumbs { margin-bottom: 18px; }
.ae-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.ae-hero .ae-title { margin: 0; font-size: clamp(64px, 8vw, 104px); letter-spacing: 10px; padding-left: 10px; }
.ae-hero .ae-expand { margin: 14px 0 0; font-size: clamp(18px, 1.8vw, 24px); }
.ae-hero .ae-name { margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; color: rgba(255,255,255,.55); }
.ae-hero .ae-name-full { display: inline; margin: 0; color: rgba(255,255,255,.78); font-weight: 600; }
.ae-hero .page-lead { margin: 22px 0 0; max-width: 680px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; }
.ae-hero .hero-ctas { order: 10; margin-top: 26px; justify-content: center; }
.ae-hero .ph-chips { order: 11; margin-top: 18px; justify-content: center; }
@media (min-width: 1100px) { .ae-hero .page-hero-inner > .eyebrow, .ae-hero .page-hero-inner > .ae-expand { align-self: center; } }
