@layer language, site;
@layer language {
  :root {
    --color-bg: #070809;
    --color-surface: #0c0f11;
    --color-text: #d5dbd7;
    --color-muted: #aeb6b1;
    --color-line: #3a4440;
    --color-accent: #5be49b;
    --color-accent-text: #04150c;
    --color-action: #5be49b;
    --color-action-hover: #7cefae;
    --color-action-text: #04150c;
    --color-focus: #5be49b;
    --color-better: #5be49b;
    --color-worse: #ff6e5e;
    --color-reference: #8a938e;
    --color-panel: #13261c;
    --color-panel-text: #f3f6f4;
    --color-panel-muted: #c5d0c8;
    --color-panel-line: #2a4a38;
    --color-selected: #1a3326;
    --color-chart-peer: #8a938e;
    --color-chart-category-1: #0072b2;
    --color-chart-category-2: #e69f00;
    --color-chart-category-3: #009e73;
    --color-chart-category-4: #d55e00;
    --color-chart-category-5: #cc79a7;
    --color-chart-category-6: #56b4e9;
    --color-chart-category-7: #f0e442;
    --color-chart-category-8: #f3f6f4;
    --color-chart-sequential-1: #102019;
    --color-chart-sequential-2: #1c3a2c;
    --color-chart-sequential-3: #2f6a4a;
    --color-chart-sequential-4: #3f9a68;
    --color-chart-sequential-5: #5be49b;
    --color-scale-50: #101416;
    --color-scale-100: #171c1f;
    --color-scale-200: #242a2d;
    --color-scale-300: #3a4240;
    --color-scale-400: #555c58;
    --color-scale-500: #727a75;
    --color-scale-600: #8a938e;
    --color-scale-700: #aeb6b1;
    --color-scale-800: #d5dbd7;
    --color-scale-900: #f3f6f4;
    --font-heading: Geist, "Hanken Grotesk Variable", sans-serif;
    --font-body: Geist, "Hanken Grotesk Variable", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --size-body: 18px;
    --radius-control: 8px;
  }
}
@layer language {
  html { color-scheme: dark; }
  body { background: var(--color-bg); color: var(--color-text); }
  a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; background-color: transparent; color: inherit; box-shadow: none; }
  h1, h2, h3, h4, .metric-value { font-weight: 550; letter-spacing: -0.02em; }
  h1 { font-weight: 560; }
  h1 { max-inline-size: none; }
  .b-answer_hero { background: var(--color-panel); color: var(--color-panel-text); border-radius: 8px; padding: 24px 28px; border: 0; }
  .b-answer_hero > * + * { margin-top: 16px; }
  .b-answer_hero h2 { margin: 0; }
  .prose h2 { font-size: var(--size-h2); margin-block: 2em .7em; }
  .prose h3 { font-size: var(--size-h3); margin-block: 1.6em .6em; }
  .prose p + p { margin-top: 1em; }
  .hero-answer { font-size: var(--size-body); line-height: 1.45; }
  .metric-value { font-variant-numeric: tabular-nums lining-nums; color: var(--color-accent); }
  .metric-unit { font-size: 0.45em; color: var(--color-panel-muted); }
  .govuk-table { color: inherit; width: 100%; font-variant-numeric: tabular-nums; }
  .govuk-table__header, .govuk-table__cell { border-bottom: 1px solid var(--color-line); background: transparent; color: inherit; }
  .govuk-table__header { color: var(--color-muted); border-bottom: 2px solid var(--color-line); font-weight: 600; }
  tbody th.govuk-table__header, tbody th { color: var(--color-text); border-bottom: 1px solid var(--color-line); }
  .govuk-button, .b-offer > p:last-child > a, .pf-btn { background: var(--color-action); color: var(--color-action-text); border-radius: 999px; text-decoration: none; }
  .govuk-button:hover, .b-offer > p:last-child > a:hover, .pf-btn:hover { background: var(--color-action-hover); }
  .govuk-button:focus-visible, .b-offer .offer-button:focus-visible, .pf-btn:focus-visible { background: var(--color-action); color: var(--color-action-text); }
  .offer-name { font: 500 13px/1.5 var(--font-mono); }
  .b-related_links { border-top: 0; }
  .b-related_links > :is(h2, h3, h4, h5, h6) { font-size: var(--size-h2); }
  .govuk-details.toc { border: 1px solid var(--color-line); border-radius: 8px; padding: var(--space-3); }
  .b-offer, .govuk-details, .b-related_links, .b-freshness { color: inherit; }
  .gem-c-metadata__list, .source-line { color: var(--color-muted); }
}
@layer site {
  @font-face { font-family: Geist; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
  @font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  :root {
    --paper: var(--color-bg); --surface: var(--color-surface); --wash: var(--color-scale-50);
    --ink: var(--color-text); --muted: var(--color-muted); --rule: var(--color-line);
    --accent: var(--color-accent); --action: var(--color-action); --action-ink: var(--color-action-text); --action-hover: var(--color-action-hover); --error: var(--color-worse);
    --body: Geist, "Helvetica Neue", Arial, sans-serif; --display: var(--body); --label: "IBM Plex Mono", ui-monospace, Menlo, monospace; --button-font: var(--label);
    --body-size: var(--size-body); --radius: 100px; --card-radius: 8px; --field-radius: 8px; --head-weight: 550;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-padding-top: 1.25rem; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body-size, 1.1rem)/1.55 var(--body); -webkit-text-size-adjust: 100%; }
  h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
  h1, h2, h3, blockquote { font-family: var(--display); font-weight: var(--head-weight, 550); }
  h1, h2, h3 { text-wrap: pretty; }
  h1 { font-size: clamp(2.7rem, 5.75vw, 5.7rem); letter-spacing: -.05em; line-height: 1.01; }
  h1 em { color: var(--accent); font-style: normal; }
  h2 { font-size: clamp(2.15rem, 3.55vw, 3.65rem); line-height: 1.07; letter-spacing: -.04em; max-width: 23ch; }
  h3 { font-size: clamp(1.55rem, 2vw, 2.1rem); line-height: 1.15; letter-spacing: -.025em; }
  p { max-width: 65ch; }
  a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 4px; }
  .wrap { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
  .band { padding-block: clamp(2.9rem, 6.3vw, 6rem); }
  img { display: block; max-width: 100%; height: auto; }
  .skip { position: absolute; left: .6rem; top: .6rem; z-index: 5; transform: translateY(-190%); padding: .7rem 1rem; background: var(--paper); }
  .skip:focus { transform: none; }
  .mast { border-bottom: 1px solid var(--rule); }
  .mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; position: relative; }
  .brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font: 600 1.05rem/1.12 var(--body); text-decoration: none; }
  .brand small { display: block; font: 500 .73rem/1.4 var(--label, var(--body)); color: var(--muted); }
  .brand i { border: 0; width: 1.65rem; height: 1.65rem; position: relative; background: var(--color-panel); border-radius: 5px; transform: none; }
  .brand i::before, .brand i::after { content: ''; position: absolute; width: .65rem; height: .22rem; top: .95rem; left: .35rem; background: var(--accent); transform: rotate(-32deg); }
  .brand i::after { top: .75rem; left: .75rem; }
  .desktop-nav { display: none; }
  .menu > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .65rem; font-size: .88rem; }
  summary::-webkit-details-marker { display: none; }
  .menu i { display: inline-block; width: 1.05rem; height: .5rem; border-block: 1.5px solid; }
  .menu[open] > summary { text-decoration: underline; }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 4; background: var(--paper); border: 1px solid var(--rule); padding: .65rem 1rem; box-shadow: 0 .8rem 1.5rem #0002; }
  .mast nav a, .footer nav a { display: block; padding-block: .65rem; color: var(--ink); font-size: .94rem; }
  .mast nav a { text-decoration: none; }
  .mast nav a:is(:hover, [aria-current]) { text-decoration: underline; }
  .mast .nav-cta { color: var(--accent); font-weight: 650; }
  .lead { font-size: clamp(1.12rem, 1.38vw, 1.35rem); line-height: 1.45; }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; }
  .btn { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 46px; max-width: 100%; padding: .65rem 1.08rem; border: 1px solid var(--rule); border-radius: var(--radius, 3px); background: var(--surface); color: var(--ink); font: 570 .98rem/1.28 var(--button-font, var(--body)); text-decoration: none; cursor: pointer; }
  .btn:hover { border-color: var(--accent); background: var(--wash); }
  .btn.primary, .btn.primary:focus-visible { background: var(--action); color: var(--action-ink); border-color: var(--action); }
  .btn.primary:hover { background: var(--action-hover, var(--action)); border-color: var(--action-hover, var(--action)); }
  .btn { font-weight: 400; font-size: .86rem; }
  h1, h2, h3, blockquote { color: var(--color-panel-text); }
  h1 em { display: block; }
  form { max-width: 40rem; width: 100%; }
  .field { margin: 0 0 1.25rem; padding: 0; min-width: 0; border: 0; }
  .field > label, legend { display: block; font-weight: 600; padding: 0; }
  .field small { display: block; font-size: .95rem; color: var(--muted); }
  input:not([type="radio"],[type="hidden"]), textarea { display: block; width: 100%; min-height: 46px; margin-top: .4rem; border: 1px solid var(--field-rule, var(--muted)); border-radius: var(--field-radius,3px); background: var(--surface); color: var(--ink); padding: .65rem .8rem; font: inherit; }
  textarea { resize: vertical; }
  .reply label { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; padding: .4rem .9rem; border: 1px solid var(--field-rule, var(--muted)); border-radius: var(--field-radius,3px); cursor: pointer; background: var(--surface); }
  .reply input { margin: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
  .footer { border-top: 1px solid var(--rule); padding-block: clamp(2rem, 4vw, 4.2rem); }
  .foot-inner { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 1.75rem; }
  .footer nav { display: flex; gap: 1.3rem clamp(1rem, 4vw, 4rem); flex-wrap: wrap; }
  .footer h2 { color: var(--muted); font: 600 .82rem/1.5 var(--body); letter-spacing: .02em; margin-bottom: .4rem; }
  .footer nav a { padding-block: .3rem; }
  @media (min-width: 68rem) {
    .mast-inner { min-height: 5rem; }
    .menu { display: none; }
    .desktop-nav { display: flex; align-items: center; gap: clamp(1rem,2.1vw,2.2rem); }
    .mast .nav-cta { border: 1px solid var(--rule); padding: .55rem .9rem; border-radius: var(--radius,3px); }
  }
}

