/* =====================================================================
   AI Readiness Score - Is your maintenance ready for AI?
   Brand: Rob Reliability · dark "control room" theme (default)
   (cyan #00DCFF · violet #7C3AED · midnight #050810 · Geist / Geist Mono)
   + optional light mode: tread-plate paper page, dark panels (toggle).
   ===================================================================== */
:root {
  --brand: #00DCFF;
  --brand-dark: #00B8D6;
  --brand-soft: rgba(0, 220, 255, .07);
  --violet: #7C3AED;

  --ink: #FFFFFF;
  --ink-2: #EAF0F7;
  --ink-3: #D3DDEA;
  --grey: #BFCCDD;
  --muted: #8FA6C4;
  --muted-2: #7690B0;
  --muted-3: #5F7A9E;

  --bg: #0E1A2E;
  --surface: #16263E;
  --surface-2: #1E3150;
  --line: rgba(245, 248, 251, .09);
  --line-2: rgba(245, 248, 251, .16);

  /* AI-adoption stage scale */
  --stage1: #FFB43D;
  --stage2: #A78BFA;
  --stage3: #00DCFF;
  --stage4: #2FE6B0;

  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
  --display: 'Inter', 'Geist', sans-serif;

  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-pop: inset 0 1px 0 rgba(255, 255, 255, .09), 0 8px 40px rgba(0, 0, 0, .6);

  /* light-mode ingredients (tread paper + dark panels) */
  --paper: #F5F8FB;
  --ink-light: #10141B;
  --body-light: #26303F;
  --muted-light: #52657D;
  --accent-light-text: #008CA6;
  --tread-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22280%22%20height%3D%22204%22%20viewBox%3D%220%200%20280%20204%22%3E%3Cline%20x1%3D%22-11.7%22%20y1%3D%2223.7%22%20x2%3D%226.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-6.7%22%20y1%3D%2228.7%22%20x2%3D%2211.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-11.7%22%20y1%3D%22227.7%22%20x2%3D%226.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-6.7%22%20y1%3D%22232.7%22%20x2%3D%2211.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22268.3%22%20y1%3D%2223.7%22%20x2%3D%22286.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22273.3%22%20y1%3D%2228.7%22%20x2%3D%22291.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22268.3%22%20y1%3D%22227.7%22%20x2%3D%22286.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22273.3%22%20y1%3D%22232.7%22%20x2%3D%22291.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2244.3%22%20y1%3D%2223.7%22%20x2%3D%2262.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2249.3%22%20y1%3D%2228.7%22%20x2%3D%2267.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2244.3%22%20y1%3D%22227.7%22%20x2%3D%2262.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2249.3%22%20y1%3D%22232.7%22%20x2%3D%2267.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22100.3%22%20y1%3D%2223.7%22%20x2%3D%22118.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22105.3%22%20y1%3D%2228.7%22%20x2%3D%22123.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22100.3%22%20y1%3D%22227.7%22%20x2%3D%22118.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22105.3%22%20y1%3D%22232.7%22%20x2%3D%22123.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22156.3%22%20y1%3D%2223.7%22%20x2%3D%22174.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22161.3%22%20y1%3D%2228.7%22%20x2%3D%22179.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22156.3%22%20y1%3D%22227.7%22%20x2%3D%22174.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22161.3%22%20y1%3D%22232.7%22%20x2%3D%22179.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22212.3%22%20y1%3D%2223.7%22%20x2%3D%22230.7%22%20y2%3D%225.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22217.3%22%20y1%3D%2228.7%22%20x2%3D%22235.7%22%20y2%3D%2210.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22212.3%22%20y1%3D%22227.7%22%20x2%3D%22230.7%22%20y2%3D%22209.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22217.3%22%20y1%3D%22232.7%22%20x2%3D%22235.7%22%20y2%3D%22214.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2216.3%22%20y1%3D%2244.3%22%20x2%3D%2234.7%22%20y2%3D%2262.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2221.3%22%20y1%3D%2239.3%22%20x2%3D%2239.7%22%20y2%3D%2257.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2272.3%22%20y1%3D%2244.3%22%20x2%3D%2290.7%22%20y2%3D%2262.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2277.3%22%20y1%3D%2239.3%22%20x2%3D%2295.7%22%20y2%3D%2257.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22128.3%22%20y1%3D%2244.3%22%20x2%3D%22146.7%22%20y2%3D%2262.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22133.3%22%20y1%3D%2239.3%22%20x2%3D%22151.7%22%20y2%3D%2257.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22184.3%22%20y1%3D%2244.3%22%20x2%3D%22202.7%22%20y2%3D%2262.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22189.3%22%20y1%3D%2239.3%22%20x2%3D%22207.7%22%20y2%3D%2257.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22240.3%22%20y1%3D%2244.3%22%20x2%3D%22258.7%22%20y2%3D%2262.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22245.3%22%20y1%3D%2239.3%22%20x2%3D%22263.7%22%20y2%3D%2257.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-11.7%22%20y1%3D%2291.7%22%20x2%3D%226.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-6.7%22%20y1%3D%2296.7%22%20x2%3D%2211.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22268.3%22%20y1%3D%2291.7%22%20x2%3D%22286.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22273.3%22%20y1%3D%2296.7%22%20x2%3D%22291.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2244.3%22%20y1%3D%2291.7%22%20x2%3D%2262.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2249.3%22%20y1%3D%2296.7%22%20x2%3D%2267.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22100.3%22%20y1%3D%2291.7%22%20x2%3D%22118.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22105.3%22%20y1%3D%2296.7%22%20x2%3D%22123.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22156.3%22%20y1%3D%2291.7%22%20x2%3D%22174.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22161.3%22%20y1%3D%2296.7%22%20x2%3D%22179.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22212.3%22%20y1%3D%2291.7%22%20x2%3D%22230.7%22%20y2%3D%2273.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22217.3%22%20y1%3D%2296.7%22%20x2%3D%22235.7%22%20y2%3D%2278.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2216.3%22%20y1%3D%22112.3%22%20x2%3D%2234.7%22%20y2%3D%22130.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2221.3%22%20y1%3D%22107.3%22%20x2%3D%2239.7%22%20y2%3D%22125.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2272.3%22%20y1%3D%22112.3%22%20x2%3D%2290.7%22%20y2%3D%22130.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2277.3%22%20y1%3D%22107.3%22%20x2%3D%2295.7%22%20y2%3D%22125.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22128.3%22%20y1%3D%22112.3%22%20x2%3D%22146.7%22%20y2%3D%22130.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22133.3%22%20y1%3D%22107.3%22%20x2%3D%22151.7%22%20y2%3D%22125.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22184.3%22%20y1%3D%22112.3%22%20x2%3D%22202.7%22%20y2%3D%22130.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22189.3%22%20y1%3D%22107.3%22%20x2%3D%22207.7%22%20y2%3D%22125.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22240.3%22%20y1%3D%22112.3%22%20x2%3D%22258.7%22%20y2%3D%22130.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22245.3%22%20y1%3D%22107.3%22%20x2%3D%22263.7%22%20y2%3D%22125.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-11.7%22%20y1%3D%22159.7%22%20x2%3D%226.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22-6.7%22%20y1%3D%22164.7%22%20x2%3D%2211.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22268.3%22%20y1%3D%22159.7%22%20x2%3D%22286.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22273.3%22%20y1%3D%22164.7%22%20x2%3D%22291.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2244.3%22%20y1%3D%22159.7%22%20x2%3D%2262.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2249.3%22%20y1%3D%22164.7%22%20x2%3D%2267.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22100.3%22%20y1%3D%22159.7%22%20x2%3D%22118.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22105.3%22%20y1%3D%22164.7%22%20x2%3D%22123.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22156.3%22%20y1%3D%22159.7%22%20x2%3D%22174.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22161.3%22%20y1%3D%22164.7%22%20x2%3D%22179.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22212.3%22%20y1%3D%22159.7%22%20x2%3D%22230.7%22%20y2%3D%22141.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22217.3%22%20y1%3D%22164.7%22%20x2%3D%22235.7%22%20y2%3D%22146.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2216.3%22%20y1%3D%22-23.7%22%20x2%3D%2234.7%22%20y2%3D%22-5.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2221.3%22%20y1%3D%22-28.7%22%20x2%3D%2239.7%22%20y2%3D%22-10.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2216.3%22%20y1%3D%22180.3%22%20x2%3D%2234.7%22%20y2%3D%22198.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2221.3%22%20y1%3D%22175.3%22%20x2%3D%2239.7%22%20y2%3D%22193.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2272.3%22%20y1%3D%22-23.7%22%20x2%3D%2290.7%22%20y2%3D%22-5.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2277.3%22%20y1%3D%22-28.7%22%20x2%3D%2295.7%22%20y2%3D%22-10.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2272.3%22%20y1%3D%22180.3%22%20x2%3D%2290.7%22%20y2%3D%22198.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%2277.3%22%20y1%3D%22175.3%22%20x2%3D%2295.7%22%20y2%3D%22193.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22128.3%22%20y1%3D%22-23.7%22%20x2%3D%22146.7%22%20y2%3D%22-5.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22133.3%22%20y1%3D%22-28.7%22%20x2%3D%22151.7%22%20y2%3D%22-10.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22128.3%22%20y1%3D%22180.3%22%20x2%3D%22146.7%22%20y2%3D%22198.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22133.3%22%20y1%3D%22175.3%22%20x2%3D%22151.7%22%20y2%3D%22193.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22184.3%22%20y1%3D%22-23.7%22%20x2%3D%22202.7%22%20y2%3D%22-5.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22189.3%22%20y1%3D%22-28.7%22%20x2%3D%22207.7%22%20y2%3D%22-10.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22184.3%22%20y1%3D%22180.3%22%20x2%3D%22202.7%22%20y2%3D%22198.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22189.3%22%20y1%3D%22175.3%22%20x2%3D%22207.7%22%20y2%3D%22193.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22240.3%22%20y1%3D%22-23.7%22%20x2%3D%22258.7%22%20y2%3D%22-5.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22245.3%22%20y1%3D%22-28.7%22%20x2%3D%22263.7%22%20y2%3D%22-10.3%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22240.3%22%20y1%3D%22180.3%22%20x2%3D%22258.7%22%20y2%3D%22198.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3Cline%20x1%3D%22245.3%22%20y1%3D%22175.3%22%20x2%3D%22263.7%22%20y2%3D%22193.7%22%20stroke%3D%22%236B8DB5%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.11%22%2F%3E%3C%2Fsvg%3E");
  --tread-size: 280px 204px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink-2);
  background:
    radial-gradient(60% 40% at 50% -8%, rgba(245, 248, 251, .06) 0%, transparent 60%),
    radial-gradient(90% 60% at 85% -10%, rgba(0, 220, 255, .08) 0%, transparent 60%),
    radial-gradient(80% 55% at -5% 100%, rgba(124, 58, 237, .08) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.mono { font-family: var(--mono); }

/* ------------------------------- shell ------------------------------ */
.app { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(11, 21, 38, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex-shrink: 0; display: block; border-radius: 8px; }
.brand-word { line-height: 1; }
.brand-line1 {
  display: block; font-family: var(--display); font-weight: 900; font-size: 15px;
  letter-spacing: .04em; color: var(--ink);
}
.brand-line2 {
  display: block; margin-top: 4px; font-family: var(--mono);
  font-size: 8.5px; font-weight: 500; letter-spacing: .30em; color: var(--muted);
}
.topbar-right { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
.topbar-right .sign { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--violet);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
}

.views { flex: 1; }
.view { display: none; animation: fade .35s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); }

/* ----------------------------- buttons ------------------------------ */
.btn {
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  border: none; border-radius: 12px; padding: 14px 26px; cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--brand); color: #050810; box-shadow: 0 8px 26px rgba(0, 220, 255, .28); }
.btn-primary:hover { background: #33E3FF; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--grey); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(245, 248, 251, .05); }
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------------------------------ intro ------------------------------- */
#view-intro { background: radial-gradient(120% 95% at 100% -8%, rgba(0, 220, 255, .09) 0%, rgba(124, 58, 237, .05) 34%, transparent 66%); }
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); font-weight: 500; margin-bottom: 22px;
}
.hero h1 {
  margin: 0; font-family: var(--display); font-size: clamp(34px, 5vw, 54px); line-height: 1.04; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.hero h1 .hl { color: var(--brand); }
.hero-sub { margin: 22px 0 0; font-size: 19px; line-height: 1.5; color: var(--grey); max-width: 520px; }
.hero-sub.sub2 { margin-top: 6px; }
.hero-motto {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 0;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero-motto::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.hero-motto .mp { color: var(--ink); }
.hero-motto .ma { color: var(--brand); }
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 30px 0 34px; font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.hero-meta b { color: var(--ink-2); font-weight: 600; }
.hero-meta .sep { color: #2A3A55; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta .note { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }
.standards { margin-top: 46px; }
.standards-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-3); margin-bottom: 13px;
}
.std-row { display: flex; flex-wrap: wrap; gap: 9px; }
.std-badge {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 13px;
}

/* cover figure: Rob, cut out, floating with a transparent background */
.hero-figure { display: flex; justify-content: center; }
.hero-figure-img {
  display: block; width: 100%; max-width: 470px; height: auto;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .5)) drop-shadow(0 0 60px rgba(0, 220, 255, .08));
}

