/* ==========================================================================
   ProcEaze — Design System
   Procurement, under one view.
   --------------------------------------------------------------------------
   01 Tokens            09 Cards & stats          17 Security & KAM
   02 Base & reset      10 Lifecycle / workflow   18 Categories
   03 Typography        11 Tabs                   19 Forms, modal, toast
   04 Layout            12 Spotlights             20 FAQ
   05 Buttons & links   13 Browser frame & UI     21 CTA band & footer
   06 Badges            14 Auction board          22 Prose (legal)
   07 Header & nav      15 Negotiator panel       23 Motion
   08 Heroes            16 Steps & comparison     24 Responsive
   ========================================================================== */

/* 01 — Tokens ------------------------------------------------------------ */
:root {
  --primary: #184AC3;
  --primary-600: #1541AE;
  --primary-700: #123794;
  --accent: #8FB0F7;
  --light-blue: #E8EEFB;
  --surface: #F5F8FE;
  --navy: #0F2A6B;
  --navy-900: #0A1E4F;
  --ink: #0F1B3D;
  --slate: #5B6475;
  --slate-400: #667085; /* muted text; was #8A93A6 (3.1:1), now 5:1 on white for WCAG AA */
  --white: #FFFFFF;

  --success: #16A34A;
  --warning: #D97706;
  --error: #DC2626;
  --info: #184AC3;
  --success-ink: #15803D;
  --warning-ink: #B45309;
  --error-ink: #B91C1C;

  --border: #DCE3F2;
  --border-soft: #E8EDF7;

  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 42, 107, .06);
  --shadow-sm: 0 1px 2px rgba(15, 42, 107, .05), 0 4px 14px -6px rgba(15, 42, 107, .10);
  --shadow-md: 0 2px 4px rgba(15, 42, 107, .04), 0 14px 34px -14px rgba(15, 42, 107, .22);
  --shadow-lg: 0 4px 10px rgba(15, 42, 107, .05), 0 34px 70px -26px rgba(15, 42, 107, .36);
  --shadow-glow: 0 0 0 1px rgba(143, 176, 247, .35), 0 30px 90px -24px rgba(6, 20, 64, .65);

  --container: 1280px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* 02 — Base & reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
/* Links inside sentences are underlined, so they don't rely on colour alone (WCAG 1.4.1).
   Buttons, cards, menus and link lists keep their own styling (they carry a class or sit in nav/lists). */
main :where(p, label, dd, td, blockquote, small) a:not([class]), main .prose a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main :where(p, label, dd, td, blockquote, small) a:not([class]):hover, main .prose a:not([class]):hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.section-blue :focus-visible, .section-dark :focus-visible, .section-navy :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
::selection { background: var(--accent); color: var(--navy-900); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* 03 — Typography -------------------------------------------------------- */
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--navy); line-height: 1.15; }
h1, h2, .display { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.25rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); line-height: 1.12; }
h3 { font-family: var(--font-sans); font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 650; }
.h-xl { font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.25rem); line-height: 1.02; letter-spacing: -.02em; }
.h-accent { color: var(--accent); font-style: italic; font-weight: 500; }
.text-primary { color: var(--primary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .8; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--slate); line-height: 1.65; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.fw-600 { font-weight: 600; }
.nowrap { white-space: nowrap; }

/* 04 — Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(72px, 5vw + 40px, 120px); }
.section-tight { padding-block: clamp(48px, 3vw + 28px, 80px); }
.section-light { background: var(--surface); }
.section-tint { background: var(--light-blue); }
.section-blue { background: var(--primary); color: #fff; }
.section-navy { background: var(--navy); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4,
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-blue .lead, .section-navy .lead { color: rgba(255, 255, 255, .82); }
.section-blue .eyebrow, .section-navy .eyebrow { color: var(--accent); }
/* On the brighter blue band the accent is too faint for small caps text: lighter tint */
.section-blue .eyebrow { color: #C9D8FC; }
.section-border { border-top: 1px solid var(--border-soft); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 3vw + 16px, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 16px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 3vw + 16px, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-form { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: start; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center { text-align: center; }

/* Decorative backgrounds */
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 20%, transparent 75%);
}
.bg-dots-dark {
  background-image: radial-gradient(rgba(24, 74, 195, .16) 1px, transparent 1.3px);
}
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.bg-grid-dark {
  background-image:
    linear-gradient(rgba(24, 74, 195, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 74, 195, .06) 1px, transparent 1px);
}
.bg-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .10);
  background: radial-gradient(circle at 30% 30%, rgba(143, 176, 247, .16), rgba(143, 176, 247, 0) 65%);
}
.bg-circle-dark { border-color: rgba(24, 74, 195, .10); background: radial-gradient(circle at 30% 30%, rgba(24, 74, 195, .07), rgba(24, 74, 195, 0) 65%); }
.bg-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.bg-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0; animation: particle 14s linear infinite;
  box-shadow: 0 0 10px 2px rgba(143, 176, 247, .55);
}
.bg-particles span:nth-child(1) { left: 12%; top: 78%; animation-delay: 0s; }
.bg-particles span:nth-child(2) { left: 38%; top: 88%; animation-delay: -3s; animation-duration: 17s; }
.bg-particles span:nth-child(3) { left: 58%; top: 70%; animation-delay: -7s; }
.bg-particles span:nth-child(4) { left: 74%; top: 92%; animation-delay: -10s; animation-duration: 19s; }
.bg-particles span:nth-child(5) { left: 88%; top: 80%; animation-delay: -5s; animation-duration: 15s; }
.bg-particles span:nth-child(6) { left: 26%; top: 95%; animation-delay: -12s; animation-duration: 21s; }
@keyframes particle {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .9; }
  80% { opacity: .5; }
  100% { transform: translateY(-560px); opacity: 0; }
}

/* 05 — Buttons & links --------------------------------------------------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .975rem; letter-spacing: -.005em; line-height: 1;
  white-space: nowrap; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--primary); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(24, 74, 195, .6); }
.btn-primary:hover { --btn-bg: var(--primary-600); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 26px -10px rgba(24, 74, 195, .7); }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: var(--border); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { --btn-bd: var(--accent); --btn-fg: var(--primary); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--primary); box-shadow: 0 10px 30px -12px rgba(6, 20, 64, .6); }
.btn-white:hover { --btn-bg: #F2F6FF; --btn-fg: var(--primary-700); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .32); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: rgba(255, 255, 255, .6); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: transparent; padding-inline: 12px; }
.btn-ghost:hover { --btn-bg: var(--light-blue); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section-blue .link-arrow, .section-navy .link-arrow { color: #fff; }

/* 06 — Badges ------------------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  border: 1px solid currentColor; white-space: nowrap; vertical-align: middle;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-coming { color: var(--warning-ink); border-color: #F0B66B; background: #FFF8EC; }
.badge-early { color: var(--primary); border-color: #9DB6F2; background: #F1F5FF; }
.badge-roadmap { color: #4B5466; border-color: #C9CFDB; background: #F6F7F9; }
.badge-roadmap::before { background: transparent; border: 1.5px solid currentColor; width: 7px; height: 7px; }
.badge-live { color: var(--success-ink); border-color: #9AD8B0; background: #F0FBF4; }
.badge-ready { color: var(--navy); border-color: #B7C6EA; background: #F3F6FD; }
.badge-verify { color: #4B5466; border-color: #C9CFDB; background: #fff; border-style: dashed; }
.badge-verify::before { display: none; }
.badge-demo { color: var(--slate); border-color: var(--border); background: #fff; font-size: .62rem; height: 20px; padding: 0 8px; }
.badge-demo::before { display: none; }
.badge-lg { height: 28px; padding: 0 12px; font-size: .74rem; }

/* 07 — Header & navigation ---------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(15, 42, 107, .08);
  box-shadow: 0 12px 32px -24px rgba(15, 42, 107, .5);
}
.site-header.is-scrolled { height: 64px; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-logo { display: block; height: 42px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 36px; }
.brand--light .brand-logo { filter: brightness(0) invert(1); }

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-track { position: relative; padding: 4px; border-radius: 999px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.is-scrolled .nav-track { background: rgba(232, 238, 251, .55); box-shadow: inset 0 0 0 1px rgba(24, 74, 195, .06); }
.nav-list { position: relative; z-index: 1; list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--navy); white-space: nowrap; transition: color .25s var(--ease);
}
.nav-link > span { position: relative; display: inline-block; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link:focus-visible, .nav-link[aria-current="page"] { color: var(--primary); }
.nav-link:hover > span { transform: translateY(-1px); }
/* Current page: a small dot under the label */
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--primary); }
/* Gliding pill — positioned by JS; without JS the dot marks the current page */
.nav-pill {
  position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: var(--pill-w, 0); border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(15, 42, 107, .06), 0 6px 16px -8px rgba(24, 74, 195, .35), inset 0 0 0 1px rgba(24, 74, 195, .08);
  transform: translateX(var(--pill-x, 0)); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1), opacity .25s;
}
.nav-track.has-pill .nav-pill { opacity: 1; }
.nav-track.pill-instant .nav-pill { transition: none; }

/* Dropdowns: sub-pages under Software and Services.
   Open on hover or keyboard focus; the top-level link still goes to the hub. */
.nav-item.has-dd { position: relative; }
.nav-caret { width: 14px; height: 14px; margin-left: 4px; opacity: .6; transition: transform .3s var(--ease), opacity .2s; }
.nav-item.has-dd:hover .nav-caret, .nav-item.has-dd:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }
.nav-dd {
  position: absolute; top: 100%; left: 50%; z-index: 5; padding-top: 12px; width: max-content; min-width: 300px; max-width: 380px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.nav-item.has-dd:hover > .nav-dd, .nav-item.has-dd:focus-within > .nav-dd, .nav-item.has-dd.dd-open > .nav-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.nav-item.has-dd.dd-open .nav-caret { transform: rotate(180deg); opacity: 1; }
.nav-item.has-dd.dd-closed > .nav-dd { opacity: 0; visibility: hidden; pointer-events: none; }
.nav-dd-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.dd-link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--navy); transition: background-color .2s; }
.dd-link:hover, .dd-link:focus-visible { background: var(--light-blue); color: var(--primary); }
.dd-link .icon-tile { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.dd-link .icon-tile .icon { width: 17px; height: 17px; }
.dd-link strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.dd-link small { display: block; font-size: .76rem; color: var(--slate); line-height: 1.35; margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .nav-dd, .nav-caret { transition: none; } }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-signin { position: relative; font-weight: 600; font-size: .9rem; color: var(--navy); padding: 8px 12px; border-radius: 10px; transition: color .2s, background-color .2s; }
.header-signin:hover { color: var(--primary); background: var(--light-blue); }

/* Light sweep across the primary header button */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::before {
  content: ""; position: absolute; inset: 0 auto 0 -60%; z-index: -1; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
  animation: btn-shine 5s 2.4s var(--ease) infinite;
}
.btn-shine:hover::before { animation-duration: 1.1s; animation-delay: 0s; }
@keyframes btn-shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* Reading progress along the bottom edge of the header */
.header-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled .header-progress { opacity: 1; }
.header-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 10px rgba(24, 74, 195, .5); }

/* Header entrance: logo, links and actions drop in, one after another
   (first visit only; later page changes keep the header steady) */
@keyframes nav-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
html.js:not(.no-loader) .site-header .brand, html.js:not(.no-loader) .nav-item, html.js:not(.no-loader) .header-actions > * { opacity: 0; }
html.js.is-ready:not(.no-loader) .site-header .brand { animation: nav-in .6s var(--ease) both; }
html.js.is-ready:not(.no-loader) .nav-item { animation: nav-in .55s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
html.js.is-ready:not(.no-loader) .header-actions > * { animation: nav-in .55s var(--ease) both; animation-delay: 480ms; }
html.js.is-ready:not(.no-loader) .header-actions > *:nth-child(2) { animation-delay: 540ms; }

/* Page changes: content cross-fades while the header stays in place */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
::view-transition-old(root) { animation: vt-out .2s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Mobile toggle: three lines morph into an X */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; color: var(--navy); border: 1px solid var(--border); background: rgba(255, 255, 255, .7); transition: background-color .2s, border-color .2s; }
.nav-toggle:hover { border-color: var(--accent); }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .25s, width .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; width: 70%; }
.burger i:nth-child(3) { top: 12px; }
.nav-toggle:hover .burger i:nth-child(2) { width: 100%; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile nav (full screen) — links slide in one after another */
.mobile-nav {
  position: fixed; inset: 64px 0 0; z-index: 99; color: var(--ink);
  background: radial-gradient(600px 300px at 100% 0, rgba(143, 176, 247, .22), transparent 70%), #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: opacity .3s var(--ease), clip-path .5s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.mobile-nav-inner { padding: 8px var(--gutter) 40px; max-width: 640px; margin-inline: auto; }
.m-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 4px; font-size: 1.25rem; font-weight: 600; color: var(--navy); font-family: var(--font-serif); border-bottom: 1px solid var(--border-soft); }
.m-link .icon { margin-left: auto; width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease), color .2s; }
.m-link:hover .icon, .m-link[aria-current="page"] .icon { transform: translateX(4px); color: var(--primary); }
.m-link[aria-current="page"] { color: var(--primary); }
.m-group { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--border-soft); }
.m-group > .m-link { border-bottom: 0; }
.m-sub-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--light-blue); }
.m-sub-toggle .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.m-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-sub { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0 4px 14px 40px; display: grid; gap: 2px; }
.m-sub[hidden] { display: none; }
.m-sub a { display: block; padding: 9px 0; font-weight: 500; color: var(--slate); }
.m-sub a:hover { color: var(--primary); }
.m-num { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); min-width: 22px; }
.m-actions { display: grid; gap: 12px; margin-top: 28px; }
.m-tagline { margin-top: 28px; text-align: center; font-family: var(--font-serif); font-style: italic; color: var(--primary); }
.mobile-nav .m-link, .mobile-nav .m-actions, .mobile-nav .m-tagline { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mobile-nav.is-open .m-link, .mobile-nav.is-open .m-actions, .mobile-nav.is-open .m-tagline { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 45ms); }
body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html.js .site-header .brand, html.js .nav-item, html.js .header-actions > * { opacity: 1; animation: none !important; }
  .nav-pill, .burger i, .mobile-nav, .mobile-nav .m-link, .mobile-nav .m-actions, .mobile-nav .m-tagline { transition: none !important; }
  .btn-shine::before { display: none; }
}

/* 08 — Heroes ------------------------------------------------------------ */
.hero, .page-hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(180deg, #F8FAFF 0%, #EEF3FD 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(24, 74, 195, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 74, 195, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 80%);
  transition: opacity 1s var(--ease);
}
html.js:not(.is-ready) .hero .hero-grid-bg { opacity: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero-orb.o1 { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(143, 176, 247, .45); }
.hero-orb.o2 { width: 420px; height: 420px; left: -200px; bottom: -220px; background: rgba(24, 74, 195, .12); }
.hero h1, .page-hero h1 { color: var(--navy); }
.hero .lead, .page-hero .lead { color: var(--slate); }
.h-accent { color: var(--primary); font-style: italic; font-weight: 500; }

.hero { padding: calc(var(--header-h) + clamp(36px, 5vw, 80px)) 0 clamp(64px, 7vw, 110px); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(36px, 4vw, 72px); align-items: center; }
.hero-copy { max-width: 600px; }
.hero-title { font-size: clamp(2.9rem, 1.3rem + 4.6vw, 5.6rem); line-height: 1; letter-spacing: -.025em; margin: 0 0 4px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transition: transform 1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
html.js:not(.is-ready) .hero-title .line > span { transform: translateY(108%); }
.hero-copy .lead { margin-top: 22px; max-width: 540px; }
.hero-copy .btn-row { margin-top: 34px; }
.hero-in { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 200ms); }
html.js:not(.is-ready) .hero-in { opacity: 0; transform: translateY(14px); }
.hero-sub { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; color: var(--navy); font-size: .95rem; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--border-soft); }
.hero-sub .icon { color: var(--primary); width: 18px; height: 18px; }
.hero-visual { position: relative; }

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + clamp(24px, 3vw, 40px)) 0 clamp(60px, 6vw, 96px); border-bottom: 1px solid var(--border-soft); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: clamp(24px, 3vw, 44px); }
.page-hero-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.page-hero .lead { margin-top: 20px; max-width: 620px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.75rem); }
.page-hero-compact { padding-bottom: clamp(44px, 4vw, 64px); }
.page-hero .btn-white { --btn-bg: var(--primary); --btn-fg: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(24, 74, 195, .6); }
.page-hero .btn-white:hover { --btn-bg: var(--primary-600); --btn-fg: #fff; }
.page-hero .btn-ghost-light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: var(--border); box-shadow: var(--shadow-xs); }
.page-hero .btn-ghost-light:hover { --btn-fg: var(--primary); --btn-bd: var(--accent); }
.hero-path { position: absolute; right: 0; top: calc(var(--header-h) + 10px); width: min(560px, 50vw); height: auto; pointer-events: none; opacity: .55; }
.hero-path path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .3s var(--ease) forwards; }
.hero-path circle { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }
.hero-path .hp-end { fill: var(--primary); stroke: #fff; animation: pulse-dot 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-dot { 50% { r: 9; } }
.dark-panel { padding: 24px; border-radius: 24px; background: radial-gradient(400px 260px at 100% 0, rgba(143, 176, 247, .25), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-900)); box-shadow: var(--shadow-lg); }

