
  :root {
    --bg-dark: #0a0a2e;
    --bg-medium: #16163a;
    --bg-card: #1e1e4a;
    --neon-green: #39ff14;
    --neon-cyan: #00e5ff;
    --neon-pink: #ff2d78;
    --neon-purple: #b44dff;
    --neon-yellow: #ffe600;
    --text-light: #e0e0e0;
    --text-dim: #8888aa;
    --border-color: #2a2a5a;

    /* Per-article typography. The three original article pages used slightly
       different heading sizes and list spacing; these keep each one exact.
       Defaults match agentic-ai-adoption-gap + software-develops-itself.
       Pages with `variant: wide` in their front matter get .art-wide below. */
    --fs-art-h1: clamp(14px, 3.5vw, 22px);
    --fs-art-h2: clamp(11px, 2.5vw, 15px);
    --art-ol-mb: 16px;
    --art-oli-mb: 10px;
  }

  /* agent-friendly-websites.html used larger headings and tighter lists. */
  body.art-wide {
    --fs-art-h1: clamp(16px, 4vw, 24px);
    --fs-art-h2: clamp(12px, 3vw, 16px);
    --art-ol-mb: 12px;
    --art-oli-mb: 8px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: calc(20px * var(--body-scale));
    line-height: 1.6;
    min-height: 100vh;
  }

  .breadcrumb {
    max-width: 800px;
    margin: 20px auto 0;
    padding: 0 20px;
    font-family: var(--font-display);
    /* 9px in the original — too small for the page's top bar. */
    font-size: calc(11px * var(--display-scale));
  }
  .breadcrumb a { color: var(--text-dim); text-decoration: none; }
  .breadcrumb a:hover { color: var(--neon-cyan); }
  .breadcrumb span { color: var(--border-color); margin: 0 8px; }

  article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
  }

  article header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px dashed var(--border-color);
  }
  article header .date {
    font-family: var(--font-display);
    font-size: calc(9px * var(--display-scale));
    color: var(--text-dim);
    margin-bottom: 16px;
  }
  article header h1 {
    font-family: var(--font-display);
    font-size: calc(var(--fs-art-h1) * var(--display-scale));
    color: var(--neon-cyan);
    line-height: 1.5;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  }
  article header .tldr {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-left: 3px solid var(--neon-cyan);
    color: var(--text-dim);
  }
  article header .tldr strong {
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: calc(10px * var(--display-scale));
  }

  h2 {
    font-family: var(--font-display);
    font-size: calc(var(--fs-art-h2) * var(--display-scale));
    color: var(--neon-green);
    margin: 36px 0 16px;
    line-height: 1.6;
  }

  p { margin-bottom: 16px; }
  a { color: var(--neon-cyan); }

  code {
    font-family: var(--font-mono);
    font-size: calc(21px * var(--body-scale));
    background: rgba(57, 255, 20, 0.08);
    padding: 2px 6px;
    color: var(--neon-cyan);
  }

  strong { color: var(--text-light); }

  blockquote {
    border-left: 3px solid var(--neon-purple);
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(180, 77, 255, 0.06);
    color: var(--text-dim);
    font-style: italic;
  }

  /* Images */
  figure {
    margin: 28px 0;
  }
  figure img {
    width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    display: block;
  }
  figcaption {
    font-size: calc(16px * var(--body-scale));
    color: var(--text-dim);
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
  }

  /* Table */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: calc(18px * var(--body-scale));
  }
  th {
    font-family: var(--font-display);
    font-size: calc(9px * var(--display-scale));
    color: var(--neon-cyan);
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border-color);
  }
  td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dim);
  }

  /* Numbered list */
  ol {
    margin: 12px 0 var(--art-ol-mb) 24px;
    padding: 0;
  }
  ol li { margin-bottom: var(--art-oli-mb); }

  /* Footnotes */
  .sources {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed var(--border-color);
    font-size: calc(16px * var(--body-scale));
    color: var(--text-dim);
    line-height: 1.5;
  }
  .sources h2 {
    font-size: calc(11px * var(--display-scale));
    margin-bottom: 12px;
  }
  .sources a { color: var(--text-dim); }
  .sources a:hover { color: var(--neon-cyan); }

  .back-link {
    display: inline-block;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px dashed var(--border-color);
    font-family: var(--font-display);
    font-size: calc(10px * var(--display-scale));
    color: var(--neon-green);
    text-decoration: none;
  }
  .back-link:hover { color: var(--neon-cyan); }

  sup a { color: var(--neon-cyan); text-decoration: none; font-size: calc(14px * var(--body-scale)); }
  sup a:hover { text-decoration: underline; }

  .tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: calc(8px * var(--display-scale));
    padding: 3px 8px;
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    margin-right: 4px;
  }

  /* A 4-column table cannot fit a phone at body size. Fixed layout plus
     wrapping keeps it inside the viewport instead of forcing a horizontal
     scroll of the whole page. (The originals overflowed here too.) */
  @media (max-width: 700px) {
    table {
      table-layout: fixed;
      width: 100%;
    }
    th,
    td {
      padding: 8px 6px;
      overflow-wrap: break-word;
      word-break: break-word;
    }
  }

  /* Optional standfirst under the <h1>, rendered only when a page sets
     `subtitle` in its front matter — so articles without one are unaffected. */
  article header .dek {
    margin-top: 12px;
    font-size: calc(21px * var(--body-scale));
    line-height: 1.5;
    color: var(--text-dim);
    font-style: italic;
  }

  /* ==========================================================================
     Rules that originally lived on only some of the article pages. Merged here
     so every article shares one stylesheet. Each block notes its origin; none
     of them affect a page that does not use the element.
     ========================================================================== */

  /* --- agent-friendly-websites.html --- */

  h3 {
    font-family: var(--font-display);
    font-size: calc(clamp(10px, 2.5vw, 13px) * var(--display-scale));
    color: var(--neon-yellow);
    margin: 28px 0 12px;
  }

  .highlight-box {
    background: var(--bg-card);
    border: 2px solid var(--neon-yellow);
    padding: 20px;
    margin: 24px 0;
  }

  .highlight-box .label {
    font-family: var(--font-display);
    font-size: calc(10px * var(--display-scale));
    color: var(--neon-yellow);
    display: block;
    margin-bottom: 10px;
  }

  /* --- agent-friendly-websites.html + software-develops-itself.html --- */

  pre {
    background: #0d0d22;
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--neon-green);
    padding: 16px 20px;
    margin: 14px 0 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: calc(19px * var(--body-scale));
    line-height: 1.5;
    color: var(--neon-green);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
  }

  pre code {
    background: none;
    padding: 0;
  }

  .cmd { color: var(--neon-yellow); }
  .flag { color: var(--neon-cyan); }
  .string { color: var(--neon-pink); }
  .comment { color: var(--text-dim); }

  /* --- software-develops-itself.html --- */

  /* Scoped: only this article defined an `em` colour. Applying it globally
     would brighten <em> inside the dimmed .tldr box on the other articles. */
  body.art-em-light em { color: var(--text-light); }

  figure img.narrow {
    max-width: 420px;
    margin: 0 auto;
  }

  .verify-box {
    background: var(--bg-card);
    border: 2px solid var(--neon-purple);
    padding: 20px;
    margin: 30px 0;
  }

  .verify-box .label {
    font-family: var(--font-display);
    font-size: calc(10px * var(--display-scale));
    color: var(--neon-purple);
    display: block;
    margin-bottom: 10px;
  }

  /* Extracted from inline style attributes on software-develops-itself.html so
     that the font sizes participate in the pixel/readable switch. */
  .verify-prompt {
    margin-top: 12px;
    font-size: calc(17px * var(--body-scale));
    color: var(--neon-pink);
  }

  .verify-note {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: calc(16px * var(--body-scale));
    color: var(--text-dim);
  }
