/* TriAxiom Tech v2 — "Clear Systems" design
   One typeface (Schibsted Grotesk), white surfaces, navy ink, a single teal accent for actions.
   Monospace appears only inside data and code visuals. */

:root {
  --paper: #FFFFFF;
  --band: #F5F7FC;
  --ink: #050A30;
  --ink-2: #1E2A52;
  --slate: #4A5568;
  --line: #E1E6F2;
  --line-2: #C9D2E6;
  --teal: #1238E0;
  --teal-dark: #0B2BC0;
  --teal-soft: #EAF0FF;
  --navy: #01022E;
  --navy-2: #050B4A;
  --on-navy: #EEF3FF;
  --on-navy-2: #B9C7EA;
  --amber: #B45309;
  --amber-soft: #FDF3E1;
  --ok: #15803D;
  --ok-soft: #E7F5EC;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --brand: #011C98;

  --font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --max: 1200px;
  --gutter: 20px;
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow: 0 1px 2px rgba(1, 2, 46, .06), 0 10px 28px -14px rgba(1, 28, 152, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-tap-highlight-color: rgba(18, 56, 224, .12); margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid #0A85FE; outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); }
.skip:focus { top: 12px; color: #fff; }
.preview-note { background: #FFF6D8; color: #5C4300; font-size: 14px; text-align: center; padding: 8px 16px; }

/* ---------- Type scale (major third, 17px base) ---------- */
.t-display { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.t-h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.t-h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.025em; }
.t-h3 { font-size: clamp(21px, 2vw, 26px); }
.t-lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--slate); line-height: 1.55; max-width: 38em; }
.muted { color: var(--slate); }
.kicker { font-size: 15px; font-weight: 600; color: var(--teal-dark); margin-bottom: 14px; }
.measure { max-width: 40em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-s); border: 1.5px solid transparent; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--teal-soft); color: var(--navy); }
.btn[disabled] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { font-weight: 600; color: var(--teal-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; color: var(--ink); }

/* ---------- Header and navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.nav { position: relative; display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: auto; text-decoration: none; }
.brand .mark { height: 40px; width: auto; }
.brand .word { height: 18px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: static; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-s); background: none; color: var(--ink-2); font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--ink); background: var(--band); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.mega { position: absolute; top: calc(100% + 6px); right: 0; width: min(920px, 100%); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 24px 60px -24px rgba(12, 27, 51, .35); display: none; }
.mega.open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
.mega h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 4px; }
.mega h2 a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.mega h2 a:hover { color: var(--teal-dark); text-decoration: underline; }
.mega .group-benefit { font-size: 14px; color: var(--slate); margin-bottom: 10px; }
.mega ul { list-style: none; display: grid; gap: 0; }
.mega li a { display: flex; align-items: center; min-height: 38px; padding: 0 8px; margin: 0 -8px; border-radius: var(--radius-s); font-size: 15px; color: var(--ink-2); text-decoration: none; }
.mega li a:hover { background: var(--band); color: var(--ink); }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .15s; }
.nav-toggle span { transform: translateY(-3.5px); }
.nav-toggle span::before { content: ''; position: absolute; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.band { background: var(--band); }
.navy { background: var(--navy); color: var(--on-navy); }
.navy h2, .navy h3 { color: #fff; }
.navy .muted, .navy .t-lede { color: var(--on-navy-2); }
.navy a { color: #9CC9FF; }
.navy .kicker { color: #82C2FF; }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.head .t-lede { max-width: 34em; }
.head-solo { max-width: 46em; margin-bottom: 48px; }
.head-solo .t-lede { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero .t-lede { max-width: 32em; }
.page-hero { padding: 56px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero.has-visual .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.page-hero:not(.has-visual) .hero-grid { grid-template-columns: minmax(0, 860px); }
.page-hero h1 { margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin-bottom: 32px; font-size: 15px; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--slate); display: inline-flex; min-height: 28px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.for-whom { margin-top: 28px; padding: 16px 18px; border-left: 3px solid var(--teal); background: var(--band); border-radius: 0 var(--radius) var(--radius) 0; max-width: 40em; }
.for-whom b { display: block; margin-bottom: 2px; }

/* The connected-system visual */
.system { position: relative; }
.system svg { width: 100%; height: auto; overflow: visible; }
.sys-card rect.card { fill: #fff; stroke: var(--line-2); }
.sys-card .t { font: 700 15px var(--font); fill: var(--ink); }
.sys-card .s { font: 400 12.5px var(--font); fill: var(--slate); }
.sys-label { font: 600 12.5px var(--font); fill: var(--teal-dark); }
.sys-path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.sys-path-bg { fill: none; stroke: var(--teal-soft); stroke-width: 10; stroke-linecap: round; }
.sys-dot { fill: var(--teal); }
.sys-caption { margin-top: 14px; font-size: 14px; color: var(--slate); }
.system.is-paused .sys-path { stroke-dasharray: none; }
.motion-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; color: var(--ink-2); font: 500 13px var(--font); cursor: pointer; }
.motion-btn:hover { border-color: var(--ink); }
.motion-btn svg { width: 12px; height: 12px; }

/* ---------- Commitments strip ---------- */
.commit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; }
.commit li { display: block; }
.commit svg { width: 24px; height: 24px; color: var(--teal); margin-bottom: 12px; }
.commit b { display: block; font-size: 17px; margin-bottom: 4px; }
.commit span { font-size: 15.5px; color: var(--slate); }