/* ---------------------------- question ------------------------------ */
.q-wrap { max-width: 780px; margin: 0 auto; }
.q-progress { margin-bottom: 44px; }
.q-progress-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.q-progress-head .step { font-family: var(--mono); font-size: 12px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted-2); }
.q-progress-head .pct { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand); }
.q-track { height: 7px; border-radius: 5px; background: rgba(245, 248, 251, .11); overflow: hidden; }
.q-fill { height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--violet), var(--brand)); transition: width .35s ease; }

.q-ref { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--brand); font-weight: 500; margin-bottom: 18px; }
.q-text { margin: 0 0 36px; font-family: var(--display); font-size: clamp(24px, 3.5vw, 34px); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }

.options { display: flex; flex-direction: column; gap: 14px; }
.option {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
  text-align: left; width: 100%; font: inherit; color: inherit;
}
.option:hover { border-color: rgba(0, 220, 255, .45); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); transform: translateX(3px); }
.option .radio {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #4A5F87; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.option .opt-label { font-size: 17px; font-weight: 500; color: var(--ink-3); }
.option .opt-tag { margin-left: auto; display: none; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--brand); background: rgba(0, 220, 255, .12); padding: 4px 10px; border-radius: 20px; }
.option.selected { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border-color: var(--brand); box-shadow: 0 6px 22px rgba(0, 220, 255, .12); animation: optionPop .18s ease; }
.option.selected .radio { border-color: var(--brand); background: var(--brand); }
.option.selected .radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #050810; }
.option.selected .opt-label { font-weight: 600; color: var(--ink); }
.option.selected .opt-tag { display: inline-block; }
@keyframes optionPop { 50% { transform: scale(1.015); } }

