/* DERIVED by build/build_site.py from the ratified BRAND-STONE-5 source, where this
   block was an inline <style> in the head of every page that used it. Externalised so
   the CSP can keep `style-src 'self'` with no inline exception. Never hand-edit: change
   the design source and re-run the build. sha256[:8] of the source block: 29e3ca89 */

/* long-form legal layout. Scoped to these pages; assets/site.css is untouched. */
.lgl__wrap { display: grid; gap: var(--sp-6); align-items: start; }
/* a grid item's automatic minimum size is its min-content size, and the tables
   carry a min-width, so without this the single-column phone layout is forced
   as wide as the widest table instead of letting .lgl__tw scroll. */
.lgl__wrap > * { min-width: 0; }
@media (min-width: 1040px) {
  .lgl__wrap { grid-template-columns: var(--rail-w) minmax(0, 1fr); gap: var(--sp-7); }
  .lgl__toc { position: sticky; top: var(--sp-5); max-height: calc(100vh - var(--sp-8));
              overflow-y: auto; overscroll-behavior: contain; }
}
.lgl__toc h2 { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-wide);
               color: var(--c-ink-3); font-weight: 600; margin-bottom: var(--sp-3); }
.lgl__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--c-line-2); }
.lgl__toc li { margin: 0; }
.lgl__toc a { display: block; padding: 5px 0 5px var(--sp-3); font-size: var(--fs-small);
              color: var(--c-ink-2); border-left: 2px solid transparent; margin-left: -1px;
              line-height: 1.4; }
.lgl__toc a:hover { color: var(--c-ink); border-left-color: var(--accent); }
.lgl { max-width: 100%; }
.lgl__sec { padding-top: var(--sp-7); }
/* the hero already carries the title block, the version line and the peer nav,
   so the long-form section starts closer to it than a marketing section would.
   Scoped to a class: :first-of-type matches the element type, and the hero is
   itself a <section>. */
.hero { padding-bottom: var(--sp-6); }
.section--legal { padding-top: var(--sp-6); }
@media (min-width: 900px) { .section--legal { padding-top: var(--sp-6); } }
.lgl__sec:first-of-type { padding-top: var(--sp-2); }
.lgl__sec + .lgl__sec { border-top: 1px solid var(--c-line-2); }
.lgl__h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-5); max-width: 30ch;
           scroll-margin-top: var(--sp-6); }
.lgl__c { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: var(--sp-2);
          margin-top: var(--sp-4); }
.lgl__n { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--c-ink-4);
          padding-top: 3px; font-variant-numeric: tabular-nums; }
.lgl__t { max-width: var(--measure); }
.lgl__t p + p { margin-top: var(--sp-3); }
.lgl__t b { font-weight: 600; }
.lgl__t code { font-family: var(--font-mono); font-size: 0.9em; background: var(--c-surface);
               padding: 1px 4px; border-radius: var(--r-sm); }
.lgl__ol { counter-reset: lgl; list-style: none; margin: var(--sp-3) 0 0 3.6rem; padding: 0;
            max-width: var(--measure); }
.lgl__ol > li { counter-increment: lgl; position: relative; padding-left: 2.2rem;
                margin-top: var(--sp-3); }
.lgl__ol > li::before { content: "(" counter(lgl, lower-alpha) ")"; position: absolute; left: 0;
                        font-family: var(--font-mono); font-size: var(--fs-small);
                        color: var(--c-ink-4); }
.lgl__defs { margin: var(--sp-4) 0 0; display: grid; gap: 0; }
.lgl__def { display: grid; gap: 2px var(--sp-4); padding: var(--sp-3) 0;
            border-bottom: 1px solid var(--c-line-2); }
@media (min-width: 760px) { .lgl__def { grid-template-columns: 15rem minmax(0, 1fr); } }
.lgl__dt { font-weight: 600; color: var(--c-ink); }
.lgl__dd { color: var(--c-ink-2); }
.lgl__tw { margin-top: var(--sp-4); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lgl__cap { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-wide);
            color: var(--c-ink-3); font-weight: 600; margin-bottom: var(--sp-2); }
.lgl__tw table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: var(--fs-small); }
.lgl__tw th, .lgl__tw td { text-align: left; vertical-align: top; padding: var(--sp-3) var(--sp-4)
                           var(--sp-3) 0; border-bottom: 1px solid var(--c-line-2); }
.lgl__tw thead th { font-size: var(--fs-micro); text-transform: uppercase;
                    letter-spacing: var(--tr-wide); color: var(--c-ink-3); font-weight: 600;
                    border-bottom-color: var(--c-line); }
.lgl__tw tbody td:first-child { color: var(--c-ink); }
.lgl__box { border: 1px solid var(--c-line); border-left: 3px solid var(--accent);
            background: var(--c-surface); padding: var(--sp-5); margin-top: var(--sp-5);
            border-radius: 0 var(--r-md) var(--r-md) 0; max-width: var(--measure); }
.lgl__box--risk { border-left-color: var(--k-oxblood); background: var(--k-oxblood-wash); }
.lgl__box--cpa { border-left-color: var(--k-oxblood); background: var(--k-oxblood-wash); }
.lgl__box--operative { border-left-color: var(--k-petrol); background: var(--k-petrol-wash); }
.lgl__box--flag { border-left-color: var(--k-copper); background: var(--k-copper-wash); }
.lgl__box h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.lgl__box p + p { margin-top: var(--sp-3); }
.lgl__intro { margin-bottom: var(--sp-6); }
.lgl__intro .lgl__box { margin-top: var(--sp-4); }
.lgl__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6);
             font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-wide);
             color: var(--c-ink-4); }
.lgl__foot { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line);
             font-size: var(--fs-small); color: var(--c-ink-3); max-width: 58ch; }
.lgl__foot a { text-decoration: underline; text-underline-offset: 3px; }
/* 13px small print reaches more characters per line than 16px body at the same
   width, so the tables and the definition column take their own measure too. */
.lgl__tw td, .lgl__tw th { max-width: 46ch; }
.lgl__dd { max-width: 58ch; }
.lgl__peers { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin-top: var(--sp-4);
              font-size: var(--fs-small); }
.lgl__peers a { color: var(--k-copper-ink); text-decoration: underline;
                text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.lgl__peers a[aria-current] { color: var(--c-ink); text-decoration: none; font-weight: 600; }
/* the free-tool disclaimer, at the point of use */
.tooldis { font-size: var(--fs-small); color: var(--c-ink-2); border-left: 3px solid var(--accent);
           background: var(--c-surface); padding: var(--sp-4) var(--sp-5); max-width: var(--measure); }
.bubble__dis { display: block; margin-top: 6px; padding-top: 6px;
               border-top: 1px solid var(--c-line-2); font-size: var(--fs-micro);
               color: var(--c-ink-3); line-height: 1.45; }
