
    /* ============================================================
       DOCUMENT PAGE
       The body copy of every page that is not the home page. One
       column, one measure, nothing that moves.
       ============================================================ */
    .doc {
      padding: 56px 48px 72px 48px;
      max-width: 78ch;
    }
    .doc-crumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--graphite);
      margin-bottom: 40px;
    }
    .doc-crumb a {
      text-decoration: none;
      border-bottom: 1px solid var(--line);
    }
    .doc-crumb a:hover { color: var(--accent); border-bottom-color: var(--accent); }
    .doc-crumb span[aria-current] { color: var(--ink); }

    .doc-eyebrow {
      display: block;
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .doc h1 {
      font-size: clamp(34px, 5.2vw, 52px);
      font-weight: 800;
      line-height: 1.02;
      letter-spacing: -0.04em;
      margin: 0 0 24px 0;
      max-width: 20ch;
    }
    .doc-lead {
      font-size: 19px;
      line-height: 1.55;
      color: var(--ink);
      margin: 0 0 8px 0;
      max-width: 58ch;
    }
    .doc h2 {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.025em;
      margin: 52px 0 14px 0;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      max-width: 34ch;
    }
    .doc h3 {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin: 28px 0 8px 0;
    }
    .doc p {
      font-size: 15px;
      line-height: 1.72;
      color: var(--graphite);
      margin: 0 0 16px 0;
      max-width: 68ch;
    }
    .doc p strong { color: var(--ink); font-weight: 600; }
    .doc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
    .doc a:hover, .doc a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
    .doc ul, .doc ol {
      margin: 0 0 16px 0;
      padding-left: 20px;
      max-width: 66ch;
    }
    .doc li {
      font-size: 15px;
      line-height: 1.7;
      color: var(--graphite);
      margin-bottom: 9px;
    }
    .doc li strong { color: var(--ink); font-weight: 600; }

    /* A run of term / consequence rows. */
    .spec-list {
      list-style: none;
      margin: 24px 0;
      padding: 0;
      border-top: 1px solid var(--line);
      max-width: 68ch;
    }
    .spec-list li {
      display: grid;
      grid-template-columns: 13rem 1fr;
      gap: 24px;
      margin: 0;
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
    }
    .spec-term {
      font-family: var(--mono);
      font-size: 10.5px;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--ink);
      padding-top: 3px;
    }
    .spec-def { font-size: 14px; line-height: 1.65; color: var(--graphite); }

    /* Pulled-out statement. */
    .doc-callout {
      margin: 32px 0;
      padding: 22px 26px;
      border: 1px solid var(--ink);
      background: #ffffff;
      max-width: 66ch;
    }
    .doc-callout p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
    .doc-callout p + p { margin-top: 12px; }
    .doc-callout .spec-term { display: block; margin-bottom: 10px; color: var(--accent); }

    /* Something we do not claim. */
    .doc-honest {
      margin: 32px 0;
      padding-left: 20px;
      border-left: 2px solid var(--line);
      max-width: 64ch;
    }
    .doc-honest .spec-term { display: block; margin-bottom: 8px; color: var(--graphite); }
    .doc-honest p { margin: 0; font-size: 14.5px; }

    /* Placeholder awaiting a fact only the business can supply. */
    .tbd {
      background: none;
      color: var(--accent);
      font-family: var(--mono);
      font-size: 0.88em;
      border-bottom: 1px dashed var(--accent);
      white-space: nowrap;
    }

    /* Reference pages (developers.html): inline code, code blocks, and a
       compact table that stays inside the measure. Anything too wide
       scrolls inside its own box, never the page. */
    .doc code {
      font-family: var(--mono);
      font-size: 0.88em;
      background: var(--paper-dark);
      padding: 1px 5px;
      overflow-wrap: anywhere;
    }
    .doc pre {
      margin: 20px 0 28px 0;
      padding: 18px 20px;
      background: var(--ink);
      color: var(--paper);
      font-family: var(--mono);
      font-size: 12.5px;
      line-height: 1.7;
      overflow-x: auto;
      max-width: 100%;
    }
    .doc pre code {
      background: none;
      padding: 0;
      font-size: inherit;
      color: inherit;
      overflow-wrap: normal;
    }
    .ref-scroll {
      overflow-x: auto;
      margin: 20px 0 28px 0;
      border: 1px solid var(--ink);
      background: #ffffff;
    }
    .ref-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .ref-table th,
    .ref-table td {
      border: 1px solid var(--line);
      padding: 9px 11px;
      text-align: left;
      vertical-align: top;
      line-height: 1.5;
    }
    .ref-table thead th {
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--graphite);
      background: var(--paper-dark);
      border-bottom-color: var(--ink);
    }
    .ref-table td:first-child {
      font-family: var(--mono);
      font-size: 12px;
      width: 44%;
      overflow-wrap: anywhere;
    }

    /* Comparison table. Lives here rather than in the shell: only the
       comparison pages carry one. */
    .cmp-hint {
      display: block;
      margin: 0 0 10px 0;
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--graphite);
    }
    .cmp-scroll {
      overflow-x: auto;
      border: 1px solid var(--ink);
      background: #ffffff;
      margin: 24px 0 32px 0;
      /* .doc is capped at 78ch for readability; the matrix needs the whole
         page. 1024px page - 2 x 48px padding = 928px of usable width. */
      /* body has 4vw side padding, so the page is min(1024px, 92vw);
         subtract the 48px .doc inset on each side. */
      width: min(calc(92vw - 96px), 928px);
    }
    .cmp-table {
      width: 100%;
      min-width: 1080px;
      border-collapse: collapse;
      font-size: 11.5px;
    }
    .cmp-caption {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .cmp-table th,
    .cmp-table td {
      border: 1px solid var(--line);
      padding: 10px 9px;
      text-align: left;
      vertical-align: top;
      line-height: 1.45;
    }
    .cmp-table thead th {
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--graphite);
      background: var(--paper-dark);
      border-bottom-color: var(--ink);
      white-space: nowrap;
    }
    .cmp-table thead th.is-us {
      background: var(--ink);
      color: var(--paper);
      font-weight: 700;
      border-color: var(--ink);
    }
    .cmp-table tbody th {
      width: 19%;
      font-weight: 600;
      font-size: 12px;
      color: var(--ink);
    }
    .cmp-table td { color: var(--graphite); }
    /* Head-to-head chart: two products, fits the reading measure. */
    .cmp-scroll.is-duo {
      width: auto;
      overflow-x: visible;
    }
    .cmp-table.cmp-duo {
      min-width: 0;
      font-size: 12.5px;
    }
    .cmp-table.cmp-duo th,
    .cmp-table.cmp-duo td { padding: 11px 12px; }
    .cmp-table.cmp-duo tbody th { width: 30%; }
    .cmp-table td.cmp-us {
      color: var(--ink);
      font-weight: 600;
      box-shadow: inset 2px 0 0 var(--accent);
    }

    /* Related reading + closing call to action. */
    .doc-related {
      padding: 0 48px 56px 48px;
    }
    .doc-related-h {
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--graphite);
      padding-bottom: 10px;
      margin-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }
    .doc-related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
    }
    .doc-related-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 20px;
      min-height: 104px;
      padding: 16px 18px;
      border: 1px solid var(--line);
      background: #ffffff;
      text-decoration: none;
      transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    }
    .doc-related-card:hover,
    .doc-related-card:focus-visible {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--paper);
    }
    .doc-related-card strong { font-size: 14.5px; font-weight: 700; letter-spacing: -0.015em; }
    .doc-related-card span {
      align-self: flex-end;
      font-family: var(--mono);
      font-size: 12px;
    }

    .doc-cta {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 32px;
      margin: 0 48px 56px 48px;
      padding: 32px 0 0 0;
      border-top: 1px solid var(--ink);
    }
    .doc-cta-copy { max-width: 46ch; }
    .doc-cta-copy p {
      margin: 0;
      font-size: 21px;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.025em;
    }
    .doc-cta-copy small {
      display: block;
      margin-top: 8px;
      font-size: 13.5px;
      font-weight: 400;
      line-height: 1.6;
      color: var(--graphite);
      letter-spacing: 0;
    }
    .doc-cta-links {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      flex: none;
    }
    .doc-cta-links a {
      text-decoration: none;
      font-family: var(--mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      white-space: nowrap;
    }
    .doc-cta-primary {
      padding: 11px 16px;
      background: var(--ink);
      color: var(--paper);
      transition: background-color 0.15s ease;
    }
    .doc-cta-primary:hover { background: var(--accent); }
    .doc-cta-secondary {
      color: var(--graphite);
      border-bottom: 1px solid var(--line);
      padding-bottom: 2px;
    }
    .doc-cta-secondary:hover { color: var(--accent); border-bottom-color: var(--accent); }
