
    /* ===== Legal + Blog pages (shared editorial document layout) ===== */
    .subhero__title--post { max-width: 24ch; font-size: clamp(2.1rem, 1.1rem + 2.6vw, 3.6rem); line-height: 1.05; }
    .doc-section { position: relative; border-top: 1px solid var(--line); background: var(--background); padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 9vw, 136px); }
    .doc { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
    .doc__rail { position: sticky; top: calc(var(--nav-h) + 32px); }
    .doc__rail-label { display: block; margin: 0 0 16px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #8d939d; }
    .doc__toc { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
    .doc__toc a { display: flex; gap: 10px; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--text-muted); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
    .doc__toc a b { flex: none; min-width: 1.6em; font-weight: 500; font-size: 11px; letter-spacing: 0.1em; padding-top: 2px; color: #5d636d; font-variant-numeric: tabular-nums; }
    .doc__toc a:hover, .doc__toc a:focus-visible { color: var(--ink); border-left-color: var(--blue-bright); }
    .doc__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13.5px; color: var(--text-secondary); transition: color 0.3s var(--ease); }
    .doc__back:hover, .doc__back:focus-visible { color: var(--ink); }
    .doc__back span { color: var(--blue-bright); }
    .doc__body { min-width: 0; max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; color: var(--text-secondary); }
    .doc__body h2 { margin: clamp(48px, 5vw, 64px) 0 16px; font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); text-wrap: balance; }
    .doc__body > h2:first-of-type { margin-top: 0; }
    .doc__num { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--blue-bright); font-variant-numeric: tabular-nums; }
    .doc__body p { margin: 0 0 16px; text-wrap: pretty; }
    .doc__body ul { margin: 0 0 18px; padding-left: 1.15em; }
    .doc__body li { margin: 8px 0; padding-left: 4px; }
    .doc__body li::marker { color: var(--blue-bright); }
    .doc__body strong { font-weight: 600; color: var(--ink-soft); }
    .doc__body a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(47, 140, 255, 0.55); text-underline-offset: 3px; transition: text-decoration-color 0.3s var(--ease); }
    .doc__body a:hover, .doc__body a:focus-visible { text-decoration-color: var(--blue-bright); }
    .doc__callout, .doc__note { margin: 0 0 clamp(40px, 4vw, 52px); padding: 16px 20px; border: 1px solid var(--line); border-left: 2px solid var(--blue); border-radius: 10px; background: rgba(255, 255, 255, 0.02); font-size: 0.92rem; line-height: 1.65; color: var(--text-secondary); }
    .doc__tbc { padding: 1px 7px; border: 1px dashed rgba(255, 255, 255, 0.24); border-radius: 6px; background: rgba(255, 255, 255, 0.03); font-size: 0.9em; color: var(--ink-soft); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
    .doc__panel { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 8px 0 22px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); }
    .doc__panel-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #8d939d; }
    .doc__body a.doc__panel-num { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
    .doc__updated { margin: 18px 0 0; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #8a8780; }
    .doc__updated b { font-weight: 500; color: #d8d4cc; }

    /* Blog index */
    .blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(34px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
    .blog-filter__btn { position: relative; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
      font: 500 14.5px/1.2 var(--font); color: #d8d5cf; cursor: pointer;
      background: linear-gradient(180deg, rgba(34, 34, 38, 0.72) 0%, rgba(20, 20, 23, 0.72) 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 18px rgba(0, 0, 0, 0.28);
      transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease); }
    .blog-filter__btn:hover, .blog-filter__btn:focus-visible { border-color: rgba(22, 119, 255, 0.55); color: #f5f3ef; outline: none; transform: translateY(-1px);
      background: linear-gradient(180deg, rgba(22, 119, 255, 0.09) 0%, rgba(22, 119, 255, 0.03) 100%), rgba(22, 22, 25, 0.9); }
    .blog-filter__btn[aria-pressed="true"] { border-color: rgba(22, 119, 255, 0.42); color: #f5f3ef;
      background: linear-gradient(180deg, rgba(22, 119, 255, 0.075) 0%, rgba(22, 119, 255, 0.025) 100%), rgba(20, 20, 23, 0.9); }
    .blog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 3vw, 40px); }
    .blog-count { margin: 0; font-size: 13px; color: var(--text-muted); }
    .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
    .post-card { display: flex; min-width: 0; }
    .post-card[hidden] { display: none; }
    .post-card__link { position: relative; display: flex; flex-direction: column; width: 100%; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 14px;
      background: var(--card); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.9);
      transition: translate 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease); }
    .post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 3vw, 44px); }
    .post-card__cat { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary); }
    .post-card__cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
    .post-card__num { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--faint); font-variant-numeric: tabular-nums; }
    .post-card__title { margin: 0 0 12px; font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
    .post-card__excerpt { margin: 0 0 28px; font-size: 0.9375rem; line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
    .post-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.4s var(--ease); }
    .post-card__more svg { width: 15px; height: 15px; color: var(--blue-bright); transition: transform 0.4s var(--ease); }
    .post-card--lead { grid-column: span 2; }
    .post-card--lead .post-card__title { max-width: 22ch; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.15rem); }
    .post-card--lead .post-card__excerpt { max-width: 52ch; font-size: 1rem; }
    @media (hover: hover) {
      .post-card__link:hover { translate: 0 -4px; border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 30px 56px -32px rgba(0, 0, 0, 0.95); }
      .post-card__link:hover .post-card__more { color: var(--ink); }
      .post-card__link:hover .post-card__more svg { transform: translateX(3px); }
    }
    .post-card__link:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
    .blog-grid.is-filtered .post-card--lead { grid-column: auto; }
    .blog-grid.is-filtered .post-card--lead .post-card__title { font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem); }
    .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    @media (max-width: 1100px) {
      .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .more-grid .post-card:nth-child(3) { display: none; }
    }
    @media (max-width: 960px) {
      .doc { grid-template-columns: 1fr; gap: 40px; }
      .doc__rail { position: static; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
      .doc__toc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
    }
    @media (max-width: 700px) {
      .blog-grid, .more-grid { grid-template-columns: 1fr; }
      .post-card--lead { grid-column: auto; }
      .more-grid .post-card:nth-child(3) { display: flex; }
      .doc__toc { grid-template-columns: 1fr; }
      .doc__body { font-size: 1rem; }
      .blog-filter { gap: 8px; }
      .blog-filter__btn { padding: 9px 14px; font-size: 14px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .post-card__link, .post-card__more svg, .blog-filter__btn { transition: none; }
      .post-card__link:hover { translate: none; }
      .blog-filter__btn:hover { transform: none; }
    }
    /* Legal pages: one text edge for headings, paragraphs and lists (bullets hang outside it) */
    .doc--legal .doc__body { max-width: 70ch; }
    .doc--legal .doc__body h2 { margin: clamp(52px, 5vw, 64px) 0 18px; }
    .doc--legal .doc__body > h2:first-of-type { margin-top: 0; }
    .doc--legal .doc__body p { margin: 0 0 18px; }
    .doc--legal .doc__body ul { margin: 0 0 18px; padding: 0; list-style: none; }
    .doc--legal .doc__body li { position: relative; margin: 0 0 10px; padding: 0; }
    .doc--legal .doc__body li:last-child { margin-bottom: 0; }
    .doc--legal .doc__body li::before { content: ""; position: absolute; left: -18px; top: 0.78em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); }
    .doc--legal .doc__body a { overflow-wrap: anywhere; }
    .doc--legal .doc__panel { margin: 4px 0 24px; }
    .doc__updated { display: flex; flex-wrap: wrap; gap: 8px 28px; }
    @media (max-width: 700px) {
      .doc--legal .doc__body li::before { left: -13px; width: 4px; height: 4px; }
    }
    /* ===== /Legal + Blog pages ===== */
  