/* Layout: the pcibio.ai rhythm — navy bar, light bands alternating white / navy-50, one idea per band.
     Single light theme by choice (the live site is light); every colour is set explicitly from these tokens. */
  :root {
    --navy: #0b2e5f;          /* brand navy (platform token navy-800) */
    --navy-deep: #061a38;
    --navy-50: #eef3fb;
    --navy-100: #dbe6f5;
    --navy-300: #8aa6cc;
    --blue: #1b4fd8;          /* action blue (pcibio.ai buttons) */
    --teal: #0a7d68;          /* AI accent, text weight */
    --teal-bright: #2ecc9a;   /* AI accent, marks */
    --ink: #1f2d3d;
    --ink-2: #45566b;
    --ink-3: #64748b;
    --line: #dfe5ee;
    --paper: #ffffff;
    --ground: #f6f8fb;
    --glass: #f6f7f4;
    --abnormal: #c0392b;
    --oe: #c0392b; --wt: #1f8a5b; --null: #1b4fd8;   /* control-line marks: red / green / blue */
    --g0: #3b6fd8; --g1: #e2b100; --g2: #e07b00; --g3: #c62d2d;  /* nucleus grades 0 / 1+ / 2+ / 3+ */
    --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --r: 10px;
    --shadow: 0 1px 2px rgba(11,46,95,.06), 0 8px 24px rgba(11,46,95,.07);
    color-scheme: light;
  }
  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); }
  img { max-width: 100%; display: block; }
  a { color: var(--blue); }
  h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -0.02em; }
  p { margin: 0; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
  .band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .inner { max-width: 1160px; margin: 0 auto; padding-block: 64px; }
  .white { background: var(--paper); }
  .tint { background: var(--navy-50); }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
  .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-bright); }
  h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.15; max-width: 34ch; }
  .lede { font-size: 1.06rem; color: var(--ink-2); max-width: 70ch; margin-top: 12px; }

  /* nav */
  .nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy); }
  .nav .bar { max-width: 1160px; margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
  .logo img { width: 36px; height: 36px; display: block; flex: none; }
  .logo .wm { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1; }
  .logo .ai { background: linear-gradient(90deg, #7fb0ff, #3d7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .nav nav { display: flex; gap: 4px; }
  .nav .brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
  .nav .site-link { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; line-height: 1; padding: 7px 11px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; white-space: nowrap; }
  .nav .site-link:hover, .nav .site-link:focus-visible { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
  .nav nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 6px; }
  .nav nav a:hover, .nav nav a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }

  .btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 14px 20px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
  .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(27,79,216,.22); }
  .btn-primary:hover { background: #143fae; }
  .btn-quiet { color: var(--blue); border-color: rgba(27,79,216,.3); background: var(--paper); }
  .btn-quiet:hover { border-color: var(--blue); }

  /* ---------- 1 · hero ---------- */
  .hero .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-block: 56px 64px; }
  .chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--teal); background: #ebfbf5; border: 1px solid rgba(46,204,154,.4); padding: 6px 12px; border-radius: 99px; margin-bottom: 24px; }
  .chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); }
  .hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.08; }
  .hero .lede { font-size: 1.15rem; margin-top: 22px; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

  /* the slide card: three control discs on glass, each with a callout of what its cells look like */
  .slide { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px 22px 18px; }
  .slide-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
  .glass { background: var(--glass); border: 1px solid #e8e9e3; border-radius: 8px; padding: 18px 14px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .disc { position: relative; aspect-ratio: 1; max-width: 100%; }
  .disc img { width: 100%; height: 100%; border-radius: 50%; }
  .disc .spot { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid var(--navy); border-radius: 3px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
  .callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
  .callout { position: relative; padding-top: 26px; display: flex; flex-direction: column; }
  .callout::before { content: ""; position: absolute; left: 50%; top: -10px; height: 36px; border-left: 2px solid var(--navy); }
  .callout .box { flex: 1; display: flex; flex-direction: column; border: 2px solid var(--navy); border-radius: 8px; overflow: hidden; background: var(--paper); }
  .callout .box img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .callout .lab { flex: 1; padding: 9px 10px 10px; border-top: 1px solid var(--line); }
  .callout .lab b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
  .callout .lab b i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
  .callout .lab span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; min-height: 2.8em; }
  .slide-foot { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

  /* ---------- 2 · the problem (stat tiles) ---------- */
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
  .stat { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .stat .big { font-size: clamp(2.6rem, 4.2vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
  .stat .big small { font-size: .45em; font-weight: 500; margin-left: 4px; color: var(--ink-2); letter-spacing: 0; }
  .stat .says { font-size: 15px; color: var(--ink-2); max-width: 44ch; }
  .stat .says strong { color: var(--ink); font-weight: 600; }
  .waffle { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; margin-top: auto; padding-top: 6px; }
  .waffle i { aspect-ratio: 1; border-radius: 50%; background: var(--navy-100); }
  .waffle i.on { background: var(--navy); }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ink-3); }
  .legend span { display: inline-flex; align-items: center; gap: 7px; }
  .legend i { width: 9px; height: 9px; border-radius: 50%; }
  .scale { margin-top: auto; padding-top: 10px; }
  .scale svg { width: 100%; height: auto; overflow: visible; }
  .adds { margin-top: 18px; background: var(--navy); border-radius: 16px; padding: 22px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; color: #fff; }
  .adds .eyebrow { color: #8ec5ff; margin-bottom: 8px; }
  .adds .big { font-size: clamp(2.2rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
  .adds .big small { font-size: .5em; font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: 0; margin-left: 4px; }
  .adds p { color: rgba(255,255,255,.84); font-size: 15.5px; max-width: 60ch; }
  .adds p strong { color: #fff; font-weight: 600; }
  .stat.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
  .stat.dark .eyebrow { color: #8ec5ff; margin-bottom: 0; }
  .stat.dark .big { color: #fff; }
  .stat.dark .says { color: rgba(255,255,255,.82); }
  .stat.dark .says strong { color: #fff; }
  .minidiscs { display: flex; gap: 10px; }
  .minidiscs img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); object-fit: cover; }
  .rule-dash { height: 3px; background: repeating-linear-gradient(90deg, var(--teal-bright) 0 22px, transparent 22px 30px); border-radius: 2px; }
  .sources { font-size: 12px; color: var(--ink-3); margin-top: 16px; max-width: 110ch; }

  /* ---------- 3 · how it works ---------- */
  .how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 32px; align-items: start; }
  .steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .step { width: 100%; text-align: left; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
  .step:hover { border-color: var(--navy-300); }
  .step[aria-selected="true"] { border-color: var(--navy); box-shadow: var(--shadow); }
  .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--mono); color: var(--navy); background: var(--navy-50); border: 1px solid var(--navy-100); }
  .step[aria-selected="true"] .num { background: var(--navy); color: #fff; border-color: var(--navy); }
  .step .t { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
  .step .d { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.55; }
  .stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-height: 440px; display: grid; }
  .panel { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
  .panel[hidden] { display: none !important; }
  .caption { font-size: 13.5px; color: var(--ink-3); text-align: center; }

  /* panel 1 · upload */
  .drop { background: var(--paper); border: 2px dashed var(--navy-300); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
  .glass-slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
  .gslide { background: var(--glass); border: 1px solid #e6e7e1; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(11,46,95,.05); display: flex; flex-direction: column; }
  .gslide .pic { height: 230px; background: var(--glass); padding: 14px; overflow: hidden; }
  .gslide .pic img { width: 100%; height: 100%; object-fit: contain; }
  .gslide .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid #e6e7e1; background: var(--glass); font-size: 13px; }
  .gslide .meta b { font-weight: 600; display: flex; align-items: center; gap: 7px; }
  .gslide .meta b i { width: 9px; height: 9px; border-radius: 50%; }
  .ok { color: var(--teal); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }
  .drop .hint { font-size: 13.5px; color: var(--ink-3); text-align: center; }

  /* panel 2 · mark */
  .marked { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
  .mcard { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .mcard h4 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .mrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: var(--glass); border-radius: 8px; padding: 10px 8px; }
  .mrow figure { margin: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; }
  .mrow .ring { position: relative; width: 100%; aspect-ratio: 1; }
  .mrow .ring img { width: 100%; height: 100%; border-radius: 50%; }
  .mrow .ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--c); }
  .mrow figcaption { font-size: 11.5px; font-weight: 600; color: var(--c); }
  .tumorbox { position: relative; border-radius: 8px; overflow: hidden; }
  .tumorbox img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .tumorbox .sel { position: absolute; left: 24%; top: 22%; width: 52%; height: 50%; border: 2.5px dashed var(--teal-bright); border-radius: 3px; box-shadow: 0 0 0 9999px rgba(11,46,95,.18); }
  .tumorbox .sel::before, .tumorbox .sel::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--paper); border: 2.5px solid var(--teal-bright); border-radius: 2px; }
  .tumorbox .sel::before { left: -7px; top: -7px; } .tumorbox .sel::after { right: -7px; bottom: -7px; }
  .tumorbox .tag { position: absolute; left: 24%; top: calc(22% - 30px); font: 600 11.5px var(--sans); color: #fff; background: var(--teal); padding: 4px 8px; border-radius: 4px; }

  /* panel 3 · analyze */
  .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pair figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .pair img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .pair figcaption { font-size: 12.5px; color: var(--ink-3); padding: 8px 12px; }
  .result { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
  .result .call { display: flex; flex-direction: column; gap: 2px; }
  .result .call small { font-size: 12px; color: var(--ink-3); }
  .result .call b { font-size: 19px; font-weight: 600; color: var(--abnormal); }
  .result .share { font: 600 26px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
  .result .share small { display: block; font: 500 12px var(--sans); color: var(--ink-3); margin-top: 4px; text-align: right; }

  /* panel 4 · report */
  .paper { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 10px; max-width: 420px; margin: 0 auto; position: relative; }
  .paper img { width: 100%; border-radius: 2px; }
  .signed { position: absolute; right: -10px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--teal); }

  /* ---------- 4 · why TriControl ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
  .card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
  .card .art { height: 200px; background: var(--glass); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
  .card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
  .card .k { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
  .card h3 { font-size: 19px; font-weight: 600; }
  .card p { font-size: 15px; color: var(--ink-2); }
  .art-trio { display: flex; align-items: center; justify-content: center; height: 100%; }
  .art-trio img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--paper); box-shadow: 0 4px 14px rgba(11,46,95,.16); margin-left: -18px; }
  .art-trio img:first-child { margin-left: 0; }
  .art-region img, .art-dots img { width: 100%; height: 100%; object-fit: cover; }
  .art-region .sel { position: absolute; left: 22%; top: 20%; width: 56%; height: 58%; border: 2.5px dashed var(--teal-bright); box-shadow: 0 0 0 9999px rgba(11,46,95,.22); }
  .art-region .sel::before, .art-region .sel::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--paper); border: 2.5px solid var(--teal-bright); border-radius: 2px; }
  .art-region .sel::before { left: -7px; top: -7px; } .art-region .sel::after { right: -7px; bottom: -7px; }
  .art-dots .lens { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; background: rgba(255,255,255,.94); border-radius: 99px; padding: 7px 12px; font-size: 12px; color: var(--ink-2); box-shadow: 0 2px 8px rgba(11,46,95,.12); }
  .art-dots .lens span { display: inline-flex; align-items: center; gap: 5px; }
  .art-dots .lens i { width: 8px; height: 8px; border-radius: 50%; }

  /* ---------- 5 · products ---------- */
  .products { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
  .prod { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; gap: 28px; align-items: center; }
  .ba { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 6px; align-items: center; }
  .ba img, .ba .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
  .ba .arrow { color: var(--ink-3); text-align: center; }
  .ph { display: grid; place-items: center; background: var(--navy-50); color: var(--navy-300); }
  .prod .where { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
  .prod h3 { font-size: 21px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
  .prod p { font-size: 15px; color: var(--ink-2); margin-top: 8px; max-width: 56ch; }
  .pill { font: 600 11px/1 var(--sans); letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; text-transform: uppercase; }
  .pill.live { color: var(--teal); background: #ebfbf5; }
  .pill.lab { color: var(--navy); background: var(--navy-50); }
  .pill.soon { color: #8a5a00; background: #fdf3dc; }
  .markers { font: 500 12.5px var(--mono); color: var(--ink-3); margin-top: 8px; }
  .muted { opacity: .78; }
  .btn[aria-disabled="true"] { color: var(--ink-3); border-color: var(--line); background: var(--paper); cursor: default; box-shadow: none; }

  /* ---------- 6 · integration ---------- */
  .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
  .icard { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
  .icard h3 { font-size: 20px; font-weight: 600; }
  .icard p { color: var(--ink-2); font-size: 15px; }
  .icard ul { list-style: none; margin: auto 0 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
  .icard li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 15px; }
  .state { font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; padding: 5px 0; text-align: center; border-radius: 99px; }
  .state.now { color: var(--teal); background: #ebfbf5; }
  .state.soon { color: var(--ink-3); background: #eef1f5; }

  footer { background: var(--navy); color: rgba(255,255,255,.78); }
  footer .inner { padding-block: 30px calc(30px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
  footer strong { color: #fff; font-weight: 600; }

  @media (max-width: 980px) {
    .hero .inner, .how { grid-template-columns: minmax(0, 1fr); }
    .stage { position: static; min-height: 0; }
    .cards { grid-template-columns: minmax(0, 1fr); }
    .prod { grid-template-columns: minmax(0, 1fr); }
    .two, .stats { grid-template-columns: minmax(0, 1fr); }
    .adds { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  }
  @media (max-width: 640px) {
    .nav nav { display: none; }
    .inner { padding-block: 60px; }
    .glass, .callouts { gap: 8px; }
    .callout .lab span { display: none; }
    .marked, .glass-slides, .pair { grid-template-columns: minmax(0, 1fr); }
    .waffle { gap: 3px; }
    .stat { padding: 24px 20px; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== shared across pages (22 Oct 2026) ===== */
.nav nav a.cta { color: #fff; background: var(--blue); margin-left: 8px; font-weight: 600; }
.nav nav a.cta:hover { background: #143fae; }
.pagehead .inner { padding-block: 56px 40px; }
.pagehead h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; max-width: 26ch; }
.next { background: var(--navy); }
.next .inner { padding-block: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.next h2 { color: #fff; max-width: 30ch; }
.next p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 60ch; }
.next .links { display: flex; flex-wrap: wrap; gap: 12px; }
.next .btn-quiet { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.next .btn-quiet:hover { border-color: #fff; }
footer .inner a { color: rgba(255,255,255,.85); text-decoration: none; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* reading room (platform page) */
.rr { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.rr-frame { position: relative; background: #0d1626; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; max-width: 100%; }
.rr-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.rr-top { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: rgba(13,22,38,.86); color: #c9d4e8; font: 500 12px var(--mono); }
.rr-top b { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13px; }
.rr-top .mag { margin-left: auto; display: flex; gap: 4px; }
.rr-top .mag span { border: 1px solid rgba(201,212,232,.35); border-radius: 5px; padding: 3px 7px; }
.rr-top .mag span.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.rr-card { position: absolute; right: 14px; top: 58px; width: min(260px, 46%); background: rgba(255,255,255,.97); border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.rr-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rr-card small { font-size: 11.5px; color: var(--ink-3); }
.rr-card .call { font-size: 17px; font-weight: 600; color: var(--abnormal); line-height: 1.2; }
.rr-card .shr { font-size: 13px; color: var(--ink-2); }
.rr-card .bar { height: 8px; border-radius: 4px; background: #e8ecf2; overflow: hidden; }
.rr-card .bar i { display: block; height: 100%; width: 94%; background: var(--g3); }
.rr-card .min { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font: 600 16px/1 var(--sans); color: var(--ink); cursor: pointer; }
.rr-pill { position: absolute; right: 14px; top: 58px; background: rgba(255,255,255,.97); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--abnormal); box-shadow: 0 4px 14px rgba(0,0,0,.25); border: 0; cursor: pointer; }
.rr-box { position: absolute; left: 18%; top: 34%; width: 38%; height: 40%; border: 2.5px dashed var(--teal-bright); box-shadow: 0 0 0 9999px rgba(13,22,38,.25); border-radius: 3px; }
.rr-box span { position: absolute; left: -2px; top: -28px; background: var(--teal); color: #fff; font: 600 11.5px var(--sans); padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.rr-report { position: absolute; inset: 56px 18% 62px; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); overflow: hidden; }
.rr-report img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rr-sign { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13,22,38,.55); }
.rr-sign .dlg { background: #fff; border-radius: 12px; padding: 20px 22px; width: min(340px, 86%); display: flex; flex-direction: column; gap: 12px; color: var(--ink); box-shadow: 0 12px 34px rgba(0,0,0,.4); }
.rr-sign .dlg h4 { margin: 0; font-size: 17px; }
.rr-sign .dlg label { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.rr-sign .dlg .btn { justify-content: center; }
.rr-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: rgba(13,22,38,.86); }
.dots { display: flex; align-items: center; gap: 6px; }
.dots button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #8aa6cc; background: transparent; color: #c9d4e8; font: 600 11px var(--mono); cursor: pointer; display: grid; place-items: center; padding: 0; }
.dots button.done { background: var(--wt); border-color: var(--wt); color: #fff; }
.dots button[aria-current="step"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.dots .now { color: #fff; font-size: 13px; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.rr-next { margin-left: auto; background: #1d4ed8; color: #fff; border: 0; border-radius: 8px; font: 600 13.5px var(--sans); padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.rr-side { display: flex; flex-direction: column; gap: 14px; }
.rr-side .note { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.rr-side .note b { display: block; font-size: 15px; margin-bottom: 4px; }
.rr-side .note p { font-size: 14px; color: var(--ink-2); }
.rr-side ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.rr-side ol li.on { color: var(--ink); font-weight: 600; }

/* explore a result (platform page) */
.explore { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 360px); gap: 44px; align-items: center; }
.field { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; aspect-ratio: 1; max-width: 520px; width: 100%; }
.fbar { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: flex-start; flex-direction: column; gap: 3px; pointer-events: none; }
.fbar i { display: block; width: calc((100% + 28px) * 0.5 / 1.4); min-width: 0; height: 4px; background: #061a38; border-radius: 2px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.fbar span { font: 600 11px var(--mono); color: #061a38; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.field img, .field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.field canvas { cursor: crosshair; }
.tip { position: absolute; pointer-events: none; background: var(--navy-deep); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.tip b { font-weight: 600; }
.seg { display: inline-flex; background: var(--navy-50); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; font: 600 13.5px var(--sans); color: var(--ink-2); padding: 9px 14px; border-radius: 7px; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--navy); box-shadow: 0 1px 3px rgba(11,46,95,.15); }
.counts { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.counts .r { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.counts .r i { width: 12px; height: 12px; border-radius: 50%; }
.counts .r i.ring { background: transparent; border: 2px solid var(--g0); }
.counts .tot { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.heatkey { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.heatkey .hk { display: flex; flex-direction: column; gap: 4px; max-width: 260px; }
.heatkey .ramp { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #fef3c7, #fcd34d, #f59e0b, #ea580c, #b91c1c); }
.heatkey .ticks { display: flex; justify-content: space-between; font: 500 11px var(--mono); }

/* annotated report */
.anno { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; }
.sheet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 10px; }
.sheet img { width: 100%; }
.pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 11px/22px var(--mono); text-align: center; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(11,46,95,.25); }
.anno ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: a; }
.anno li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.anno li::before { counter-increment: a; content: counter(a); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 11.5px/24px var(--mono); text-align: center; margin-top: 2px; }
.anno li b { display: block; font-size: 16px; }
.anno li span { color: var(--ink-2); font-size: 15px; }

/* safeguards, security, science */
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.guard { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.guard .when { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.guard h3 { font-size: 17px; font-weight: 600; }
.guard p { font-size: 14.5px; color: var(--ink-2); }
.guard .says { margin-top: auto; background: var(--ground); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; color: var(--ink); }
.guard .says b { color: var(--ink-2); font-weight: 600; }
.sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sec div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec div:nth-child(3n) { border-right: 0; }
.sec div:nth-last-child(-n+3) { border-bottom: 0; }
.sec b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.sec span { font-size: 14px; color: var(--ink-2); }
.pubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.pub { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pub .j { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.pub h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.pub p { font-size: 14.5px; color: var(--ink-2); }
.pub a { margin-top: auto; font-weight: 600; text-decoration: none; }
.criteria { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.criteria .j { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.criteria h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 10px; }
.criteria p { font-size: 15px; color: var(--ink-2); margin-top: 8px; max-width: 80ch; }
.criteria h4 { margin: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.criteria ol { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.criteria ol a { white-space: nowrap; }

/* pilot + FAQ */
.pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start; }
.steps-p { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: p; }
.steps-p li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.steps-p li::before { counter-increment: p; content: counter(p); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font: 600 14px var(--mono); border: 1px solid var(--navy-100); }
.steps-p b { display: block; font-size: 16px; }
.steps-p span { font-size: 14.5px; color: var(--ink-2); }
form.req { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form.req label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
form.req label.wide { grid-column: 1 / -1; }
form.req input, form.req select, form.req textarea { font: 400 15px var(--sans); color: var(--ink); border: 1px solid #c9d2df; border-radius: 8px; padding: 11px 12px; background: #fff; min-height: 44px; }
form.req textarea { min-height: 92px; resize: vertical; }
form.req .btn { grid-column: 1 / -1; justify-content: center; }
form.req .fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
form.req .done { grid-column: 1 / -1; background: #ebfbf5; color: var(--teal); border-radius: 8px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; max-width: 75ch; }

@media (max-width: 980px) {
  .rr, .explore, .anno, .pilot, .next .inner { grid-template-columns: minmax(0, 1fr); }
  .guards, .pubs { grid-template-columns: minmax(0, 1fr); }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .sec div:last-child { border-bottom: 0 !important; }
}
@media (max-width: 640px) {
  .rr-frame { aspect-ratio: 4 / 5; }
  .rr-card { width: calc(100% - 28px); }
  .dots .now { display: none; }
  form.req { grid-template-columns: minmax(0, 1fr); }
}

/* "Why it matters": the product slide beside the heading */
.whyhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: center; }
.product { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.product img { width: 100%; max-width: 520px; height: auto; }
.product figcaption { font: 500 11.5px var(--mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 980px) { .whyhead { grid-template-columns: minmax(0, 1fr); } .product img { max-width: 440px; } }

/* the product slide in the products row and on the pilot page */
.prodslide { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.prodslide img { width: 100%; height: auto; }
.prodslide figcaption { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.prodslide.wide { margin-bottom: 18px; }
.prodslide.wide img { max-width: 460px; }
.pilotleft { display: flex; flex-direction: column; }

/* Education pages (education.html, learn-*.html) */
.modnav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.objectives { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; max-width: 760px; }
.objectives .k, .quiz .k { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.objectives ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.pagehead .eyebrow a { color: inherit; text-decoration: none; }
.pagehead .eyebrow a:hover { text-decoration: underline; }
.edu-body { max-width: 780px; display: flex; flex-direction: column; gap: 48px; }
.edu-body article { display: flex; flex-direction: column; }
.secnum { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.edu-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 10px; }
.edu-body h3 { font-size: 18px; font-weight: 600; margin-top: 22px; }
.edu-body p { margin-top: 14px; color: var(--ink-2); font-size: 16px; max-width: 72ch; }
.edu-body p b { color: var(--ink); }
.edu-body dfn { font-style: normal; color: var(--ink); border-bottom: 1px dotted var(--navy-300); cursor: help; }
.edu-figure { margin: 20px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 560px; }
.edu-figure img { width: 100%; }
.edu-figure figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); }
.edu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.edu-grid figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.edu-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.edu-grid figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); }
.edu-grid figcaption b { display: block; color: var(--ink); margin-bottom: 2px; }
.edu-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; font-size: 14.5px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.edu-table th, .edu-table td { text-align: left; padding: 12px 14px; vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-2); }
.edu-table th { background: var(--navy-50); color: var(--ink); font-weight: 600; font-size: 13px; border-top: 0; }
.edu-table td b { color: var(--ink); }
.note { background: var(--navy-50); border-left: 3px solid var(--teal-bright); border-radius: 0 10px 10px 0; padding: 14px 18px; margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.note b { color: var(--ink); }
.quiz { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.quiz details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
.quiz summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.quiz ul { margin: 10px 0 2px; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; display: flex; flex-direction: column; gap: 4px; }
.quiz li.yes { color: var(--teal); font-weight: 600; }
.quiz li.yes::after { content: " ✓"; }
.cards a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.cards a.card:hover { border-color: var(--navy-300); box-shadow: var(--shadow); }
.card .tags { font: 500 12px/1.5 var(--mono); color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.video { margin-top: 28px; border-radius: 16px; overflow: hidden; background: #061a38; box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-width: 1024px; }
.video video { width: 100%; height: 100%; display: block; }
.video + .sources { margin-top: 12px; }
@media (max-width: 720px) {
  .edu-grid { grid-template-columns: minmax(0, 1fr); }
  .edu-table { display: block; overflow-x: auto; }
}

/* Footer with contact, skip link (6 Nov 2026) */
footer .inner { align-items: flex-start; }
footer .fcol { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
footer .fcol.links { flex-direction: row; flex-wrap: wrap; gap: 18px; align-items: center; }
footer .fcol.links a:hover { color: #fff; text-decoration: underline; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--paper); color: var(--navy); padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 16px; }
.notfound .inner { padding-block: 96px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; }
.notfound p { color: var(--ink-2); margin-top: 12px; max-width: 60ch; }
.notfound .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Education: interactive knowledge checks, glossary tips, module sub-navigation (6 Nov 2026) */
.quiz .q { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.quiz .qq { font-weight: 600; color: var(--ink); margin: 0; font-size: 15px; }
.quiz .opts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.quiz .opt { text-align: left; font: inherit; font-size: 14.5px; color: var(--ink-2); background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.quiz .opt:hover { border-color: var(--navy-300); }
.quiz .opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.quiz .opt:disabled { cursor: default; }
.quiz .opt.right { border-color: var(--teal); background: #ebfbf5; color: var(--teal); font-weight: 600; }
.quiz .opt.wrong { border-color: var(--abnormal); color: var(--abnormal); }
.quiz .fb { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.quiz .score { margin: 2px 0 0; font-weight: 600; color: var(--teal); font-size: 14.5px; }
.edu-body dfn { position: relative; }
.edu-body dfn:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-radius: 3px; }
.edu-body dfn:hover::after, .edu-body dfn:focus::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 6; width: max-content; max-width: 34ch; background: var(--navy-deep); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.45; padding: 8px 11px; border-radius: 6px; box-shadow: 0 6px 18px rgba(6,26,56,.25); }
.subnav { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .inner { padding-block: 0; display: flex; gap: 4px; overflow-x: auto; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a span { font: 600 11px/1 var(--mono); color: var(--teal); }
.subnav a:hover { color: var(--ink); border-bottom-color: var(--navy-300); }

/* Case studies (learn-cases.html) */
.cases { max-width: 980px; }
.case-slides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; margin-top: 20px; align-items: start; }
.case-slides figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-slides figure img { width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.case-slides figure.wide img { max-height: 420px; object-fit: cover; }
.case-slides figcaption { padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.case-slides figcaption b { display: block; color: var(--ink); }
.readout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 14px; align-items: start; }
.readout figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.readout figure img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.readout figcaption { padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.grades .call { font-size: 20px; font-weight: 600; padding: 12px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.grades .call.abnormal { color: var(--abnormal); }
.grades .call.normal { color: var(--blue); }
.grades .edu-table { margin-top: 12px; }
.grades .edu-table td i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.grades i.g3 { background: #5a2d0c; } .grades i.g2 { background: #a65b1e; } .grades i.g1 { background: #d9a877; } .grades i.g0 { background: #c3c9d6; }
.grades p { margin-top: 14px; }
.checks { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.reveal h3 { margin-top: 26px; }
@media (max-width: 800px) { .case-slides, .readout { grid-template-columns: minmax(0, 1fr); } }

/* Demo video chapters (platform.html#demo) */
.chapters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; max-width: 1024px; }
.chapters .ch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font: 500 14px/1 var(--sans); color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.chapters .ch span { font: 600 11px/1 var(--mono); color: var(--teal); }
.chapters .ch:hover { border-color: var(--navy-300); color: var(--ink); }
.chapters .ch[aria-current="true"] { border-color: var(--teal); background: #ebfbf5; color: var(--teal); }
.chapters .ch:focus-visible, .chapters .nav-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.chapters .nav-btn { font: 600 14px/1 var(--sans); padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(27,79,216,.3); background: var(--paper); color: var(--blue); cursor: pointer; }
.chapters .nav-btn:hover { border-color: var(--blue); }
.chapters .nav-btn:disabled { color: var(--ink-3); border-color: var(--line); cursor: default; }
.chapters-hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.chapters-hint kbd { font: 500 11.5px var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