/* Breadcrumbs */
.breadcrumbs { position: relative; font-size: .84rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Trust strip */
.trust-strip { padding: 30px 0; border-bottom: 1px solid var(--border-soft); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 40px; }
.trust-text { flex: none; max-width: 300px; font-weight: 600; color: var(--navy); font-size: .98rem; line-height: 1.45; }
.trust-text span { display: block; font-weight: 500; color: var(--slate); font-size: .86rem; margin-top: 2px; }
.marquee { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 12px; list-style: none; }
.cat-chip { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 10px 16px 10px 10px; border-radius: 14px; border: 1px solid var(--border-soft); background: var(--surface); color: var(--navy); font-weight: 600; font-size: .88rem; }
.cat-chip .icon-tile { width: 32px; height: 32px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-xs); }
.cat-chip .icon { width: 17px; height: 17px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* 09 — Cards & stats ----------------------------------------------------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: clamp(22px, 2vw, 30px); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .96rem; }
.card-hover { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFDBF5; }
.card-flat { box-shadow: none; }
.card-tint { background: var(--surface); box-shadow: none; }
.card-link { color: inherit; display: block; }
.card-link:hover { color: inherit; }
.card .link-arrow { margin-top: 16px; font-size: .92rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.icon-tile {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; background: var(--light-blue); color: var(--primary);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile.solid { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -8px rgba(24, 74, 195, .7); }
.icon-tile.on-blue { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }

/* Problem cards */
.problem-card { padding-top: 28px; overflow: hidden; }
.problem-card .num {
  position: absolute; top: 18px; right: 22px; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500;
  color: var(--light-blue); line-height: 1; transition: color .3s var(--ease);
}
.problem-card .icon-tile { margin-bottom: 22px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.problem-card:hover .icon-tile { background: var(--primary); color: #fff; }
.problem-card:hover .num { color: var(--accent); }
.problem-card .fix { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); font-size: .88rem; color: var(--navy); font-weight: 550; }
.problem-card .fix .icon { width: 17px; height: 17px; color: var(--success); margin-top: 2px; }

/* Feature cards */
.feature-card { display: flex; flex-direction: column; }
.feature-card .icon-tile { margin-bottom: 20px; }
.feature-card .card-head .icon-tile { margin-bottom: 0; }
.feature-card .badge { align-self: flex-start; }
.feature-list { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.feature-list .icon { width: 18px; height: 18px; color: var(--primary); margin-top: 3px; }
.section-blue .feature-list li, .section-navy .feature-list li { color: rgba(255, 255, 255, .9); }
.section-blue .feature-list .icon, .section-navy .feature-list .icon { color: var(--accent); }

/* Bento grid for differentiators */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento-hero {
  grid-column: span 4; grid-row: span 2; color: #fff; overflow: hidden; border: 0;
  background: radial-gradient(600px 300px at 100% 0, rgba(143, 176, 247, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--primary) 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.bento-hero h3 { color: #fff; font-size: 1.6rem; font-family: var(--font-serif); font-weight: 600; }
.bento-hero p { color: rgba(255, 255, 255, .82); }
.bento-hero .link-arrow { color: #fff; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-card {
  position: relative; padding: 28px 26px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden; transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.stat-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(143, 176, 247, .5); }
.stat-card .stat-value { font-family: var(--font-serif); font-size: clamp(2.3rem, 1.6rem + 2vw, 3.2rem); font-weight: 600; line-height: 1; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-card .stat-label { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.45; }
.stat-card .stat-note { display: block; margin-top: 6px; color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.stat-grid-light .stat-card { background: #fff; border-color: var(--border-soft); box-shadow: var(--shadow-sm); }
.stat-grid-light .stat-card .stat-value { color: var(--primary); }
.stat-grid-light .stat-card .stat-label { color: var(--slate); }
.stat-grid-light .stat-card .stat-note { color: var(--primary); }

/* "What you get" checklist */
.get-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.get-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); font-weight: 600; color: var(--navy); }
.get-list .icon-tile { width: 38px; height: 38px; border-radius: 10px; }

/* 10 — Lifecycle / workflow / timeline ---------------------------------- */
.lifecycle { position: relative; }
.lc-track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; list-style: none; }
.lc-line { position: absolute; left: 6.25%; right: 6.25%; top: 31px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.lc-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.lifecycle.is-visible .lc-line span { transform: scaleX(1); }
.lc-line::after {
  content: ""; position: absolute; top: -2px; width: 60px; height: 6px; border-radius: 6px; left: -60px;
  background: linear-gradient(90deg, transparent, rgba(143, 176, 247, .9), transparent);
  animation: lc-pulse 3.6s 2.4s linear infinite;
}
@keyframes lc-pulse { to { left: 100%; } }
.lc-step { position: relative; display: flex; justify-content: center; }
.lc-node {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; width: 100%;
  padding: 0 4px 8px; border-radius: 14px;
  opacity: 1; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js .lifecycle:not(.is-visible) .lc-node { opacity: 0; transform: translateY(12px); }
.lifecycle.is-visible .lc-node { transition-delay: calc(var(--i, 0) * 180ms); }
.lc-dot {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--primary); border: 2px solid var(--border);
  box-shadow: 0 0 0 6px #fff, var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.section-light .lc-dot { box-shadow: 0 0 0 6px var(--surface), var(--shadow-sm); }
.lc-dot .icon { width: 24px; height: 24px; }
.lc-num { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--slate); }
.lc-label { font-size: .9rem; font-weight: 650; color: var(--navy); line-height: 1.3; }
.lc-node:hover .lc-dot, .lc-node:focus-visible .lc-dot { border-color: var(--accent); box-shadow: 0 0 0 6px #fff, 0 0 0 10px rgba(143, 176, 247, .35), 0 10px 30px -8px rgba(24, 74, 195, .5); }
.lc-node[aria-selected="true"] .lc-dot { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 6px #fff, 0 0 0 10px rgba(24, 74, 195, .16), 0 12px 30px -8px rgba(24, 74, 195, .6); }
.section-light .lc-node[aria-selected="true"] .lc-dot { box-shadow: 0 0 0 6px var(--surface), 0 0 0 10px rgba(24, 74, 195, .16), 0 12px 30px -8px rgba(24, 74, 195, .6); }
.lc-node[aria-selected="true"] .lc-label { color: var(--primary); }
.lc-node:focus-visible { outline-offset: 4px; }
.lc-mini-badge { font-size: .54rem; height: 18px; padding: 0 6px; letter-spacing: .06em; }
.lc-mini-badge::before { display: none; }
.challenge-list.sec-list li { grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 20px; padding: 18px 24px; }
.lc-panels { margin-top: 40px; }
.lc-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); }
.lc-panel .lc-panel-num { font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: #5A7FD6; font-weight: 500; }
.lc-panel h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; font-size: 1.3rem; }
.lc-panel p { color: var(--slate); margin: 0; }
.lc-panel-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; font-size: .82rem; color: var(--slate); }

/* Workflow (horizontal steps with arrows) */
.workflow { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: wf; }
.wf-step { position: relative; padding: 0 14px; text-align: center; }
.wf-step::after {
  content: ""; position: absolute; top: 27px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
}
.wf-step:last-child::after { display: none; }
.wf-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--primary); border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.wf-icon .icon { width: 24px; height: 24px; }
.wf-step:hover .wf-icon { transform: translateY(-3px); box-shadow: 0 0 0 6px rgba(143, 176, 247, .25), var(--shadow-md); }
.wf-icon::after { counter-increment: wf; content: counter(wf, decimal-leading-zero); position: absolute; top: -8px; right: -10px; font-size: .62rem; font-weight: 700; background: var(--primary); color: #fff; padding: 3px 6px; border-radius: 999px; letter-spacing: .04em; }
/* .wf-title is an h3 (correct heading order) styled exactly like the old h4 */
.wf-step h4, .wf-step .wf-title { margin-bottom: 4px; color: var(--navy); font-size: .98rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: normal; line-height: 1.15; }
.wf-step p { font-size: .86rem; color: var(--slate); margin: 0; }
.section-blue .wf-icon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.section-blue .wf-icon::after { background: #fff; color: var(--primary); }
.section-blue .wf-step h4, .section-blue .wf-step .wf-title { color: #fff; }
.section-blue .wf-step p { color: rgba(255, 255, 255, .78); }

/* Vertical timeline */
.timeline { position: relative; list-style: none; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); opacity: .35; }
.tl-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-weight: 700; font-size: .85rem; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.section-light .tl-dot { box-shadow: 0 0 0 6px var(--surface); }
.tl-dot.solid { background: var(--primary); color: #fff; }
/* Hovering a step fills its number and lights up its heading */
.tl-dot { transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.tl-body h3 { transition: color .3s var(--ease); }
.tl-item:hover .tl-dot {
  background: var(--primary); color: #fff; transform: scale(1.12);
  box-shadow: 0 0 0 6px #fff, 0 0 0 11px rgba(24, 74, 195, .14), 0 12px 24px -10px rgba(24, 74, 195, .7);
}
.section-light .tl-item:hover .tl-dot { box-shadow: 0 0 0 6px var(--surface), 0 0 0 11px rgba(24, 74, 195, .14), 0 12px 24px -10px rgba(24, 74, 195, .7); }
.tl-item:hover .tl-body h3 { color: var(--primary); }
.tl-body h3 { margin: 10px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-body p { color: var(--slate); }
.tl-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

/* Flow pills (compact chain) */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 10px; }
.flow .flow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--navy); box-shadow: var(--shadow-xs); }
.flow .flow-pill .icon { width: 16px; height: 16px; color: var(--primary); }
.flow .flow-pill.solid { background: var(--primary); color: #fff; border-color: var(--primary); }
.flow .flow-pill.solid .icon { color: #fff; }
.flow .flow-arrow { color: var(--accent); width: 18px; height: 18px; }
.flow li:last-child .flow-arrow { display: none; }

/* 11 — Tabs -------------------------------------------------------------- */
.tablist { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 11px; font-weight: 600; font-size: .92rem; color: var(--slate); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s;
}
.tab .icon { width: 17px; height: 17px; }
.tab:hover { color: var(--primary); background: var(--surface); }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px rgba(24, 74, 195, .8); }
.tab-panels { margin-top: 32px; }
.tab-panel { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.role-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.role-panel h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.2; }
.role-panel .role-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

.tabs-segment .tablist { display: inline-flex; padding: 4px; border-radius: 12px; box-shadow: none; }
.tabs-segment .tab { min-height: 36px; font-size: .84rem; padding: 0 14px; border-radius: 9px; }

/* 12 — Spotlights -------------------------------------------------------- */
.spotlight { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.spotlight + .spotlight { margin-top: clamp(80px, 8vw, 140px); }
.spotlight.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.spotlight.reverse .spotlight-copy { order: 2; }
.spotlight-copy h2, .spotlight-copy h3.display { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.spotlight-copy .lead { margin-top: 14px; }
.spotlight-copy .feature-list { margin-top: 24px; }
.spotlight-copy .btn-row { margin-top: 32px; }
.spotlight-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.spotlight-visual { position: relative; }
.spotlight-visual::before {
  content: ""; position: absolute; inset: -28px -28px -28px 12%; border-radius: 32px; z-index: -1;
  background: var(--light-blue);
  background-image: radial-gradient(rgba(24, 74, 195, .14) 1px, transparent 1.3px); background-size: 20px 20px;
}
.spotlight.reverse .spotlight-visual::before { inset: -28px 12% -28px -28px; }
.spotlight-visual.no-deco::before { display: none; }

/* 13 — Browser frame & product UI --------------------------------------- */
.browser-frame {
  position: relative; border-radius: 16px; background: #fff; overflow: hidden;
  border: 1px solid rgba(15, 42, 107, .1); box-shadow: var(--shadow-lg);
}
.browser-frame.glow { box-shadow: var(--shadow-glow); border-color: rgba(255, 255, 255, .25); }
.bf-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #F3F6FC; border-bottom: 1px solid var(--border-soft); }
.bf-dots { display: flex; gap: 6px; }
.bf-dots span { width: 10px; height: 10px; border-radius: 50%; background: #D7DEEC; }
.bf-dots span:nth-child(1) { background: #F4A3A3; }
.bf-dots span:nth-child(2) { background: #F6D38E; }
.bf-dots span:nth-child(3) { background: #A6DDB8; }
.bf-url { flex: 1; max-width: 320px; margin-inline: auto; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 7px; background: #fff; border: 1px solid var(--border-soft); font-size: .72rem; color: var(--slate); overflow: hidden; white-space: nowrap; }
.bf-url .icon { width: 11px; height: 11px; color: var(--success-ink); }
.bf-body { position: relative; }
.mock-note { display: block; margin-top: 14px; font-size: .74rem; color: var(--slate); text-align: center; }
.hero .mock-note, .page-hero .mock-note, .section-blue .mock-note { color: rgba(255, 255, 255, .65); }

/* App shell primitives (m-*) */
.m-app { display: grid; grid-template-columns: 158px minmax(0, 1fr); background: #F6F8FD; font-size: 12px; color: var(--ink); line-height: 1.4; min-height: 100%; }
.m-side { background: #fff; border-right: 1px solid var(--border-soft); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.m-side-brand { display: flex; align-items: center; gap: 7px; padding: 2px 6px 14px; font-weight: 750; color: var(--primary); font-size: 13px; letter-spacing: -.02em; }
.m-side-brand svg { width: 20px; height: 20px; }
.m-nav-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--slate); font-weight: 550; font-size: 11.5px; }
.m-nav-item svg { width: 14px; height: 14px; }
.m-nav-item.active { background: var(--light-blue); color: var(--primary); }
.m-nav-item .m-count { margin-left: auto; background: var(--primary); color: #fff; font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; }
.m-side-foot { margin-top: auto; padding: 10px 6px 0; border-top: 1px solid var(--border-soft); display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--slate); }
.m-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; flex: none; }
.page-hero .m-app { grid-template-columns: minmax(0, 1fr); }
.page-hero .m-side { display: none; }
.m-main { padding: 14px 16px 16px; min-width: 0; display: grid; gap: 12px; align-content: start; }
.m-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-title { font-weight: 700; font-size: 14px; color: var(--navy); letter-spacing: -.01em; }
.m-sub { font-size: 10.5px; color: var(--slate); }
.m-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border-soft); color: var(--slate-400); font-size: 11px; min-width: 0; }
.m-search svg { width: 12px; height: 12px; }
.m-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: #fff; border: 1px solid var(--border-soft); font-size: 10px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.m-pill svg { width: 11px; height: 11px; }
.m-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px; min-width: 0; overflow: hidden; }
.m-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 650; color: var(--navy); font-size: 11.5px; margin-bottom: 10px; }
.m-card-title span:last-child { font-weight: 500; color: var(--slate-400); font-size: 10px; }
.m-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.m-kpi { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.m-kpi-label { font-size: 10px; color: var(--slate); font-weight: 550; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-kpi-label svg { width: 12px; height: 12px; flex: none; }
.m-card-title svg, .m-sub svg, .m-title svg { width: 12px; height: 12px; }
.m-chain-step svg, .m-vendor svg { width: 14px; height: 14px; }
.m-kpi-value { font-size: 17px; font-weight: 750; color: var(--navy); letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-kpi-delta { font-size: 9.5px; font-weight: 650; margin-top: 2px; }
.m-up { color: var(--success-ink); } .m-down { color: var(--error-ink); } .m-neutral { color: var(--slate); }
.m-kpi.primary { background: var(--primary); border-color: var(--primary); }
.m-kpi.primary .m-kpi-label, .m-kpi.primary .m-kpi-delta { color: rgba(255, 255, 255, .8); }
.m-kpi.primary .m-kpi-value { color: #fff; }
.m-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 10px; }
.m-row-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Bars */
.m-bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; padding-top: 6px; border-bottom: 1px solid var(--border-soft); }
.m-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.m-bar i { display: block; width: 100%; max-width: 22px; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), #B9CDF9); transform-origin: bottom; }
.m-bar.hi i { background: linear-gradient(180deg, var(--primary), #3A66D2); }
html.js .anim-bars:not(.is-visible) .m-bar i { transform: scaleY(0); }
.anim-bars .m-bar i { transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.m-bar-labels { display: flex; gap: 7px; margin-top: 5px; }
.m-bar-labels span { flex: 1; text-align: center; font-size: 9px; color: var(--slate-400); }

/* Donut */
.m-donut-wrap { display: flex; align-items: center; gap: 10px; }
.m-donut { width: 78px; height: 78px; flex: none; transform: rotate(-90deg); }
.m-donut circle { fill: none; stroke-width: 14; }
.m-donut .seg { transition: stroke-dasharray 1.2s var(--ease); }
.m-legend { list-style: none; display: grid; gap: 5px; font-size: 10px; min-width: 0; flex: 1; }
.m-legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.m-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.m-legend b { margin-left: auto; padding-left: 6px; font-weight: 650; color: var(--navy); }

/* Progress */
.m-progress { height: 6px; border-radius: 6px; background: var(--light-blue); overflow: hidden; }
.m-progress i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--primary); transition: width 1.2s var(--ease); }
html.js .anim-bars:not(.is-visible) .m-progress i { width: 0; }
.m-progress.green i { background: var(--success); }
.m-progress.amber i { background: var(--warning); }
.m-progress.sky i { background: var(--accent); }

/* Tables */
.m-table { width: 100%; font-size: 10.5px; }
.m-table th { text-align: left; font-weight: 600; color: var(--slate-400); font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; padding: 0 6px 7px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; }
.m-table td { padding: 7px 6px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; color: var(--ink); }
.m-table tr:last-child td { border-bottom: 0; }
.m-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.m-table .strong { font-weight: 650; color: var(--navy); }
.m-table .wrap { white-space: normal; }
.m-ellipsis { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

/* Status chips (mock) */
.m-chip { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 7px; border-radius: 999px; font-size: 9.5px; font-weight: 650; white-space: nowrap; }
.m-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.m-chip.green { background: #E8F7EE; color: var(--success-ink); }
.m-chip.amber { background: #FEF3E2; color: var(--warning-ink); }
.m-chip.blue { background: var(--light-blue); color: var(--primary); }
.m-chip.red { background: #FDECEC; color: var(--error-ink); }
.m-chip.grey { background: #F0F2F6; color: var(--slate); }
.m-lock { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: #E8F7EE; color: var(--success-ink); font-size: 9.5px; font-weight: 700; }
.m-lock svg { width: 10px; height: 10px; }

/* Pipeline */
.m-pipe { display: grid; gap: 9px; }
.m-pipe-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 22px; gap: 8px; align-items: center; font-size: 10.5px; }
.m-pipe-row b { text-align: right; color: var(--navy); }
.m-vendor { display: flex; align-items: center; gap: 8px; }
.m-vendor-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--light-blue); color: var(--primary); display: grid; place-items: center; font-size: 9.5px; font-weight: 750; flex: none; }

/* Product cards (catalogue) */
.m-products { display: grid; gap: 8px; }
.m-product { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--border-soft); }
.m-product.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143, 176, 247, .25); }
.m-thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-soft); display: grid; place-items: center; color: var(--primary); }
.m-thumb svg { width: 22px; height: 22px; }
.m-product-name { font-weight: 650; color: var(--navy); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-product-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 9.8px; color: var(--slate); }
.m-product-meta b { color: var(--ink); font-weight: 600; }
.m-price { text-align: right; }
.m-price strong { display: block; font-size: 13.5px; color: var(--navy); letter-spacing: -.01em; }
.m-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 7px; margin-top: 5px; height: 22px; font-size: 10px; }
.m-qty span { padding: 0 6px; color: var(--slate); }
.m-qty b { padding: 0 6px; border-inline: 1px solid var(--border); line-height: 20px; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 7px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.m-btn svg { width: 12px; height: 12px; }
.m-btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.m-btn.green { background: var(--success); }
.m-btn.red { background: #fff; color: var(--error-ink); border: 1px solid #F3C2C2; }
.m-btn.amber { background: #fff; color: var(--warning-ink); border: 1px solid #F0CF9F; }
.m-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.m-filter { height: 24px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border-soft); font-size: 10px; font-weight: 600; color: var(--slate); display: inline-flex; align-items: center; }
.m-filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.m-banner { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #EEF8F2; color: var(--success-ink); font-size: 10.5px; font-weight: 600; }
.m-banner svg { width: 14px; height: 14px; flex: none; }
.m-banner.blue { background: var(--light-blue); color: var(--primary); }
.m-banner.amber { background: #FEF5E7; color: var(--warning-ink); }

/* Approval chain */
.m-chain { display: grid; gap: 0; }
.m-chain-step { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; position: relative; }
.m-chain-step + .m-chain-step::before { content: ""; position: absolute; left: 14px; top: -10px; height: 20px; width: 2px; background: var(--border); }
.m-chain-step.done + .m-chain-step::before { background: var(--success); }
.m-step-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border); color: var(--slate-400); z-index: 1; }
.m-step-dot svg { width: 14px; height: 14px; }
.m-chain-step.done .m-step-dot { background: var(--success); border-color: var(--success); color: #fff; }
.m-chain-step.current .m-step-dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px rgba(24, 74, 195, .14); }
.m-chain-step .who { font-weight: 650; color: var(--navy); font-size: 11.5px; }
.m-chain-step .role { font-size: 10px; color: var(--slate); }
.m-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* Approval chain — large visual */
.chain-visual { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.chain-node { position: relative; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); text-align: center; }
.chain-node .m-avatar { width: 40px; height: 40px; margin: 0 auto 10px; font-size: 13px; }
.chain-node .who { font-weight: 700; color: var(--navy); font-size: .9rem; }
.chain-node .lvl { font-size: .72rem; color: var(--slate); margin-top: 2px; }
.chain-node .m-chip { margin-top: 10px; }
.chain-node:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -15px; width: 16px; height: 2px; background: var(--accent); }
.chain-node.current { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(24, 74, 195, .1), var(--shadow-md); }

/* 14 — Auction board ------------------------------------------------------ */
.auction { background: #fff; color: var(--ink); font-size: 12px; }
.au-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.au-title { font-weight: 700; color: var(--navy); font-size: 13px; }
.au-title small { display: block; font-weight: 500; color: var(--slate); font-size: 10.5px; margin-top: 2px; }
.au-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--error-ink); background: #FDECEC; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.au-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--error); animation: blink 1.2s infinite; }
.au-live.idle { color: var(--slate); background: #F0F2F6; }
.au-live.idle::before { background: var(--slate-400); animation: none; }
.au-live.done { color: var(--success-ink); background: #E8F7EE; }
.au-live.done::before { background: var(--success); animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.au-timer { font-variant-numeric: tabular-nums; font-weight: 750; font-size: 22px; color: var(--navy); letter-spacing: -.01em; line-height: 1; text-align: right; }
.au-timer small { display: block; font-size: 9.5px; font-weight: 600; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.au-timer.urgent { color: var(--error-ink); }
.au-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--border-soft); }
.au-stat { padding: 12px 16px; border-right: 1px solid var(--border-soft); min-width: 0; }
.au-stat:last-child { border-right: 0; }
.au-stat span { display: block; font-size: 9.5px; font-weight: 650; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-stat strong { display: block; margin-top: 4px; font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.au-stat strong.l1 { color: var(--primary); }
.au-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.au-col { padding: 14px 16px; min-width: 0; }
.au-col + .au-col { border-left: 1px solid var(--border-soft); }
.au-col-title { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.au-rank { list-style: none; display: grid; gap: 6px; }
.au-rank li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid transparent; position: relative; overflow: hidden; transition: background-color .3s, border-color .3s; }
.au-rank li.flash { animation: rowflash 1s var(--ease); }
@keyframes rowflash { 0% { background: #DCE7FF; } 100% { background: var(--surface); } }
.au-rank li.out { opacity: .5; }
.au-rank .rk { display: grid; place-items: center; height: 22px; border-radius: 6px; font-size: 10px; font-weight: 800; background: #fff; color: var(--slate); border: 1px solid var(--border); }
.au-rank li:nth-child(1) .rk { background: var(--primary); color: #fff; border-color: var(--primary); }
.au-rank li:nth-child(2) .rk { background: var(--light-blue); color: var(--primary); border-color: #C9D7F7; }
.au-rank li:nth-child(3) .rk { background: #fff; color: var(--navy); border-color: var(--accent); }
.au-rank .bidder { font-weight: 650; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-rank .bidder small { display: block; font-weight: 500; color: var(--slate); font-size: 9.5px; }
.au-rank .amt { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--navy); text-align: right; }
.au-rank .amt small { display: block; font-weight: 600; font-size: 9.5px; color: var(--success-ink); }
.au-history { list-style: none; display: grid; gap: 0; max-height: 178px; overflow: hidden; font-size: 10.5px; }
.au-history li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--border-soft); animation: panel-in .35s var(--ease); }
.au-history time { color: var(--slate-400); font-variant-numeric: tabular-nums; }
.au-history b { font-variant-numeric: tabular-nums; color: var(--navy); }
.au-history .sys { color: var(--warning-ink); font-weight: 600; }
.au-spark { width: 100%; height: 64px; margin-top: 12px; }
.au-spark polyline { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.au-spark .area { fill: url(#auGrad); stroke: none; }
.au-spark line { stroke: var(--warning); stroke-width: 1.2; stroke-dasharray: 4 3; }
.au-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border-soft); background: var(--surface); flex-wrap: wrap; }
.au-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.au-flag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 10px; font-weight: 650; color: var(--slate); transition: all .3s; }
.au-flag svg { width: 11px; height: 11px; }
.au-flag.on { background: #FEF3E2; border-color: #F0B66B; color: var(--warning-ink); }
.au-flag.met { background: #E8F7EE; border-color: #9AD8B0; color: var(--success-ink); }
.au-controls { display: flex; gap: 8px; }
.au-result { padding: 10px 16px; font-size: 11px; font-weight: 600; color: var(--success-ink); background: #EEF8F2; border-top: 1px solid #CDEBD7; }
.au-clock { text-align: center; padding: 10px 0 4px; }
.au-clock-price { font-size: 26px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.au-clock-sub { font-size: 10px; color: var(--slate); margin-top: 2px; }
.au-clock-bar { height: 4px; border-radius: 4px; background: var(--light-blue); margin-top: 10px; overflow: hidden; }
.au-clock-bar i { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: left; }

/* 15 — Negotiator panel --------------------------------------------------- */
.nego { background: #fff; font-size: 12px; color: var(--ink); }
.nego-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.nego-agent { display: flex; align-items: center; gap: 10px; }
.nego-agent-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), #4F7BE0); box-shadow: 0 6px 16px -6px rgba(24, 74, 195, .7); position: relative; }
.nego-agent-icon svg { width: 18px; height: 18px; }
.nego-agent-icon::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--success); border: 2px solid #fff; }
.nego-agent strong { display: block; color: var(--navy); font-size: 12.5px; }
.nego-agent small { color: var(--slate); font-size: 10.5px; }
.nego-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); min-height: 380px; }
.nego-body.compact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 340px; }
.nego-col { padding: 14px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nego-col + .nego-col { border-left: 1px solid var(--border-soft); }
.nego-label { font-size: 9.5px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nego-brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nego-brief div { padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-soft); min-width: 0; }
.nego-brief span { display: block; font-size: 9.5px; color: var(--slate); }
.nego-brief strong { display: block; font-size: 13px; color: var(--navy); margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nego-brief .full { grid-column: 1 / -1; }
.nego-brief .full strong { white-space: normal; font-size: 11.5px; }
.nego-steps { list-style: none; display: grid; gap: 6px; }
.nego-steps li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--slate-400); font-weight: 550; transition: color .3s; }
.nego-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; flex: none; transition: all .3s; }
.nego-steps li i svg { width: 10px; height: 10px; opacity: 0; }
.nego-steps li.active { color: var(--primary); }
.nego-steps li.active i { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 74, 195, .15); animation: pulse-ring 1.6s infinite; }
.nego-steps li.done { color: var(--ink); }
.nego-steps li.done i { background: var(--success); border-color: var(--success); color: #fff; }
.nego-steps li.done i svg { opacity: 1; }
@keyframes pulse-ring { 50% { box-shadow: 0 0 0 6px rgba(24, 74, 195, .05); } }
.nego-pool { list-style: none; display: grid; gap: 6px; }
.nego-pool li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 7px 9px; border-radius: 9px; border: 1px solid var(--border-soft); font-size: 10.5px; }
.nego-pool li strong { color: var(--navy); font-size: 11px; }
.nego-pool li small { display: block; color: var(--slate); font-size: 9.5px; }
.gst-ok { display: inline-flex; align-items: center; gap: 3px; color: var(--success-ink); font-weight: 650; font-size: 9.5px; }
.gst-ok svg { width: 11px; height: 11px; }
.gst-pending { color: var(--slate-400); font-size: 9.5px; font-weight: 600; }
.nego-channel { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border-soft); }
.nego-channel button { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 10.5px; font-weight: 650; color: var(--slate); }
.nego-channel button svg { width: 12px; height: 12px; }
.nego-channel button[aria-pressed="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-xs); }
.nego-transcript { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; min-height: 240px; max-height: 330px; justify-content: flex-end; }
.nego-msg { max-width: 88%; padding: 8px 11px; border-radius: 12px; font-size: 11px; line-height: 1.45; animation: panel-in .4s var(--ease); }
.nego-msg small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; opacity: .75; }
.nego-msg.ai { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.nego-msg.vendor { align-self: flex-start; background: var(--surface); border: 1px solid var(--border-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.nego-msg.sys { align-self: center; max-width: 100%; background: #FEF7EA; color: var(--warning-ink); border: 1px dashed #F0CF9F; font-weight: 600; font-size: 10.5px; text-align: center; }
.nego-msg.ok { background: #EEF8F2; color: var(--success-ink); border-color: #A9DDBC; }
.nego-typing { align-self: flex-start; display: inline-flex; gap: 3px; padding: 9px 12px; border-radius: 12px; background: var(--surface); }
.nego-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--slate-400); animation: typing 1s infinite; }
.nego-typing span:nth-child(2) { animation-delay: .15s; }
.nego-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.nego-voice { display: none; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 10.5px; }
.nego[data-channel="voice"] .nego-voice { display: flex; }
.nego-voice .wave { display: flex; align-items: center; gap: 2px; height: 20px; flex: 1; }
.nego-voice .wave i { width: 3px; border-radius: 2px; background: var(--accent); height: 30%; animation: wave 1s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.nego[data-channel="voice"] .nego-msg.vendor { background: #F3F5FA; }
.nego-board { list-style: none; display: grid; gap: 6px; }
.nego-board li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 9px; border-radius: 10px; background: var(--surface); border: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nego-board li.lead { background: #F1F5FF; border-color: #C5D5F8; }
.nego-board .pos { font-weight: 800; font-size: 10.5px; color: var(--slate); text-align: center; }
.nego-board li.lead .pos { color: var(--primary); }
.nego-board .v strong { display: block; color: var(--navy); font-size: 11px; }
.nego-board .v small { font-size: 9.5px; color: var(--slate); }
.nego-board .offer { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--navy); font-size: 12px; }
.nego-board .offer small { display: block; font-size: 9.5px; font-weight: 600; }
.nego-board .rel { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.nego-board .rel .m-progress { flex: 1; height: 4px; }
.nego-board .rel em { font-style: normal; font-size: 9px; color: var(--slate); font-weight: 600; }
.nego-control { margin-top: auto; padding: 10px; border-radius: 12px; background: var(--navy); color: #fff; }
.nego-control strong { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.nego-control strong svg { width: 14px; height: 14px; color: var(--accent); }
.nego-control p { font-size: 10px; color: rgba(255, 255, 255, .75); margin: 4px 0 8px; }
.nego-control .m-actions .m-btn { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.nego-control .m-actions .m-btn.primary { background: #fff; color: var(--primary); border-color: #fff; }
.nego-control .m-actions .m-btn:hover { filter: brightness(1.1); }
.nego-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border-soft); background: var(--surface); font-size: 10.5px; color: var(--slate); flex-wrap: wrap; }
.nego-foot .control-note { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--navy); }
.nego-foot .control-note svg { width: 14px; height: 14px; color: var(--primary); }

/* 16 — Steps & comparison ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step-card { position: relative; padding: 34px 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .step-num { font-family: var(--font-serif); font-size: 4.2rem; font-weight: 500; line-height: .9; color: var(--primary); letter-spacing: -.03em; }
.step-card .step-num span { color: var(--accent); }
.step-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; margin: 20px 0 10px; }
.step-card p { color: var(--slate); }
.step-card .step-visual { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border); }
.step-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid var(--light-blue); }

.engage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.engage-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); overflow: hidden; }
.engage-card.featured { background: linear-gradient(160deg, var(--navy), var(--primary)); color: #fff; border: 0; }
.engage-card.featured h3, .engage-card.featured .engage-name { color: #fff; }
.engage-card.featured p, .engage-card.featured .feature-list li { color: rgba(255, 255, 255, .86); }
.engage-card.featured .feature-list .icon { color: var(--accent); }
.engage-card.featured .engage-best { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.engage-card.featured .engage-best span { color: var(--accent); }
.engage-card.featured .engage-price { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .16); }
.engage-kicker { display: inline-flex; align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--light-blue); color: var(--primary); margin-bottom: 18px; }
.engage-card.featured .engage-kicker { background: rgba(255, 255, 255, .14); color: #fff; }
.engage-name { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.15; }
.engage-card p { color: var(--slate); }
.engage-best { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-soft); font-weight: 600; color: var(--navy); font-size: .94rem; }
.engage-best span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.engage-price { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; color: var(--slate); font-size: .9rem; }
.engage-card .feature-list { margin: 22px 0 28px; }

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); background: #fff; }
.compare { min-width: 720px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); font-size: .95rem; }
.compare thead th { background: var(--surface); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.compare thead th.col-head { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: -.01em; text-transform: none; color: var(--navy); }
.compare tbody th { width: 20%; color: var(--navy); font-weight: 650; }
.compare td { color: var(--ink); width: 40%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* 17 — Security & KAM ---------------------------------------------------- */
.sec-visual { position: relative; padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.sec-visual .bg-grid { opacity: .7; }
.sec-layers { position: relative; display: grid; gap: 10px; }
.sec-layer { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.sec-layer:hover { background: rgba(255, 255, 255, .1); border-color: rgba(143, 176, 247, .45); transform: translateX(4px); }
.sec-layer .icon-tile { width: 38px; height: 38px; border-radius: 10px; background: rgba(143, 176, 247, .16); color: var(--accent); }
.sec-layer .icon-tile .icon { width: 18px; height: 18px; }
.sec-layer strong { display: block; font-size: .92rem; }
.sec-layer span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.sec-layer em { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tenants { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tenant { padding: 12px; border-radius: 12px; border: 1px dashed rgba(143, 176, 247, .55); background: rgba(143, 176, 247, .06); text-align: center; font-size: .78rem; }
.tenant .icon { margin: 0 auto 6px; color: var(--accent); width: 18px; height: 18px; }
.tenant strong { display: block; font-size: .82rem; }
.tenant span { color: rgba(255, 255, 255, .65); font-size: .7rem; }

.kam-card { position: relative; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); }
.kam-top { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.kam-avatar { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; position: relative; }
.kam-avatar .icon { width: 26px; height: 26px; }
.kam-avatar::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--success); border: 3px solid #fff; }
.kam-top strong { display: block; color: var(--navy); font-size: 1.05rem; }
.kam-top span { font-size: .85rem; color: var(--slate); }
.kam-list { list-style: none; display: grid; gap: 4px; margin-top: 16px; }
.kam-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 12px; font-size: .9rem; color: var(--ink); }
.kam-list li:hover { background: var(--surface); }
.kam-list .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.kam-list .icon-tile .icon { width: 17px; height: 17px; }
.kam-list small { color: var(--slate); font-size: .78rem; }

/* Integrations hub */
.hub { position: relative; aspect-ratio: 1 / .78; max-width: 620px; margin-inline: auto; }
.hub svg.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: rgba(143, 176, 247, .55); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 18s linear infinite; }
.hub-lines path.solid { stroke: var(--accent); stroke-dasharray: none; animation: none; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -220; } }
.hub-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 156px; height: 156px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: #fff; color: var(--primary); box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .04), 0 30px 60px -20px rgba(0, 0, 0, .5); }
.hub-center svg { width: 40px; height: 40px; margin: 0 auto 6px; }
.hub-center strong { display: block; font-size: 1rem; color: var(--primary); font-weight: 750; letter-spacing: -.02em; }
.hub-node { position: absolute; transform: translate(-50%, -50%); width: 168px; padding: 12px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); text-align: center; }
.hub-node .icon { width: 20px; height: 20px; margin: 0 auto 6px; color: var(--primary); }
.hub-node strong { display: block; font-size: .82rem; line-height: 1.25; }
.hub-node .badge { margin-top: 8px; height: 20px; font-size: .58rem; padding: 0 7px; }

/* Industry category basket */
.basket { padding: 28px; }
.basket-title { font-weight: 700; color: var(--navy); font-size: 1.1rem; margin: 6px 0 18px; }
.basket-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.basket-list .cat-chip { white-space: normal; line-height: 1.3; }
@media (max-width: 480px) { .basket-list { grid-template-columns: minmax(0, 1fr); } }

/* 18 — Categories ------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFDBF5; }
.cat-art { position: relative; height: 120px; margin: -24px -24px 20px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, var(--light-blue), #F7F9FE); border-bottom: 1px solid var(--border-soft); }
.cat-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(24, 74, 195, .16) 1px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 70%); }
.cat-art::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(24, 74, 195, .14); }
.cat-art .icon-tile { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); transition: transform .4s var(--ease); }
.cat-art .icon-tile .icon { width: 30px; height: 30px; }
.cat-card:hover .cat-art .icon-tile { transform: scale(1.06) rotate(-3deg); }
.cat-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cat-card p { font-size: .9rem; color: var(--slate); }
.cat-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.cat-items li { font-size: .74rem; padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-soft); color: var(--slate); }
.cat-card.unverified { background: #FBFCFE; border-style: dashed; box-shadow: none; }
.cat-card.unverified .cat-art { background: #F6F8FB; }
.cat-card.unverified .cat-art .icon-tile { color: var(--slate); box-shadow: var(--shadow-xs); }
.cat-card .badge { position: absolute; top: 12px; right: 12px; z-index: 2; height: 22px; font-size: .58rem; }
/* Category photography — icon tile docks bottom-left over the photo */
.cat-card { scroll-margin-top: 110px; }
.cat-art.has-photo { height: auto; aspect-ratio: 3 / 2; place-items: end start; padding: 14px; }
.cat-art.has-photo:has(.cat-photo)::before { display: none; }
.cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-art.has-photo:has(.cat-photo) { background: var(--light-blue); }
.cat-art.has-photo:has(.cat-photo)::after { content: ""; display: block; inset: auto 0 0 0; width: auto; height: 55%; border: 0; border-radius: 0; background: linear-gradient(to top, rgba(15, 42, 107, .45), transparent); }
.cat-art.has-photo:not(:has(.cat-photo)) { place-items: center; }
.cat-art.has-photo:has(.cat-photo) .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.cat-art.has-photo:has(.cat-photo) .icon-tile .icon { width: 22px; height: 22px; }
.cat-card:hover .cat-photo { transform: scale(1.06); }
.cat-card.unverified .cat-photo { filter: saturate(.55); }
.cat-card:target { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 74, 195, .18), var(--shadow-md); }
/* Categories page: two auto-scrolling rows, the second running the other way */
.cat-marquees { display: grid; gap: 8px; }
.cat-marquee { overflow: hidden; padding: 8px 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.cat-marquee-track { display: flex; gap: 20px; width: max-content; animation: cat-marquee 60s linear infinite; }
.cat-marquee.reverse .cat-marquee-track { animation-direction: reverse; }
.cat-marquee-list { display: flex; gap: 20px; list-style: none; }
.cat-marquee-list > li { display: flex; width: 320px; flex: none; }
.cat-marquee-list .cat-card { width: 100%; }
@keyframes cat-marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 600px) { .cat-marquee-list > li { width: 270px; } }
@media (prefers-reduced-motion: reduce) {
  .cat-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .cat-marquee-track { animation: none; }
  .cat-marquee-list[aria-hidden] { display: none; }
}

/* Home: photo tile mosaic */
.cat-tiles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tiles-head .section-head { margin-bottom: 0; max-width: 640px; }
.cat-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cat-tile { grid-column: span 3; aspect-ratio: 3 / 2; position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy), var(--primary)); color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.cat-tile.wide { grid-column: span 6; }
/* Banner artwork carries its own title: show it whole, keep the text for screen readers */
.cat-tile.banner { background: #fff; border: 1px solid var(--border-soft); }
.cat-tile.banner .cat-tile-shade, .cat-tile.banner .cat-tile-ico { display: none; }
.cat-tile.banner .cat-tile-body { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-tile.banner .cat-tile-go { box-shadow: var(--shadow-md); }
.cat-tile.banner:hover .cat-tile-img, .cat-tile.banner:focus-visible .cat-tile-img { transform: scale(1.03); }
.cat-art.banner .icon-tile, .cat-art.banner:has(.cat-photo)::after { display: none; }
.cat-art.banner:has(.cat-photo) { border-bottom: 1px solid var(--border-soft); }
.cat-card:hover .cat-art.banner .cat-photo { transform: scale(1.03); }
.cat-tile-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 28, 72, .88) 0%, rgba(15, 42, 107, .35) 45%, rgba(15, 42, 107, 0) 75%); transition: background .35s; }
.cat-tile-ico { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cat-tile-ico .icon { width: 20px; height: 20px; }
.cat-tile-body { position: absolute; left: 20px; right: 64px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.cat-tile-body strong { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; line-height: 1.2; }
.cat-tile.wide .cat-tile-body strong { font-size: 1.45rem; }
.cat-tile-body > span { font-size: .8rem; color: rgba(255, 255, 255, .78); line-height: 1.4; }
.cat-tile-go { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--primary); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); }
.cat-tile-go .icon { width: 16px; height: 16px; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile:hover .cat-tile-img, .cat-tile:focus-visible .cat-tile-img { transform: scale(1.07); }
.cat-tile:hover .cat-tile-go, .cat-tile:focus-visible .cat-tile-go { opacity: 1; transform: none; }
.cat-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html.js .cat-tile.reveal.is-visible:hover, html.js .cat-tile.reveal.is-visible:focus-visible { transform: translateY(-4px); transition-delay: 0s; }
/* Home page category carousel: tiles fill each slide; the leading tile lifts like the module cards */
.cat-carousel .mc-slide .cat-tile { flex: 1; width: 100%; }
.cat-carousel .mc-slide.is-current .cat-tile { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 19 — Forms, modal, toast ---------------------------------------------- */
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--navy); padding: 0; }
.field .req { color: var(--error-ink); margin-left: 2px; }
.field .opt { color: var(--slate); font-weight: 500; font-size: .78rem; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: #fff; border: 1px solid #CBD5EA; color: var(--ink); font-size: .96rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #98A1B3; }
.input:hover, .select:hover, .textarea:hover { border-color: #A9B8DA; }
/* Transparent outline: invisible normally, but drawn in Windows High Contrast where box-shadow is removed */
.input:focus, .select:focus, .textarea:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(24, 74, 195, .14); }
.input-group { display: flex; }
.input-group .prefix { display: grid; place-items: center; padding: 0 14px; border: 1px solid #CBD5EA; border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface); font-weight: 600; color: var(--slate); font-size: .94rem; }
.input-group .input { border-radius: 0 12px 12px 0; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .field.has-error .input-group .prefix { border-color: var(--error); }
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .14); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .8rem; color: var(--error-ink); font-weight: 550; }
.field-error .icon { width: 14px; height: 14px; }
.field.has-error .field-error { display: flex; }
.field-hint { font-size: .78rem; color: var(--slate); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.field .check-grid { margin-top: 4px; }
.field .check, .check { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; border: 1px solid #CBD5EA; cursor: pointer; font-size: .9rem; font-weight: 550; color: var(--ink); transition: border-color .2s, background-color .2s; }
.check:hover { border-color: #A9B8DA; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--primary); background: #F2F6FF; }
.check:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(24, 74, 195, .18); }
.field .consent, .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; font-weight: 500; color: var(--slate); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: .8rem; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; }
.form-note .icon { width: 15px; height: 15px; color: var(--success-ink); }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #E8F7EE; color: var(--success-ink); box-shadow: 0 0 0 10px rgba(22, 163, 74, .07); }
.form-success .success-icon .icon { width: 34px; height: 34px; }
.form-success h3 { font-family: var(--font-serif); font-size: 1.6rem; }
.form-success p { color: var(--slate); max-width: 440px; margin-inline: auto; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 24px 16px; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 54, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; border-radius: 24px; background: #fff; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); overscroll-behavior: contain; }
.modal.is-open .modal-dialog { transform: none; }
.modal-aside { position: relative; padding: 40px 32px; color: #fff; overflow: hidden; background: radial-gradient(500px 300px at 100% 0, rgba(143, 176, 247, .3), transparent 60%), linear-gradient(170deg, var(--primary), var(--navy)); }
.modal-aside h2 { color: #fff; font-size: 1.75rem; }
.modal-aside p { color: rgba(255, 255, 255, .82); font-size: .94rem; }
.modal-aside .feature-list li { color: rgba(255, 255, 255, .9); font-size: .9rem; }
.modal-aside .feature-list .icon { color: var(--accent); }
.modal-main { padding: 36px 36px 32px; }
.modal-main .form-grid { gap: 14px; }
.modal-main .input, .modal-main .select { min-height: 44px; padding-block: 10px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--slate); background: #fff; border: 1px solid var(--border-soft); }
.modal-close:hover { color: var(--navy); background: var(--surface); }
body.modal-open { overflow: hidden; }

/* Toast */
.toast-region { position: fixed; z-index: 300; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: grid; grid-template-columns: 22px minmax(0, 1fr) 28px; gap: 12px; align-items: start; padding: 14px 12px 14px 16px; border-radius: 14px; background: var(--navy-900); color: #fff; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .55); font-size: .9rem; line-height: 1.45; animation: toast-in .35s var(--ease); }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
.toast .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.toast.success .icon { color: #6EE7A0; }
.toast.error .icon { color: #FCA5A5; }
.toast button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.toast button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.toast button .icon { width: 16px; height: 16px; margin: 0; color: inherit; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--primary); border: 1px solid var(--border); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; }
body.has-toast .to-top { bottom: 96px; }

/* 20 — FAQ -------------------------------------------------------------- */
.faq-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.faq-search { position: relative; max-width: 560px; }
.faq-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate); }
.faq-search .input { padding-left: 46px; min-height: 54px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: .86rem; font-weight: 600; color: var(--slate); transition: all .2s; }
.chip-btn:hover { border-color: var(--accent); color: var(--primary); }
.chip-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.faq-toc a { padding: 8px 12px; border-radius: 10px; color: var(--slate); font-weight: 550; font-size: .92rem; }
.faq-toc a:hover { background: var(--surface); color: var(--primary); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 16px; scroll-margin-top: 100px; }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: #fff; border: 1px solid var(--border-soft); transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: #CFDBF5; }
.faq-item.is-open { border-color: #C5D5F8; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; font-weight: 650; color: var(--navy); font-size: 1rem; line-height: 1.4; border-radius: 16px; }
.faq-q .faq-icon { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--surface); color: var(--primary); transition: transform .3s var(--ease), background-color .2s; }
.faq-q .faq-icon .icon { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
/* Closed answers are hidden from screen readers too (visibility flips after the collapse animation) */
.faq-item:not(.is-open) .faq-a > div { visibility: hidden; transition: visibility 0s .35s; }
html:not(.js) .faq-item .faq-a > div { visibility: visible; }
.faq-a p { padding: 0 20px 20px; margin: 0; color: var(--slate); max-width: 760px; }
html:not(.js) .faq-a { grid-template-rows: 1fr; }
.faq-empty { padding: 40px; text-align: center; border-radius: 16px; border: 1px dashed var(--border); color: var(--slate); }

/* 21 — CTA band & footer ------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(800px 400px at 50% -20%, rgba(143, 176, 247, .35), transparent 60%), var(--primary); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); max-width: 820px; margin-inline: auto; }
.cta-band .lead { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 18px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }
.cta-band .bg-circle.c1 { width: 520px; height: 520px; left: -180px; top: -200px; }
.cta-band .bg-circle.c2 { width: 640px; height: 640px; right: -240px; bottom: -380px; }
.cta-band .cta-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .86rem; color: rgba(255, 255, 255, .78); list-style: none; }
.cta-band .cta-meta li { display: inline-flex; align-items: center; gap: 7px; }
.cta-band .cta-meta .icon { width: 16px; height: 16px; color: var(--accent); }

.site-footer { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); color: var(--slate); position: relative; overflow: hidden; border-top: 1px solid var(--border-soft); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.footer-cta p { margin: 0; font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); color: var(--navy); font-weight: 500; letter-spacing: -.01em; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(6, minmax(0, 1fr)); gap: 28px; padding: 64px 0 48px; }
.footer-brand p { margin-top: 18px; font-size: .9rem; line-height: 1.6; }
.footer-brand .tagline { font-family: var(--font-serif); color: var(--navy); font-size: 1.15rem; font-style: italic; }
.footer-brand .group { font-size: .84rem; margin-top: 6px; }
.footer-col h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin-bottom: 16px; font-family: var(--font-sans); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--slate); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-col a:hover { color: var(--primary); }
.footer-col .badge { height: 17px; font-size: .52rem; padding: 0 6px; background: transparent; }
.footer-col .badge::before { display: none; }
.footer-col .badge-coming { color: var(--warning-ink); border-color: rgba(217, 119, 6, .35); }
.footer-col .badge-early { color: var(--primary); border-color: rgba(24, 74, 195, .3); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--border); font-size: .84rem; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); }
.footer-trust .icon { width: 16px; height: 16px; color: var(--primary); }
.footer-watermark { position: absolute; right: -40px; bottom: -70px; width: 360px; height: 360px; color: rgba(255, 255, 255, .025); pointer-events: none; }

/* 22 — Prose (legal) ----------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; scroll-margin-top: 96px; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #374055; }
.prose ul { padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: #FFF8EC; border: 1px solid #F3D29C; color: #7A4A0B; font-size: .94rem; }
.notice .icon { color: var(--warning-ink); margin-top: 2px; }
.notice.info { background: #F1F5FF; border-color: #C5D5F8; color: var(--navy); }
.notice.info .icon { color: var(--primary); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-soft); }
.legal-toc h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.legal-toc ol { padding-left: 1.2em; display: grid; gap: 6px; font-size: .88rem; }
.legal-toc a { color: var(--navy); }
.legal-toc a:hover { color: var(--primary); }
/* Privacy Policy: tables and to-be-confirmed placeholders */
.policy-table { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: 12px; }
.policy-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .92rem; }
.policy-table th, .policy-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.policy-table thead th { background: var(--light-blue); color: var(--navy); font-weight: 650; }
.policy-table tr:last-child td { border-bottom: 0; }
.policy-table td:first-child { font-weight: 600; color: var(--navy); }
.legal-date { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-xs); }
.legal-date .icon { width: 15px; height: 15px; color: var(--primary); }
.toc-numbered { list-style: none; padding-left: 0 !important; }
.toc-numbered a { display: flex; gap: 10px; align-items: baseline; }
.toc-num { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--primary); min-width: 20px; }
.toc-numbered a:hover .toc-num { color: var(--primary); }
.policy-section { padding: 8px 0 28px; border-bottom: 1px solid var(--border-soft); margin-bottom: 28px; scroll-margin-top: 96px; }
.policy-section:last-child { border-bottom: 0; margin-bottom: 0; }
.policy .policy-section h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 0; }
.sec-num { flex: none; font-family: var(--font-sans); font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: var(--primary);
  background: var(--light-blue); border-radius: 8px; padding: 4px 9px; line-height: 1.2; }
.policy-callout { margin: 0 0 1.2em; padding: 16px 18px; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--light-blue); }
.policy-callout p { margin: 0; font-size: .94rem; }
mark.ph { background: #FFF1A8; color: var(--ink); padding: 0 3px; border-radius: 3px; font-weight: 600; }

/* Placeholder (phase 2) */
.placeholder-card { padding: 28px; border-radius: var(--r-lg); border: 1px dashed var(--border); background: #fff; }
.placeholder-card .icon-tile { margin-bottom: 18px; }
.placeholder-lines { display: grid; gap: 8px; margin-top: 18px; }
.placeholder-lines i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--light-blue), #F5F8FE); }
.placeholder-lines i:nth-child(2) { width: 82%; }
.placeholder-lines i:nth-child(3) { width: 60%; }

/* Related links */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border-soft); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.related-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #CFDBF5; }
.related-card h3 { font-size: 1rem; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.related-card p { font-size: .88rem; color: var(--slate); margin: 0; }

/* Benefit row */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft); background: #fff; }
.benefits-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit { padding: 28px 24px; border-right: 1px solid var(--border-soft); }
.benefit:last-child { border-right: 0; }
.benefit .icon { color: var(--primary); width: 24px; height: 24px; margin-bottom: 14px; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 6px; }
.benefit p { font-size: .9rem; color: var(--slate); margin: 0; }

/* Challenge list */
.challenge-list { list-style: none; display: grid; gap: 12px; }
.challenge-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--border-soft); }
.challenge-list .x { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #FDECEC; color: var(--error-ink); }
.challenge-list .x .icon { width: 16px; height: 16px; }
.challenge-list strong { display: block; color: var(--navy); font-size: .98rem; }
.challenge-list span { font-size: .9rem; color: var(--slate); }

/* Status legend */
.status-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .84rem; color: var(--slate); }
.status-legend li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }

/* Module grid on platform overview */
.module-card { display: flex; flex-direction: column; gap: 14px; }
.module-card .card-head { margin-bottom: 0; }
.module-card p { margin: 0; }

/* Module carousel on platform overview */
.mod-carousel { --mc-gap: 24px; --mc-per: 3; --mc-dur: 3500ms; position: relative; }
.mc-viewport {
  margin-inline: -12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.mc-track {
  display: flex; gap: var(--mc-gap); list-style: none; margin: 0; padding: 14px 12px 34px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.mc-track::-webkit-scrollbar { display: none; }
.mc-slide { flex: 0 0 calc((100% - (var(--mc-per) - 1) * var(--mc-gap)) / var(--mc-per)); scroll-snap-align: start; display: flex; }
.mc-card {
  flex: 1; overflow: hidden; isolation: isolate; min-height: 232px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
/* Gradient ring that lights up on hover / when the card leads the carousel */
.mc-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, var(--primary), var(--accent) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s var(--ease);
}
/* Light sweep */
.mc-card::after {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(143, 176, 247, .22), transparent);
  transform: translateX(0) rotate(12deg); transition: transform .9s var(--ease);
}
.mc-num {
  position: absolute; right: 18px; bottom: 6px; z-index: -1; pointer-events: none;
  font: 800 4.6rem/1 var(--font-sans); letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1.5px var(--border); transition: transform .5s var(--ease), -webkit-text-stroke-color .5s var(--ease);
}
.mc-card .icon-tile { transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease); }
.mc-card h3 { transition: color .3s var(--ease); }
.mc-card:hover, .mc-card:focus-visible, .mc-slide.is-current .mc-card {
  transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent;
}
.mc-card:hover::before, .mc-card:focus-visible::before, .mc-slide.is-current .mc-card::before { opacity: 1; }
.mc-card:hover::after, .mc-card:focus-visible::after { transform: translateX(420%) rotate(12deg); }
.mc-card:hover .icon-tile, .mc-card:focus-visible .icon-tile, .mc-slide.is-current .mc-card .icon-tile {
  background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.06); box-shadow: 0 10px 22px -10px rgba(24, 74, 195, .75);
}
.mc-card:hover h3 { color: var(--primary); }
.mc-card:hover .mc-num, .mc-slide.is-current .mc-num { transform: translateY(-6px); -webkit-text-stroke-color: var(--accent); }
.mc-card:hover .link-arrow .icon { transform: translateX(5px); }
.mc-slide.is-current .mc-card .icon-tile .icon { animation: mc-bob 2.4s var(--ease) infinite; }
@keyframes mc-bob { 50% { transform: translateY(-2px); } }

.mc-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.mc-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--border); background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow-xs);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.mc-btn .icon { width: 18px; height: 18px; }
.mc-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.mc-btn:active { transform: scale(.94); }
.mc-dots { display: flex; align-items: center; gap: 8px; }
.mc-dot {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); overflow: hidden;
  background: var(--border); cursor: pointer; transition: width .45s var(--ease), background-color .3s var(--ease);
}
.mc-dot::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--primary); }
.mc-dot:hover { background: var(--accent); }
.mc-dot[aria-current="true"] { width: 34px; background: var(--light-blue); }
.mc-dot[aria-current="true"]::after { transform: scaleX(1); }
.mod-carousel.is-playing .mc-dot[aria-current="true"]::after { animation: mc-progress var(--mc-dur) linear forwards; }
@keyframes mc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1023px) { .mod-carousel { --mc-per: 2; } }
@media (max-width: 640px) {
  .mod-carousel { --mc-gap: 16px; --mc-per: 1.15; }
  .mc-dot { width: 6px; height: 6px; }
  .mc-dot[aria-current="true"] { width: 24px; }
}

/* 23 — Motion ------------------------------------------------------------ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-frame { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.js .reveal-frame.is-visible { opacity: 1; transform: none; }
/* Page heroes (the first screen of every inner page) fade up with CSS alone, from first paint,
   so the headline never waits for JavaScript to download (faster Largest Contentful Paint) */
@keyframes page-hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
html.js .page-hero .reveal, html.js .page-hero .reveal-frame { opacity: 1; transform: none; transition: none; animation: page-hero-in .8s var(--ease) both; }
html.js .page-hero .reveal-frame { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { html.js .page-hero .reveal, html.js .page-hero .reveal-frame { animation: none; } }

@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; }
  html.js .reveal, html.js .reveal-frame { opacity: 1; transform: none; }
  html.js .lifecycle:not(.is-visible) .lc-node { opacity: 1; transform: none; }
  .bg-particles, .lc-line::after { display: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .float-card { animation: none; }
  .mc-track { scroll-behavior: auto; }
}

/* ==========================================================================
   25 — Signature system: The Procurement Control Plane
   ========================================================================== */
.rel { position: relative; }
.section-dark {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 85% -10%, rgba(24, 74, 195, .55), transparent 60%),
              radial-gradient(700px 500px at -10% 110%, rgba(24, 74, 195, .3), transparent 60%), var(--navy-900);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .8); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .link-arrow { color: #fff; }
.section-dark .feature-list li { color: rgba(255, 255, 255, .9); }
.section-dark .feature-list .icon { color: var(--accent); }
.section-dark .bg-grid { opacity: .8; }
.statement { font-family: var(--font-serif); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); color: var(--navy); border-left: 3px solid var(--primary); padding: 2px 0 2px 18px; margin: 4px 0 24px; line-height: 1.3; }
.h3-serif { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); }
.split-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-auction { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.split-orbit { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split-trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }

/* Cursor-following light on dark sections */
.cursor-light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 176, 247, .13), transparent 60%);
}
.cursor-light.is-lit::before { opacity: 1; }
.cursor-light > .container { position: relative; z-index: 1; }

/* Segmented control */
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.seg button { height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 650; font-size: .9rem; color: var(--slate); transition: background-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.seg button:hover { color: var(--primary); }
.seg button[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px rgba(24, 74, 195, .8); }
.seg-sm button { height: 30px; min-width: 32px; padding: 0 10px; font-size: .82rem; border-radius: 8px; }

/* Loader -------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: #fff; transition: opacity .45s var(--ease), visibility .45s; cursor: pointer; }
html:not(.js) .loader, html.no-loader .loader { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { width: 230px; height: auto; margin-inline: auto; animation: fade-up .5s var(--ease) both; }
.loader-line { width: 230px; height: 2px; margin: 20px auto 14px; border-radius: 2px; background: var(--light-blue); overflow: hidden; }
.loader-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); transform-origin: left; animation: load .8s .1s var(--ease) both; }
.loader-status { font-size: .66rem; font-weight: 700; letter-spacing: .26em; color: var(--slate); }
.loader-dots i { display: inline-block; width: 3px; height: 3px; margin-left: 3px; border-radius: 50%; background: var(--primary); animation: blink 1s infinite; vertical-align: middle; }
.loader-dots i:nth-child(2) { animation-delay: .15s; }
.loader-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 01–04 Control plane ---------------------------------------------------------- */
.control-plane { position: relative; padding: 34px 22px; }
.cp-panel {
  position: relative; border-radius: 26px; overflow: hidden; color: #fff;
  background: #1541B2;
  box-shadow: 0 50px 100px -40px rgba(10, 30, 79, .75), inset 0 0 0 1px rgba(143, 176, 247, .2);
}
.cp-head, .cp-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .72); }
.cp-head { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cp-foot { border-top: 1px solid rgba(255, 255, 255, .08); letter-spacing: .04em; font-weight: 600; color: rgba(255, 255, 255, .78); }
.cp-head span, .cp-foot span { display: inline-flex; align-items: center; gap: 8px; }
.cp-head svg, .cp-foot svg { width: 14px; height: 14px; color: var(--accent); }
.cp-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); animation: blink 1.6s infinite; }
.cp-stage-area { position: relative; aspect-ratio: 600 / 400; }
.cp-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cp-grid { transition: opacity 1s var(--ease); }
html.js:not(.is-ready) .cp-grid { opacity: 0; }
.cp-aux { fill: none; stroke: rgba(143, 176, 247, .28); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 20s linear infinite; }
.cp-base { fill: none; stroke: rgba(143, 176, 247, .16); stroke-width: 2; }
.cp-flow { fill: none; stroke: url(#cpFlow); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s .55s var(--ease); }
html.js:not(.is-ready) .cp-flow { stroke-dashoffset: 1000; }
.cp-packet { fill: #fff; filter: drop-shadow(0 0 6px rgba(143, 176, 247, .95)); }
.cp-halo { opacity: .9; }
html.js:not(.is-ready) .cp-packet, html.js:not(.is-ready) .cp-halo { opacity: 0; }
.cp-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 7px; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 80ms + 250ms); z-index: 1; }
html.js:not(.is-ready) .cp-node { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.cp-node:nth-child(n+6) .cp-label { order: -1; }
.cp-dot { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--accent); background: rgba(15, 42, 107, .9); border: 1px solid rgba(143, 176, 247, .35); transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.cp-dot svg { width: 20px; height: 20px; }
.cp-label { font-size: .7rem; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; transition: color .3s; }
.cp-node.is-done .cp-dot { color: #fff; border-color: rgba(143, 176, 247, .7); }
.cp-node.is-active .cp-dot { background: var(--primary); color: #fff; border-color: var(--accent); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(143, 176, 247, .16), 0 0 34px rgba(143, 176, 247, .7); }
.cp-node.is-active .cp-label { color: #fff; }
.cp-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(270px, 47%); padding: 12px 14px; border-radius: 16px; color: var(--ink); background: rgba(255, 255, 255, .97); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); z-index: 2; transition: opacity .6s .9s var(--ease); }
html.js:not(.is-ready) .cp-status { opacity: 0; }
.cp-status-top, .cp-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .66rem; font-weight: 600; color: var(--slate); }
.cp-req { color: var(--navy); font-weight: 800; letter-spacing: .06em; }
.cp-time { font-variant-numeric: tabular-nums; }
.cp-stage { margin-top: 8px; font-size: .95rem; font-weight: 800; letter-spacing: .05em; color: var(--primary); }
.cp-stage.flash { animation: stage-in .5s var(--ease); }
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cp-progress { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; margin: 10px 0 8px; }
.cp-progress i { height: 4px; border-radius: 4px; background: var(--light-blue); transition: background-color .3s; }
.cp-progress i.on { background: var(--primary); }
.capsule {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 1px; padding: 10px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(15, 42, 107, .08); box-shadow: 0 20px 40px -20px rgba(10, 30, 79, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 120ms + 1.1s);
  animation: floaty 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s);
}
html.js:not(.is-ready) .capsule { opacity: 0; transform: translateY(12px); }
.capsule strong { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.capsule > span { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.capsule.c1 { top: 4px; right: 21%; }
.capsule.c2 { top: 0; right: 3%; }
.capsule.c3 { bottom: 0; left: 3%; }
.capsule.c4 { bottom: 4px; left: 30%; }
.cp-head { justify-content: flex-start; gap: 18px; }
.cp-foot { justify-content: flex-end; gap: 18px; }
.vault .orbit-core-in strong { font-size: clamp(1rem, .85rem + .7vw, 1.3rem); }

/* Lifecycle v2: progress line + live previews ------------------------------- */
.lifecycle.is-visible .lc-line span { transform: scaleX(var(--progress, 0)); transition: transform .8s var(--ease); }
.lc-panel-v2 { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; align-items: stretch; padding: 28px; }
.lc-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lc-copy .lc-panel-num { font-size: 2.6rem; }
.lc-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 6px 0 8px; }
.lc-data div { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-soft); }
.lc-data dt { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.lc-data dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); font-size: .88rem; }
.lc-preview { border-radius: 18px; background: var(--surface); border: 1px solid var(--border-soft); overflow: hidden; font-size: 12px; }
.lc-preview-bar { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--border-soft); }
.lc-preview-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D7DEEC; }
.lc-preview-bar span { margin-left: auto; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.lc-preview-body { padding: 16px; display: grid; gap: 8px; animation: panel-in .5s var(--ease); }
.pv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border-soft); }
.pv-row span { color: var(--ink); }
.pv-row b { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.pv-ok { color: var(--success-ink); font-weight: 800; }
.pv-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--accent); color: var(--navy); font-weight: 600; }
.pv-search svg { width: 14px; height: 14px; color: var(--primary); }
.pv-btn { width: 100%; height: 32px; }
.pv-bars { display: grid; gap: 8px; }
.pv-bars div { display: grid; grid-template-columns: 26px minmax(0, 1fr) 54px; gap: 10px; align-items: center; }
.pv-bars span { font-weight: 800; color: var(--primary); }
.pv-bars i { height: 10px; border-radius: 6px; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--primary)); animation: grow .8s var(--ease); transform-origin: left; }
.pv-bars b { text-align: right; color: var(--navy); }
@keyframes grow { from { transform: scaleX(0); } }
.pv-msg { max-width: 100%; }
.pv-note { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--slate); margin: 4px 0 0; }

