/* =====================================================================
   Milestone website · design system
   Same palette and typeface as the brochure, flyers and Module Guide.
   Copper has one meaning: the change that matters (a gate, an outcome,
   a control point). Do not use it for decoration.
   ===================================================================== */

:root {
  color-scheme: light;
  --navy-900: #061A34;
  --navy-800: #0B2545;
  --navy-700: #12335A;
  --navy-line: #21466F;
  --ink: #12233F;
  --body: #3A4656;
  --muted: #56637A;
  --line: #DCE4ED;
  --line-strong: #C3CFDC;
  --mist: #F3F6FA;
  --ice: #E6F0FA;
  --ice-line: #CFE2F5;
  --blue: #1F6FB8;
  --blue-hover: #185A97;
  --sky: #6AC2FC;
  --copper: #B5603F;
  --copper-ink: #A9532F;
  --copper-tint: #FBEEE7;
  --green: #1D7A4E;
  --green-tint: #E6F4EC;
  --red: #B42318;
  --red-tint: #FCEDEB;
  --on-dark: #C6D3E2;
  --on-dark-2: #9FB2C8;
  --white: #FFFFFF;

  --font: "Lato", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(6, 26, 52, .06), 0 8px 24px -12px rgba(6, 26, 52, .18);
  --shadow-lg: 0 24px 48px -24px rgba(6, 26, 52, .35);
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
[hidden] { display: none !important; }
.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: absolute; left: 16px; top: -48px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.tabular { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-ink); }
.eyebrow--blue { color: var(--blue); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--sky); }
.display { font-size: 56px; line-height: 1.07; font-weight: 900; letter-spacing: -.01em; }
.h1 { font-size: 44px; line-height: 1.14; font-weight: 900; letter-spacing: -.005em; }
.h2 { font-size: 34px; line-height: 1.18; font-weight: 900; }
.h3 { font-size: 21px; line-height: 1.33; font-weight: 700; }
.h4 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.lede { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 680px; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .h4, .hero .display { color: var(--white); }
.section--dark .lede, .section--dark p, .hero .lede { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lede { margin-top: 16px; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.section-head--split .lede { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--ice); color: var(--navy-900); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .38); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.section--dark .link-arrow { color: var(--sky); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(6, 26, 52, .4); }
.header-bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 8px; background: none;
  color: var(--ink); font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-current { color: var(--blue); background: var(--mist); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .18s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.main-nav .mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--white);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 32px 0 36px;
}
.mega-grid { display: grid; grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.mega-grid--industries { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); }
.mega-intro { padding-right: 16px; border-right: 1px solid var(--line); }
.mega-intro .h4 { margin-bottom: 8px; }
.mega-intro p { font-size: 14.5px; color: var(--muted); }
.mega-col h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega-col ul { list-style: none; display: grid; gap: 2px; }
.mega-link { display: block; padding: 8px 10px; margin-inline: -10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.mega-link b { display: block; font-size: 15px; }
.mega-link span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mega-link:hover { background: var(--mist); color: var(--blue); }
.mega-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; font-size: 14.5px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: 64px; }
.section--mist { background: var(--mist); }
.section--ice { background: var(--ice); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--line-top { border-top: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.grid-2--wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stack-sm > * + * { margin-top: 12px; }

/* ---------- Hero (dark) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark); padding: 72px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--navy-800) 1px, transparent 1px), linear-gradient(90deg, var(--navy-800) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; }
.hero-copy .display { margin-bottom: 20px; }
.hero-copy .lede { font-size: 19.5px; margin-bottom: 32px; }
.hero-tagline { margin-top: 28px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--on-dark-2); }
.hero-tagline span { color: var(--sky); }
.credentials { position: relative; margin-top: 64px; border-top: 1px solid var(--navy-line); }
.credentials ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credentials li { padding: 22px 24px 26px 0; display: grid; gap: 4px; }
.credentials li + li { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.credentials b { color: var(--white); font-size: 16px; }
.credentials span { font-size: 14px; color: var(--on-dark-2); line-height: 1.45; }

/* Connected operating model */
.model { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; }
.model-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.model-svg .ring { fill: none; stroke: var(--navy-line); stroke-width: 1; }
.model-svg .ring--dash { stroke-dasharray: 2 6; }
.model-svg .spoke { stroke: var(--navy-line); stroke-width: 1.25; transition: stroke .2s ease, stroke-width .2s ease, opacity .2s ease; }
.model-svg .spoke.is-on { stroke: var(--sky); stroke-width: 2; }
.model-svg .spoke.is-primary { stroke: var(--copper); stroke-width: 2.5; }
.model-svg .pulse { fill: var(--sky); opacity: 0; }
.model-svg .pulse.is-on { opacity: 1; }
.model-node {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: grid; justify-items: center; gap: 6px; width: 112px; padding: 10px 6px 9px; border-radius: 12px;
  border: 1px solid var(--navy-line); background: var(--navy-800); color: var(--white); cursor: pointer;
  font-size: 13.5px; font-weight: 700; line-height: 1.2; text-align: center;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.model-node svg { width: 22px; height: 22px; color: var(--sky); }
.model-node:hover { border-color: var(--sky); }
.model-node[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); }
.model-node[aria-pressed="true"] svg { color: var(--white); }
.model-node.is-linked { border-color: var(--sky); background: var(--navy-700); }
.model-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 31%; aspect-ratio: 1 / 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px;
  background: radial-gradient(circle at 50% 35%, #1D4E86, var(--navy-700) 70%); border: 1px solid #2F6AA6;
  color: var(--white); padding: 12px; box-shadow: 0 0 0 10px rgba(31, 111, 184, .12), 0 0 0 22px rgba(31, 111, 184, .06);
}
.model-core b { font-size: 15px; line-height: 1.2; }
.model-core span { font-size: 12px; color: var(--on-dark); line-height: 1.35; }
.model-layer {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -6%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(106, 194, 252, .12); border: 1px solid rgba(106, 194, 252, .45); color: var(--sky);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.model-caption { position: relative; max-width: 560px; margin: 20px auto 0; min-height: 76px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--navy-line); font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.model-caption b { color: var(--white); }
.model-hint { font-size: 13px; color: var(--on-dark-2); margin-top: 8px; text-align: center; }

/* ---------- Disconnected handoffs (V02) ---------- */
.handoffs { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.handoff { position: relative; padding: 0 10px; text-align: center; }
.handoff-dept { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; box-shadow: var(--shadow); }
.handoff-dept svg { width: 26px; height: 26px; color: var(--blue); }
.handoff:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 0;
  border-top: 2px dashed var(--line-strong);
}
.handoff-break { position: absolute; z-index: 2; top: 27px; right: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--red-tint); border: 1.5px solid var(--red); display: grid; place-items: center; color: var(--red); }
.handoff-break svg { width: 12px; height: 12px; }
.handoff:last-child .handoff-break { display: none; }
.handoff p { margin: 0; }
.handoff-how { margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 700; }
.handoff-cost { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.handoffs-note { margin-top: 40px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.handoffs-note .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red-tint); border: 1.5px solid var(--red); }
.handoffs-note p { margin: 0; color: var(--ink); font-weight: 700; }

/* ---------- Tabs (generic) ---------- */
.tablist { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 10px 16px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(6, 26, 52, .12); }
.section--dark .tablist { background: var(--navy-800); border-color: var(--navy-line); }
.section--dark .tab { color: var(--on-dark-2); }
.section--dark .tab[aria-selected="true"] { background: var(--white); color: var(--navy-900); }
.tabpanel { margin-top: 28px; }
.tabpanel:focus-visible { outline-offset: 6px; }

/* ---------- Flow / swimlane diagrams (V03, V14, V18) ---------- */
.flow-wrap { position: relative; }
.flow { position: relative; display: grid; grid-template-columns: 148px repeat(var(--cols, 8), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.flow--fan .flow-cell { min-height: 78px; }
.flow--fan .flow-step { max-width: 190px; }
.flow-lane-label { grid-column: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--mist); border-right: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.flow-lane-label svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.flow-row-line { grid-column: 1 / -1; height: 0; border-top: 1px solid var(--line); }
.flow-cell { position: relative; min-height: 86px; display: flex; align-items: center; justify-content: center; padding: 12px 8px; }
.flow-step {
  position: relative; z-index: 2; width: 100%; max-width: 132px; min-height: 54px; display: grid; align-content: center; gap: 2px;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--ink); text-align: center; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.flow-step .n { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.flow-step:hover { border-color: var(--blue); }
.flow-step[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 184, .18); background: var(--ice); }
.flow-step--gate { border-color: var(--copper); background: var(--copper-tint); }
.flow-step--gate .n { color: var(--copper-ink); }
.flow-step--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.flow-step--dark .n { color: var(--sky); }
.flow-step--dark[aria-pressed="true"] { background: var(--navy-700); }
.flow-svg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
.flow-svg path { fill: none; stroke: #8FA3BA; stroke-width: 1.5; }
.flow-svg path.loop { stroke: var(--copper); stroke-dasharray: 5 5; }
.flow-svg path.is-on { stroke: var(--blue); stroke-width: 2.25; }
.flow-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.flow-legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow-legend i { display: inline-block; width: 26px; height: 0; border-top: 2px solid #8FA3BA; }
.flow-legend i.loop { border-top: 2px dashed var(--copper); }
.flow-legend i.gate { width: 14px; height: 14px; border: 1.5px solid var(--copper); background: var(--copper-tint); border-radius: 4px; }
.flow-detail { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.flow-detail dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-detail dl > div { padding: 14px 18px 16px; }
.flow-detail dl > div + div { border-left: 1px solid var(--line); }
.flow-detail dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.flow-detail dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.flow-detail-title { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); background: var(--ice); border-radius: 12px 12px 0 0; }
.flow-detail-title [data-f="n"] { color: var(--blue); }
.flow-steps-text { margin-top: 18px; }
.flow-steps-text summary { cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.flow-steps-text ol { margin-top: 10px; padding-left: 22px; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.flow-mobile { display: none; }

/* ---------- Industry selector (V04) ---------- */
.ind-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mini-journey { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.mini-journey li { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mini-journey li span { padding: 7px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.mini-journey li.par span { background: var(--ice); border-color: var(--ice-line); }
.mini-journey li.gate span { background: var(--copper-tint); border-color: var(--copper); color: var(--copper-ink); }
.mini-journey li + li::before { content: ""; width: 12px; height: 2px; background: var(--line-strong); margin-inline: 2px; }
.mini-journey .par-group { display: inline-grid; gap: 4px; }
.ind-panel h3 { margin-bottom: 12px; }
.controls-list { list-style: none; display: grid; gap: 12px; }
.controls-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.controls-list li svg { width: 22px; height: 22px; color: var(--copper); margin-top: 2px; }
.controls-list b { display: block; color: var(--ink); font-size: 15.5px; }
.controls-list span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Before / after (V05) ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.compare-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-area { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: var(--mist); border-right: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; }
.compare-area svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.compare-text { padding: 18px 22px; font-size: 16px; line-height: 1.55; display: flex; align-items: center; gap: 12px; }
.compare-text .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.compare-text .mark svg { width: 13px; height: 13px; }
.compare[data-state="before"] .after, .compare[data-state="after"] .before { display: none; }
.compare .before .mark { background: var(--red-tint); color: var(--red); }
.compare .after .mark { background: var(--copper); color: var(--white); }
.compare .after { color: var(--ink); }
.compare-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Domain map (V06) ---------- */
.domains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.domain { padding: 24px 22px 22px; }
.domain + .domain { border-left: 1px solid var(--line); }
.domain-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.domain-head h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.domain ul { list-style: none; display: grid; gap: 4px; }
.domain-link { display: block; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; text-decoration: none; }
.domain-link b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; }
.domain-link b svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.domain-link span { display: block; margin-top: 2px; padding-left: 26px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.domain-link:hover { background: var(--mist); }
.domain-link:hover b { color: var(--blue); }
.domains-core { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: var(--navy-900); color: var(--white); font-weight: 700; font-size: 15px; border-left: 0 !important; }
.domains-core svg { width: 22px; height: 22px; color: var(--sky); }

/* ---------- CRM pipeline board (V07) ---------- */
.board-frame { border-radius: var(--radius-lg); border: 1px solid var(--navy-line); background: var(--navy-800); overflow: hidden; }
.board-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--navy-900); color: var(--on-dark); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--navy-line); }
.board-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-line); }
.board-bar .tag { margin-left: auto; }
.board { display: grid; grid-template-columns: repeat(5, minmax(118px, 1fr)); gap: 10px; padding: 14px; overflow-x: auto; }
.board-col { display: grid; align-content: start; gap: 8px; }
.board-col h4 { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); padding: 0 2px 6px; }
.deal { padding: 10px 12px; border-radius: 9px; background: var(--white); color: var(--ink); font-size: 13px; line-height: 1.35; }
.deal b { display: block; font-size: 13.5px; }
.deal span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.deal--won { box-shadow: inset 3px 0 0 var(--green); }
.deal--handoff { background: var(--copper-tint); box-shadow: inset 3px 0 0 var(--copper); }

/* ---------- Data journey (V08) ---------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: j; }
.journey li { position: relative; padding: 0 14px; text-align: center; }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px solid var(--navy-line); }
.journey .ic { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--navy-line); color: var(--sky); }
.journey .ic svg { width: 28px; height: 28px; }
.journey li:last-child .ic { background: var(--copper); border-color: var(--copper); color: var(--white); }
.journey b { display: block; color: var(--white); font-size: 15.5px; }
.journey span { display: block; margin-top: 4px; font-size: 14px; color: var(--on-dark-2); line-height: 1.45; }
.journey.is-animated li .ic { animation: journeyPulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes journeyPulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(106, 194, 252, 0); } 35% { box-shadow: 0 0 0 8px rgba(106, 194, 252, .18); } }
@media (prefers-reduced-motion: reduce) { .journey.is-animated li .ic { animation: none; } }

/* ---------- Illustrative dashboard (V17) ---------- */
.dash { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--mist); overflow: hidden; box-shadow: var(--shadow); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--navy-900); color: var(--on-dark); font-size: 13px; font-weight: 700; }
.dash-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-line); }
.dash-bar .tag { margin-left: auto; }
.dash-body { padding: 16px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi .t { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi .q { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.kpi svg { width: 100%; height: 30px; }
.dash-panels { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.dash-panel { padding: 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.dash-panel h4 { font-size: 13.5px; margin-bottom: 10px; }
.dash-panel svg { width: 100%; height: auto; }
.alert-list { list-style: none; display: grid; gap: 8px; }
.alert-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.alert-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); margin-top: 5px; }
.alert-list li.ok::before { background: var(--green); }
.alert-list span { display: block; font-size: 12.5px; color: var(--muted); }
.chart-axis { stroke: var(--line-strong); stroke-width: 1; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart-label--ink { fill: var(--ink); font-weight: 700; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; white-space: nowrap; }
.tag--illustrative { background: rgba(106, 194, 252, .14); color: #0F5B94; border: 1px solid rgba(31, 111, 184, .3); }
.board-bar .tag--illustrative, .dash-bar .tag--illustrative, .section--dark .tag--illustrative { background: rgba(106, 194, 252, .14); color: var(--sky); border-color: rgba(106, 194, 252, .4); }
.tag--dev { background: #FFF6E5; color: #8A5300; border: 1px solid #F2D29B; }
.tag--planned { background: var(--mist); color: var(--muted); border: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 700; color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Role switcher (V09) ---------- */
.roles { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.roles .tablist { display: grid; width: 100%; gap: 4px; padding: 6px; }
.roles .tab { text-align: left; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.roles .tab svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.role-panel { padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.role-panel .h3 { margin-bottom: 6px; }
.role-q { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.role-q li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.45; }
.role-q li::before { content: "?"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-weight: 900; font-size: 15px; }
.role-views { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

/* ---------- Roadmap (V10) ---------- */
.roadmap { position: relative; }
.phase-bands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: center; margin-bottom: 18px; }
.phase-band { padding: 8px 12px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.phase-band--before { grid-column: 1 / 4; background: var(--ice); color: var(--blue); }
.phase-band--after { grid-column: 5 / 7; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.golive { grid-column: 4; justify-self: center; padding: 7px 14px; border-radius: 999px; background: var(--copper); color: var(--white); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.phases { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.phases::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 2px; background: var(--ice-line); }
.phase { position: relative; text-align: center; display: grid; justify-items: center; align-content: start; gap: 6px; }
.phase-dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px var(--white); }
.section--mist .phase-dot { box-shadow: 0 0 0 6px var(--mist); }
.phase-dot svg { width: 26px; height: 26px; }
.phase--live .phase-dot { background: var(--copper); }
.phase--after .phase-dot { background: var(--navy-900); }
.phase .num { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.phase b { color: var(--ink); font-size: 17px; }
.phase-steps { list-style: none; display: grid; gap: 6px; width: 100%; margin-top: 6px; }
.phase-steps li button { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.phase-steps li button:hover { border-color: var(--blue); }
.phase-steps li button[aria-pressed="true"] { border-color: var(--blue); background: var(--ice); box-shadow: 0 0 0 3px rgba(31, 111, 184, .16); }
.phase--live .phase-steps li button[aria-pressed="true"] { border-color: var(--copper); background: var(--copper-tint); box-shadow: 0 0 0 3px rgba(181, 96, 63, .16); }
.golive-line { position: absolute; top: 46px; bottom: 0; width: 0; border-left: 2px dashed var(--copper); }
.step-detail { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.step-detail > div { padding: 18px 20px; }
.step-detail > div + div { border-left: 1px solid var(--line); }
.step-detail h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.step-detail p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.55; }
.step-detail p.h3 { font-size: 21px; color: var(--ink); margin-bottom: 4px; }

/* ---------- Evidence (V11) ---------- */
.evidence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: start; }
.since { padding: 36px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.since .big { display: block; font-size: 88px; line-height: 1; font-weight: 900; color: var(--white); letter-spacing: -.02em; }
.since .big small { display: block; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.since p { margin: 18px 0 0; color: var(--on-dark); font-size: 16.5px; }
.evidence-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.evidence-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.evidence-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.evidence-list .ic svg { width: 22px; height: 22px; }
.evidence-list b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.evidence-list span { color: var(--body); font-size: 15.5px; line-height: 1.55; }
.verify { margin-top: 28px; padding: 20px 22px; border-radius: 12px; background: var(--copper-tint); border: 1px solid #EBC8B6; }
.verify h3 { font-size: 16px; margin-bottom: 8px; }
.verify ul { list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink); }
.verify li { display: flex; gap: 10px; align-items: baseline; }
.verify li::before { content: ""; flex: none; width: 8px; height: 8px; transform: rotate(45deg); background: var(--copper); margin-top: 6px; }

/* ---------- Consultation (homepage close + CTA band) ---------- */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: start; }
.consult-steps { list-style: none; display: grid; gap: 0; margin-top: 32px; }
.consult-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--navy-line); }
.consult-steps .n { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--navy-line); color: var(--sky); font-weight: 900; font-size: 18px; }
.consult-steps li:last-child .n { background: var(--copper); border-color: var(--copper); color: var(--white); }
.consult-steps b { display: block; color: var(--white); font-size: 18px; }
.consult-steps span { color: var(--on-dark); font-size: 15.5px; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid var(--navy-line); box-shadow: 0 0 0 40px rgba(33, 70, 111, .25), 0 0 0 80px rgba(33, 70, 111, .12); pointer-events: none; }
.cta-band .h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 620px; color: var(--on-dark); }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- Forms ---------- */
.form-card { padding: 32px; border-radius: var(--radius-lg); background: var(--white); color: var(--body); box-shadow: var(--shadow-lg); }
.form-card .h3, .section--dark .form-card .h3 { margin-bottom: 4px; color: var(--ink); }
.section--dark .form-card p { color: var(--body); }
.section--dark .form-card .small { color: var(--muted); }
.form-card .small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field .req { color: var(--copper-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 184, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { font-size: 13.5px; color: var(--red); font-weight: 700; }
.field-hint { font-size: 13px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { margin-bottom: 8px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.check-pill input:checked + span { background: var(--ice); border-color: var(--blue); color: var(--blue); }
.check-pill input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--body); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 700; margin-top: 16px; }
.form-alert--error { background: var(--red-tint); color: var(--red); border: 1px solid #F1C2BC; }
.form-alert--info { background: var(--ice); color: var(--ink); border: 1px solid var(--ice-line); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-step-head { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-step-head .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-weight: 900; font-size: 14px; }
.form-step-head b { color: var(--ink); }
.form-step-head span.opt { font-size: 13px; color: var(--muted); }
.progress { display: flex; gap: 6px; margin-top: 14px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--blue); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, var(--mist), var(--white)); border-bottom: 1px solid var(--line); }
.page-hero--dark { background: var(--navy-900); border-bottom: 0; color: var(--on-dark); }
.page-hero--dark .h1, .page-hero--dark .display { color: var(--white); }
.page-hero--dark .lede { color: var(--on-dark); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.page-hero .h1 { margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 28px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.page-hero--dark .breadcrumb, .page-hero--dark .breadcrumb a { color: var(--on-dark-2); }
.hero-aside { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-aside h2 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.hero-aside ul { list-style: none; display: grid; gap: 10px; }
.hero-aside li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 700; }
.hero-aside li::before { content: "?"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-weight: 900; font-size: 13px; }
.page-hero--dark .hero-aside { background: var(--navy-800); border-color: var(--navy-line); }
.page-hero--dark .hero-aside li { color: var(--white); }
.page-hero--dark .hero-aside li::before { background: var(--navy-700); color: var(--sky); }

/* ---------- Module page blocks ---------- */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.anchor-nav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: block; padding: 14px 12px; font-size: 14.5px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.anchor-nav a:hover, .anchor-nav a.is-active { color: var(--ink); border-bottom-color: var(--copper); }
.block-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.block-label .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 12px; letter-spacing: 0; }
.impact-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.impact-list li { padding: 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.impact-list .who { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 8px; }
.impact-list .who svg { width: 16px; height: 16px; }
.impact-list b { display: block; color: var(--ink); font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.impact-list p { margin: 0; font-size: 15px; line-height: 1.55; }
.cap-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.cap-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.cap-list li svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.cap-list b { display: block; color: var(--ink); font-size: 16.5px; }
.cap-list span { display: block; font-size: 15px; line-height: 1.55; color: var(--body); }
.cap-list .tag { margin-left: 8px; vertical-align: 2px; }
.cap-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.visibility { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.question-list { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.question-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.question-list li::before { content: "?"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-weight: 900; font-size: 14px; }
.question-list span { display: block; font-weight: 400; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.outcome { border-radius: 12px; border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.outcome h3 { padding: 16px 20px; font-size: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.outcome .dir { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--copper-tint); color: var(--copper-ink); font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.outcome dl { margin: 0; }
.outcome dl > div { padding: 14px 20px; display: grid; gap: 2px; }
.outcome dl > div + div { border-top: 1px dashed var(--line); background: var(--mist); }
.outcome dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.outcome dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.related { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.related-links { list-style: none; display: grid; gap: 10px; }
.related-links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); }
.related-links a:hover { border-color: var(--blue); }
.related-links .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.related-links .ic svg { width: 20px; height: 20px; }
.related-links b { display: block; font-size: 15.5px; }
.related-links span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.related-links .go { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-top: 2px solid var(--muted); transform: rotate(45deg); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue); font-size: 18px; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; max-width: 760px; }

/* ---------- Screenshot frame (V20) ---------- */
.frame { margin: 0; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--navy-900); color: var(--on-dark); font-size: 12.5px; font-weight: 700; }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-line); }
.frame-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-stage { position: relative; aspect-ratio: 16 / 10; background: var(--mist); }
.frame-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame-sketch { position: absolute; inset: 0; display: grid; grid-template-columns: 22% minmax(0, 1fr); }
.frame-sketch .side { background: #E9EEF4; border-right: 1px solid var(--line); padding: 14px 12px; display: grid; align-content: start; gap: 10px; }
.frame-sketch .main { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.frame-sketch .main > .sk { flex: none; }
.sk-fill { flex: 1; align-content: start; overflow: hidden; }
.sk { display: block; height: 9px; border-radius: 5px; background: #D5DEE8; }
.sk--b { height: 22px; border-radius: 6px; background: #DCE6F2; }
.sk--blue { background: #CFE2F5; }
.sk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sk-table { display: grid; gap: 7px; padding: 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.frame-label { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.frame.has-screen .frame-sketch, .frame.has-screen .frame-label { display: none; }
.marker { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: var(--white); font-size: 13px; font-weight: 900; box-shadow: 0 0 0 4px rgba(181, 96, 63, .22); }
.callouts { list-style: none; display: grid; gap: 14px; }
.callouts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.callouts .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: var(--white); font-size: 13px; font-weight: 900; }
.frame-caption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- Ecosystem (V11) ---------- */
.eco { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eco-map { position: relative; aspect-ratio: 1 / 1; max-width: 620px; width: 100%; margin-inline: auto; }
.eco-map svg.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-ring { fill: none; stroke: var(--line); }
.eco-ring--outer { stroke-dasharray: 3 7; }
.eco-link { stroke: var(--line-strong); stroke-width: 1.25; fill: none; transition: stroke .2s ease, opacity .2s ease; }
.eco-link.is-on { stroke: var(--blue); stroke-width: 2.25; }
.eco-link.is-dim { opacity: .25; }
.eco-node { position: absolute; transform: translate(-50%, -50%); z-index: 2; max-width: 128px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, opacity .18s ease; }
.eco-node--party { background: var(--mist); border-style: dashed; }
.eco-node:hover { border-color: var(--blue); }
.eco-node[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.eco-node.is-linked { border-color: var(--blue); background: var(--ice); }
.eco-node.is-dim { opacity: .45; }
.eco-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--navy-900); color: var(--white); display: grid; place-content: center; text-align: center; padding: 10px; gap: 2px; box-shadow: 0 0 0 10px var(--ice); z-index: 1; }
.eco-core b { font-size: 14px; line-height: 1.2; }
.eco-core span { font-size: 11.5px; color: var(--on-dark); line-height: 1.3; }
.eco-top { position: absolute; left: 50%; top: -2%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--copper-tint); border: 1px solid var(--copper); color: var(--copper-ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; z-index: 2; }
.eco-panel { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.eco-panel .h3 { margin-bottom: 8px; }
.eco-trail { list-style: none; display: grid; gap: 0; margin-top: 16px; counter-reset: t; }
.eco-trail li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; font-size: 15px; color: var(--ink); }
.eco-trail li::before { counter-increment: t; content: counter(t); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 12.5px; font-weight: 900; position: relative; z-index: 1; }
.eco-trail li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--ice-line); }
.eco-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.eco-legend span { display: inline-flex; align-items: center; gap: 8px; }
.eco-legend i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--white); }
.eco-legend i.party { border-style: dashed; background: var(--mist); }
.eco-legend i.core { border-radius: 50%; background: var(--navy-900); border-color: var(--navy-900); }
.eco-mobile { display: none; }

/* ---------- Table (management questions) ---------- */
.qtable { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.qtable th, .qtable td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.qtable thead th { border-top: 0; background: var(--mist); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qtable td:first-child { font-weight: 700; color: var(--ink); width: 42%; }
.qtable a { font-weight: 700; text-decoration: none; }

/* ---------- Trace (V12) ---------- */
.trace { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.trace--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trace li { position: relative; padding: 18px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.trace li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--line-strong); border-top: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.trace .dept { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.trace b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.trace span.d { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.trace li.is-gate { background: var(--copper-tint); border-color: var(--copper); }
.trace li.is-gate .dept { color: var(--copper-ink); }
.trace-foot { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--ink); }
.trace-foot svg { width: 22px; height: 22px; color: var(--copper); flex: none; }

/* ---------- Approval flowchart (V13) ---------- */
.approval { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; gap: 0; }
.ap-box { padding: 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); text-align: center; font-weight: 700; color: var(--ink); font-size: 15px; }
.ap-box span { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.ap-box--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.ap-box--dark span { color: var(--on-dark); }
.ap-diamond { position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; text-align: center; font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.25; }
.ap-diamond::before { content: ""; position: absolute; inset: 0; background: var(--copper-tint); border: 1.5px solid var(--copper); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ap-diamond span { position: relative; padding: 0 18%; }
.ap-arrow { height: 2px; background: var(--line-strong); position: relative; }
.ap-arrow::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 8px solid var(--line-strong); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ap-arrow b { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: 12px; color: var(--green); }
.ap-branch { margin-top: 18px; display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: start; }
.ap-branch .down { grid-column: 3; display: grid; justify-items: center; gap: 6px; }
.ap-branch .down::before { content: ""; width: 2px; height: 26px; background: var(--line-strong); }
.ap-branch .down b { font-size: 12px; color: var(--red); }
.ap-controls { margin-top: 20px; }

/* ---------- Generic cards & lists ---------- */
.card { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.card .h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15.5px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card--dark { background: var(--navy-800); border-color: var(--navy-line); color: var(--on-dark); }
.card--dark .h3 { color: var(--white); }
.card--dark .ic { background: var(--navy-700); color: var(--sky); }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.check-list li svg { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.section--dark .check-list li { color: var(--white); }
.section--dark .check-list li svg { color: var(--sky); }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.fact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-list > div:nth-child(odd) { padding-right: 24px; }
.fact-list dt { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-list dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); }

/* ---------- Careers ---------- */
.careers-hero { padding: 72px 0; background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.careers-hero .h1 { color: var(--white); }
.careers-hero .lede { color: var(--on-dark); }
.careers-hero .eyebrow { color: var(--sky); }
.careers-hero .breadcrumb, .careers-hero .breadcrumb a { color: var(--on-dark-2); }
.job-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 24px; }
.job-filters .field { min-width: 200px; }
.job-list { list-style: none; display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--body); transition: border-color .18s ease, box-shadow .18s ease; }
.job:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--body); }
.job h3 { font-size: 19px; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 15px; height: 15px; }
.job-empty { padding: 28px; border-radius: 12px; border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); }
.job-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.job-body h2 { font-size: 22px; margin: 32px 0 12px; }
.job-body h2:first-child { margin-top: 0; }
.job-body ul.bullets { padding-left: 20px; display: grid; gap: 6px; }
.apply-card { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose ul { padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
.prose .updated { font-size: 14px; color: var(--muted); }
.notice { padding: 16px 18px; border-radius: 10px; background: #FFF6E5; border: 1px solid #F2D29B; color: #6B4200; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); padding: 72px 0 32px; border-top: 1px solid var(--navy-line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-2); font-size: 14.5px; max-width: 320px; }
.site-footer h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { line-height: 1.5; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--on-dark-2); }
.footer-bottom ul { display: flex; gap: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Preview banner (static preview only) ---------- */
.preview-banner { background: #FFF6E5; color: #6B4200; font-size: 13.5px; font-weight: 700; text-align: center; padding: 8px 16px; border-bottom: 1px solid #F2D29B; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199px) {
  .header-bar { gap: 16px; }
  .nav-link { padding: 10px 9px; font-size: 15px; }
  .header-actions .btn--secondary { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .display { font-size: 50px; }
}

@media (max-width: 1023px) {
  :root { --section: 72px; --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; padding: 12px var(--gutter) 40px; display: none; border-top: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .main-nav > ul { display: grid; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .mega { position: static; box-shadow: none; border: 0; padding: 0 0 16px; }
  .mega .container { padding: 0; }
  .mega-grid, .mega-grid--industries { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mega-intro { display: none; }
  .mega-foot { margin-top: 12px; }
  .header-actions .btn--primary { display: none; }
  .main-nav .mobile-cta { display: flex; margin-top: 20px; }
  .header-bar { justify-content: space-between; }
  .hero-grid, .page-hero-grid, .consult, .evidence, .roles, .visibility, .related, .eco, .ind-panel, .job-body, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
  .display { font-size: 44px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 30px; }
  .credentials ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials li:nth-child(3) { padding-left: 0; border-left: 0; }
  .credentials li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .handoffs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .handoff { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 18px; text-align: left; padding: 0 0 28px; }
  .handoff-dept { grid-row: span 2; align-self: start; }
  .handoff:not(:last-child)::after { top: 76px; bottom: 0; left: 75px; right: auto; height: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .handoff-break { top: auto; bottom: 0; right: auto; left: 63px; }
  .handoff-how { margin-top: 4px; }
  .handoff-cost { margin-top: 0; }
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain:nth-child(3) { border-left: 0; }
  .domain:nth-child(n+3) { border-top: 1px solid var(--line); }
  .journey { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .journey li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; text-align: left; align-items: center; padding: 0; }
  .journey .ic { margin: 0; }
  .journey li:not(:last-child)::after { top: 64px; left: 31px; right: auto; bottom: -20px; border-top: 0; border-left: 2px solid var(--navy-line); }
  .flow, .flow-legend, .flow-detail { display: none; }
  .flow-mobile { display: block; }
  .flow-steps-text { display: none; }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .phases::before, .golive-line { display: none; }
  .phase-bands { grid-template-columns: minmax(0, 1fr); }
  .phase-band--before, .phase-band--after, .golive { grid-column: auto; justify-self: stretch; text-align: center; }
  .step-detail { grid-template-columns: minmax(0, 1fr); }
  .step-detail > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .trace, .trace--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trace li:not(:last-child)::after { display: none; }
  .impact-list, .outcome-grid, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .eco-map { display: none; }
  .eco-mobile { display: block; }
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; }
  .apply-card { position: static; }
  .dash-panels { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approval, .ap-branch { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ap-arrow { height: 22px; width: 2px; justify-self: center; }
  .ap-arrow::after { right: -4px; top: auto; bottom: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--line-strong); border-bottom: 0; }
  .ap-arrow b { left: 12px; top: 2px; transform: none; }
  .ap-diamond { max-width: 320px; width: 100%; justify-self: center; }
  .ap-branch .down { grid-column: 1; }
}

@media (max-width: 639px) {
  :root { --gutter: 16px; --section: 56px; }
  .model { margin-top: 40px; }
  .model-layer { transform: translate(-50%, -115%); font-size: 11px; padding: 6px 10px; }
  body { font-size: 16px; }
  .display { font-size: 36px; line-height: 1.1; }
  .h1 { font-size: 32px; }
  .h2 { font-size: 27px; }
  .h3 { font-size: 19px; }
  .lede, .hero-copy .lede { font-size: 17px; }
  .brand img { height: 30px; }
  .btn-row .btn { width: 100%; }
  .credentials ul { grid-template-columns: minmax(0, 1fr); }
  .credentials li, .credentials li + li { padding: 16px 0; border-left: 0; }
  .credentials li + li { border-top: 1px solid var(--navy-line); }
  .model-node { width: 92px; font-size: 12px; padding: 8px 4px 7px; }
  .model-node svg { width: 18px; height: 18px; }
  .model-core b { font-size: 12.5px; }
  .model-core span { display: none; }
  .handoff { grid-template-columns: minmax(0, 1fr); }
  .handoff-dept { grid-row: auto; justify-items: start; grid-template-columns: 26px 1fr; align-items: center; }
  .handoff:not(:last-child)::after, .handoff-break { display: none; }
  .tablist { width: 100%; }
  .tab { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; }
  .compare-row { grid-template-columns: minmax(0, 1fr); }
  .compare-area { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .compare-text { padding: 14px 16px; font-size: 15px; }
  .domains { grid-template-columns: minmax(0, 1fr); }
  .domain + .domain { border-left: 0; border-top: 1px solid var(--line); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trace, .trace--3 { grid-template-columns: minmax(0, 1fr); }
  .cap-list { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px 18px; }
  .role-panel { padding: 22px; }
  .roles .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .grid-2, .fact-list { grid-template-columns: minmax(0, 1fr); }
  .fact-list > div:nth-child(odd) { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); }
  .qtable thead { display: none; }
  .qtable, .qtable tbody, .qtable tr, .qtable td { display: block; width: 100% !important; }
  .qtable td { border-top: 0; padding: 4px 16px; }
  .qtable tr { border-top: 1px solid var(--line); padding: 12px 0; }
  .since .big { font-size: 64px; }
  .cta-band { padding: 28px 20px; }
  .board { grid-template-columns: repeat(5, 170px); }
  .kpis { grid-template-columns: 1fr 1fr; }
  .frame-label { font-size: 11px; }
}

/* ---------- Mobile flow (simplified, V03/V14/V18) ---------- */
.mflow { list-style: none; display: grid; gap: 0; }
.mflow > li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
.mflow > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--ice-line); }
.mflow .n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 900; }
.mflow li.gate .n { background: var(--copper); }
.mflow li.dark .n { background: var(--navy-900); }
.mflow b { display: block; color: var(--ink); font-size: 16px; line-height: 1.35; }
.mflow .lane { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.mflow .par { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mflow span.d { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mflow .loop { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--copper-ink); }

/* flow: desktop grid vs simplified mobile list */
.flow-wrap .flow-mobile { display: none; }
@media (max-width: 1023px) { .flow-wrap .flow-mobile { display: grid; } }