@layer site {
  :root {
    --sheet: #e1e4da;
    --print: #18231e;
    --print-accent: #215236;
    --folio-rule: #a0aaa0;
  }
  dl, dd, ol { margin: 0; padding: 0; }
  ul { padding: 0; }
  .band { border-top: 1px solid var(--rule); }
  .wash { background: var(--wash); }
  .split { display: grid; gap: clamp(1.6rem, 5vw, 5rem); align-items: start; }
  .split > *, .offer > *, .home-cover > * { min-width: 0; }
  .middle { align-items: center; }
  .stack { display: grid; justify-items: start; gap: 1rem; }
  .stack > p:not([class]) { color: var(--muted); }
  .quiet-link { color: var(--ink); font-size: .95rem; }
  .actions a:not(.btn) { padding-block: .4rem; }
  .hero { padding-block: clamp(1rem, 4vw, 4rem); }
  .home-cover { display: grid; gap: 1.1rem; }
  .hero-copy > p { margin-top: .95rem; max-width: 44ch; }
  .business-types, .talk-formats {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem;
    list-style: none; font-size: .85rem; font-weight: 550; line-height: 1.4;
  }
  .business-types li + li, .talk-formats li + li { border-inline-start: 1px solid var(--color-scale-600); padding-inline-start: .4rem; }
  .hero-copy .actions { margin-top: 1.2rem; }
  .hero-copy .primary { display: inline-block; padding-block: .82rem; }
  .hero-copy .primary b { white-space: nowrap; font-weight: 600; }
  .desk img, .stage img { width: 100%; border-radius: 4px; }
  .desk img { background: var(--surface); }
  .nameplate { margin-top: .65rem; font: 400 .8rem/1.5 var(--label); color: var(--muted); }
  .nameplate strong, .identity strong { color: var(--color-panel-text); font: 600 1rem/1.3 var(--body); }
  .nameplate strong { margin-right: .3rem; }
  .desk .nameplate { padding-bottom: .65rem; border-bottom: 1px solid var(--rule); }
  .access { border-left: 2px solid var(--color-panel-line); padding-left: .85rem; color: var(--muted); font-size: .95rem; }
  .trail-index, .forecast, .proof-wall, .worksheet, .record-trail, .docket ul { list-style: none; }
  .trail-index li { border-block-start: 1px solid var(--rule); }
  .trail-index li:last-child { border-block-end: 1px solid var(--rule); }
  .trail-index a {
    display: grid; grid-template-columns: minmax(0, .82fr) minmax(1.5rem, .35fr) minmax(0, 1.15fr);
    gap: .35rem .9rem; align-items: center; padding: 1.05rem 0;
    text-decoration: none; color: var(--ink); line-height: 1.25;
  }
  .trail-index .three-stops {
    grid-template-columns: auto minmax(.8rem, .35fr) auto minmax(.8rem, .35fr) minmax(0, 1.15fr);
    column-gap: .5rem;
  }
  .trail-index small { grid-column: 1 / -1; font: .8rem/1.45 var(--label); color: var(--muted); }
  .trail-index strong { font-weight: 550; color: var(--accent); }
  .trail-index a:hover strong { text-decoration: underline; }
  .connector { position: relative; width: 100%; border-top: 1px solid var(--muted); }
  .connector::after { content: ""; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-block-start: 1px solid; border-inline-end: 1px solid; transform: rotate(45deg); }
  .paper {
    color-scheme: light; color: var(--print); background: var(--sheet);
    --focus: var(--print-accent);
    padding: clamp(1.35rem, 3vw, 2.5rem);
  }
  .document-label, .ledger caption {
    font: 400 .8rem/1.45 var(--label); letter-spacing: .08em; text-transform: uppercase;
  }
  .receipt { width: min(100%, 24rem); justify-self: center; position: relative; }
  .receipt::after {
    content: ""; position: absolute; inset: 100% 0 auto; height: 6px;
    background: linear-gradient(135deg, var(--sheet) 25%, transparent 26%) 0 0 / 12px 12px,
                linear-gradient(225deg, var(--sheet) 25%, transparent 26%) 0 0 / 12px 12px;
  }
  .receipt-lines { margin: 1.25rem 0; border-top: 1px dashed var(--folio-rule); }
  .receipt-lines div { display: flex; justify-content: space-between; align-items: baseline; padding-block: .5rem; gap: .6rem; }
  .receipt-lines dt, .paper-link { font: 1rem/1.5 var(--label); }
  .receipt-lines dd { font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.15 var(--body); font-variant-numeric: tabular-nums; }
  .receipt-total { border-top: 2px solid var(--print); margin-top: .5rem; color: var(--print-accent); }
  .receipt-total dd { font-size: clamp(3.3rem, 5vw, 5rem); letter-spacing: -.06em; }
  .paper-link { color: var(--print-accent); }
  .forecast { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.45rem, 2vw, 1.5rem); margin-top: 2rem; }
  .forecast li {
    position: relative; padding: clamp(.75rem, 2.2vw, 1.8rem); background: var(--color-scale-100);
    border-top: 1px solid var(--color-scale-400); line-height: 1.25; font-weight: 550;
  }
  .forecast li::after, .slip::after {
    content: ""; position: absolute; right: 0; top: -1px; width: .8rem; height: .8rem;
    background: linear-gradient(45deg, var(--color-scale-300) 49%, var(--paper) 50%);
  }
  .forecast li:last-child { background: var(--color-panel); border-color: var(--accent); }
  .forecast svg { display: block; width: 2.7rem; margin-bottom: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .forecast a { display: block; }
  .signer { display: grid; grid-template-columns: minmax(6rem, .45fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
  .signer img { width: 100%; max-width: 14rem; justify-self: end; border-radius: 4px; }
  .signer .nameplate { margin: 0; }
  .career { display: grid; line-height: 1.25; }
  .career strong { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 550; letter-spacing: -.045em; }
  .career span { font: .8rem/1.45 var(--label); color: var(--muted); }
  .proof-wall { display: grid; margin-block: 2rem 1rem; border-block: 1px solid var(--rule); }
  .proof-wall li + li { border-top: 1px solid var(--rule); }
  .proof-wall a { display: grid; align-content: start; gap: .45rem; height: 100%; color: var(--ink); text-decoration: none; padding: 1.2rem 0; }
  .proof-wall a:hover small { text-decoration-thickness: 2px; }
  .proof-wall strong { font: 550 clamp(3.8rem, 6vw, 6.2rem)/.95 var(--body); color: var(--accent); letter-spacing: -.06em; }
  .proof-wall .award-title { font-size: clamp(2.05rem, 3.2vw, 3.6rem); line-height: 1.04; max-width: 10ch; }
  .proof-wall span { max-width: 26ch; line-height: 1.3; }
  .proof-wall small { font: .8rem/1.4 var(--label); color: var(--muted); text-decoration: underline; text-underline-offset: .18em; }
  .signer-links { display: flex; gap: .75rem 2rem; align-items: baseline; flex-wrap: wrap; }
  main details { border-top: 1px solid var(--rule); margin-top: .9rem; width: 100%; }
  .signer-links details { width: auto; margin: 0; border: 0; }
  main summary { width: fit-content; display: flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-weight: 550; }
  main summary::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  main details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
  main details p, main details dl { margin-block: .35rem .85rem; }
  .folder { width: min(100%, 30rem); justify-self: center; padding-top: .25rem; }
  .contract { width: 83%; margin-left: 7%; padding: 1.5rem 1.7rem 3.5rem; transform: rotate(-3deg); }
  .contract strong { font-size: 1.6rem; font-weight: 550; }
  .contract i, .ruled-fields { display: block; height: 2.5rem; width: 70%; margin-top: .5rem; background: repeating-linear-gradient(transparent 0 11px, var(--folio-rule) 11px 12px); }
  .folder-front { position: relative; margin-top: -2.5rem; }
  .folder-front a { position: relative; display: inline-block; min-height: 44px; padding: .6rem 1.4rem .45rem; background: var(--color-selected); border-radius: 5px 12px 0 0; border: 1px solid var(--color-panel-line); border-bottom: 0; transform: translateY(1px); }
  .folder-front p { background: var(--color-selected); border: 1px solid var(--color-panel-line); padding: 1.4rem; border-radius: 0 4px 4px 4px; font: 500 clamp(1.3rem, 2.6vw, 2.3rem)/1.18 var(--body); }
  .stage .nameplate { display: grid; gap: .2rem; }
  .stage a { color: var(--muted); width: fit-content; }
}

@layer site {
  .offer { display: grid; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
  .offer-story, .offer-terms { padding: clamp(1.1rem, 3.2vw, 3rem); }
  .offer-story { gap: .9rem; }
  .identity { display: flex; align-items: center; gap: .7rem; }
  .identity img { width: 3rem; height: 3rem; border-radius: 50%; }
  .identity p { color: var(--muted); font: .8rem/1.35 var(--label); }
  .identity strong { display: block; }
  .offer-terms { background: var(--color-panel); color: var(--color-panel-text); border-radius: 0 0 7px 7px; }
  .offer-name { font: 550 clamp(1.45rem, 2.1vw, 2rem)/1.2 var(--body); }
  .offer-terms small, .week { color: var(--color-panel-muted); font: .85rem/1.4 var(--label); }
  .price { border-top: 1px solid var(--color-panel-line); padding-top: 1rem; margin-top: 1.1rem; font-size: 1.1rem; }
  .price strong { font: 550 clamp(2.7rem, 4.8vw, 4.75rem)/1.05 var(--body); letter-spacing: -.055em; }
  .week { margin-top: .25rem; }
  .offer-lists {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: .85rem;
    margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--color-panel-line);
  }
  .offer-lists h2 { margin-bottom: .4rem; font: 600 1rem/1.25 var(--body); }
  .offer-lists ul { padding-inline-start: 1em; color: var(--color-panel-muted); font-size: .9rem; line-height: 1.35; }
  .offer-lists li + li { margin-top: .3rem; }
  .offer-terms .actions { margin-top: 1.3rem; }
  .quote-band { background: var(--color-panel); padding-block: clamp(1.4rem, 3vw, 2.7rem); }
  .witness { border-left: 2px solid var(--accent); padding-left: clamp(1rem, 2.4vw, 2rem); }
  .witness blockquote, .witness h2 { font-size: clamp(1.35rem, 2.35vw, 2.35rem); line-height: 1.23; letter-spacing: -.03em; max-width: 46ch; }
  .witness figcaption { color: var(--color-panel-muted); font: .85rem/1.5 var(--label); margin-top: .65rem; }
  .witness.compact { margin-top: 1.5rem; }
  .witness.compact blockquote { font-size: clamp(1.25rem, 1.9vw, 1.85rem); }
  .witness-action { margin-top: 1rem; }
  .ledger { width: 100%; border-collapse: collapse; font: 1rem/1.35 var(--body); }
  .ledger-block { container: books / inline-size; }
  .ledger caption { text-align: start; background: var(--color-scale-100); padding: .7rem .6rem; }
  .ledger :is(th, td) { padding: .85rem .55rem; text-align: right; border-bottom: 1px solid var(--rule); }
  .ledger thead th { font-weight: 500; font-size: .9rem; color: var(--muted); }
  .ledger th:first-child { text-align: left; width: 42%; }
  .ledger tbody th { font-weight: 550; }
  .ledger small { display: block; color: var(--muted); font-weight: 400; }
  .ledger td { font-family: var(--label); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ledger :is(th,td):last-child { border-left: 1px solid var(--rule); color: var(--accent); background: var(--color-panel); }
  .sample-grid { display: grid; gap: 1.5rem; }
  .opinion { position: relative; width: min(100%, 31rem); justify-self: center; border-top: .4rem solid var(--print-accent); box-shadow: 5px 5px 0 var(--color-scale-400); }
  .opinion .document-label { border-bottom: 1px solid var(--folio-rule); padding-bottom: .7rem; }
  .finding { margin-top: 1.1rem; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.15; }
  .finding strong { display: block; color: var(--print-accent); font: 550 clamp(3.9rem, 6.5vw, 6rem)/1.05 var(--body); letter-spacing: -.065em; }
  .arithmetic { margin-block: 1.25rem .4rem; font: 1rem/1.5 var(--label); }
  .evidence { border-top: 1px solid var(--folio-rule); padding-top: .5rem; }
  .sign-off { display: flex; align-items: end; justify-content: space-between; gap: .5rem; margin-top: 2rem; font: .85rem/1.4 var(--label); }
  .sign-off strong { font: 500 italic 1.2rem/1.15 var(--body); }
  .blank { display: inline-block; min-width: 3rem; border-bottom: 1px dotted currentColor; }
  .worksheet { padding: .45rem clamp(1rem, 2vw, 1.8rem); border: 1px solid var(--rule); background: var(--surface); }
  .worksheet li { position: relative; padding: 1rem 0 1rem 2.1rem; }
  .worksheet li + li { border-top: 1px solid var(--rule); }
  .worksheet li::before { content: ""; position: absolute; top: 1.45rem; left: 0; width: 1.15rem; height: .6rem; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-48deg); }
  .definitions dt { font-weight: 600; }
  .definitions dd { color: var(--muted); }
  .definitions div + div { margin-top: .65rem; }
  .trail-sheet { margin-block: 1.6rem; }
  .trail-sheet .document-label { color: var(--muted); }
  .record-trail { margin: 1.2rem 0; }
  .record-trail li { position: relative; padding: 0 0 1.1rem 1.8rem; border-left: 1px solid var(--color-scale-500); margin-left: .45rem; }
  .record-trail li::before { content: ""; position: absolute; left: -.37rem; top: .45rem; width: .68rem; height: .68rem; border: 2px solid var(--color-scale-600); border-radius: 50%; background: var(--wash); }
  .record-trail li:last-child { border-color: transparent; padding-bottom: 0; color: var(--accent); font-weight: 550; }
  .record-trail li:last-child::before { border-color: var(--accent); background: var(--accent); }
  .privacy-note { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .85rem; font: .85rem/1.4 var(--label); color: var(--muted); }
  .privacy-note strong { font-weight: 400; color: var(--ink); border: 1px solid var(--color-scale-400); border-radius: 3px; padding: .2rem .45rem; }
  .payment-sheet { background: var(--surface); }
  .payment-sheet .document-label { padding: .65rem .8rem; text-align: right; color: var(--muted); border-block: 1px solid var(--rule); }
  .payment-sheet dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .3rem 1rem; padding: 1rem .8rem; border-bottom: 1px solid var(--rule); }
  .payment-sheet dt { font-weight: 550; }
  .payment-sheet dd { display: contents; }
  .payment-sheet dd span { grid-column: 1; grid-row: 2; font-size: .95rem; color: var(--muted); }
  .payment-sheet strong { grid-column: 2; grid-row: 1 / 3; align-self: center; padding-left: 1rem; border-left: 1px solid var(--rule); font-weight: 500; }
  .matching-slips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
  .slip { display: grid; justify-items: start; grid-template-rows: auto 1fr auto; align-items: start; position: relative; padding: clamp(.9rem, 2.1vw, 1.6rem); background: var(--color-scale-100); border-top: 1px solid var(--color-scale-400); }
  .slip::after { background: linear-gradient(45deg, var(--color-scale-300) 49%, var(--wash) 50%); }
  .slip h3 { font-size: clamp(1.1rem, 2vw, 1.55rem); }
  .ruled-fields { width: 100%; height: 3.05rem; margin-block: .8rem 1.1rem; --folio-rule: var(--color-line); }
  .slip span, .stamp { font: .85rem/1.4 var(--label); }
  .slip span { align-self: center; }
  .stamp { color: var(--color-panel-text); border: 1px dashed var(--color-muted); padding: .2rem .65rem; border-radius: 3px; }
  .docket { padding: clamp(1rem, 2.5vw, 2rem); background: var(--color-scale-100); border-top: 2px solid var(--rule); font-family: var(--label); }
  .docket ul { margin-block: .8rem; }
  .docket li { display: flex; gap: 1rem; align-items: baseline; padding: .4rem 0; }
  .docket .blank { flex: 1; color: var(--muted); }
  .docket-total { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--muted); padding-top: 1rem; }
  .docket-total strong { color: var(--accent); border-bottom: 3px double; font: 550 clamp(1.5rem, 2.2vw, 2.1rem)/1.25 var(--body); }
  .docket-total p { flex: 1 1 12rem; color: var(--muted); font: .9rem/1.4 var(--body); }
  .engagement { border-block: 1px solid var(--rule); padding-left: 2.4rem; background: var(--surface); }
  .engagement li { padding: .85rem .8rem; }
  .engagement li + li { border-top: 1px solid var(--rule); }
  .engagement li::marker { font: .9rem var(--label); color: var(--muted); }
  .terms-sheet { padding: clamp(1.2rem, 2.5vw, 2.3rem); border-left: 3px solid var(--accent); background: var(--color-panel); }
  .terms-sheet .clause { border-bottom: 1px solid var(--color-panel-line); padding-bottom: 1rem; color: var(--color-panel-text); font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
  .clause strong { color: var(--accent); font-weight: 550; }
  form > .document-label { border-bottom: 1px solid var(--rule); margin-bottom: 1.2rem; padding-bottom: .7rem; }
  .reply { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
  .field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
  #form-status:not(:empty) { margin-top: 1rem; }
  #form-status[data-state="error"] { color: var(--error); }
  .btn:disabled { cursor: wait; }

  @media (min-width: 48rem) {
    .wrap { width: min(100% - 5rem, 78rem); }
    .split { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
    .sample-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); column-gap: clamp(1.6rem, 5vw, 5rem); }
    .sample-grid h2 { align-self: end; }
    .sample-grid .opinion { grid-area: 1 / 2 / 3 / 3; align-self: center; }
    .sample-grid .stack { align-self: start; }
    .home-cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3vw, 3.25rem); align-items: center; }
    .desk { grid-column: 2; grid-row: 1; }
    .hero-copy { grid-column: 1; grid-row: 1; }
    .hero-copy h1 { text-wrap: balance; }
    .desk img { aspect-ratio: 1.33; object-fit: cover; object-position: 64% 50%; }
    .nameplate { margin-top: .8rem; }
    .hero h1 { font-size: clamp(3rem, 5.15vw, 5rem); }
    .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .offer-story { align-content: center; }
    .offer-terms { align-content: center; border-radius: 0 7px 7px 0; }
    .price { margin-top: 2rem; }
    .proof-wall { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .proof-wall li + li { border-top: 0; border-left: 1px solid var(--rule); }
    .proof-wall a { padding: 1.65rem; }
    .proof-wall li:first-child a { padding-left: 0; }
    .proof-wall small { margin-top: .6rem; }
    .record-trail { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-block: 2rem; }
    .record-trail li { margin: 0; border-left: 0; border-top: 1px solid var(--color-scale-500); padding: 1rem 1.25rem 0 0; }
    .record-trail li::before { left: 0; top: -.37rem; }
    .record-trail li:last-child { padding-right: 0; }
    .signer { grid-template-columns: auto 1fr; }
  }
  @media (max-width: 47.99rem) {
    .mast-inner { min-height: 3.5rem; }
    .hero h1 { font-size: clamp(2.1rem, 9.2vw, 3.85rem); }
    .hero-copy > p { margin-top: .65rem; }
    .hero-copy .actions { margin-top: .85rem; }
    .hero-copy .primary { flex-basis: 100%; }
    .hero .lead { font-size: 1.04rem; }
    .hero .access { font-size: .89rem; }
    .offer-story { gap: .65rem; }
    .offer-terms p:not([class]) { display: inline; font-size: .95rem; }
    .offer-terms .price { display: inline-block; border: 0; padding: 0; margin: .7rem .75rem 0 0; }
    .offer-terms .week { display: inline-block; }
    .offer-terms .actions { margin-top: .7rem; }
    .offer-terms small { display: block; }
    .desk .nameplate { margin-top: .45rem; font-size: .75rem; }
    .trail-index a { padding-block: .8rem; }
    .forecast { font-size: clamp(.94rem, 3.5vw, 1.15rem); }
    .proof-wall a { grid-template-columns: minmax(4.5rem, .43fr) minmax(0,1fr); align-items: center; gap: .25rem 1rem; }
    .proof-wall strong { grid-row: 1 / 3; }
    .proof-wall .award-title { grid-column: 1 / -1; max-width: none; font-size: 1.8rem; }
    .proof-wall li:last-child small { grid-column: 1 / -1; }
    .signer .stack { gap: .6rem; }
  }
  @container books (max-width: 26rem) {
    .ledger th:first-child { width: 38%; }
    .ledger :is(th,td) { padding: .7rem .27rem; }
    .ledger thead th { font-size: .81rem; }
    .ledger tbody th { font-size: .95rem; }
  }
  @media (max-width: 24rem) {
    .wrap { width: calc(100% - 1.75rem); }
    .btn { padding-inline: .8rem; }
    .forecast { gap: .35rem; }
    .forecast li { padding-inline: .55rem; }
  }
}

