/* ============================================================
   WorkAxle — Design System Stylesheet
   Source of truth: DESIGN.md + approved prototypes (final/)
   Last updated: 2026-06-24 (page background tokens: warm paper → cool gray)
   ============================================================ */

:root {
  /* Primary */
  --navy:        #222338;
  --navy-2:      #2C2D45;
  --navy-3:      #44455F;
  --ink:         #222338;

  /* Text */
  --muted:       #6B6D85;
  --muted-2:     #9A9CAE;

  /* Backgrounds — cool off-white/gray to match the platform UI (approved 2026-06-24, was warm paper #FAF9F4/#F2F1EA) */
  --paper:       #F3F5F7;
  --paper-2:     #E9ECEF;
  --paper-3:     #FFFFFF;

  /* Borders */
  --line:        #E6E5DE;
  --line-2:      #D8D7CF;

  /* Accent */
  --orange:      #FC6D2D;
  --orange-hover:#E85F1F;
  --orange-soft: #FFE6D6;
  /* WCAG AA accessible orange variants (do NOT change --orange — it passes on dark navy) */
  --orange-btn:       #BF4C0E; /* white-on-orange button bg = 4.93:1 */
  --orange-btn-hover: #A8430C;
  --orange-ink:       #B8470F; /* orange text on cream/paper = 5.05:1 */
  --cyan:        #27CEED;
  --cyan-soft:   #D8F4FB;
  /* Pink "la rosita" — official 2021 brand color, restored 2026-06-18. Secondary brand accent, NEVER a button. */
  --pink:        #DE3B72; /* brand pink — large display, accents, fills */
  --pink-soft:   #FBE0EA; /* soft pink — tints, hairline accents */
  --pink-ink:    #C42C61; /* pink text on paper = 5.05:1 (AA) */
  --green:       #1FBF7A;
  --red:         #E04D4D;
  --amber:       #E29A1F;

  /* Typography */
  --f-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --max:   1280px;
  --gut:   28px;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  overflow-x: clip; /* backstop against stray full-bleed overflow; `clip` (not `hidden`) so it does NOT create a scroll container that would break the sticky topbar */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--navy); color: var(--paper);
  padding: 10px 16px; border-radius: 2px; font-size: 14px; font-weight: 600;
  transition: top 140ms ease;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--orange); outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--paper-3); }
img { max-width: 100%; display: block; }

/* ── Typography ─────────────────────────────────── */
.eyebrow {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* No marker before eyebrows. The mono kicker stands on its own. */

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; color: var(--navy-3); }
.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--navy-3);
  max-width: 60ch;
  text-wrap: pretty;
  font-weight: 400;
}