/* 06 ARC lock ------------------------------------------------------------------- */
.arc-card { position: relative; padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); }
.arc-product { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.arc-product strong { display: block; color: var(--navy); font-size: .98rem; }
.arc-product span { font-size: .78rem; color: var(--slate); }
.arc-product .badge { margin-left: auto; }
.arc-prices { display: grid; gap: 8px; margin: 18px 0; }
.arc-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--surface); font-size: .9rem; color: var(--slate); }
.arc-row b { font-variant-numeric: tabular-nums; color: var(--navy); font-size: 1rem; transition: color .5s, text-decoration-color .5s; text-decoration: line-through transparent 2px; }
.arc-lock.is-locked .arc-vendor b { color: var(--slate-400); text-decoration-color: var(--error); }
.arc-contract { border: 1px solid transparent; transition: border-color .5s, background-color .5s; }
.arc-lock.is-locked .arc-contract { border-color: #9AD8B0; background: #F0FBF4; }
.arc-display { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; }
.arc-price { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.arc-cur { font-size: 1.4rem; font-weight: 600; color: var(--accent); }
.arc-price span[data-arc-price] { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.arc-price small { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-left: 4px; }
.arc-lockbox { display: flex; align-items: center; gap: 12px; }
.arc-lock-svg { width: 42px; height: 50px; color: var(--accent); }
.arc-shackle { transform: translateY(-8px); transition: transform .45s cubic-bezier(.5, 1.6, .5, 1); }
.arc-lock.is-locked .arc-shackle { transform: none; }
.arc-lock.is-locked .arc-lock-svg { color: #4ADE80; }
.arc-badge { padding: 7px 12px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; background: #16A34A; color: #fff; opacity: 0; transform: scale(.8); transition: opacity .35s .2s, transform .45s .2s cubic-bezier(.5, 1.6, .5, 1); }
.arc-lock.is-locked .arc-badge { opacity: 1; transform: none; }
.arc-details { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
.arc-details div { padding: 10px; border-radius: 12px; border: 1px solid var(--border-soft); }
.arc-details dt { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.arc-details dd { margin: 3px 0 0; font-size: .82rem; font-weight: 650; color: var(--navy); }
.arc-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #F0FBF4; color: var(--success-ink); font-size: .84rem; font-weight: 600; }
.arc-foot svg { width: 18px; height: 18px; flex: none; }
.arc-replay { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--navy); padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border); }
.arc-replay svg { width: 14px; height: 14px; }

/* 07 Approval engine ------------------------------------------------------------ */
.ae { padding: 24px; border-radius: 26px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); }
.ae-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.ae-kicker { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.ae-head strong { color: var(--navy); }
.ae-levels { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; color: var(--slate); }
.ae-chain { list-style: none; display: grid; gap: 0; margin: 14px 0; }
.ae-node { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; transition: background-color .3s, border-color .3s; animation: panel-in .4s var(--ease); }
.ae-node + .ae-node::before { content: ""; position: absolute; left: 31px; top: -8px; height: 16px; width: 2px; background: var(--border); }
.ae-node.is-current { background: #F2F6FF; border-color: #C5D5F8; }
.ae-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .78rem; color: var(--primary); background: var(--light-blue); }
.ae-node.is-approved .ae-avatar, .ae-node.is-submitted .ae-avatar { background: #E8F7EE; color: var(--success-ink); }
.ae-node.is-rejected .ae-avatar { background: #FDECEC; color: var(--error-ink); }
.ae-node.is-current .ae-avatar { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(24, 74, 195, .15); }
.ae-who strong { display: block; color: var(--navy); font-size: .92rem; }
.ae-who span { font-size: .76rem; color: var(--slate); }
.ae-node .m-chip { height: 22px; font-size: .7rem; }
.ae-node.is-current .m-chip.amber { animation: blink 1.6s infinite; }
.ae-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 16px; background: var(--surface); }
.ae-acting { margin: 0; font-size: .84rem; font-weight: 600; color: var(--navy); }
.ae-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.ae-btns .btn { min-height: 36px; padding: 0 12px; font-size: .82rem; gap: 6px; }
.ae-btns .btn .icon { width: 15px; height: 15px; }
/* Darker green so white button text meets 4.5:1 */
.ae-approve { --btn-bg: #15803D; --btn-fg: #fff; }
.ae-approve:hover { --btn-bg: #15803D; }
.ae-reject { --btn-bg: #fff; --btn-fg: var(--error-ink); --btn-bd: #F3C2C2; }
.ae-back { --btn-bg: #fff; --btn-fg: var(--warning-ink); --btn-bd: #F0CF9F; }
.ae-btns .btn[disabled] { opacity: .45; pointer-events: none; }
.ae-log { list-style: none; display: grid; gap: 4px; margin: 12px 0 0; font-size: .76rem; color: var(--slate); min-height: 60px; }
.ae-log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; animation: panel-in .35s var(--ease); }
.ae-log time { font-variant-numeric: tabular-nums; color: var(--slate-400); }
.ae-note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: .74rem; color: var(--slate); }
.ae-note svg { width: 14px; height: 14px; }

/* Dashboard pro ------------------------------------------------------------------ */
.browser-wrap.on-dark .browser-frame { border-color: rgba(143, 176, 247, .25); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(143, 176, 247, .15); }
.section-dark .mock-note { color: rgba(255, 255, 255, .6); }
.m-row-wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.lc-chart svg { width: 100%; height: 150px; display: block; overflow: visible; }
.lc-grid line { stroke: var(--border-soft); stroke-width: 1; }
.lc-area { fill: url(#lcArea); transition: opacity 1s .6s; }
.lc-stroke { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.lc-dots circle { fill: #fff; stroke: var(--primary); stroke-width: 2; transition: opacity .4s 1.4s; }
html.js .lc-chart:not(.is-visible) .lc-stroke { stroke-dashoffset: 1; }
html.js .lc-chart:not(.is-visible) .lc-area, html.js .lc-chart:not(.is-visible) .lc-dots circle { opacity: 0; }
.lc-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; color: var(--slate-400); }
.gauge { position: relative; width: 132px; margin: 4px auto; }
.gauge svg { width: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.g-track { stroke: var(--light-blue); }
.g-val { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: var(--len) var(--c); transition: stroke-dasharray 1.4s var(--ease); }
html.js .gauge:not(.is-visible) .g-val { stroke-dasharray: 0 var(--c); }
.gauge-in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-in b { font-size: 22px; color: var(--navy); }
.gauge-in span { font-size: 9px; color: var(--slate); max-width: 80px; }
.funnel { display: grid; gap: 7px; }
.fn-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 30px; gap: 8px; align-items: center; font-size: 10.5px; }
.fn-row i { display: block; height: 14px; width: var(--w); margin-inline: auto; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--primary)); transition: width 1.1s var(--ease); }
html.js .funnel:not(.is-visible) .fn-row i { width: 0; }
.fn-row b { text-align: right; color: var(--navy); }

/* 09 AI negotiation control tower --------------------------------------------- */
.tower { position: relative; padding: 18px; border-radius: 28px; color: #fff; background: linear-gradient(160deg, rgba(24, 74, 195, .35), rgba(10, 30, 79, .85)), var(--navy-900); border: 1px solid rgba(143, 176, 247, .22); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8); }
.tower-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 6px 16px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }
.tower-head > span { display: inline-flex; align-items: center; gap: 8px; }
.tower-head svg { width: 15px; height: 15px; color: var(--accent); }
.tower-head .badge-early { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(143, 176, 247, .55); letter-spacing: .08em; }
.tower-demo { letter-spacing: .06em; font-weight: 600; color: rgba(255, 255, 255, .55); }
.tower-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.tower-col { display: grid; gap: 14px; align-content: center; }
.tv { position: relative; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .35s, box-shadow .35s, background-color .35s; }
.tower-col:first-child .tv::after, .tower-col:last-child .tv::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 2px; background: rgba(143, 176, 247, .25); background-size: 200% 100%;
}
.tower-col:first-child .tv::after { left: 100%; }
.tower-col:last-child .tv::after { right: 100%; }
.tv.is-talking { border-color: var(--accent); background: rgba(143, 176, 247, .1); box-shadow: 0 0 0 4px rgba(143, 176, 247, .12), 0 0 40px -12px rgba(143, 176, 247, .7); }
.tv.is-talking::after { background: linear-gradient(90deg, transparent, var(--accent), transparent) !important; background-size: 200% 100% !important; animation: flow 1s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.tv-top { display: flex; align-items: center; gap: 8px; }
.tv-top strong { font-size: .92rem; }
.tv-city { margin-left: auto; font-size: .7rem; color: rgba(255, 255, 255, .55); }
.tv-rank { min-width: 26px; height: 20px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.tv-rank.l1 { background: var(--accent); color: var(--navy-900); }
.tv-offer { margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.tv-offer span { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; transition: color .4s; }
.tv-offer span.drop { color: #6EE7A0; }
.tv-offer small { font-size: .74rem; color: rgba(255, 255, 255, .55); margin-left: 4px; }
.tv-rel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .68rem; color: rgba(255, 255, 255, .6); }
.tv-rel .m-progress { background: rgba(255, 255, 255, .1); height: 5px; }
.tv-rel .m-progress i { background: var(--accent); }
.tv-rel b { color: #fff; }
.tv-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.tv-resp { font-size: .68rem; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.tower-core { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tower-orb { position: relative; width: 112px; height: 112px; margin: 2px auto 4px; display: grid; place-items: center; }
.tower-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 176, 247, .4); animation: ripple 3s ease-out infinite; }
.tower-orb .ring.r2 { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.tower-orb-in { position: relative; width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(circle at 30% 30%, #4F7BE0, var(--primary) 60%, var(--navy)); box-shadow: 0 0 40px rgba(143, 176, 247, .55), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tower-orb-in svg { width: 26px; height: 26px; }
.tower-orb-in b { font-size: .52rem; letter-spacing: .14em; }
.tower.is-running .tower-orb-in { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 60px rgba(143, 176, 247, .85), inset 0 0 0 1px rgba(255, 255, 255, .35); } }
.tower-brief { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.tower-brief div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.tower-brief span { display: block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tower-brief b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.tower-thread { flex: 1; min-height: 250px; max-height: 280px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); }
.tower-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tower-foot .control-note { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.tower-foot .control-note svg { width: 18px; height: 18px; color: var(--accent); }
.tower-foot .control-note b { color: #fff; }
.tower-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Category orbit & security vault ------------------------------------------------ */
/* Square stage: items sit on a true circle of radius 40% (signature.py), which is
   the outer ring (80% wide) and the ray's length. Bottom margin leaves room for
   the labels hanging under the lowest icon. */
.orbit { position: relative; aspect-ratio: 1; max-width: 600px; margin: 0 auto 36px; }
.orbit-rings i { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(24, 74, 195, .12); transform: translate(-50%, -50%); }
.orbit-rings i:nth-child(1) { width: 50%; }
.orbit-rings i:nth-child(2) { width: 65%; border-style: dashed; animation: spin-c 80s linear infinite; }
.orbit-rings i:nth-child(3) { width: 80%; }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-ray { position: absolute; left: calc(50% - 1px); top: 10%; width: 2px; height: 40%; transform-origin: 50% 100%; transform: rotate(var(--ray, 0deg)); opacity: 0; background: linear-gradient(to top, transparent 50%, var(--accent)); transition: transform .5s var(--ease), opacity .3s; }
.orbit.has-active .orbit-ray { opacity: 1; }
.orbit-core { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 44%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 7%; background: #fff; box-shadow: 0 0 0 10px rgba(24, 74, 195, .05), var(--shadow-lg); }
.orbit-core-in { display: flex; flex-direction: column; align-items: center; gap: 4px; animation: panel-in .4s var(--ease); }
.orbit-core-in strong { font-family: var(--font-serif); font-size: clamp(1rem, .8rem + .7vw, 1.3rem); color: var(--navy); line-height: 1.15; }
.orbit-core-in span { font-size: .74rem; color: var(--slate); line-height: 1.4; }
.orbit-k { font-size: .62rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary) !important; }
.orbit-list { list-style: none; }
/* Anchored on the icon's centre (half of .orbit-ico's 50px), not the whole button,
   so every icon sits exactly on the ring with its label hanging below. */
.orbit-item, .vault-item { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -25px); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 108px; text-align: center; }
.orbit-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s; }
.orbit-ico .icon { width: 22px; height: 22px; }
.orbit-name { font-size: .74rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.orbit-item:hover .orbit-ico, .orbit-item[aria-pressed="true"] .orbit-ico, .vault-item:hover .orbit-ico, .vault-item[aria-pressed="true"] .orbit-ico { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(24, 74, 195, .12), 0 12px 24px -10px rgba(24, 74, 195, .7); }
.vault .orbit-rings i { border-color: rgba(143, 176, 247, .22); }
.vault .orbit-core { background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 176, 247, .3); box-shadow: 0 0 0 10px rgba(143, 176, 247, .05), 0 0 80px -20px rgba(143, 176, 247, .5); color: #fff; }
.vault .orbit-core-in strong { color: #fff; }
.vault .orbit-core-in span { color: rgba(255, 255, 255, .72); }
.vault-shield { color: var(--accent); }
.vault-shield .icon { width: 30px; height: 30px; }
.vault .orbit-ico { background: rgba(15, 42, 107, .9); color: var(--accent); border-color: rgba(143, 176, 247, .35); box-shadow: none; }
.vault .orbit-name { color: rgba(255, 255, 255, .88); }

/* Industries ---------------------------------------------------------------------- */
.ind { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.ind-tabs { display: flex; flex-direction: column; gap: 6px; }
.ind-tab { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; text-align: left; font-weight: 600; color: var(--slate); transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.ind-tab .icon { color: var(--slate-400); transition: color .2s; }
.ind-tab .ind-arrow { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s var(--ease); }
.ind-tab:hover { color: var(--navy); background: var(--surface); }
.ind-tab[aria-selected="true"] { color: var(--navy); background: #fff; border-color: var(--border-soft); box-shadow: var(--shadow-sm); }
.ind-tab[aria-selected="true"] .icon { color: var(--primary); }
.ind-tab[aria-selected="true"] .ind-arrow { opacity: 1; transform: none; }
.ind-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); }
.ind-visual { display: grid; place-items: center; padding: 24px; color: var(--primary); background: linear-gradient(160deg, #F7F9FE, var(--light-blue)); border-right: 1px solid var(--border-soft); }
.ind-art { width: 100%; height: auto; }
.art-spin { animation: spin 26s linear infinite; }
.art-belt { animation: belt 6s linear infinite; }
@keyframes belt { from { transform: translateX(-40px); } to { transform: translateX(0); } }
.ind-copy { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ind-copy h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; margin: 0; }
.ind-copy p { color: var(--slate); margin: 0; }
.ind-copy .cat-items { margin: 4px 0 8px; }

/* Engagement switch --------------------------------------------------------------- */
.es { padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); }
.es-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); max-width: 660px; margin: 0 auto 30px; }
.es-switch button { position: relative; z-index: 1; padding: 14px 10px; border-radius: 15px; text-align: center; transition: color .3s; }
.es-switch b { display: block; letter-spacing: .16em; font-size: .92rem; color: var(--navy); transition: color .3s; }
.es-switch span { font-size: .78rem; color: var(--slate); transition: color .3s; }
.es-switch button[aria-pressed="true"] b, .es-switch button[aria-pressed="true"] span { color: #fff; }
.es-thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 15px; background: linear-gradient(135deg, var(--primary), var(--navy)); box-shadow: 0 12px 26px -12px rgba(24, 74, 195, .8); transition: transform .55s var(--ease); }
.es[data-mode="with"] .es-thumb { transform: translateX(100%); }
.es-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.es-pane { animation: panel-in .45s var(--ease); }
.es[data-mode="run"] .es-pane-with, .es[data-mode="with"] .es-pane-run { display: none; }
.es-pane h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; }
.es-pane p { color: var(--slate); }
.es-best { padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--navy) !important; font-weight: 600; font-size: .92rem; }
.es-best span { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.es-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft); font-weight: 600; color: var(--slate); }
.es-rows { list-style: none; display: grid; gap: 8px; }
.es-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; align-items: center; }
.es-label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.es-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-soft); }
.es-side { display: grid; place-items: center; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.es-token { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); display: grid; place-items: center; padding: 0 10px; border-radius: 9px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs); font-size: .78rem; font-weight: 650; color: var(--navy); text-align: center; line-height: 1.2; transition: transform .55s var(--ease), background-color .4s, color .4s, border-color .4s; transition-delay: calc(var(--i, 0) * 40ms); }
.es[data-mode="run"] .es-row[data-run="pe"] .es-token, .es[data-mode="with"] .es-row[data-with="pe"] .es-token { transform: translateX(100%); background: var(--primary); border-color: var(--primary); color: #fff; }
.es[data-mode="run"] .es-t-with, .es[data-mode="with"] .es-t-run { display: none; }

/* 10 Audit timeline ----------------------------------------------------------------- */
.at { border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); }
.at-dark { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(143, 176, 247, .2); box-shadow: none; }
.at-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; border-bottom: 1px solid var(--border-soft); }
.at-dark .at-head { border-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); }
.at-head > span { display: inline-flex; align-items: center; gap: 8px; }
.at-head svg { width: 15px; height: 15px; color: var(--accent); }
.at-export { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: inherit; border: 1px solid var(--border); }
.at-dark .at-export { border-color: rgba(255, 255, 255, .2); }
.at-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.at-list { list-style: none; padding: 10px; position: relative; }
.at-list::before { content: ""; position: absolute; left: 99px; top: 26px; bottom: 26px; width: 2px; background: var(--border); }
.at-dark .at-list::before { background: rgba(143, 176, 247, .2); }
.at-item { position: relative; width: 100%; display: grid; grid-template-columns: 72px 18px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; text-align: left; transition: background-color .25s; }
.at-item:hover { background: var(--surface); }
.at-dark .at-item:hover { background: rgba(255, 255, 255, .05); }
.at-item time { grid-row: span 2; font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--slate); font-weight: 600; }
.at-dark .at-item time { color: rgba(255, 255, 255, .6); }
.at-dot { grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); position: relative; z-index: 1; transition: background-color .3s, box-shadow .3s; }
.at-dark .at-dot { background: var(--navy-900); }
.at-item.is-past .at-dot { background: var(--accent); }
.at-action { font-weight: 650; font-size: .88rem; color: var(--navy); }
.at-dark .at-action { color: #fff; }
.at-user { grid-column: 3; font-size: .74rem; color: var(--slate); }
.at-dark .at-user { color: rgba(255, 255, 255, .55); }
.at-item[aria-pressed="true"] { background: #F2F6FF; }
.at-dark .at-item[aria-pressed="true"] { background: rgba(143, 176, 247, .12); }
.at-item[aria-pressed="true"] .at-dot { background: var(--primary); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(143, 176, 247, .25); }
.at-detail { padding: 18px; border-left: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 14px; }
.at-dark .at-detail { border-color: rgba(255, 255, 255, .08); }
.at-detail dl { display: grid; gap: 12px; margin: 0; animation: panel-in .35s var(--ease); }
.at-detail dt { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.at-dark .at-detail dt { color: var(--accent); }
.at-detail dd { margin: 2px 0 0; font-size: .9rem; font-weight: 600; }
.at-stamp { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: var(--success-ink); background: #E8F7EE; }
.at-stamp svg { width: 13px; height: 13px; }

/* KAM wrap */
.kam-wrap { max-width: 520px; margin-left: auto; }

/* How it works — scroll-driven steps ----------------------------------------------- */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.how-intro { position: sticky; top: 110px; }
.how-steps { position: relative; list-style: none; padding-left: 64px; }
.how-line { position: absolute; left: 21px; top: 22px; bottom: 60px; width: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.how-line i { position: absolute; left: 0; right: 0; top: 0; height: var(--p, 100%); background: linear-gradient(var(--primary), var(--accent)); }
html.js .how-line i { height: var(--p, 0%); }
.how-step { position: relative; padding-bottom: 56px; transition: opacity .5s var(--ease); }
html.js .how-step:not(.is-active) { opacity: .4; }
.how-num { position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .88rem; color: var(--primary); background: #fff; border: 2px solid var(--border); transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s; }
.how-step.is-active .how-num { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 6px rgba(24, 74, 195, .12); }
html:not(.js) .how-num { background: var(--primary); color: #fff; }
.how-body h3 { font-size: .95rem; letter-spacing: .16em; color: var(--primary); margin: 10px 0 8px; }
.how-body p { font-family: var(--font-serif); font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); color: var(--navy); line-height: 1.35; margin-bottom: 18px; }

/* Final CTA network motif ------------------------------------------------------------ */
.cta-band { background: radial-gradient(900px 420px at 50% -10%, rgba(143, 176, 247, .32), transparent 60%), linear-gradient(135deg, var(--primary) 0%, var(--navy) 62%, var(--navy-900) 100%); }
.net-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.net-lines path { stroke: rgba(143, 176, 247, .22); stroke-width: 1; fill: none; }
.net-dots circle { fill: var(--accent); opacity: .45; animation: net-pulse 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes net-pulse { 50% { opacity: .95; } }

/* Footer additions */
/* Oversized so the ft-drift movement never brings its edges into view */
.footer-net { position: absolute; inset: -10%; pointer-events: none; background: radial-gradient(700px 300px at 90% 0, rgba(143, 176, 247, .22), transparent 60%); }
.site-footer .container { position: relative; }
.footer-main { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); }
.footer-brand .brand-logo { height: 50px; }
.footer-brand p { max-width: 360px; }
.footer-brand .group { color: var(--slate); margin-top: 16px; }
.footer-brand .group strong { color: var(--navy); }
/* Social profiles under the footer brand */
.footer-social { list-style: none; display: flex; gap: 10px; margin: 20px 0 0; padding: 0; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--navy); background: #fff;
  border: 1px solid var(--border); transition: color .2s, background-color .2s, border-color .2s, transform .25s var(--ease); }
.footer-social a:hover, .footer-social a:focus-visible { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-signin { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; }
.footer-signin svg { width: 16px; height: 16px; }
.footer-signin:hover { color: var(--primary); }
.footer-cta .btn-row { gap: 10px; }

/* Solutions hub role cards */
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border-soft); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.role-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFDBF5; }
.role-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.role-card h3 { margin: 6px 0 0; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.role-card p { color: var(--slate); margin: 0; }
/* Role cards inside the carousel take the module-card lift and gradient ring */
.role-card.mc-card { position: relative; }
.role-card.mc-card:hover, .mc-slide.is-current .role-card.mc-card { transform: translateY(-6px); border-color: transparent; }
.role-card.mc-card .link-arrow { margin-top: auto; padding-top: 6px; }


/* Animated success checkmark */
.form-success .success-icon path { stroke-dasharray: 30; stroke-dashoffset: 0; }
.form-success:not([hidden]) .success-icon path { animation: draw-check .6s .15s var(--ease) both; }
.form-success:not([hidden]) .success-icon { animation: pop-in .45s var(--ease) both; }
@keyframes draw-check { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* 26 — Photography ------------------------------------------------------------ */
/* Hero photo panel (About, Vendors, Careers, industry pages) */
.photo-frame { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 26px; background: linear-gradient(150deg, var(--light-blue), #F7F9FE); box-shadow: var(--shadow-lg); }
.photo-frame > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(15, 42, 107, .08); pointer-events: none; }
.photo-chip { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--navy); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-md); }
.photo-chip .icon { width: 18px; height: 18px; color: var(--primary); }
.photo-float { position: absolute; right: -24px; bottom: -40px; z-index: 1; width: min(340px, 64%); }
.photo-float .basket { padding: 20px; box-shadow: var(--shadow-lg); }
.photo-float .basket-title { margin-bottom: 12px; }
.photo-float .basket-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.photo-float .m-banner, .photo-float .tl-kicker { display: none; }
.photo-float .cat-chip { padding: 5px 8px 5px 5px; font-size: .74rem; gap: 6px; }
.photo-float .cat-chip .icon-tile { width: 24px; height: 24px; border-radius: 7px; flex: none; }
.photo-float .cat-chip .icon-tile .icon { width: 13px; height: 13px; }
.page-hero-visual:has(.photo-float) { padding-bottom: 36px; }

/* Industries tabs: photo over the line-art (the art shows if the photo is missing) */
.ind-visual { position: relative; overflow: hidden; }
.ind-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-visual:has(.ind-photo) { padding: 0; min-height: 340px; }

/* Industry hub tiles: 2 wide + 3 thirds on the 12-column tile grid */
.cat-tile.third { grid-column: span 4; }

/* Home: full-bleed photo band */
.photo-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 9vw, 130px) 0; background: var(--navy); color: #fff; }
.photo-band-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 28, 72, .94) 0%, rgba(15, 42, 107, .82) 45%, rgba(24, 74, 195, .55) 100%); }
.photo-band-copy { max-width: 700px; }
.photo-band-copy .eyebrow { color: var(--accent); }
.photo-band-copy .eyebrow::before { background: var(--accent); }
.photo-band h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.12; }
.photo-band-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .18); }
.photo-band-stats li { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.photo-band-stats li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.photo-band-stats strong { font-family: var(--font-serif); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.photo-band-stats li > span { color: rgba(255, 255, 255, .78); font-size: .92rem; }

/* 27 — Fragmentation → intelligence (connected state) ----------------------------------------------- */
.chaos-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.chaos-head .section-head { margin-bottom: 0; }
.chaos-caption { margin-top: 14px; color: var(--slate); font-size: .95rem; min-height: 3em; }
.chaos {
  position: relative; height: clamp(440px, 44vw, 580px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(rgba(24, 74, 195, .12) 1px, transparent 1.3px) 0 0 / 22px 22px, linear-gradient(180deg, #FBFCFF, var(--surface));
  border: 1px solid var(--border-soft);
}
.chaos-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chaos-tangle path { fill: none; stroke: rgba(220, 38, 38, .38); stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: dash 30s linear infinite; }
.chaos-tangle { transition: opacity .6s var(--ease); }
.chaos-links { opacity: 0; transition: opacity .6s var(--ease); }
.chaos-links line { stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 6 6; animation: dash 14s linear infinite reverse; }
.chaos.is-connected .chaos-tangle { opacity: 0; }
.chaos.is-connected .chaos-links { opacity: 1; transition-delay: .55s; }
.chaos-chips { list-style: none; }
.chaos-chip {
  position: absolute; left: var(--bx); top: var(--by); width: 240px; z-index: 1;
  transform: translate(-50%, -50%) rotate(var(--rot));
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: left .9s var(--ease), top .9s var(--ease), transform .9s var(--ease), border-color .4s, box-shadow .4s;
  transition-delay: calc(var(--i) * 55ms);
}
.chaos:not(.is-connected) .chaos-chip { animation: drift 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.8s); }
@keyframes drift { from { translate: 0 0; } to { translate: 5px -7px; } }
.chaos.is-connected .chaos-chip { left: var(--ax); top: var(--ay); transform: translate(-50%, -50%) rotate(0deg); border-color: #C5D5F8; box-shadow: var(--shadow-md); }
.chaos-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #FDECEC; color: var(--error-ink); transition: background-color .4s, color .4s; }
.chaos-ico .icon { width: 18px; height: 18px; }
.chaos.is-connected .chaos-ico { background: var(--light-blue); color: var(--primary); }
.chaos-text strong { display: block; color: var(--navy); font-size: .92rem; }
.chaos-pain, .chaos-gain { display: flex; align-items: center; gap: 5px; font-size: .8rem; margin-top: 2px; }
.chaos-pain { color: var(--error-ink); }
.chaos-gain { display: none; color: var(--success-ink); font-weight: 600; }
.chaos.is-connected .chaos-pain { display: none; }
.chaos.is-connected .chaos-gain { display: flex; }
.chaos-core {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 180px; height: 180px; border-radius: 50%; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff;
  box-shadow: 0 0 0 12px rgba(24, 74, 195, .06), 0 0 0 28px rgba(24, 74, 195, .03), var(--shadow-lg);
  opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.chaos.is-connected .chaos-core { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: .3s; }
.chaos-core-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed var(--accent); animation: spin 40s linear infinite; }
.chaos-logo { width: 126px; height: auto; }
.chaos-core-label { margin-top: 8px; font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.chaos-chip .icon-sm { width: 14px; height: 14px; }


/* Compact footer: brand + key points, three short link columns */
.footer-main { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); padding: 48px 0 36px; }
.footer-points { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.footer-points li { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.footer-points .icon { width: 16px; height: 16px; flex: none; color: var(--primary); }
.footer-col ul { gap: 8px; }
.footer-bottom { padding: 18px 0 24px; }

/* Page hero with a background photo, faded to white behind the copy */
.page-hero-photo { background: #EEF3FD; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(248, 250, 255, .85) 0, rgba(248, 250, 255, 0) 150px),
  linear-gradient(90deg, #F8FAFF 0%, rgba(248, 250, 255, .94) 38%, rgba(248, 250, 255, .55) 62%, rgba(232, 238, 251, .12) 100%); }
.page-hero-photo .container { position: relative; }
@media (max-width: 1023px) {
  .page-hero-shade { background: linear-gradient(180deg, rgba(248, 250, 255, .92), rgba(248, 250, 255, .82)); }
}

/* Footer motion: columns rise in, links and points follow one by one,
   a light line sweeps the top edge, and the glow drifts slowly */
@keyframes ft-item-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes ft-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes ft-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-6%, 4%, 0); } }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: ft-sweep 6s ease-in-out infinite; }
.footer-net { animation: ft-drift 14s ease-in-out infinite; }
/* The whole footer panel rises in first; its contents follow */
html.js .site-footer.reveal { transition-duration: 1s, 1s; }
html.js .site-footer.reveal:not(.is-visible) { transform: translateY(48px); }
html.js .site-footer.reveal .footer-net { opacity: 0; transition: opacity 1.4s var(--ease) .3s; }
html.js .site-footer.reveal.is-visible .footer-net { opacity: 1; }
html.js .site-footer .reveal { transition-delay: calc(300ms + var(--d, 0) * 90ms); }
html.js .footer-col li, html.js .footer-points li { opacity: 0; }
html.js .footer-col.is-visible li { animation: ft-item-in .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 500ms + var(--i, 0) * 60ms); }
html.js .footer-brand.is-visible .footer-points li { animation: ft-item-in .5s var(--ease) both; animation-delay: calc(600ms + var(--i, 0) * 90ms); }
.footer-col a { position: relative; transition: color .2s, transform .25s var(--ease); }
.footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer-col a:hover, .footer-col a:focus-visible { transform: translateX(3px); }
.footer-col a:hover::after, .footer-col a:focus-visible::after { transform: scaleX(1); }
.footer-points .icon { transition: transform .3s var(--ease); }
.footer-points li:hover .icon { transform: scale(1.2) rotate(-8deg); }
.footer-signin svg { transition: transform .25s var(--ease); }
.footer-signin:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  html.js .footer-col li, html.js .footer-points li { opacity: 1; }
  .site-footer::before { display: none; }
}

/* Footer: full site map (brand on its own row, one column per site section) */
.footer-main-wide { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.footer-main-wide .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.footer-main-wide .footer-brand .footer-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 0; }
.footer-main-wide .footer-col a { font-size: .86rem; line-height: 1.35; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--slate); }
.footer-legal a:hover { color: var(--primary); }

/* ==========================================================================
   Procurement tools
   /tools/ pages (_build/pages_tools.py) and assets/js/tools.js: RFQ generator,
   supplier evaluation matrix, MRO checklist, savings calculator, ARC template.
   ========================================================================== */
/* Interactive parts need JS; without it the <noscript> note shows instead */
html:not(.js) [data-js-only] { display: none !important; }

.tool-private { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .86rem; font-weight: 550; color: var(--success-ink); }
.tool-private .icon { width: 16px; height: 16px; }
.tool-h { font-size: 1.05rem; margin: 28px 0 14px; }
.tool-form > .tool-h:first-child, .tool-preview-head .tool-h, .sav-results > .tool-h:first-child { margin-top: 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.tool-status { min-height: 1.4em; margin: 8px 0; }

/* Prose, tips, "inside ProcEaze", FAQ, tables */
.tool-prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.tool-prose { max-width: none; }
.tool-prose h2 { margin-top: 0; }
.tool-prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.tool-prose ol li, .tool-prose ul li { color: #374055; }
.tool-tips .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin-top: 0; }
.tool-inside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; }
.tool-inside h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 6px 0 10px; }
.tool-inside .icon-tile { margin-bottom: 14px; }
.tool-inside-links { list-style: none; display: grid; gap: 12px; }
.tool-inside-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); }
.tool-faq-h { margin: 0; font-size: inherit; }
.tool-compare tbody th { width: 26%; }
.tool-compare td { width: auto; }

/* Downloads (ARC, supplier evaluation) */
.tool-file { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--primary); background: var(--light-blue); padding: 4px 10px; border-radius: var(--r-pill); }
.tool-dl-inline { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--surface); }
.tool-dl-inline > div { flex: 1 1 280px; }
.tool-dl-inline h3 { margin-bottom: 4px; }
.tool-dl-inline p { margin: 0; }