@layer site {
  .bid-slips { margin: 0; }
  .bid-slips small { display: block; margin-top: .65rem; color: var(--color-panel-muted); font: .8rem/1.4 var(--label); }
  .bid-check { margin-block-start: 1rem; border-block-start: 1px solid var(--rule); padding-block-start: .75rem; }
  .bid-check dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block-start: .5rem; }
  .bid-check dt { font: .95rem/1.4 var(--label); }
  .bid-check dd { font: 550 clamp(1.6rem, 1rem + 2vw, 2.8rem)/1.15 var(--body); font-variant-numeric: tabular-nums; }
  .payment-sheet .sheet-columns {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
    gap: 1rem; text-align: left;
  }
  .sheet-columns span:last-child { padding-left: 1rem; }
  .record-note, .source-label { font: .88rem/1.5 var(--label); }
  .record-note { color: var(--muted); }
  .paper .record-note { color: var(--print); }
  .forecast-check {
    width: 100%; padding: clamp(1rem, 3vw, 2.2rem); background: var(--surface);
    border-block: 1px solid var(--rule); font-variant-numeric: tabular-nums;
  }
  .forecast-scale {
    display: flex; justify-content: space-between; margin-top: 1.5rem;
    color: var(--muted); border-bottom: 1px solid var(--rule); font: .82rem/1.7 var(--label);
  }
  .forecast-bar { padding-top: .8rem; }
  .forecast-bar strong { display: block; margin-bottom: .25rem; font: 500 1.15rem/1.4 var(--body); }
  .measure { height: .85rem; background: var(--color-scale-100); }
  .measure i { display: block; width: var(--forecast); height: 100%; background: var(--color-reference); }
  .actual .measure i { width: var(--actual); background: var(--accent); }
  .gap-bracket {
    height: .85rem; width: calc(var(--forecast) - var(--actual)); margin-left: var(--actual);
    border: solid var(--color-panel-muted); border-width: 0 1px 1px;
  }
  .gap-label { text-align: right; margin-top: .5rem; max-width: none; color: var(--color-panel-text); }
  .gap-label small { display: block; color: var(--muted); font: .85rem/1.5 var(--label); }
  .comparison :is(th, td), .evidence-key :is(th, td) { text-align: start; white-space: normal; }
  .comparison :is(th, td):last-child { background: transparent; color: var(--ink); border-left: 0; }
  .comparison td.winner { color: var(--accent); background: var(--color-panel); }
  .comparison th:first-child { width: 36%; }
  .bid-pair { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
  .bid-pair span { padding-left: .6rem; border-left: 2px solid var(--accent); }
  .bid-pair span + span { border-color: var(--color-reference); }
  .ranks a { height: auto; }
  .proof-wall .rank-note { font: .85rem/1.4 var(--label); color: var(--muted); }
  .form-band .split { align-items: start; }
  .form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
  .form-status:not(:empty), form noscript p { margin-top: 1rem; }
  .form-status[data-state="error"] { color: var(--error); }
  .data-choice { margin-bottom: 1.25rem; }
  .data-choice .field { margin-bottom: .35rem; }
  .check-option { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; }
  .check-option input[type="checkbox"] { flex: none; margin: 0; padding: 0; width: 1.15rem; min-height: 0; height: 1.15rem; accent-color: var(--accent); }
  .deadline-choices { flex-direction: column; align-items: start; }
  .deadline-fields:not([hidden]) { margin-top: .85rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
  .deadline-fields .field { margin: 0; }
  .deadline-fields .field:last-child { grid-column: 1 / -1; }
  .form-band .field :is(input, textarea) { min-width: 0; }
  .equation { width: min(100%, 32rem); }
  .equation .receipt-lines { list-style: none; margin-bottom: .5rem; }
  .equation li { padding-block: .55rem; border-bottom: 1px dashed var(--folio-rule); font: 1rem/1.4 var(--label); }
  .equation p.receipt-total { padding-block: .8rem .4rem; font: 550 clamp(1.65rem, 2.8vw, 2.7rem)/1.13 var(--body); }
  .equation .document-label { margin-block-start: 1rem; }
  .equation .record-note { margin-bottom: 1rem; }
  .equation details { border-color: var(--folio-rule); }
  .trail-reference, .trail-fields { font: .85rem/1.4 var(--label); color: var(--muted); }
  .trail-reference { display: block; width: fit-content; border: 1px solid var(--rule); padding: .15rem .4rem; margin-top: .4rem; }
  .trail-fields { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
  .trail-fields span { border-bottom: 1px dotted var(--color-muted); padding-bottom: .4rem; }
  .status-rows > div { display: grid; grid-template-columns: 5rem minmax(0,1fr); gap: .75rem; padding-block: .9rem; }
  .status-rows > div + div { border-top: 1px solid var(--rule); }
  .status-rows dd { font: 1.05rem/1.45 var(--body); }
  .evidence-key :is(th,td):last-child { color: var(--ink); background: var(--surface); }
  .evidence-key th:first-child { width: 30%; font-family: var(--label); color: var(--accent); }
  .evidence-key td { font-family: var(--body); }
  .evidence-key td p { margin-block: .5rem; color: var(--muted); }
  .method .opinion .btn { margin-top: 1rem; }
  .opinion .ruled-fields { --folio-rule: #a0aaa0; }
  .research .folder-front .btn { color: var(--action-ink); background: var(--action); border-color: var(--action); }
  .research .folder-front .btn:hover { background: var(--action-hover); }
  .sample-finding { display: grid; gap: .35rem; max-width: 28ch; }
  .sample-cover { border-top-color: var(--accent); }
  .sample-dates, .sample-scope { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.25rem; }
  .sample-dates { padding-bottom: 1rem; border-bottom: 1px solid var(--rule); color: var(--muted); font: .85rem/1.4 var(--label); }
  .sample-cover h2 { margin-block: 1.5rem; max-width: none; font-size: clamp(1.45rem, 2.9vw, 2.65rem); }
  .sample-cover .budget { display: block; margin-block: .35rem; color: var(--accent); }
  .budget b { font: 550 clamp(3.4rem, 8vw, 6.7rem)/.98 var(--body); letter-spacing: -.07em; }
  .sample-scope { justify-content: flex-start; border-block: 1px solid var(--rule); padding-block: .65rem; font-size: 1rem; }
  .sample-cover .record-note { margin-block: .9rem; }
  .sample-cover .actions { font: .95rem/1.4 var(--body); }
  .findings-band { background: var(--wash); }
  .findings-grid { display: grid; gap: clamp(1.5rem, 3.2vw, 3rem); }
  .result-card { display: grid; align-content: start; justify-items: start; gap: 1rem; padding: clamp(1.25rem, 3vw, 2.7rem); width: 100%; }
  .result-card h2 { max-width: none; font: 500 clamp(1.35rem, 2.4vw, 2.3rem)/1.18 var(--body); letter-spacing: -.03em; }
  .result-card h2 strong { display: block; font: 550 clamp(1.9rem, 3.6vw, 3.5rem)/1.06 var(--body); letter-spacing: -.05em; margin-block: .2em; color: var(--accent); }
  .result-card .source-label { align-self: end; }
  .result-card.paper h2, .final-opinion h2 { color: var(--print); }
  .paper .source-label, .paper h2 strong { color: var(--print-accent); }
  .result-card .receipt-total { padding-top: .85rem; }
  .rate-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font: 1rem/1.4 var(--label); }
  .device-finding h2 span { display: block; border-top: 1px solid var(--rule); padding-top: .7rem; }
  .device-finding h2 span + span { margin-top: .7rem; }
  .device-finding h2 span + span strong { display: inline; font-size: inherit; }
  .device-finding p { color: var(--muted); }
  .target-finding { background: var(--color-panel); border-top: 2px solid var(--accent); }
  .result-card .docket-total { width: 100%; color: var(--muted); font-size: .95rem; }
  .rating-finding { align-items: center; }
  .rating-finding .source-label { display: inline-block; margin-top: .75rem; }
  .photo-cover { display: grid; align-items: center; gap: clamp(1.1rem, 3.6vw, 3.5rem); }
  .speaking .trail-index .route-row { grid-template-columns: minmax(6.9rem,.6fr) minmax(1rem,.2fr) minmax(0,1.7fr); }
  .programme .talk-source { display: inline-block; padding: 0 0 1rem; font: .88rem/1.4 var(--body); color: var(--muted); text-decoration: underline; }
  .stage-proof { margin: 0; padding-block: 1.5rem; align-items: end; gap: 1.5rem; }
  .stage-proof a { display: inline; height: auto; padding: 0; color: var(--accent); text-decoration: underline; }
  .stage-proof h2 { max-width: 26ch; }
  .stage-proof .record-note { margin-top: .7rem; }
  .owner-cover {
    grid-template-areas: "photo title" "story story" "quote quote";
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1rem;
  }
  .owner-cover .owner-photo { grid-area: photo; justify-self: start; width: 100%; max-width: 24rem; }
  .owner-cover h1 { grid-area: title; }
  .owner-cover h1 span { display: block; margin-top: .3rem; color: var(--color-panel-muted); font: 400 clamp(1rem, 2.2vw, 1.65rem)/1.25 var(--label); letter-spacing: -.035em; }
  .owner-story { grid-area: story; }
  .owner-cover .witness { grid-area: quote; margin: 0; }
  .webinar-plate { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .85rem; padding-block: .5rem; border-block: 1px solid var(--rule); }
  .webinar-plate strong { font: 550 1.5rem/1.2 var(--body); }
  .webinar-plate strong:last-of-type { color: var(--accent); }
  .webinar-plate p { flex-basis: 100%; }
  .audit-route p { margin-bottom: .5rem; font-family: var(--label); }
  .audit-route span { color: var(--muted); }
  .career-sheet .career strong { color: var(--print-accent); font-size: clamp(3rem, 5.6vw, 5rem); }
  .career-sheet .career span { color: var(--print); font-size: 1rem; }
  .career-counts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-block: 1rem; padding-block: .7rem; border-block: 1px solid var(--folio-rule); }
  .science-sheet h2 { max-width: none; }
  .science-sheet .science-records { display: grid; margin-block: 1.6rem; gap: 1rem; }
  .science-records li { display: grid; align-content: start; gap: .7rem; border-top: 1px solid var(--rule); padding-top: .65rem; }
  .science-records p { font: 500 1.25rem/1.3 var(--body); }
  .science-records strong { display: block; color: var(--accent); font: 550 clamp(3.6rem, 6.7vw, 6rem)/1.05 var(--body); letter-spacing: -.055em; }
  .science-records small, .science-records a, .science-awards { font: .95rem/1.45 var(--body); }
  .science-awards { display: grid; gap: .5rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
  .science-sheet details { font-family: var(--body); }
  .teach-count strong { font-size: 1.25em; color: var(--accent); }
  .teaching-list > div { border-top: 1px solid var(--rule); padding-block: .6rem; }
  .final-opinion { width: min(100%, 48rem); margin: auto; }
  .final-opinion .sign-off { align-items: center; flex-wrap: wrap; border-top: 1px solid var(--folio-rule); padding-top: 1rem; }
  .final-opinion .btn { margin: 0; }

  @media (min-width: 48rem) {
    .ranks, .findings-grid, .photo-cover, .stage-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .photo-cover .stage { grid-column: 2; grid-row: 1; }
    .photo-cover .stack { grid-column: 1; grid-row: 1; }
    .rating-finding { grid-column: 1 / -1; grid-template-columns: 1.45fr 1fr; gap: 3rem; }
    .owner-cover {
      grid-template-areas: "title photo" "story photo" ". quote"; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
      gap: 1.4rem clamp(2rem, 5vw, 5rem);
    }
    .owner-cover h1 { align-self: end; }
    .owner-story { align-self: start; }
    .owner-cover .owner-photo, .owner-cover .witness { justify-self: start; max-width: 24rem; }
    .science-sheet .science-records { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .trail-reference { position: absolute; left: 26%; top: -1.8rem; padding: 0; border: 0; }
    .method .record-trail { margin-top: 3rem; }
  }
  @media (max-width: 47.99rem) {
    .photo-cover .stage img { aspect-ratio: 960 / 541; }
    .speaking .photo-cover .stack { gap: .7rem; }
    .ranks li:last-child small, .proof-wall .rank-note { grid-column: 2; }
    .science-records li { grid-template-columns: minmax(0,1fr) minmax(6.5rem,.6fr); align-items: center; }
    .science-records li p { grid-row: 1 / span 2; }
    .science-records li a { width: fit-content; }
    .science-records strong { font-size: 3.1rem; }
    .owner-cover .witness blockquote { max-width: 36ch; }
  }
  @container books (max-width: 34rem) {
    .comparison, .comparison tbody, .evidence-key, .evidence-key tbody { display: block; }
    .comparison tr, .evidence-key tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .comparison th:first-child, .evidence-key th:first-child { grid-column: 1 / -1; width: auto; padding-top: 1rem; }
    .evidence-key td { grid-column: 1 / -1; }
  }
}