/* ── Layout primitives ──────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 120px 0; }
.section.tight { padding: 80px 0; }
.section.dark { background: var(--navy); color: var(--paper); }
.section.dark p, .section.dark .lede { color: rgba(245,244,238,0.72); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--paper); }
.section.dark .eyebrow { color: rgba(245,244,238,0.55); }
.section.alt { background: var(--paper-2); }
.divider { height: 1px; background: var(--line); }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--orange);
  color: var(--navy);
  border: 1px solid var(--orange);
  border-radius: 2px;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}
/* One brand orange (#FC6D2D) on buttons too — navy text keeps AA (5.4:1)
   without darkening the orange. Retires the separate --orange-btn. (2026-06-18) */
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn .arr { width: 16px; height: 10px; display: inline-block; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.ghost.on-dark { color: var(--paper); border-color: rgba(245,244,238,0.28); }
.btn.ghost.on-dark:hover { border-color: var(--paper); }
.btn-sm { padding: 11px 16px; font-size: 14px; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.link:hover { color: var(--orange); border-color: var(--orange); }
.link.on-dark { color: var(--paper); border-color: rgba(245,244,238,0.4); }
.link.on-dark:hover { color: var(--orange); border-color: var(--orange); }

/* Arrow SVG used in buttons */
.arr-svg { width: 16px; height: 10px; display: inline-block; }

/* ── Topbar ─────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,245,247,0.86); /* cool gray --paper (#F3F5F7) at 86%, matches the platform UI */
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink);
  flex-shrink: 0;
}
/* WorkAxle logo (SVG, Jing 2026-06 refresh). Color lockup on light, reverse on navy. */
.brand-logo { height: 34px; width: auto; display: block; }
.foot .brand-logo, .brand-logo--rev { height: 34px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a, .nav .nav-trigger { font-size: 14px; font-weight: 500; color: var(--navy-3); letter-spacing: -0.005em; }
.nav .nav-trigger { background: none; border: 0; padding: 0; margin: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav-drop:hover > .nav-trigger, .nav-drop.open > .nav-trigger { color: var(--ink); }
.nav a.on, .nav .nav-trigger.on { color: var(--ink); font-weight: 600; }

/* Industries dropdown */
.nav-drop { position: relative; }
.nav-drop > .nav-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-drop > .nav-trigger::after { content: ""; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-top: 1px; transition: transform 200ms ease; }
.nav-drop:hover > .nav-trigger::after, .nav-drop.open > .nav-trigger::after { transform: rotate(180deg); }
.nav-drop .drop-menu { display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px); padding-top: 12px; z-index: 60; opacity: 0; visibility: hidden; transition: opacity 140ms ease, transform 160ms cubic-bezier(0.2,0.7,0.2,1), visibility 0s linear 180ms; }
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity 140ms ease, transform 160ms cubic-bezier(0.2,0.7,0.2,1), visibility 0s; }
.drop-menu .drop-inner { background: var(--paper); border: 1px solid var(--line); min-width: 200px; box-shadow: 0 8px 32px rgba(34,35,56,0.10); }
.drop-menu .drop-inner a { display: block; padding: 12px 20px; font-size: 13px; font-weight: 500; color: var(--navy-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
.drop-menu .drop-inner a:last-child { border-bottom: 0; }
.drop-menu .drop-inner a:hover { background: var(--paper-2); color: var(--ink); }
.utility { display: inline-flex; gap: 16px; align-items: center; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 24px var(--gut); gap: 20px; z-index: 49; }
  .nav-drop .drop-menu { position: static; transform: none; padding-top: 8px; display: none; opacity: 1; visibility: visible; transition: none; }
  .nav-drop.open .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
  .drop-menu .drop-inner { box-shadow: none; border: 0; border-left: 2px solid var(--line); min-width: auto; }
  .drop-menu .drop-inner a { padding: 8px 16px; border-bottom: 0; }
}

/* ── Section headers ────────────────────────────── */
.s-head {
  display: grid; grid-template-columns: 1fr;
  margin-bottom: 56px; align-items: end;
}
.s-head .num {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 16px; border-top: 1px solid var(--line);
}
.section.dark .s-head .num { color: rgba(245,244,238,0.5); border-top-color: rgba(245,244,238,0.18); }
.s-head .title { display: grid; gap: 18px; }
.s-head .title h2 { max-width: 22ch; }
.s-head .title .sub { font-size: 16px; line-height: 1.65; color: var(--navy-3); max-width: 64ch; margin: 0; }
.section.dark .s-head .title .sub { color: rgba(245,244,238,0.72); }
@media (max-width: 800px) { .s-head { grid-template-columns: 1fr; gap: 24px; } }

/* ── Answer Block ───────────────────────────────── */
.answer-block { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.answer-row {
  display: grid; grid-template-columns: 200px 1fr 200px; gap: 56px; align-items: start;
}
.answer-row .lbl {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding-top: 6px;
}
.answer-row .meta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); text-align: right; padding-top: 6px; line-height: 1.6;
}
.answer-row p.def {
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ink);
  max-width: 56ch; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty;
}
.answer-row p.def strong { color: var(--ink); font-weight: 600; }
.answer-row p.def .hl { color: var(--orange); font-weight: 600; font-style: normal; }
@media (max-width: 900px) {
  .answer-row { grid-template-columns: 1fr; gap: 16px; }
  .answer-row .meta { text-align: left; }
}