/* ARC structure */
.tool-arc-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-arc-step { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); }
.tool-arc-step h3 { font-size: 1rem; margin-bottom: 4px; }
.tool-arc-step p { margin: 0; font-size: .92rem; color: var(--slate); }
.tool-arc-num { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--light-blue); color: var(--primary); font-weight: 700; font-size: .85rem; }

/* RFQ generator */
.rfq-lines { display: grid; gap: 12px; }
.rfq-line { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr) auto; gap: 10px 12px; align-items: end; margin: 0; padding: 14px 16px 16px; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.rfq-line legend { padding: 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.rfq-line .input { min-height: 44px; }
.rfq-c-desc, .rfq-c-spec { grid-column: span 2; }
.rfq-remove { justify-self: start; color: var(--error-ink); }
.rfq-remove:disabled { opacity: .4; cursor: not-allowed; }
.rfq-short { min-height: 76px; }
.tool-preview-wrap { position: sticky; top: calc(var(--header-h) + 16px); }
.tool-preview-head { display: flex; flex-direction: column; gap: 12px; }
.rfq-doc { max-height: calc(100vh - var(--header-h) - 200px); min-height: 360px; overflow: auto; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); font-size: .9rem; color: var(--ink); }
.rfq-doc h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border-soft); }
.rfq-doc ul, .rfq-doc ol { padding-left: 1.2em; display: grid; gap: 4px; }
.rfq-doc-kicker { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.rfq-doc-title { font-family: var(--font-serif); font-size: 1.35rem; margin: 6px 0 2px; }
.rfq-doc-company { font-weight: 650; margin-bottom: 14px; }
.rfq-doc-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; padding: 14px; border-radius: var(--r-sm); background: var(--surface); }
.rfq-doc-meta dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.rfq-doc-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rfq-doc-table { overflow-x: auto; }
.rfq-doc table { font-size: .84rem; min-width: 480px; }
.rfq-doc th, .rfq-doc td { border: 1px solid var(--border-soft); padding: 6px 8px; text-align: left; vertical-align: top; }
.rfq-doc th { background: var(--surface); color: var(--navy); font-weight: 650; }
.rfq-doc .num { text-align: right; }
.rfq-pre { white-space: pre-wrap; }
.rfq-ph { color: var(--slate-400); font-style: italic; }
.rfq-doc-foot { margin-top: 20px; font-weight: 600; }