/* ---------- Practice rows (three service groups) ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.practice:first-of-type { border-top: 0; padding-top: 0; }
.practice.flip .practice-visual { order: -1; }
.practice h3 { margin-bottom: 12px; }
.practice .benefit { font-size: 19px; color: var(--ink-2); margin-bottom: 20px; }
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 20px; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a, .svc-list span { display: flex; align-items: center; min-height: 48px; font-size: 16px; color: var(--ink); text-decoration: none; }
.svc-list a:hover { color: var(--teal-dark); text-decoration: underline; }
.practice-visual { background: var(--band); border-radius: var(--radius-l); padding: 28px; }
.practice-visual > svg { width: 100%; height: auto; }

/* ---------- Mini visuals (SVG) ---------- */
.mv-card { fill: #fff; stroke: var(--line); }
.mv-t { font: 700 13px var(--font); fill: var(--ink); }
.mv-s { font: 400 11.5px var(--font); fill: var(--slate); }
.mv-n { font: 800 22px var(--font); fill: var(--ink); letter-spacing: -0.02em; }
.mv-accent { fill: var(--teal); }
.mv-accent-soft { fill: var(--teal-soft); }
.mv-line { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mv-grid { stroke: var(--line); }
.mv-bar { fill: #AFC3F2; }
.mv-bar.hi { fill: var(--teal); }
.mv-amber { fill: var(--amber-soft); stroke: #E6B566; }
.mv-amber-t { font: 700 12.5px var(--font); fill: #7A3A06; }
.mv-wire { fill: none; stroke: var(--line-2); stroke-width: 1.6; }
.mv-ico { color: var(--teal-dark); }
svg use[href^="#i-"] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Solutions list ---------- */
.solutions { list-style: none; border-top: 1px solid var(--line); }
.solution { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.solution h3 { font-size: clamp(21px, 2vw, 25px); }
.solution h3 a { color: var(--ink); text-decoration: none; }
.solution h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.solution p + p { margin-top: 10px; }
.solution .how { color: var(--slate); }
.solution .meta { font-size: 15px; color: var(--slate); margin-top: 12px; }
.solution .meta a { font-weight: 600; }

/* ---------- Work / demonstrations ---------- */
.demo-label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: var(--radius-s); background: var(--amber-soft); color: #7A3A06; font-size: 13.5px; font-weight: 600; }
.demo-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.work-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.work-item h3 { margin: 14px 0 10px; }
.work-item .muted { margin-bottom: 12px; }
.work-shot { margin: 0 0 22px; }
.work-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; padding: 72px 0; border-top: 1px solid var(--line); }
.work-detail:first-of-type { border-top: 0; padding-top: 0; }
.work-detail.flip > :first-child { order: 2; }
.dl { display: grid; gap: 14px; margin-top: 20px; }
.dl div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; color: var(--slate); }

/* Dashboard mockups */
.dash { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFBFA; }
.dash-bar b { font-size: 14px; }
.dash-bar .demo-label { padding: 3px 8px; font-size: 12px; }
.dash-body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi span { display: block; color: var(--slate); font-size: 12px; }
.kpi b { display: block; font-size: 20px; letter-spacing: -0.02em; margin: 2px 0; }
.kpi small { font-size: 12px; font-weight: 600; color: var(--ok); }
.kpi small.down { color: var(--danger); }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.chart { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.chart h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--ink-2); }
.chart svg { width: 100%; height: auto; }
.chart text { font: 400 10px var(--font); fill: var(--slate); }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-weight: 600; color: var(--slate); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }

/* Workflow mockup (enquiry to CRM) */
.flow { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.flow ol { list-style: none; padding: 16px; display: grid; gap: 0; }
.flow li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 46px; bottom: -10px; width: 2px; background: var(--line); }
.flow .step-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); position: relative; z-index: 1; }
.flow .step-ico svg { width: 18px; height: 18px; }
.flow b { display: block; font-size: 14.5px; }
.flow small { display: block; font-size: 13px; color: var(--slate); }
.flow .tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: var(--band); color: var(--ink-2); }
.flow .tag.ok { background: var(--ok-soft); color: var(--ok); }
.flow li.human .step-ico { background: var(--amber-soft); color: var(--amber); }
.flow .tag.wait { background: var(--amber-soft); color: #7A3A06; }
.flow li.human { margin: 6px -10px; padding: 12px 10px; border-radius: var(--radius); background: #FFFBF2; outline: 1px solid #F1D9A8; }
.flow-foot { padding: 12px 16px; border-top: 1px solid var(--line); background: #FBFBFA; font-size: 13px; color: var(--slate); }
.flow .pulse .step-ico { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 83, 9, .35); } 50% { box-shadow: 0 0 0 7px rgba(180, 83, 9, 0); } }

/* ---------- AI comparison ---------- */
.compare { width: 100%; border-collapse: collapse; }
.compare caption { text-align: left; font-weight: 700; font-size: 18px; padding-bottom: 14px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-top: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--slate); border-top: 0; padding-top: 0; }
.compare tbody th { font-size: 17px; width: 22%; }
.compare tbody th small { display: block; font-weight: 400; font-size: 14px; color: var(--slate); margin-top: 4px; }
.compare td { color: var(--ink-2); font-size: 15.5px; }
.human-note { color: #7A3A06; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { position: relative; padding: 0 24px 0 0; }
.process li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }
.process li::after { content: ''; position: absolute; top: 20px; left: 40px; right: 0; height: 2px; background: var(--line-2); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 21px; margin-bottom: 8px; }
.process p { font-size: 15.5px; color: var(--slate); }
.process .you { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.process .you b { font-weight: 600; }

/* ---------- Global delivery ---------- */
.delivery { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.delivery-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.delivery-list b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.delivery-list span { color: var(--on-navy-2); font-size: 15.5px; }
.delivery-list svg { width: 22px; height: 22px; color: #82C2FF; margin-bottom: 10px; }
.flag-inline { display: inline-block; margin-top: 18px; padding: 8px 12px; border-radius: var(--radius-s); background: rgba(255, 214, 102, .14); color: #FFE7A3; font-size: 14px; }

/* ---------- Engagement options ---------- */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--radius-l); overflow: hidden; }
.engage > div { padding: 32px 28px; display: flex; flex-direction: column; }
.engage > div + div { border-left: 1px solid var(--line-2); }
.engage h3 { font-size: 22px; margin-bottom: 8px; }
.engage .when { color: var(--slate); margin-bottom: 18px; }
.engage ul { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.engage li { display: flex; gap: 10px; font-size: 15.5px; }
.engage li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.engage .text-link { margin-top: auto; }
.engage .featured { background: var(--band); }
.fee-note { margin-top: 20px; font-size: 15px; color: var(--slate); max-width: 52em; }

/* ---------- Technologies ---------- */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.tech h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: 0; }
.tech p { color: var(--ink-2); font-size: 16px; }
.disclaimer { margin-top: 28px; font-size: 14.5px; color: var(--slate); max-width: 52em; }

/* ---------- Trust (service pages) ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; list-style: none; }
.trust-grid svg { width: 22px; height: 22px; color: var(--teal); margin-bottom: 10px; }
.trust-grid b { display: block; margin-bottom: 4px; }
.trust-grid span { color: var(--slate); font-size: 15.5px; }

/* ---------- Generic lists on service pages ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.checks svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.problems { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.problems li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; list-style: none; border-top: 1px solid var(--line); }
.deliverables li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.deliverables b { display: block; margin-bottom: 2px; }
.deliverables span { color: var(--slate); font-size: 15.5px; }
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; }
.usecases h3 { font-size: 19px; margin-bottom: 8px; }
.usecases p { color: var(--slate); font-size: 16px; }
.usecases .measure-line { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.approach { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: a; }
.approach li { border-top: 2px solid var(--navy); padding-top: 16px; }
.approach li::before { counter-increment: a; content: 'Step ' counter(a); display: block; font-size: 14px; font-weight: 600; color: var(--teal-dark); margin-bottom: 6px; }
.approach h3 { font-size: 19px; margin-bottom: 6px; }
.approach p { color: var(--slate); font-size: 15.5px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 20px; }
.related a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.related a:hover { border-color: var(--teal); color: var(--teal-dark); }
.svc-detail { padding: 48px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; }
.svc-detail:first-of-type { border-top: 0; padding-top: 0; }
.svc-detail h3 { font-size: 24px; }
.svc-detail .muted { margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 46em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.next-steps { list-style: none; counter-reset: n; display: grid; gap: 18px; margin-top: 28px; }
.next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.next-steps li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal-dark); font-weight: 700; font-size: 15px; }
.next-steps b { display: block; }
.next-steps span { color: var(--slate); font-size: 15.5px; }
.alt-contact { margin-top: 28px; font-size: 15.5px; color: var(--slate); }
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field .hint { display: block; font-size: 14px; color: var(--slate); margin: -2px 0 6px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid #98A4C2; border-radius: var(--radius-s); }
.field textarea { min-height: 132px; resize: vertical; }
.field ::placeholder { color: #6B7280; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 56, 224, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14.5px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-required { font-size: 14.5px; color: var(--slate); }
.privacy-line { font-size: 14px; color: var(--slate); }
.error-summary, .form-status { padding: 14px 16px; border-radius: var(--radius-s); border-left: 4px solid; font-size: 15.5px; }
.error-summary { border-color: var(--danger); background: var(--danger-soft); }
.error-summary h3 { font-size: 16px; color: var(--danger); margin-bottom: 4px; letter-spacing: 0; }
.error-summary ul { padding-left: 18px; }
.error-summary a { color: var(--danger); }
.form-status.success { border-color: var(--ok); background: var(--ok-soft); color: #14532D; }
.form-status.error { border-color: var(--danger); background: var(--danger-soft); color: #7A1C14; }
.form-status.notice { border-color: var(--amber); background: var(--amber-soft); color: #5C2E04; }
.form .btn { width: 100%; }

/* ---------- Placeholders needing business input ---------- */
.ph { display: inline; padding: 0 .2em; border-radius: 4px; background: #FFF3C4; outline: 1px dashed #C69214; color: #5C4300; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.navy .ph { background: rgba(255, 214, 102, .16); outline-color: rgba(255, 214, 102, .6); color: #FFE7A3; }

/* ---------- CTA band ---------- */
.cta-band { padding: 88px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 36em; }

/* ---------- Insights ---------- */
.planned { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.planned li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.planned b { display: block; font-size: 18px; margin-bottom: 4px; }
.planned span { color: var(--slate); font-size: 15.5px; }
.planned em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--teal-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding: 64px 0 32px; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand img { height: 84px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 24em; }
.site-footer h2 { font-size: 15px; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--on-navy-2); text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 14.5px; }
.foot-bottom a { color: var(--on-navy-2); display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .hero-grid, .page-hero.has-visual .hero-grid, .contact-grid, .delivery, .work-feature, .work-detail { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .work-detail.flip > :first-child { order: 0; }
  .system, .page-hero .visual { max-width: 620px; }
  .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .practice.flip .practice-visual { order: 0; }
  .process { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .process li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 18px; padding: 0; }
  .process li::before { grid-row: span 3; margin: 0; }
  .process li::after { top: 40px; bottom: -28px; left: 19px; right: auto; width: 2px; height: auto; }
  .usecases, .trust-grid, .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .menu { display: none; position: fixed; top: var(--menu-top, 72px); left: 0; right: 0; bottom: 0; background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  body.menu-open .menu { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; min-height: 60px; padding: 0 4px; font-size: 20px; font-weight: 600; color: var(--ink); }
  .nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .mega { position: static; width: auto; padding: 0 4px 16px; border: 0; border-radius: 0; box-shadow: none; }
  .mega.open { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mega-foot { margin-top: 0; }
  .menu .nav-cta { margin-top: 24px; min-height: 52px; }
  .head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .solution { grid-template-columns: minmax(0, 1fr); }
  .work-pair, .two-col, .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc-detail { gap: 12px; }
  .engage { grid-template-columns: minmax(0, 1fr); }
  .engage > div + div { border-left: 0; border-top: 1px solid var(--line-2); }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-top: 1px solid var(--line); padding: 16px 0; }
  .compare th, .compare td { border: 0; padding: 4px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 13.5px; font-weight: 600; color: var(--slate); }
  .planned { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .page-hero { padding: 32px 0 56px; }
  .actions .btn { width: 100%; }
  .brand .mark { height: 36px; } .brand .word { height: 15px; }
  .commit, .delivery-list, .svc-list, .usecases, .trust-grid, .tech, .approach, .deliverables { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row { grid-template-columns: minmax(0, 1fr); }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px 18px; }
  .practice-visual { padding: 16px; }
  /* The hero diagram's labels become unreadable below this width; the practice sections tell the same story */
  .hero .system { display: none; }
  .dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .flow .pulse .step-ico { animation: none; }
  .btn, .nav-trigger svg, .faq summary::after, .nav-toggle span, .nav-toggle span::before { transition: none; }
}
@media print {
  .site-header, .site-footer, .preview-note, .actions, .form-card { display: none; }
}

/* =====================================================================
   Brand surfaces — the night-blue spotlight from the TriAxiom logo.
   Used for header, hero, dark bands and footer; content sections stay light.
   ===================================================================== */
.brand-bg {
  background:
    radial-gradient(ellipse 55% 60% at 50% -12%, rgba(10, 133, 254, .42), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 115%, rgba(1, 28, 152, .85), transparent 70%),
    linear-gradient(180deg, #01022E 0%, #020A5C 100%);
  color: var(--on-navy);
}
.navy { background: linear-gradient(160deg, #050B4A 0%, #01022E 70%); }
.site-footer { background: #01022E; }

/* Header on brand night blue with the white logo */
.site-header { background: #01022E; border-bottom: 1px solid rgba(130, 194, 255, .14); }
.brand .mark { height: 42px; }
.brand .word { height: 19px; }
.nav-link, .nav-trigger { color: #C9D6F5; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(130, 194, 255, .1); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: #fff; box-shadow: inset 0 -2px 0 #82C2FF; }
.nav-toggle { background: transparent; border-color: rgba(130, 194, 255, .4); }
.nav-toggle span, .nav-toggle span::before { background: #fff; }
.nav-cta { box-shadow: 0 6px 20px -8px rgba(10, 133, 254, .8); }
.preview-note { background: #FFF3C4; }

/* Hero on the brand spotlight */
.hero, .page-hero { border-bottom: 0; }
.hero.brand-bg h1, .page-hero.brand-bg h1 { color: #fff; }
.brand-bg .t-lede { color: #C9D6F5; }
.brand-bg .kicker { color: #82C2FF; }
.brand-bg .btn-secondary { color: #fff; border-color: rgba(130, 194, 255, .45); }
.brand-bg .btn-secondary:hover { border-color: #82C2FF; background: rgba(130, 194, 255, .08); color: #fff; }
.brand-bg .btn-primary { box-shadow: 0 10px 28px -10px rgba(10, 133, 254, .85); }
.brand-bg .crumbs ol, .brand-bg .crumbs a { color: #B9C7EA; }
.brand-bg .crumbs a:hover { color: #fff; }
.brand-bg .crumbs [aria-current] { color: #fff; }
.brand-bg .crumbs li + li::before { color: rgba(130, 194, 255, .45); }
.brand-bg .for-whom { background: rgba(255, 255, 255, .06); border-left-color: #82C2FF; }
.brand-bg .for-whom .muted { color: #C9D6F5; }
.brand-bg .for-whom b { color: #fff; }
.brand-bg .ph { background: rgba(255, 214, 102, .16); outline-color: rgba(255, 214, 102, .6); color: #FFE7A3; }
.brand-bg .practice-visual { background: rgba(255, 255, 255, .96); }
.brand-bg .dash, .brand-bg .flow { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .65); border-color: rgba(130, 194, 255, .3); }

/* Hero diagram on dark: white product cards, electric-blue data path */
.brand-bg .sys-path { stroke: #0A85FE; }
.brand-bg .sys-path-bg { stroke: rgba(10, 133, 254, .18); }
.brand-bg .sys-dot { fill: #82C2FF; filter: drop-shadow(0 0 4px rgba(130, 194, 255, .9)); }
.brand-bg .sys-card rect.card { stroke: rgba(130, 194, 255, .35); }
.brand-bg .sys-caption { color: #B9C7EA; }
.brand-bg .motion-btn { background: transparent; color: #EEF3FF; border-color: rgba(130, 194, 255, .4); }
.brand-bg .motion-btn:hover { border-color: #82C2FF; }

/* Contact band and CTA on dark */
.cta-band.navy .btn-on-dark { color: #01022E; }

@media (max-width: 959px) {
  .menu { background: #01022E; border-top-color: rgba(130, 194, 255, .14); }
  .nav-list > li { border-bottom-color: rgba(130, 194, 255, .14); }
  .nav-link, .nav-trigger { color: #fff; }
  .nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: inset 3px 0 0 #82C2FF; }
  .mega { background: transparent; }
  .mega h2 a { color: #fff; }
  .mega .group-benefit { color: #B9C7EA; }
  .mega li a { color: #C9D6F5; }
  .mega li a:hover { background: rgba(130, 194, 255, .1); color: #fff; }
  .mega-foot { border-top-color: rgba(130, 194, 255, .14); }
  .mega-foot a { color: #9CC9FF; }
}
/* Product panels keep their own light-surface text colors on dark sections */
.dash, .flow, .practice-visual, .form-card { color: var(--ink); }

/* ===================================================================== live visuals (v2.1) */
.viz { margin: 0; }
.viz > svg { display: block; width: 100%; height: auto; }
.viz:not(.viz-hero) { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 16px 16px 12px; box-shadow: var(--shadow); color: var(--ink); }
.viz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--slate); }
.practice-visual, .brand-bg .practice-visual { background: none; padding: 0; border-radius: 0; }
.brand-bg .viz:not(.viz-hero) .motion-btn, .brand-bg .flow .motion-btn { background: #fff; color: var(--ink-2); border-color: var(--line-2); }
.brand-bg .viz:not(.viz-hero) { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .65); border-color: rgba(130, 194, 255, .3); }
.brand-bg .viz-hero .viz-foot { color: #B9C7EA; }

/* Home hero: live operating-model map on night blue */
.viz-hero .hw { fill: none; stroke: rgba(130, 194, 255, .35); stroke-width: 1.5; }
.viz-hero .hw.ret { stroke: rgba(130, 194, 255, .3); stroke-dasharray: 4 6; }
.viz-hero .hp { fill: #82C2FF; filter: drop-shadow(0 0 4px rgba(130, 194, 255, .9)); }
.viz-hero .hp.out { fill: #fff; }
.viz-hero .hp.back { fill: #0A85FE; }
.viz-hero .hn rect { fill: rgba(255, 255, 255, .06); stroke: rgba(130, 194, 255, .35); }
.viz-hero .hn.out rect { fill: rgba(10, 133, 254, .16); stroke: rgba(130, 194, 255, .6); }
.viz-hero .hn use { color: #82C2FF; }
.viz-hero .hn text { font: 600 13px var(--font); fill: #EEF3FF; }
.viz-hero .hh { font: 500 12.5px var(--font); fill: #B9C7EA; }
.viz-hero .hub-core { fill: #020A5C; stroke: #0A85FE; stroke-width: 1.5; }
.viz-hero .hub-ring { fill: none; stroke: rgba(130, 194, 255, .5); stroke-dasharray: 2 7; }
.viz-hero .hub-pulse { fill: none; stroke: #0A85FE; stroke-width: 1.5; }
.viz-hero .hub-ico { color: #82C2FF; }
.viz-hero .hub-t { font: 700 14px var(--font); fill: #fff; }
.viz-hero .hub-s { font: 400 10.5px var(--font); fill: #B9C7EA; }

/* Data: blueprint pipeline */
.vz-tile { fill: #fff; stroke: #C9D2E6; }
.vz-t { font: 600 12px var(--font); fill: var(--ink); }
.vz-b { font: 700 12.5px var(--font); fill: var(--ink); }
.vz-mono { font: 500 10.5px var(--mono); fill: #5B6785; }
.vz-ico { color: var(--teal-dark); }
.vz-wire { fill: none; stroke: #C9D2E6; stroke-width: 1.5; }
.vz-wire.amber { stroke: #E6B566; stroke-dasharray: 3 3; }
.vz-pipe { fill: none; stroke: #B9C6E4; stroke-width: 2; }

/* Agentic AI: sequence diagram */
.sq-life { stroke: #C9D2E6; stroke-dasharray: 3 4; }
.sq-hd { fill: #EAF0FF; stroke: #BFD0F7; }
.sq-hd.amber { fill: var(--amber-soft); stroke: #E6B566; }
.sq-ht { font: 700 12px var(--font); fill: #0B2BC0; }
.sq-ht.amber { fill: #7A3A06; }
.sq-act { fill: #EAF0FF; stroke: #1238E0; }
.sq-act.amber { fill: var(--amber-soft); stroke: var(--amber); }
.sq-msg { stroke: #1238E0; stroke-width: 1.6; }
.sq-msg.ret { stroke: #5B6785; stroke-dasharray: 4 3; }
.sq-msg.amber { stroke: var(--amber); }
.sq-msg.ok { stroke: var(--ok); }
.sq-head { fill: #1238E0; }
.sq-head.amber { fill: var(--amber); }
.sq-head.ok { fill: var(--ok); }
.sq-l, .sq-wait, .sk-l.halo { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.sq-l { font: 500 11px var(--font); fill: var(--ink); }
.sq-l.ok { font-weight: 700; fill: var(--ok); }
.sq-l.amber { fill: #7A3A06; }
.sq-wait { font: 600 11px var(--font); fill: #7A3A06; }

/* AI automation: document intake */
.au-doc, .au-form { fill: #fff; stroke: #C9D2E6; }
.au-h { font: 700 13px var(--font); fill: var(--ink); }
.au-f { font: 500 11px var(--font); fill: #4A5568; }
.au-hl { fill: rgba(18, 56, 224, .08); stroke: #1238E0; }
.au-hl.amber { fill: rgba(180, 83, 9, .08); stroke: var(--amber); }
.au-scan { fill: rgba(10, 133, 254, .16); }
.au-row { fill: var(--band); }
.au-row.amber { fill: var(--amber-soft); }
.au-lbl { font: 500 11px var(--font); fill: #4A5568; }
.au-val { font: 700 12px var(--font); fill: var(--ink); }
.au-val.amber { fill: #7A3A06; }
.au-link { fill: none; stroke: #1238E0; stroke-width: 1.5; stroke-dasharray: 3 3; }

/* Growth: Sankey */
.sk-dots { fill: none; stroke: #1238E0; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 16; opacity: .6; }
.sk-dots.grey { stroke: #6B7280; }
.sk-l { font: 600 11.5px var(--font); fill: var(--ink); }
.sk-h { font: 700 12px var(--font); fill: var(--ink); }

/* Workflow run */
.flow-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.run-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--slate); }
.run-status { font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); }
.run-status.wait { background: var(--amber-soft); color: #7A3A06; }
.run-status.ok { background: var(--ok-soft); color: var(--ok); }
.run-prog { flex: 1 1 120px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.run-prog i { display: block; height: 100%; background: var(--teal); transition: width .4s var(--ease); }
.flow li { transition: opacity .3s; }
.flow li.is-pending { opacity: .5; }
.flow li.is-pending .step-ico { background: var(--band); color: var(--slate); }
.flow li.is-done .tag, .flow li.is-approved .tag { background: var(--ok-soft); color: var(--ok); }
.flow li.is-running .tag { background: var(--teal-soft); color: var(--teal-dark); }
.flow li.is-waiting .tag { background: var(--amber-soft); color: #7A3A06; }
.flow li.is-running .step-ico::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--teal); animation: spin .8s linear infinite; }
.flow li.is-waiting .step-ico { animation: pulse 2.4s var(--ease) infinite; }
.approve-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; visibility: hidden; }
.is-waiting .approve-row, .is-approved .approve-row { visibility: visible; }
.fake-btn { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 6px; background: var(--teal); color: #fff; }
.fake-btn.ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.approved-note { display: none; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.is-approved .fake-btn { display: none; }
.is-approved .approved-note { display: inline; }

/* Data agent */
.agent-body { padding: 16px; display: grid; gap: 12px; }
.agent .q { justify-self: end; max-width: 88%; padding: 10px 14px; border-radius: 12px 12px 2px 12px; background: #01022E; color: #fff; font-size: 14.5px; }
.agent .caret { display: none; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #82C2FF; animation: blink 1s steps(1) infinite; }
.agent.typing .caret { display: inline-block; }
.agent ol { padding: 0; }
.answer { border: 1px solid #BFD0F7; border-radius: 12px; padding: 12px 14px; background: #F3F7FF; transition: opacity .4s, transform .4s var(--ease); }
.answer.hide { opacity: 0; transform: translateY(6px); }
.a-head { font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.a-bars { list-style: none; padding: 0; display: grid; gap: 6px; }
.a-bars li { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr) 3em; gap: 8px; align-items: center; font-size: 13px; }
.a-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.a-track { height: 10px; border-radius: 3px; background: #E1E8F7; overflow: hidden; }
.a-track i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: #118DFF; transform-origin: left; }
.a-track i.neg { background: #E66C37; }
.answer.show .a-track i { animation: growx .7s var(--ease) both; }
.a-src { font-size: 13px; color: #4A5568; margin-top: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes growx { from { transform: scaleX(0); } }

/* ===================================================================== report-style dashboards */
.pbi { --pbi-font: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  position: relative; margin: 0; container-type: inline-size; overflow: hidden; background: #fff; border: 1px solid #C8C6C4; border-radius: 8px; box-shadow: var(--shadow); color: #252423; font: 400 12px/1.4 var(--pbi-font); text-align: left; }
.brand-bg .pbi { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .65); border-color: rgba(130, 194, 255, .3); }
.pbi-app { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 12px; background: #252423; color: #fff; }
.pbi-app-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pbi-app-l svg { width: 14px; height: 14px; flex: none; fill: #82C2FF; }
.pbi-app b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.pbi-model { overflow: hidden; color: #C8C6C4; white-space: nowrap; text-overflow: ellipsis; }
.pbi-app .demo-label { flex: none; padding: 2px 8px; font-size: 11.5px; background: #FFF4CE; color: #5C4400; }
.pbi-main { display: flex; }
.pbi-canvas { flex: 1; min-width: 0; padding: 12px; background: #F3F2F1; }
.pbi-filters { flex: none; width: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px; border-left: 1px solid #E1DFDD; background: #fff; color: #605E5C; }
.pbi-filters svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.pbi-filters span { writing-mode: vertical-rl; font-size: 12px; }
.pbi-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
.pbi-title { font-size: 20px; font-weight: 600; line-height: 1.2; color: #252423; }
.pbi-sub { margin-top: 2px; font-size: 12px; color: #605E5C; }
.pbi-slicer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pbi-sl { font-size: 12px; color: #605E5C; }
.pbi-tiles { display: flex; flex-wrap: wrap; gap: 4px; }
.pbi-tile, .pbi-chip { min-height: 28px; padding: 4px 10px; border: 1px solid #C8C6C4; border-radius: 4px; background: #fff; color: #252423; font: 400 12px var(--pbi-font); cursor: pointer; }
.pbi-tile:hover { background: #EDEBE9; }
.pbi-tile[aria-pressed="true"] { background: #252423; border-color: #252423; color: #fff; }
.pbi-chip { border-color: #9CC9F5; background: #DEECF9; color: #004578; }
.pbi-tile:focus-visible, .pbi-chip:focus-visible { outline: 2px solid #252423; outline-offset: 1px; }
.pbi-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; }
.pbi-v { position: relative; min-width: 0; padding: 10px 12px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.pbi-vt { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.pbi-vt h4 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #252423; }
.pbi-vh { width: 40px; height: 10px; flex: none; color: #605E5C; fill: #605E5C; opacity: 0; transition: opacity .15s; }
.pbi-v:hover .pbi-vh { opacity: 1; }
.pbi-card { grid-column: span 3; padding: 12px; }
.pbi-cv { font-size: 26px; font-weight: 600; line-height: 1.15; white-space: nowrap; color: #252423; }
.pbi-cl { margin-top: 2px; font-size: 12px; color: #605E5C; }
.pbi-cd { margin-top: 6px; font-size: 11.5px; font-weight: 600; }
.pbi-cd.good { color: #107C10; }
.pbi-cd.bad { color: #A4262C; }
.pbi-cd.none { font-weight: 400; color: #605E5C; }
.v-combo, .v-matrix, .v-area, .v-table { grid-column: span 12; }
.v-donut, .v-gauge, .v-funnel, .v-bars { grid-column: span 6; }
@container (min-width: 860px) {
  .v-combo, .v-matrix, .v-area { grid-column: span 8; }
  .v-donut, .v-gauge, .v-funnel { grid-column: span 4; }
  .v-bars { grid-column: span 5; }
  .v-table { grid-column: span 7; }
}
@container (max-width: 540px) {
  .pbi-card { grid-column: span 6; }
  .v-donut, .v-gauge, .v-funnel, .v-bars { grid-column: span 12; }
  .pbi-filters, .pbi-model { display: none; }
  .pbi-cv { font-size: 22px; }
}
.pbi-legend { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 4px; font-size: 11.5px; color: #605E5C; }
.pbi-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; vertical-align: -1px; }
.pbi-legend i.ln { width: 14px; height: 3px; border-radius: 2px; vertical-align: 2px; }
.pbi-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pbi-donut { max-width: 230px; margin: 0 auto; }
.pbi-svg text { font-family: var(--pbi-font); }
.pbi-ax { font-size: 10px; fill: #605E5C; }
.pbi-ax.lbl { font-size: 11px; fill: #252423; }
.pbi-dl { font-size: 11px; font-weight: 600; fill: #fff; }
.pbi-dl.out { fill: #252423; }
.pbi-dv { font-size: 16px; font-weight: 600; fill: #252423; }
.pbi-dv.big { font-size: 26px; }
.pbi-gl { stroke: #E1DFDD; stroke-dasharray: 1 3; }
.pbi-gl.base { stroke: #C8C6C4; stroke-dasharray: none; }
.pbi-hit { fill: transparent; }
.pbi-col:hover .pbi-bar, .pbi-chbar:hover .pbi-bar { filter: brightness(.85); }
.pbi-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pbi-dot { stroke: #fff; stroke-width: 1.5; }
.pbi-area { opacity: .14; }
.pbi-cross { stroke: #605E5C; stroke-dasharray: 2 2; opacity: 0; }
.pbi-mk { stroke: #fff; stroke-width: 2; opacity: 0; }
.pbi-wk:hover .pbi-cross, .pbi-wk:hover .pbi-mk { opacity: 1; }
.pbi-seg { stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: opacity .2s; }
.pbi-seg.dim, .pbi-chbar.dim { opacity: .3; }
.pbi-seg:focus-visible { outline: none; stroke: #252423; stroke-width: 2.5; }
.pbi-chbar { cursor: pointer; outline: none; }
.pbi-chbar:focus-visible .pbi-hit { stroke: #252423; stroke-width: 1.5; }
.pbi-tablewrap { overflow-x: auto; }
.pbi-matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.pbi-matrix th, .pbi-matrix td { padding: 5px 8px; border-bottom: 1px solid #EDEBE9; font-weight: 400; text-align: left; white-space: nowrap; }
.pbi-matrix thead th { border-bottom: 1px solid #C8C6C4; font-weight: 600; color: #252423; }
.pbi-matrix .num { text-align: right; font-variant-numeric: tabular-nums; }
.pbi-matrix tfoot th, .pbi-matrix tfoot td { border-top: 1px solid #8A8886; border-bottom: 0; font-weight: 700; }
.pbi-matrix tr.dim { opacity: .4; }
.pbi-matrix .db { position: relative; }
.pbi-matrix .db .bar { position: absolute; top: 4px; bottom: 4px; left: 4px; max-width: calc(100% - 8px); border-radius: 0 2px 2px 0; background: rgba(17, 141, 255, .25); transform-origin: left; }
.pbi-matrix .db .v { position: relative; }
.st.good { color: #107C10; }
.st.bad { color: #A4262C; }
.pbi-tabs { display: flex; padding: 0 8px; border-top: 1px solid #E1DFDD; background: #fff; font-size: 12px; color: #605E5C; }
.pbi-tabs span { padding: 6px 12px 7px; border-top: 3px solid transparent; }
.pbi-tabs span.on { border-top-color: #118DFF; font-weight: 600; color: #252423; }
.pbi-tabs .pbi-pg { margin-left: auto; }
.pbi-tip { position: absolute; z-index: 5; min-width: 150px; padding: 6px 10px; border: 1px solid #E1DFDD; border-radius: 4px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .16); font-size: 12px; pointer-events: none; }
.pbi-tip div { display: flex; justify-content: space-between; gap: 16px; line-height: 1.6; }
.pbi-tip span { color: #605E5C; }
.pbi-tip b { font-weight: 600; color: #252423; }
.pbi-anim .grow-y { transform-box: fill-box; transform-origin: bottom; animation: pbiY .7s var(--ease) both; animation-delay: var(--d, 0ms); }
.pbi-anim .grow-x { transform-box: fill-box; transform-origin: left; animation: growx .7s var(--ease) both; animation-delay: var(--d, 0ms); }
.pbi-anim .grow-x.c { transform-origin: center; }
.pbi-anim .draw { animation: pbiDraw .9s .2s ease-out both; }
.pbi-anim .pbi-dot { animation: pbiFade .3s .9s both; }
.pbi-anim .pbi-seg, .pbi-anim .pbi-gv, .pbi-anim .pbi-cv { animation: pbiFade .6s both; }
@keyframes pbiY { from { transform: scaleY(0); } }
@keyframes pbiDraw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes pbiFade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .flow li.is-running .step-ico::before, .flow li.is-waiting .step-ico, .agent .caret, .answer.show .a-track i { animation: none; }
}
@media (max-width: 599px) {
  .viz-foot { flex-wrap: wrap; }
  .a-bars li { grid-template-columns: minmax(0, 8em) minmax(0, 1fr) 3em; }
}
.motion-btn { flex: none; white-space: nowrap; }
.flow .a-bars li { position: static; padding: 0; }
.flow .a-bars li::after { content: none; }
@container (max-width: 540px) {
  .pbi-app b { overflow: hidden; text-overflow: ellipsis; }
  .pbi-matrix th, .pbi-matrix td { padding: 5px 6px; }
  .v-gauge .pbi-svg { max-width: 260px; margin: 0 auto; }
}

.flow { margin: 0; }
@media (max-width: 599px) { .viz:not(.viz-hero) { padding: 10px 10px 12px; } }
.viz > svg.v-narrow { display: none; }
@media (max-width: 599px) { .viz > svg.v-wide { display: none; } .viz > svg.v-narrow { display: block; } }
/* v2.1 test fixes: 12px minimum text, contrast-safe pending steps, phone tables */
.pbi-legend, .pbi-cd, .pbi-app .demo-label { font-size: 12px; }
.pbi-vt h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #252423; }
.pbi-tablewrap:focus-visible { outline: 2px solid #252423; outline-offset: 2px; }
.flow li.is-pending { opacity: 1; }
.flow li.is-pending b { color: var(--slate); }
.flow li.is-pending .tag { background: var(--band); color: var(--slate); }
@container (max-width: 540px) {
  .pbi-app { flex-wrap: wrap; }
  .pbi-app b { overflow: visible; white-space: normal; }
  .pbi-matrix th, .pbi-matrix td { padding: 5px 4px; }
  .pbi-matrix thead th, .pbi-matrix tbody th { white-space: normal; }
}
.field .opt { font-weight: 400; color: var(--slate); }
.flow li.is-done .tag, .flow li.is-approved .tag, .flow .tag.ok, .run-status.ok { color: #166534; }
.pbi-vt .pbi-vtt { margin: 0; font-size: 13px; font-weight: 600; color: #252423; }

/* ===================================================================== articles and legal pages */
.prose { max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 44px 0 12px; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; color: var(--ink); }
.prose h2:first-child, .prose .legal-draft + h2 { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose b { color: var(--ink); }
.prose-related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose-related h2 { margin: 0 0 10px; font-size: 18px; }
.legal-draft { margin-bottom: 40px; padding: 14px 16px; border: 1px solid #E6B566; border-radius: var(--radius); background: var(--amber-soft); color: #7A3A06; font-size: 15px; }
.article-meta { margin-top: 18px; font-size: 14px; color: #B9C7EA; }
.articles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.articles li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius-l); background: #fff; }
.articles h3 { font-size: 20px; line-height: 1.3; }
.articles h3 a { color: var(--ink); text-decoration: none; }
.articles h3 a:hover { color: var(--teal); text-decoration: underline; }
.articles p { color: var(--slate); font-size: 15px; }
.art-group { font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.art-time { margin-top: auto; font-size: 13px; color: var(--slate); }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-bottom a { color: inherit; }
@media (max-width: 959px) { .articles { grid-template-columns: minmax(0, 1fr); } }
.prose-related a { display: inline-block; padding: 4px 0; }
.prose ul + p { margin-top: 14px; }

/* Homepage hero headline: clean corporate format (two lines, accent on the second) */
.hero .hero-title { font-size: clamp(34px, 3.9vw, 54px); font-weight: 600; line-height: 1.14; letter-spacing: -0.022em; margin-bottom: 28px; }
.hero .hero-title span { display: block; }
.hero .hero-title .accent { color: #82C2FF; }
.hero .t-lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; max-width: 36em; }

/* Clean corporate typography: Inter (self-hosted, SIL OFL), lighter heading weights */
:root { --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; }
body { font-feature-settings: 'cv11', 'ss01'; letter-spacing: -0.006em; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.02em; }
.t-display, .t-h1 { font-weight: 650; letter-spacing: -0.022em; }
.t-h2 { font-weight: 650; }
.hero .hero-title { font-weight: 600; letter-spacing: -0.02em; }
.btn { font-weight: 600; }