/* ── Hero (module pages) ────────────────────────── */
.hero { padding: clamp(80px,10vw,140px) 0; }
.hero-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px;
  align-items: end; margin-bottom: 56px;
}
.hero-head h1 .accent { color: var(--orange); font-weight: 700; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-meta .pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,244,238,0.6);
  border: 1px solid rgba(245,244,238,0.2); padding: 7px 12px;
}
.hero-meta .pill::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--green);
}
.hero-meta .pill.amber::before { background: var(--amber); }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
@media (max-width: 980px) { .hero-head { grid-template-columns: 1fr; gap: 36px; } }

/* ── Split (Problem section — two columns) ──────── */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.split > div { padding: 48px 44px; }
.split .col-l { border-right: 1px solid var(--line); background: var(--paper-3); }
.split .col-r { background: var(--navy); color: var(--paper); }
.split h3 { font-size: 24px; margin: 8px 0 28px; }
.split .col-r h3 { color: var(--paper); }
.split p { font-size: 16px; line-height: 1.6; color: var(--navy-3); margin: 0 0 14px; }
.split .col-r p { color: rgba(245,244,238,0.78); }
.split p strong { color: var(--ink); font-weight: 600; }
.split .col-r p strong { color: var(--paper); }
.split .col-r .out { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(245,244,238,0.18); font-family: var(--f-mono); font-size: 13px; color: var(--orange); letter-spacing: 0.01em; }
.split .stamp { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.split .col-r .stamp { color: rgba(245,244,238,0.5); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .col-l { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ── Steps (How it works) ───────────────────────── */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 140px 1fr 1fr; gap: 56px;
  padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.step h3 { font-size: 26px; line-height: 1.2; max-width: 18ch; }
.step p { font-size: 16px; line-height: 1.55; color: var(--navy-3); max-width: 48ch; }
.step p strong { color: var(--ink); font-weight: 600; }
.step:last-child { border-bottom: 0; }
@media (max-width: 900px) { .step { grid-template-columns: 1fr; gap: 16px; } }

/* ── Rule Types Table ───────────────────────────── */
.rt-table { width: 100%; border-collapse: collapse; background: var(--paper-3); border: 1px solid var(--line); font-size: 15px; }
.rt-table thead th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.rt-table tbody td { padding: 22px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rt-table tbody tr:last-child td { border-bottom: 0; }
.rt-table tbody tr:hover td { background: var(--paper-2); }
.rt-table .col-type { width: 280px; }
.rt-table .col-type strong { font-size: 17px; font-weight: 600; color: var(--ink); display: block; letter-spacing: -0.01em; }
.rt-table .col-ex { color: var(--navy-3); line-height: 1.55; }
@media (max-width: 900px) { .rt-table .col-type { width: auto; } }

/* ── Capability table (generic) ─────────────────── */
.cap-table { width: 100%; border-collapse: collapse; background: var(--paper-3); border: 1px solid var(--line); font-size: 15px; }
.cap-table thead th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.cap-table tbody td { padding: 22px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cap-table tbody tr:last-child td { border-bottom: 0; }
.cap-table tbody tr:hover td { background: var(--paper-2); }
.cap-table .col-cap { width: 260px; }
.cap-table .col-cap strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.cap-table .col-desc { color: var(--navy-3); line-height: 1.55; }

/* ── Scenarios (3-col cards) ────────────────────── */
.scen { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
@media (max-width: 900px) { .scen { grid-template-columns: 1fr; } }

/* ── Difference (3-col blocks) ──────────────────── */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diff-card { padding: 48px 32px 56px; border-right: 1px solid var(--line); display: grid; gap: 20px; grid-template-rows: auto auto 1fr auto; align-content: start; }
.diff-card:last-child { border-right: 0; }
.diff-card h3 { font-size: 26px; line-height: 1.18; letter-spacing: -0.02em; max-width: 18ch; }
.diff-card p { font-size: 15px; line-height: 1.55; color: var(--navy-3); max-width: 40ch; }
.diff-card .foot { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: transparent; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 12px; align-self: end; }
.section.dark .diff-card .foot, .dark .diff-card .foot { color: rgba(245,244,238,0.85); border-top-color: rgba(245,244,238,0.18); }
@media (max-width: 900px) { .diff { grid-template-columns: 1fr; } .diff-card { border-right: 0; border-bottom: 1px solid var(--line); } .diff-card:last-child { border-bottom: 0; } }

/* ── Who / Industry cards (4-col) ───────────────── */
.who { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.who-cell { padding: 28px 24px; border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 220px; position: relative; background: var(--paper-3); transition: background 140ms ease; }
.who-cell:last-child { border-right: 0; }
.who-cell:hover { background: var(--paper-2); }
.who-cell .ic { display: inline-flex; width: 32px; height: 32px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.who-cell .ic svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.who-cell h3 { font-size: 19px; letter-spacing: -0.012em; line-height: 1.2; }
.who-cell p { font-size: 14px; color: var(--navy-3); line-height: 1.5; }
.who-cell .lnk { margin-top: auto; padding-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; align-self: end; }
.who-cell:hover .lnk { color: var(--orange); }
@media (max-width: 1000px) { .who { grid-template-columns: 1fr 1fr; } .who-cell { border-bottom: 1px solid var(--line); } .who-cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .who { grid-template-columns: 1fr; } .who-cell { border-right: 0; } }

/* ── Industry grid (5-col for homepage) ─────────── */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.ind-cell { padding: 28px 24px 32px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: end; min-height: 200px; position: relative; transition: background 140ms ease; }
.ind-cell:hover { background: var(--paper-2); }
.ind-cell:last-child { border-right: 0; }
.ind-cell h3 { font-size: 18px; letter-spacing: -0.01em; }
.ind-cell p { font-size: 14px; color: var(--navy-3); line-height: 1.5; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-cell { border-bottom: 1px solid var(--line); } .ind-cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } .ind-cell { border-right: 0; } }

/* ── Metrics (proof strip) ──────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.metric { padding: 36px 32px; border-right: 1px solid var(--line); display: grid; gap: 8px; }
.metric:last-child { border-right: 0; }
.metric .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.metric .v { font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; transition: color 160ms ease; }
.metric:hover .v { color: var(--orange); }

/* ── Industry grid, module pages: 8 cells, detail slides up on hover ── */
.ind8 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); }
a.ind8-cell {
  position: relative; overflow: hidden;
  display: grid; gap: 10px; align-content: start;
  padding: 26px 24px 24px; min-height: 205px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.ind8-cell:nth-child(4n) { border-right: 0; }
.ind8-cell:nth-child(n+5) { border-bottom: 0; }
.ind8-cell h3 { font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.3; }
.ind8-cell .tz { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-top: 6px; }
.ind8-cell .reveal {
  position: absolute; inset: 0; background: var(--navy);
  padding: 22px 24px; display: grid; gap: 12px; align-content: start;
  transform: translateY(102%); transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ind8-cell .reveal p { font-size: 13.5px; line-height: 1.55; color: rgba(245,244,238,0.85); }
.ind8-cell .reveal .go { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.ind8-cell:hover .reveal, .ind8-cell:focus-visible .reveal { transform: translateY(0); }
@media (hover: none) { .ind8-cell .reveal { display: none; } }
@media (prefers-reduced-motion: reduce) { .ind8-cell .reveal { transition: none; } }
@media (max-width: 1000px) {
  .ind8 { grid-template-columns: 1fr 1fr; }
  .ind8-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .ind8-cell:nth-child(2n) { border-right: 0; }
  .ind8-cell:nth-child(n+5) { border-bottom: 1px solid var(--line); }
  .ind8-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .ind8 { grid-template-columns: 1fr; }
  .ind8-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .ind8-cell:last-child { border-bottom: 0 !important; }
}
.metric .v em { font-style: normal; color: var(--ink); }
.metric .ctx { font-size: 14px; color: var(--navy-3); margin-top: 6px; }
.metrics.cols-4 { grid-template-columns: repeat(4, 1fr); }
.metrics.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 800px) { .metrics, .metrics.cols-4, .metrics.cols-5 { grid-template-columns: 1fr 1fr; } .metric { border-bottom: 1px solid var(--line); } .metric:nth-child(2n) { border-right: 0; } .metric:last-child { border-bottom: 0; } }
@media (max-width: 500px) { .metrics, .metrics.cols-4, .metrics.cols-5 { grid-template-columns: 1fr; } .metric { border-right: 0; } }

/* ── Logos ───────────────────────────────────────── */
.logos { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.logos > div { padding: 32px 24px; border-right: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--navy-3); text-align: center; }
.logos > div:last-child { border-right: 0; }
/* Partner logo wall: borderless, centered rows, white dropped via multiply */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 64px; margin-top: 4px; }
.logo-wall > div { display: flex; align-items: center; justify-content: center; }
.logo-wall img { height: 58px; width: auto; max-width: 190px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.82; transition: filter .2s ease, opacity .2s ease; }
.logo-wall img:hover { filter: grayscale(0); opacity: 1; }
/* Scroll "light up": when JS adds .lit (on scroll into view), logos fade from grayscale to full colour, staggered left-to-right. */
.logo-wall.lit img { filter: grayscale(0); opacity: 1; transition: filter .5s ease, opacity .5s ease; }
.logo-wall.lit > div:nth-child(1) img { transition-delay: 40ms; }
.logo-wall.lit > div:nth-child(2) img { transition-delay: 120ms; }
.logo-wall.lit > div:nth-child(3) img { transition-delay: 200ms; }
.logo-wall.lit > div:nth-child(4) img { transition-delay: 280ms; }
.logo-wall.lit > div:nth-child(5) img { transition-delay: 360ms; }
.logo-wall.lit > div:nth-child(6) img { transition-delay: 440ms; }
.logo-wall.lit > div:nth-child(n+7) img { transition-delay: 520ms; }
@media (prefers-reduced-motion: reduce) { .logo-wall.lit img { transition: none; } .logo-wall.lit > div img { transition-delay: 0ms; } }
@media (max-width: 800px) { .logo-wall { gap: 30px 40px; } .logo-wall img { height: 46px; max-width: 150px; } }
.partner-card .plogo { height: 44px; width: auto; max-width: 180px; display: block; margin-bottom: 18px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 800px) { .logos { grid-template-columns: 1fr 1fr; } .logos > div { border-bottom: 1px solid var(--line); } }

/* ── Quote ──────────────────────────────────────── */
.quote { display: grid; grid-template-columns: 80px 1fr; gap: 36px; padding: 56px 0 0; border-top: 1px solid var(--line); align-items: start; margin-top: 56px; }
.quote .q-mark { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.32; letter-spacing: -0.018em; font-weight: 500; color: var(--ink); max-width: 48ch; text-wrap: balance; }
.quote .src { margin-top: 24px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.quote .src strong { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .quote { grid-template-columns: 1fr; gap: 16px; } }

/* ── FAQ accordion ──────────────────────────────── */
.faq-sec { padding: 96px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-sec .s-head { margin-bottom: 40px; }
.faq-list { max-width: 880px; }
.faq-list details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.012em; line-height: 1.35; padding-right: 8px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; color: var(--orange); flex-shrink: 0; transition: transform 200ms ease; margin-top: -2px; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--orange); }
.faq-list .faq-answer { padding: 16px 32px 4px 0; font-size: 16px; color: var(--navy-3); line-height: 1.65; max-width: 60ch; }
.faq-list .faq-answer p { margin: 0 0 14px; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }
.faq-list .faq-answer strong { color: var(--ink); font-weight: 600; }

/* ── Tier CTA Strip ─────────────────────────────── */
.tier-strip { background: var(--navy); color: var(--paper); padding: clamp(96px,11vw,140px) 0; }
.tier-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; margin-bottom: 56px; }
.tier-head .num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,244,238,0.55); padding-top: 16px; border-top: 1px solid rgba(245,244,238,0.18); min-width: 200px; }
.tier-head h2 { color: var(--paper); font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.05; max-width: 22ch; text-wrap: balance; margin: 0; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(245,244,238,0.18); }
.tier-cell { padding: 40px 32px 44px; border-right: 1px solid rgba(245,244,238,0.18); display: grid; gap: 16px; align-content: start; min-height: 260px; }
.tier-cell:last-child { border-right: 0; }
/* Tier cells are light-by-default; paper colors apply only inside the navy .tier-strip wrapper. */
.tier-cell .stage { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.tier-cell .stage .dot { width: 8px; height: 8px; border: 1px solid var(--ink); }
.tier-cell.early .stage .dot { background: transparent; }
.tier-cell.mid .stage .dot { background: var(--ink); position: relative; }
.tier-cell.mid .stage .dot::after { content: ""; position: absolute; inset: 1px; background: var(--paper); }
.tier-cell.late .stage .dot { background: var(--orange); border-color: var(--orange); }
.tier-cell h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; max-width: 18ch; font-weight: 600; color: var(--ink); }
.tier-cell p { font-size: 14px; color: var(--navy-3); line-height: 1.5; max-width: 38ch; margin: 0; }
.tier-cell .action { margin-top: auto; padding-top: 16px; }
.tier-cell .link-dark { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.tier-cell .link-dark:hover { color: var(--orange); border-color: var(--orange); }
.tier-strip .tier-cell .stage { color: rgba(245,244,238,0.55); }
.tier-strip .tier-cell .stage .dot { border-color: var(--paper); }
.tier-strip .tier-cell.mid .stage .dot { background: var(--paper); }
.tier-strip .tier-cell.mid .stage .dot::after { background: var(--navy); }
.tier-strip .tier-cell.late .stage .dot { background: var(--orange); border-color: var(--orange); }
.tier-strip .tier-cell h3 { color: var(--paper); }
.tier-strip .tier-cell p { color: rgba(245,244,238,0.72); }
.tier-strip .tier-cell .link-dark { color: var(--paper); border-bottom-color: rgba(245,244,238,0.4); }
.tier-strip .tier-cell .link-dark:hover { color: var(--orange); border-color: var(--orange); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } .tier-cell { border-right: 0; border-bottom: 1px solid rgba(245,244,238,0.18); min-height: auto; } .tier-cell:last-child { border-bottom: 0; } }

/* ── Final CTA (homepage style) ─────────────────── */
.final { background: var(--navy); color: var(--paper); padding: 120px 0 132px; }
.final-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.final h2 { color: var(--paper); }
.final .lede { color: rgba(245,244,238,0.72); }
.final-meta { display: grid; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,244,238,0.5); }
@media (max-width: 800px) { .final-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── Footer ─────────────────────────────────────── */
.foot { background: var(--navy); color: var(--paper); border-top: 1px solid rgba(245,244,238,0.12); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(245,244,238,0.12); }
.foot h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,244,238,0.5); margin: 0 0 14px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot li a { font-size: 14px; color: rgba(245,244,238,0.85); }
.foot li a:hover { color: var(--paper); }
.foot .brand { color: var(--paper); }
.foot-blurb { font-size: 14px; color: rgba(245,244,238,0.7); margin-top: 18px; max-width: 32ch; line-height: 1.6; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,244,238,0.72); }
.foot-meta a { color: inherit; }
.foot-meta a:hover { color: var(--paper); text-decoration: underline; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Blockquote (inline) ────────────────────────── */
.stat-callout {
  margin: 32px 0; padding: 28px 32px; border-left: 3px solid var(--orange);
  background: var(--paper-2); font-size: 15px; line-height: 1.6; color: var(--navy-3);
}
.stat-callout strong { color: var(--ink); font-weight: 600; }

/* ── Integration / partner cards ────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.partner-card { padding: 40px 32px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; background: var(--paper-3); }
.partner-card:last-child { border-right: 0; }
.partner-card .badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.partner-card h3 { font-size: 22px; }
.partner-card p { font-size: 15px; color: var(--navy-3); line-height: 1.55; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } .partner-card { border-right: 0; border-bottom: 1px solid var(--line); } .partner-card:last-child { border-bottom: 0; } }

/* ── Deployment table ───────────────────────────── */
.deploy-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: var(--paper-3); }
.deploy-table th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 16px 22px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.deploy-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.deploy-table td:first-child { font-weight: 600; color: var(--ink); width: 240px; }
.deploy-table tbody tr:last-child td { border-bottom: 0; }
.deploy-table tbody tr:hover td { background: var(--paper-2); }
/* Horizontal-scroll wrapper clips wide tables so the page itself never overflows */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 640px) {
  .deploy-table td:first-child { width: auto; }
  .deploy-table th, .deploy-table td { padding: 14px 16px; }
}
@media (max-width: 600px) { }
.card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 16px; padding: 32px 28px; background: var(--paper-3); align-content: start; transition: background 140ms ease; }
.card:hover { background: var(--paper-2); }
.card:nth-child(3n) { border-right: 0; }
.card h4 { font-size: 19px; line-height: 1.25; letter-spacing: -0.012em; }
.card p { font-size: 14px; color: var(--navy-3); line-height: 1.5; }
@media (max-width: 900px) { .card:nth-child(3n) { border-right: 1px solid var(--line); } .card:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .card { border-right: 0; } }
.chip {
  font-size: 13px; padding: 10px 16px; border: 1px solid var(--line);
  background: transparent; color: var(--navy-3); border-radius: 2px;
  transition: all 140ms ease; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Featured card (blog index) ─────────────────── */
.featured { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 32px; background: var(--paper-3); }
@media (max-width: 800px) { .featured { grid-template-columns: 1fr; } }

/* ── Reveal-on-scroll ───────────────────────────── */
.js [data-anim] { opacity: 0; transform: translateY(8px); transition: opacity 350ms ease, transform 350ms cubic-bezier(0.2,0.7,0.2,1); }
[data-anim].in { opacity: 1; transform: none; }
/* Full opt-out: reduced-motion readers get everything visible immediately, no fade. */
@media (prefers-reduced-motion: reduce) {
  .js [data-anim], .js [data-anim] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Staggered children: cards cascade in once their grid enters. */
.js [data-anim] > .metric,
.js [data-anim] > .ind-cell,
.js [data-anim] > .who-cell,
.js [data-anim] > .card,
.js [data-anim] > .diff-card,
.js [data-anim] > .tier-cell,
.js [data-anim] > .partner-card,
.js .logos[data-anim] > div {
  opacity: 0; transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms cubic-bezier(0.2,0.7,0.2,1);
}
[data-anim].in > .metric,
[data-anim].in > .ind-cell,
[data-anim].in > .who-cell,
[data-anim].in > .card,
[data-anim].in > .diff-card,
[data-anim].in > .tier-cell,
[data-anim].in > .partner-card,
.logos[data-anim].in > div { opacity: 1; transform: none; }
[data-anim].in > :nth-child(1) { transition-delay: 0ms; }
[data-anim].in > :nth-child(2) { transition-delay: 60ms; }
[data-anim].in > :nth-child(3) { transition-delay: 120ms; }
[data-anim].in > :nth-child(4) { transition-delay: 180ms; }
[data-anim].in > :nth-child(5) { transition-delay: 240ms; }
[data-anim].in > :nth-child(6) { transition-delay: 300ms; }
[data-anim].in > :nth-child(7) { transition-delay: 360ms; }
[data-anim].in > :nth-child(8) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-anim] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Interaction refinements ────────────────────── */
.btn .arr, .arr-svg { transition: transform 160ms ease; }
.btn:hover .arr, .btn:hover .arr-svg { transform: translateX(3px); }

/* Corner bracket on hover — echoes the hero frame marks. Clickable cards only. */
a.ind-cell::after, a.who-cell::after, a.card::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
  opacity: 0; transition: opacity 160ms ease;
}
a.ind-cell:hover::after, a.who-cell:hover::after, a.card:hover::after { opacity: 1; }
a.card { position: relative; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

/* ── Elevation pass (2026-06-10): texture, depth, signature details ── */

/* Paper grain — print texture over the warm paper. Imperceptible until removed. */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Blueprint grid on navy sections — echoes the hero stage grid. */
.section.dark, .tier-strip, .final {
  background-image:
    repeating-linear-gradient(to right, rgba(245,244,238,0.025) 0, rgba(245,244,238,0.025) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(to bottom, rgba(245,244,238,0.025) 0, rgba(245,244,238,0.025) 1px, transparent 1px, transparent 80px);
}

/* Footer watermark — oversized wordmark clipped at the page's last edge.
   Scoped to footer.foot: .diff-card footnotes also carry class "foot". */
footer.foot { overflow: hidden; }
footer.foot::after {
  content: "WORKAXLE";
  display: block;
  text-align: center;
  font-weight: 800;
  font-size: clamp(72px, 13vw, 210px);
  line-height: 0.72;
  letter-spacing: -0.045em;
  color: rgba(245,244,238,0.045);
  margin: 56px auto -0.2em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* Crosshair register marks — top-left + bottom-right of major grids. */
.metrics,
.ind-grid,
.who,
.scen,
.partner-grid,
.tier-grid { position: relative; }
.metrics::before,
.ind-grid::before,
.who::before,
.scen::before,
.partner-grid::before,
.tier-grid::before {
  content: "+"; position: absolute; top: -8px; left: -5px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1;
  color: var(--muted-2); pointer-events: none;
}
.metrics::after,
.ind-grid::after,
.who::after,
.scen::after,
.partner-grid::after {
  content: "+"; position: absolute; bottom: -8px; right: -5px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1;
  color: var(--muted-2); pointer-events: none;
}
.tier-strip .tier-grid::before { color: rgba(245,244,238,0.3); }

/* Cross-page crossfade (progressive enhancement, Chromium). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   BRAND COLOR PASS — site-wide (2026-06-18, approved by Pamela)
   Restores the official 2021 pink "la rosita" as a disciplined accent.
   System:  navy = structure & emphasis  ·  orange #FC6D2D = resting click
   state (buttons)  ·  pink #DE3B72 = interaction (hover) + the few brand
   moments (logo, hero headline word, pull-quotes).  Angular/no-shadow rules
   and Manrope/JetBrains Mono are unchanged. See DESIGN.md.
   This block intentionally overrides earlier orange-ink emphasis rules.
   ════════════════════════════════════════════════════════════════ */

/* HOVER = PINK — every button & link lights up brand pink (light + navy). */
.btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.ghost:hover { background: transparent; border-color: var(--pink); color: var(--pink-ink); }
.btn.ghost.on-dark:hover { background: transparent; border-color: var(--pink); color: var(--pink); }
.link:hover { color: var(--pink-ink); border-color: var(--pink-ink); }
.link.on-dark:hover { color: var(--pink); border-color: var(--pink); }

/* Pull-quote brand signature: pink top rule + pink quote-mark/source. */
.quote { border-top-color: var(--orange); border-top-width: 2px; }
.quote .q-mark, .quote .src strong { color: var(--orange); }

/* Section headline emphases → calm navy (not the retired orange-ink). */
h2 em,
.pain-close em { color: var(--ink); font-style: normal; }
/* Pink lives on blue backgrounds: emphasis on dark/navy sections = pink (#DE3B72,
   reads on navy at 3.6:1 for large display). Light-bg emphasis is orange (above). */
.section.dark h2 em,
.section.dark .pain-close em,
.section.dark h1 .acc,
.section.dark h1 .accent,
.section.dark .hl { color: var(--pink); }

/* Hero headline emphasis → brand pink (the one big pink word). */
.hero-head h1 .acc, h1 .acc { color: var(--orange); font-weight: 700; }

/* Stat numbers: navy at rest, brand orange (#FC6D2D) ONLY on hover. */
.metric .v em { color: var(--ink); font-style: normal; transition: color 160ms ease; }
.metric:hover .v, .metric:hover .v em { color: var(--orange); }

/* Live/updated meta badge: small green status dot (post meta rows). */
.live { color: var(--green); }
.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: middle; animation: liveDot 1.6s ease-in-out infinite; }
@keyframes liveDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

/* ── v2 layout (EN+FR mirrored 2026-07-03): steps no longer carry .num chips, so all
   steps take the 2-col layout; answer-rows still vary (some pages keep the .meta strip,
   some dropped it) so the :has() guard sets the meta-less rows to 2-col ── */
.step:not(:has(.num)) { grid-template-columns: 1fr 1.6fr; }
.answer-row:not(:has(.meta)) { grid-template-columns: 200px 1fr; }