/* Supplier evaluation matrix */
.se-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.se-weight-total { margin: 0; font-weight: 600; color: var(--navy); }
.se-weights-bad .se-weight-total strong { color: var(--error-ink); }
/* position: relative keeps absolutely positioned children (e.g. .sr-only labels) inside the scroll box */
.tool-table-wrap { position: relative; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); background: #fff; }
.se-table { min-width: 640px; }
.se-table th, .se-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: middle; }
.se-table thead th { background: var(--surface); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); min-width: 140px; }
.se-table thead th:first-child { min-width: 220px; }
.se-table thead th:nth-child(2) { min-width: 100px; }
.se-table tfoot th, .se-table tfoot td { background: var(--surface); font-weight: 650; color: var(--navy); border-bottom: 0; }
.se-table .input, .se-table .select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; font-size: .92rem; }
.se-table thead .input { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--navy); }
.se-sup, .se-crit { display: flex; align-items: center; gap: 6px; }
.se-x { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--slate); font-size: 1.2rem; line-height: 1; }
.se-x:hover:not(:disabled) { background: #FDECEC; color: var(--error-ink); }
.se-x:disabled { opacity: .35; cursor: not-allowed; }
.se-weight { display: flex; align-items: center; gap: 6px; }
.se-weight .input { width: 76px; }
.se-sub { display: block; font-size: .74rem; font-weight: 500; color: var(--slate); }
.se-total.is-bad { color: var(--error-ink); }
.se-score-out { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.se-rank-out.is-top { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); background: var(--primary); color: #fff; }
.se-results { margin-top: 24px; }
.se-rank { list-style: none; display: grid; gap: 8px; max-width: 640px; }
.se-rank li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); }
.se-rank li.is-top { border-color: var(--primary); background: #F2F6FF; }
.se-rank-n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--light-blue); color: var(--primary); font-weight: 700; font-size: .85rem; }
.se-rank li.is-top .se-rank-n { background: var(--primary); color: #fff; }
.se-rank-name { font-weight: 650; color: var(--navy); flex: 1 1 auto; }
.se-rank-score { font-variant-numeric: tabular-nums; font-weight: 600; }
.se-rank-note { flex-basis: 100%; font-size: .8rem; color: var(--warning-ink); padding-left: 42px; }
.se-rank-empty { color: var(--slate); }

/* MRO checklist */
.mro-head { display: grid; gap: 14px; margin-bottom: 24px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-soft); }
.mro-head .tool-private { margin: 0; }
.mro-progress-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mro-progress { flex: 1 1 260px; height: 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border); overflow: hidden; }
.mro-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .4s var(--ease); }
.mro-count { margin: 0; font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; }
.mro-print-title { display: none; }
.mro-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mro-stage { margin: 0; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-xs); min-width: 0; }
.mro-stage.is-complete { border-color: #9AD8B0; }
.mro-stage legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; }
.mro-stage legend + * { clear: both; }
.mro-stage-h { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.05rem; }
.mro-num { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--light-blue); color: var(--primary); font-size: .8rem; font-weight: 700; }
.mro-stage.is-complete .mro-num { background: var(--success); color: #fff; }
.mro-stage-count { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.mro-list { list-style: none; display: grid; gap: 4px; }
.mro-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: background-color .2s; }
.mro-item:hover { background: var(--surface); }
.mro-item input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); }
.mro-item strong { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.mro-detail { display: block; font-size: .84rem; color: var(--slate); line-height: 1.45; }
.mro-item:has(input:checked) strong { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--slate-400); }
.mro-item:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(24, 74, 195, .25); }

