body { margin: 0; background: #EDEEEA; }
  * { box-sizing: border-box; }
  a { color: #15181A; }
  a:hover { color: #D8321F; }
  .wrap { max-width: 1240px; margin: 0 auto; padding-left: 96px; padding-right: 40px; position: relative; }
  .rail { position: absolute; left: 40px; top: 0; bottom: 0; width: 1px; background: #C3C7C0; }
  .rail::before, .rail::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1px; background: #15181A; }
  .rail::before { top: 0; }
  .rail::after { bottom: 0; }
  .tick { position: absolute; left: -5px; width: 11px; height: 1px; background: #C3C7C0; }
  .fig { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
  .h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 0.94; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
  .h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; margin: 0; }
  .lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 54ch; }
  .body { font-size: 17px; line-height: 1.6; max-width: 68ch; }
  .split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .split-hero { grid-template-columns: 1fr 1.18fr; gap: 48px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .spec { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
  .btn { display: inline-block; background: #D8321F; color: #FFFFFF; font-weight: 600; font-size: 17px; padding: 17px 30px; text-decoration: none; letter-spacing: -0.01em; }
  .btn:hover { background: #15181A; color: #FFFFFF; }
  .shot { background: #13171C; position: relative; overflow: hidden; }
  .shot .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #6E746C; font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1.7; letter-spacing: 0.02em; }
  :focus-visible { outline: 3px solid #D8321F; outline-offset: 3px; }
  @media (max-width: 900px) {
    .wrap { padding-left: 56px; padding-right: 20px; }
    .rail { left: 20px; }
    .split, .split-hero, .two, .spec { grid-template-columns: 1fr; gap: 28px; }
    .two > div { border-left: 0 !important; padding-left: 0 !important; }
    .shot { min-height: 0 !important; }
  }
  img { max-width: 100%; }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  /* --- long-form article (guide, case study) --- */
  .prose { max-width: 68ch; font-size: 17.5px; line-height: 1.68; color: #24292B; }
  .prose > *:first-child { margin-top: 0; }
  .prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.022em; font-weight: 600; color: #15181A; margin: 64px 0 20px; padding-top: 28px; border-top: 1px solid #C3C7C0; }
  .prose h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; color: #15181A; margin: 38px 0 12px; }
  .prose p { margin: 0 0 20px; }
  .prose ul, .prose ol { margin: 0 0 20px; padding-left: 20px; }
  .prose li { margin: 0 0 9px; }
  .prose strong { font-weight: 600; color: #15181A; }
  .prose a { color: #15181A; text-decoration: underline; text-decoration-color: #C3C7C0; text-underline-offset: 3px; }
  .prose a:hover { color: #D8321F; text-decoration-color: #D8321F; }
  .prose hr { display: none; }
  .prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
  .prose th { text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #6E746C; font-weight: 500; padding: 0 16px 10px 0; border-bottom: 1px solid #15181A; }
  .prose td { padding: 12px 16px 12px 0; border-bottom: 1px solid #C3C7C0; vertical-align: top; }
  .prose td:first-child { font-family: "IBM Plex Mono", monospace; font-size: 14px; white-space: nowrap; color: #3A403C; }
  .toc { border-top: 1px solid #15181A; border-bottom: 1px solid #C3C7C0; padding: 22px 0 18px; margin: 0 0 56px; max-width: 68ch; }
  .toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
  .toc li { margin: 0 0 9px; font-size: 15.5px; break-inside: avoid; }
  .toc a { text-decoration: none; color: #3A403C; }
  .toc a:hover { color: #D8321F; }
  .pull { border-left: 2px solid #D8321F; padding: 4px 0 4px 22px; margin: 32px 0; font-size: 20px; line-height: 1.45; letter-spacing: -0.012em; color: #15181A; max-width: 60ch; }
  @media (max-width: 700px) { .toc ol { columns: 1; } }

  /* --- case study: stats, charts, tables --- */
  .statrow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid #15181A; }
  .stat { padding: 22px 24px 20px 0; border-right: 1px solid #C3C7C0; }
  .stat:last-child { border-right: 0; }
  .stat + .stat { padding-left: 24px; }
  .stat-v { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: #15181A; }
  .stat-v.sm { font-size: clamp(21px, 1.95vw, 27px); letter-spacing: -0.015em; }
  .stat-l { font-size: 15px; margin-top: 7px; color: #15181A; }
  .stat-s { font-size: 13px; margin-top: 5px; color: #6E746C; line-height: 1.45; }
  @media (max-width: 860px) {
    .statrow { grid-template-columns: 1fr 1fr; }
    .stat { border-bottom: 1px solid #C3C7C0; padding-right: 18px; }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-child(2n+1) { padding-left: 0; }
    .stat:nth-child(2n) { padding-left: 18px; }
  }
  @media (max-width: 520px) { .statrow { grid-template-columns: 1fr; } .stat { border-right: 0 !important; padding-left: 0 !important; } }

  .chartwrap { padding-top: 26px; padding-bottom: 8px; }
  .chart-h { margin: 0 0 14px; font-size: 11.5px; letter-spacing: 0.07em; color: #6E746C; }
  .chart-n { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #6E746C; max-width: 72ch; }
  .chartwrap svg { width: 100%; height: auto; overflow: visible; display: block; }
  .chartwrap svg .gr { stroke: #D7DAD5; stroke-width: 1; }
  .chartwrap svg .bs { stroke: #AEB3AC; stroke-width: 1; }
  .chartwrap svg .ax { font-family: "IBM Plex Mono", monospace; font-size: 11px; fill: #6E746C; font-variant-numeric: tabular-nums; }
  .chartwrap svg .dl { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 500; fill: #15181A; font-variant-numeric: tabular-nums; }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: #3A403C; margin: 0 0 14px; }
  .legend span { display: inline-flex; align-items: center; gap: 8px; }
  .legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }

  ul.plain { margin: 0; padding: 0; list-style: none; }
  ul.plain li { font-size: 16px; line-height: 1.5; color: #3A403C; padding: 11px 0; border-bottom: 1px solid #C3C7C0; }
  ul.plain li:first-child { border-top: 1px solid #C3C7C0; }

  ul.ms { margin: 28px 0 0; padding: 0; list-style: none; max-width: 68ch; }
  ul.ms li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #C3C7C0; align-items: baseline; }
  ul.ms li:last-child { border-bottom: 1px solid #C3C7C0; }
  .ms-d { font-size: 13px; color: #6E746C; letter-spacing: 0.02em; }
  .ms-t b { font-weight: 600; font-size: 16.5px; color: #15181A; }
  .ms-t small { display: block; font-size: 14px; color: #6E746C; margin-top: 3px; line-height: 1.45; }

  .tablewrap { overflow-x: auto; }
  .tablewrap table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
  .tablewrap th { text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #6E746C; font-weight: 500; padding: 0 16px 10px 0; border-bottom: 1px solid #15181A; white-space: nowrap; }
  .tablewrap td { padding: 11px 16px 11px 0; border-bottom: 1px solid #C3C7C0; color: #3A403C; white-space: nowrap; }
  .tablewrap th.n, .tablewrap td.n { text-align: right; padding-right: 0; }
  .tablewrap tr.tot td { font-weight: 600; color: #15181A; border-bottom: 0; border-top: 1px solid #15181A; }
  details.data { border-top: 1px solid #C3C7C0; border-bottom: 1px solid #C3C7C0; }
  details.data summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; list-style-position: inside; }
  details.data summary:focus-visible { outline: 3px solid #D8321F; outline-offset: 3px; }
  details.data .tablewrap { padding-bottom: 8px; }
  details.data .tablewrap table { font-size: 14px; }

  /* Charts use a 900-unit viewBox; scale SVG type up as the box shrinks so
     labels stay legible instead of shrinking with the drawing. */
  @media (max-width: 1100px) {
    .chartwrap svg .ax { font-size: 15px; }
    .chartwrap svg .dl { font-size: 16.5px; }
  }
  @media (max-width: 900px) {
    .chartwrap svg .ax { font-size: 22px; }
    .chartwrap svg .dl { font-size: 24px; }
  }
  @media (max-width: 620px) {
    .chartwrap svg .ax { font-size: 30px; }
    .chartwrap svg .dl { font-size: 32px; }
  }