/* multi-select (priorities capture): square boxes = pick as many as you like */
.options.multi .option .radio { border-radius: 7px; }
.options.multi .option.selected .radio::after {
  content: ''; width: 11px; height: 11px; border-radius: 2px; background: #050810;
  /* checkmark tick */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; }

/* ----------------------------- results ------------------------------ */
.res-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.res-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.res-headline { margin: 0; font-family: var(--display); font-size: clamp(28px, 4vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.score-pill {
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid rgba(0, 220, 255, .30); border-radius: 14px; padding: 14px 22px; white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.score-pill .sp-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.score-pill .sp-num { font-family: var(--mono); font-size: 30px; font-weight: 600; line-height: 1; }
.score-pill .sp-den { font-family: var(--mono); font-size: 15px; color: var(--muted-3); }
.res-prepared { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.stage-desc { margin: 0 0 30px; font-size: 15px; line-height: 1.55; color: var(--grey); max-width: 760px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); padding: 28px 30px; }
.card-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.card-title { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }

.grid-a { display: grid; grid-template-columns: 1fr 1.18fr; gap: 24px; margin-bottom: 24px; }
.grid-b { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 24px; margin-bottom: 24px; }

/* adoption ladder card (violet-tinted) */
.pyramid-card {
  background: radial-gradient(120% 120% at 50% 20%, #182338 0%, var(--surface) 72%);
  border: 1px solid rgba(124, 58, 237, .28); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-card), 0 0 50px rgba(124, 58, 237, .06); padding: 26px 28px; overflow: hidden;
}
.pyramid-card .card-eyebrow { color: var(--muted); }
.pyramid-card .card-title { color: var(--ink); }
.pyramid-body { display: flex; align-items: center; gap: 10px; }
.pyramid-legend { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tier {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: rgba(245, 248, 251, .06);
  border: 1px solid rgba(245, 248, 251, .10);
}
.tier-num { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 13px; color: #050810; }
.tier-text { line-height: 1.2; min-width: 0; }
.tier-text b { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.tier-text i { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.tier--current { background: color-mix(in srgb, var(--tc) 14%, transparent); border-color: color-mix(in srgb, var(--tc) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc) 35%, transparent), 0 10px 26px color-mix(in srgb, var(--tc) 22%, transparent); }
.tier-here { display: inline-block; margin-left: 9px; font-family: var(--hand); font-size: 17px; font-weight: 600; line-height: 1; color: var(--tc, var(--brand)); transform: rotate(-1.5deg); vertical-align: baseline; white-space: nowrap; animation: herePulse 2.2s ease-in-out infinite; }
@keyframes herePulse { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }

/* radar card */
.radar-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); padding: 26px 28px; }
.radar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.radar-head .scale { font-family: var(--mono); font-size: 11px; color: var(--muted-3); }
.radar-mount { position: relative; }
.radar-mount svg { width: 100%; height: auto; display: block; animation: fadepop .7s ease both; }
@keyframes fadepop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.radar-hit { cursor: pointer; }
.radar-tip {
  position: absolute; z-index: 6; transform: translate(-50%, -100%);
  pointer-events: none; white-space: nowrap;
  background: #101B33; color: var(--ink); border: 1px solid rgba(0, 220, 255, .22);
  border-radius: 10px; padding: 9px 12px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
  animation: tipIn .14s ease both;
}
@keyframes tipIn { from { opacity: 0; } to { opacity: 1; } }
.radar-tip::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #101B33;
}
.radar-tip .rt-label { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.radar-tip .rt-score { font-family: var(--mono); font-size: 13px; font-weight: 600; display: flex; align-items: baseline; gap: 7px; }
.radar-tip .rt-score i { color: rgba(245, 248, 251, .5); font-style: normal; font-size: 10.5px; }
.radar-tip .rt-score em { font-style: normal; font-size: 11px; font-weight: 600; }
.radar-tip .rt-detail { font-size: 11px; color: rgba(245, 248, 251, .72); line-height: 1.4; max-width: 230px; white-space: normal; }
.radar-tip[hidden] { display: none; }

/* dimension bar chart: bars rise, values fade in, neon glow */
.dim-bar { transform-box: fill-box; transform-origin: center bottom; animation: barRise .7s cubic-bezier(.2, .7, .2, 1) both; filter: drop-shadow(0 0 7px rgba(0, 220, 255, .16)); }
@keyframes barRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart-val { animation: valIn .45s ease both; }
@keyframes valIn { from { opacity: 0; } to { opacity: 1; } }

/* strengths / gaps / start-here */
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; }
.panel-label { font-family: var(--mono); font-size: 12px; letter-spacing: .10em; text-transform: uppercase; font-weight: 500; }
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.bar-name { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.bar-val { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.bar-track { height: 6px; border-radius: 4px; background: rgba(245, 248, 251, .11); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.panel-empty { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.sh-card { background: linear-gradient(160deg, var(--surface), #071826); border: 1px solid rgba(0, 220, 255, .28); border-radius: 16px; box-shadow: var(--shadow-card), 0 0 50px rgba(0, 220, 255, .06); padding: 26px 30px; display: flex; flex-direction: column; margin-bottom: 24px; }
.sh-card p { max-width: 860px; }
.sh-badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: var(--brand); color: #050810; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; font-weight: 700; padding: 5px 11px; border-radius: 20px; margin-bottom: 16px; }
.sh-card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.sh-card p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--grey); }
.sh-card .btn { margin-top: auto; align-self: flex-start; }

/* roadmap */
.roadmap-card { margin-bottom: 24px; position: relative; }
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.roadmap.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roadmap.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* connector runs from the centre of node 1 to the centre of the LAST node; energy flows */
.roadmap .connector {
  position: absolute; top: 18px; height: 2px; left: 19px; right: calc((100% - 72px) / 4 - 19px);
  background: linear-gradient(90deg, var(--stage2), var(--stage3), var(--stage4), var(--stage2));
  background-size: 200% 100%;
  animation: connectorFlow 5s linear infinite;
  opacity: .6;
}
.roadmap.cols-3 .connector { right: calc((100% - 48px) / 3 - 19px); }
.roadmap.cols-2 .connector { right: calc((100% - 24px) / 2 - 19px); }
@keyframes connectorFlow { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.rm-step { position: relative; }
.rm-node { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 15px; margin-bottom: 16px; position: relative; z-index: 1; box-shadow: 0 0 14px rgba(0, 220, 255, .18); }
.rm-h { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand); margin-bottom: 7px; }
.rm-t { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.rm-d { font-size: 13px; line-height: 1.5; color: var(--muted); }
.rm-s { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--muted); background: rgba(245, 248, 251, .05); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 8px; }

/* ----- roadmap: compact vertical timeline, rail + numbered steps ----- */
.rmv { position: relative; display: flex; flex-direction: column; gap: 14px; }
.rmv::before {
  content: ""; position: absolute; left: 19px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(180deg, var(--stage2), var(--stage3), var(--stage4));
  opacity: .40;
}
.rmv-step {
  position: relative; margin-left: 46px;
  background: rgba(245, 248, 251, .03);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px 18px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.rmv-step.in { opacity: 1; transform: none; }
.rmv-num {
  position: absolute; left: -46px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.rmv-step.in .rmv-num { background: var(--brand); color: #050810; box-shadow: 0 0 16px rgba(0, 220, 255, .45); }
.rmv-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.rmv-ht { flex: 1; min-width: 0; }
.rmv-hz { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .10em; color: var(--brand); margin-bottom: 4px; }
.rmv-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.rmv-desc { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--grey); max-width: 900px; }
.rmv-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rmv-action {
  position: relative; background: rgba(245, 248, 251, .04);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px 10px 27px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3);
}
.rmv-action::before { content: "▸"; position: absolute; left: 12px; top: 10px; color: var(--brand); font-size: 11px; }
.rm-del { margin-top: 13px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.rm-del span { display: block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase; color: var(--brand); margin-bottom: 3px; }
/* human-in-the-loop tip: violet accent (People first, AI second) */
.rm-tip { margin-top: 11px; padding: 10px 14px; border-radius: 10px; background: rgba(124, 58, 237, .09); border: 1px solid rgba(124, 58, 237, .24); border-left: 3px solid var(--violet); font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.rm-tip b { display: block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #A78BFA; margin-bottom: 3px; }
/* roadmap intro + flash-assessment note */
.roadmap-intro { margin: -10px 0 22px; font-size: 14px; line-height: 1.55; color: var(--grey); max-width: 760px; }
.roadmap-intro b { color: var(--ink-2); font-weight: 600; }
.flash-note {
  margin: 30px auto 12px; max-width: 780px; padding: 15px 20px;
  border-radius: 12px; text-align: center; font-size: 13.5px; line-height: 1.55; color: var(--grey);
  background: color-mix(in srgb, var(--brand) 6%, transparent); border: 1px solid rgba(0, 220, 255, .22);
}
.flash-note b { color: var(--ink); }
@media (max-width: 760px) {
  .rmv::before { display: none; }
  .rmv-step { margin-left: 0; padding-top: 18px; }
  .rmv-num { position: static; margin-bottom: 12px; }
  .rmv-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rmv-step { opacity: 1; transform: none; transition: none; }
}

/* footer CTA */
/* final CTA: light "billboard" over an industrial photo, like the landing page */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background-image:
    linear-gradient(rgba(245, 248, 251, .60), rgba(245, 248, 251, .60)),
    url("assets/cta-bg.jpg");
  background-size: cover; background-position: center;
  border: 1px solid rgba(5, 8, 16, .14); border-radius: 20px;
  padding: clamp(40px, 6vw, 74px) clamp(26px, 5vw, 56px);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 248, 251, .28) 0%, rgba(245, 248, 251, .50) 100%);
}
.cta > * { position: relative; z-index: 1; }
.cta h3 { margin: 0 auto; max-width: 640px; font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #10141B; }
.cta p { margin: 16px auto 30px; max-width: 560px; font-size: 16px; line-height: 1.5; color: #3A4658; }
.cta .btn { white-space: nowrap; }
.cta .btn-primary { background: #0E1A2E; color: #FFFFFF; box-shadow: 0 12px 30px rgba(5, 8, 16, .30); animation: none; }
.cta .btn-primary:hover { background: #1A2A44; box-shadow: 0 14px 36px rgba(5, 8, 16, .40); transform: translateY(-1px); }

/* --------------------- print header & disclaimer -------------------- */
.print-head { display: none; }
.disclaimer {
  margin: 34px auto 0; max-width: 860px;
  font-size: 11.5px; line-height: 1.6; color: var(--muted-3);
  text-align: center;
}

/* theme toggle (bottom-left) */
.theme-toggle {
  position: fixed; bottom: 14px; left: 16px; z-index: 40;
  font-family: var(--mono); font-size: 11px; color: var(--muted-3);
  cursor: pointer; opacity: .6;
  background: rgba(10, 18, 32, .9); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 5px 9px;
  transition: opacity .15s ease, color .15s ease;
}
.theme-toggle:hover { opacity: 1; color: var(--brand); }
@media print { .theme-toggle { display: none !important; } }

/* ------------------------------ modal ------------------------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(2, 4, 10, .72); backdrop-filter: blur(5px); animation: fade .25s ease; }
.modal-overlay[hidden] { display: none; }
.modal { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-pop); padding: 32px; }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal-head .modal-lock { margin-bottom: 0; }
.modal-mark { display: block; border-radius: 7px; }
.modal-lock { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 8px 22px rgba(0, 220, 255, .28); }
.modal h2 { margin: 0 0 8px; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.modal .sub { margin: 0 0 22px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--grey); }
.field input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--surface-2); }
.field input::placeholder { color: var(--muted-3); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 220, 255, .16); }
.form-err { font-size: 13px; color: #FF4D6A; min-height: 1em; }
.modal-actions { margin-top: 4px; }
.modal-actions .btn { width: 100%; }
.modal .fineprint { margin: 14px 0 0; font-family: var(--mono); font-size: 10.5px; color: var(--muted-3); text-align: center; line-height: 1.6; }

/* --------------------------- responsive ----------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .grid-a { grid-template-columns: 1fr; }
  .grid-b { grid-template-columns: 1fr; }
  .roadmap, .roadmap.cols-2, .roadmap.cols-3 { grid-template-columns: 1fr 1fr; }
  .roadmap .connector { display: none; }
}
@media (max-width: 560px) {
  .res-head { flex-direction: column; align-items: flex-start; }
  .pyramid-body { flex-direction: column; }
  .roadmap, .roadmap.cols-2, .roadmap.cols-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .brand-line2 { display: none; }
  /* question view: tighter option cards + nav for touch on small screens */
  .option { padding: 16px 16px; gap: 13px; }
  .option .radio { width: 22px; height: 22px; }
  .option .opt-label { font-size: 15.5px; }
  .option .opt-tag { display: none !important; }
  .q-nav { margin-top: 28px; gap: 12px; }
  .q-nav .btn { padding-left: 16px; padding-right: 16px; }
  .hero-figure-img { max-width: 320px; }
}

/* ----------------------------- effects ------------------------------ */
.card, .radar-card, .sh-card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover, .radar-card:hover, .sh-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 1px 2px rgba(0, 0, 0, .4), 0 18px 42px rgba(0, 0, 0, .5);
}
.pyramid-card { transition: transform .18s ease, box-shadow .18s ease; }
.pyramid-card:hover { transform: translateY(-2px); }

/* intro load sequence: copy column staggers in, teaser rises then floats */
#view-intro.active .hero > div:first-child > * { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
#view-intro.active .hero > div:first-child > *:nth-child(1) { animation-delay: .02s; }
#view-intro.active .hero > div:first-child > *:nth-child(2) { animation-delay: .08s; }
#view-intro.active .hero > div:first-child > *:nth-child(3) { animation-delay: .16s; }
#view-intro.active .hero > div:first-child > *:nth-child(4) { animation-delay: .21s; }
#view-intro.active .hero > div:first-child > *:nth-child(5) { animation-delay: .27s; }
#view-intro.active .hero > div:first-child > *:nth-child(6) { animation-delay: .33s; }
#view-intro.active .hero > div:first-child > *:nth-child(7) { animation-delay: .39s; }
#view-intro.active .hero > div:first-child > *:nth-child(8) { animation-delay: .46s; }
#view-intro.active .hero-figure-img {
  animation: riseUp .7s .25s cubic-bezier(.2, .7, .2, 1) both,
             floatUp 7s ease-in-out 1.4s infinite alternate;
}
@keyframes riseUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatUp { from { transform: translateY(0); } to { transform: translateY(-10px); } }

#view-results.active > .wrap > * { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
#view-results.active > .wrap > *:nth-child(1) { animation-delay: .04s; }
#view-results.active > .wrap > *:nth-child(2) { animation-delay: .10s; }
#view-results.active > .wrap > *:nth-child(3) { animation-delay: .16s; }
#view-results.active > .wrap > *:nth-child(4) { animation-delay: .24s; }
#view-results.active > .wrap > *:nth-child(5) { animation-delay: .32s; }
#view-results.active > .wrap > *:nth-child(6) { animation-delay: .40s; }
#view-results.active > .wrap > *:nth-child(7) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.btn-primary:hover { box-shadow: 0 10px 30px rgba(0, 220, 255, .40); }

@media (prefers-reduced-motion: reduce) {
  #view-intro.active .hero > div:first-child > *,
  #view-intro.active .hero-figure-img,
  #view-results.active > .wrap > *,
  .tier-here, .radar-mount svg, .roadmap .connector, .cta .btn-primary, .option.selected { animation: none; }
}

/* =============== LIGHT MODE: tread paper page, dark panels ============= */
body.theme-light {
  color: var(--body-light);
  background-color: var(--paper);
  background-image:
    radial-gradient(70% 50% at 80% -10%, rgba(0, 220, 255, .13) 0%, transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(124, 58, 237, .10) 0%, transparent 60%),
    var(--tread-image);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, var(--tread-size);
  background-attachment: fixed, fixed, fixed;
}
body.theme-light .topbar { background: rgba(245, 248, 251, .85); border-bottom: 1px solid rgba(5, 8, 16, .08); }
body.theme-light .brand-line1 { color: var(--ink-light); }
body.theme-light .brand-line2 { color: var(--muted-light); }
body.theme-light .topbar-right .sign { color: var(--muted-light); }
body.theme-light #view-intro { background: none; }

body.theme-light .hero h1 { color: var(--ink-light); }
body.theme-light .hero h1 .hl { color: var(--accent-light-text); }
body.theme-light .hero-sub { color: var(--body-light); }
body.theme-light .hero-meta { color: var(--muted-light); }
body.theme-light .hero-meta b { color: var(--ink-light); }
body.theme-light .hero-meta .sep { color: #B9C6D6; }
body.theme-light .hero-cta .note { color: var(--muted-light); }
body.theme-light .hero-motto .mp { color: var(--ink-light); }
body.theme-light .hero-motto .ma { color: var(--accent-light-text); }
body.theme-light .standards-label { color: var(--muted-light); }
body.theme-light .std-badge { background: #FFFFFF; border-color: rgba(5, 8, 16, .12); color: var(--muted-light); }

/* questions sit on the light page: headings flip to ink; option cards stay dark */
body.theme-light .q-progress-head .step { color: var(--muted-light); }
body.theme-light .q-progress-head .pct { color: var(--accent-light-text); }
body.theme-light .q-track { background: rgba(5, 8, 16, .10); }
body.theme-light .q-ref { color: var(--accent-light-text); }
body.theme-light .q-text { color: var(--ink-light); }

/* results: page-level text goes dark, cards stay midnight */
body.theme-light .res-eyebrow { color: var(--muted-light); }
body.theme-light .res-headline { color: var(--ink-light); }
body.theme-light .res-prepared { color: var(--muted-light); }
body.theme-light .stage-desc { color: var(--body-light); }
body.theme-light .btn-ghost { color: var(--muted-light); border-color: rgba(5, 8, 16, .20); }
body.theme-light .btn-ghost:hover { background: rgba(5, 8, 16, .05); }
body.theme-light .theme-toggle { background: rgba(245, 248, 251, .92); border-color: rgba(5, 8, 16, .15); color: var(--muted-light); }
/* flash note sits on the light page background in light mode - keep it readable */
body.theme-light .flash-note { background: rgba(0, 140, 182, .07); border-color: rgba(0, 140, 182, .28); color: var(--body-light); }
body.theme-light .flash-note b { color: var(--ink-light); }
body.theme-light .disclaimer { color: var(--muted-light); }

/* ------------------------------ print ------------------------------- */
/* "Download PDF" = clean, professional light report. */
@page { margin: 12mm; }
@media print {
  :root {
    --ink: #101418; --ink-2: #1F2126; --ink-3: #2A2E34;
    --grey: #3A3F46; --muted: #5A6069; --muted-2: #6B7280; --muted-3: #7C838D;
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #FFFFFF;
    --line: rgba(20, 24, 30, .12); --line-2: rgba(20, 24, 30, .18);
    --brand: #0098B8;
  }
  body { background: #fff; }
  .topbar, .cta .btn, .modal-overlay, .theme-toggle, #restart-btn { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .card, .radar-card, .sh-card, .pyramid-card, .cta { box-shadow: none; break-inside: avoid; background: #fff; border: 1px solid #D8DCE2; }
  .roadmap-card::before { display: none; }
  #view-results.active > .wrap > * { animation: none; }

  /* report header */
  .print-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid #101418; margin-bottom: 20px; }
  .print-head .ph-text b { display: block; font-family: var(--display); font-size: 15px; font-weight: 900; color: #101418; letter-spacing: .01em; }
  .print-head .ph-text span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #6B7280; }
  .print-head .ph-date { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #6B7280; }

  /* dimension chart on paper */
  .dim-bar { animation: none; filter: none; }
  .chart-val { animation: none; fill: #101418; }
  .chart-grid { stroke: #C9D2DC; }
  .chart-base { stroke: #B8C0CC; }
  .radar-mount svg { animation: none; }

  /* roadmap: simple stacked steps */
  .rmv::before { display: none; }
  .rmv { gap: 14px; }
  .rmv-step { margin-left: 0; opacity: 1 !important; transform: none !important; background: #fff; border: 1px solid #D8DCE2; break-inside: avoid; }
  .rmv-num { position: static; margin-bottom: 8px; background: #fff; color: #101418; border-color: #101418; box-shadow: none !important; }
  .rmv-step.in .rmv-num { background: #fff; color: #101418; }
  .rmv-title { color: #101418; }
  .rmv-desc { color: #3A3F46; }
  .rmv-action { background: #fff; border-color: #D8DCE2; color: #2A2E34; }
  .rmv-action::before { color: #0098B8; }
  .rm-del { border-top-color: #D8DCE2; color: #3A3F46; }
  .rm-del span { color: #0098B8; }
  .rm-tip { background: #F6F3FF; border-color: #D9CCF5; border-left-color: #6D28D9; color: #2A2E34; break-inside: avoid; }
  .rm-tip b { color: #6D28D9; }
  .rm-s { background: #fff; border-color: #D8DCE2; }

  .cta { background: #fff !important; border-color: #D8DCE2; }
  .cta h3 { color: #101418; }
  .cta p { color: #3A3F46; }
  .flash-note { background: #F4FBFE; border-color: #BFE6F2; color: #3A3F46; break-inside: avoid; }
  .flash-note b { color: #101418; }
  .tier-here { animation: none; }
  .disclaimer { color: #6B7280; text-align: left; break-inside: avoid; margin-top: 20px; border-top: 1px solid #D8DCE2; padding-top: 10px; }
}