/* Savings calculator */
.sav-example { margin-top: 4px; }
.sav-results { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.sav-results > * { margin: 0; }
.sav-total { padding: 24px; border-radius: var(--r-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.sav-label { margin: 0 0 4px; font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.sav-total .sav-label { color: var(--accent); }
.sav-big { margin: 0; font-family: var(--font-serif); font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sav-full { margin: 6px 0 0; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.sav-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sav-split > div { padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); }
.sav-split p { margin: 0; }
.sav-mid { font-size: 1.35rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.sav-formula { margin: 0; display: grid; gap: 10px; }
.sav-formula > div { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border-soft); }
.sav-formula dt { font-size: .82rem; color: var(--slate); }
.sav-formula dd { margin: 4px 0 0; font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Print only the chosen tool (RFQ preview / checklist) */
@media print {
  body.tool-printing * { visibility: hidden !important; }
  body.tool-printing .tool-print-target, body.tool-printing .tool-print-target * { visibility: visible !important; }
  body.tool-printing .tool-print-target { position: absolute; left: 0; top: 0; width: 100%; max-height: none; overflow: visible; border: 0; box-shadow: none; padding: 0; }
  body.tool-printing .mro-print-title { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
  body.tool-printing .mro-stages { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.tool-printing .mro-stage { break-inside: avoid; box-shadow: none; border-color: #999; }
  body.tool-printing .mro-item:has(input:checked) strong { text-decoration: none; color: #000; }
  .tool-preview-wrap, .sav-results { position: static; }
}

/* Tablet / mobile */
@media (max-width: 1023px) {
  .tool-layout, .tool-inside { grid-template-columns: minmax(0, 1fr); }
  .tool-preview-wrap, .sav-results { position: static; }
  .rfq-doc { max-height: none; }
  .tool-arc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mro-stages { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .tool-prose-grid, .tool-tips .feature-list, .tool-arc-steps { grid-template-columns: minmax(0, 1fr); }
  .rfq-line { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .rfq-c-desc, .rfq-c-spec { grid-column: 1 / -1; }
  .rfq-doc { padding: 16px; min-height: 0; }
  .rfq-doc-meta { grid-template-columns: minmax(0, 1fr); }
  .tool-actions .btn { flex: 1 1 auto; }
  .se-bar { align-items: stretch; }
  .sav-split { grid-template-columns: minmax(0, 1fr); }
  .mro-head, .mro-stage { padding: 16px; }
  .tool-dl-inline .btn { width: 100%; }
  .tool-compare tbody th { width: auto; }
}

/* Partners page: ecosystem diagram, drawn straight on the page background */
.eco { --eco: #1541B2; margin: 0; position: relative; }
.eco-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }
.eco-stage::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(21, 65, 178, .10) 0%, rgba(21, 65, 178, .04) 45%, transparent 70%); }
.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-ring { fill: none; stroke: rgba(21, 65, 178, .12); stroke-width: .3; }
.eco-ring-main { stroke: rgba(21, 65, 178, .30); stroke-dasharray: 1 1.6; }
.eco-ring-outer { stroke: rgba(21, 65, 178, .07); }
.eco-link { fill: none; stroke: rgba(21, 65, 178, .38); stroke-width: .35; stroke-dasharray: 1.2 1.4; }
.eco-dot { fill: var(--eco); }
.eco-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%; border: 2px solid rgba(21, 65, 178, .16);
  box-shadow: 0 0 0 10px rgba(21, 65, 178, .07), 0 0 0 22px rgba(21, 65, 178, .035), 0 24px 48px -16px rgba(21, 65, 178, .55); }
.eco-mark { width: 48%; height: auto; }
.eco-word { width: 66%; height: auto; }
.eco-pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(21, 65, 178, .35); animation: eco-pulse 2.8s ease-out infinite; }
@keyframes eco-pulse { to { box-shadow: 0 0 0 34px rgba(21, 65, 178, 0); } }
.eco-nodes { list-style: none; margin: 0; padding: 0; }
.eco-node { position: absolute; transform: translate(-50%, -50%); width: 132px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 12px 10px 11px; border-radius: 16px; background: #fff; border: 1px solid rgba(21, 65, 178, .14);
  box-shadow: 0 14px 30px -16px rgba(21, 65, 178, .45); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.eco-node:hover { transform: translate(-50%, calc(-50% - 4px)); border-color: rgba(21, 65, 178, .4); box-shadow: 0 20px 36px -16px rgba(21, 65, 178, .55); }
.eco-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--eco); color: #fff; box-shadow: 0 6px 14px -6px rgba(21, 65, 178, .7); }
.eco-ic .icon { width: 18px; height: 18px; }
.eco-label { font-size: .8rem; font-weight: 650; line-height: 1.25; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .eco-dot { display: none; } .eco-pulse { animation: none; } }
/* Phones: core on top, groups as a two-column grid */
@media (max-width: 767px) {
  .eco-stage { aspect-ratio: auto; }
  .eco-stage::before, .eco-svg { display: none; }
  .eco-core { position: relative; left: auto; top: auto; transform: none; width: 96px; margin: 8px auto 24px; }
  .eco-nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eco-node, .eco-node:hover { position: static; transform: none; width: auto; }
  .eco-node:last-child:nth-child(odd) { grid-column: 1 / -1; }
}