/* sqx.com — one site for every SQX product section, dressed in the SQX brand.

   The brand is the SQX Design System project on claude.ai/design
   (30c61c84-2c00-45dc-97a0-7764e107bb2b): its readme.md holds the rules and
   tokens/*.css the values. The :root block below repeats those token files,
   with the owner's review (2026-10-21) applied on top: SQX Blue is #005388,
   navy is gone, the type scale is larger, and the chart palette is added.
   A change to the brand is a change to that block, not a hunt through the
   rules. Everything after it reads the tokens.

   The rules this sheet follows, from the kit and the owner's design review
   (2026-10-21): SQX Blue (#005388) is the only accent and every blue on the
   site is SQX Blue; the header and the footer are SQX Blue, text on it is
   white; no navy. The Watermark grey (#E7E9EF) is the band colour that breaks
   up the white pages (page titles, the contact band, home bands). Roboto
   only. Cards are white with a 1px hairline and a 2px blue rule under their
   header; radius 3-5px; shadows only on floating UI. Every block of a page
   starts on the one left edge of the content column; text keeps a reading
   measure. Nothing moves while the page scrolls on a desktop: the header is
   fixed at the top, and only a phone's header slides away (brand.json
   header_hides_on_scroll). Content links are underlined. */

:root {
  /* tokens/colors.css */
  --sqx-blue: #005388;
  --sqx-blue-deep: #00426D;   /* hover and pressed states of SQX Blue */
  --sqx-on-dark: #FFFFFF;
  --sqx-on-dark-muted: rgba(255,255,255,0.86);
  --sqx-bg-icon: #69727A;
  --sqx-bg-icon-opacity: 0.06;
  --sqx-watermark: #E7E9EF;
  --sqx-surface-alt: #EEF1F5;
  --sqx-panel: #F4F6F9;
  --sqx-white: #FFFFFF;
  --sqx-grey: #69727A;
  --sqx-ink: #1A2430;
  --sqx-body: #444C55;
  --sqx-hairline: #D3D7DF;
  --sqx-line-soft: #E2E6EC;
  /* A form's refusal (the contact form's reason or fallback): the red of
     --chart-down, 6.5:1 on white and 5.4:1 on the watermark band. */
  --sqx-error: #B3261E;
  /* The secondary colour (owner review 2026-10-28): the section bar under the
     header, and the light accents that pair with SQX Blue. Text on it is SQX
     Blue or body grey and darker (the grey #69727A fails contrast on it). */
  --sqx-secondary: #ABCDEA;

  /* tokens/typography.css */
  --font-sans: 'Roboto', 'Roboto Fallback', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  /* The type scale reads at the size of the sqx.com it replaces (18px running
     text, 36px section heads); tables and menus keep a denser step. */
  /* Heading sizes scale between their phone (375px) and desktop (1440px)
     values, so no breakpoint resizes a heading or moves the text under it. */
  --fs-h1: clamp(34px, 1.31vw + 29.1px, 48px);
  --fs-h2: clamp(26px, 0.75vw + 23.2px, 34px);
  --fs-h3: clamp(20px, 0.19vw + 19.3px, 22px);
  --fs-h4: 18px;
  --fs-lead: 21px;
  --fs-base: 17px;
  --fs-ui: 15px;      /* menus, buttons, tables, footer */
  --fs-small: 14px;
  --fs-eyebrow: 9.5px;
  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.55;
  /* One letter spacing for the whole site (owner review 2026-10-28): the
     font's own, with kerning on, for every heading and every line of text;
     the small all-capitals labels alone take --tracking-caps, the one value
     that keeps capitals at 10-13px legible. */
  --tracking-caps: 0.08em;

  /* tokens/spacing.css */
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 18px;
  --space-7: 22px;
  --space-8: 26px;
  --space-9: 32px;
  /* The page margin (owner review 2026-10-28: slightly wider, the same on
     every page and for every block): the column is --max wide and sits
     --page-padding in from the window edge, so at 1440px each margin is 80px.
     It scales with the window between a phone's 20px and 40px, so no
     breakpoint moves the left edge of the header or the page. */
  --page-padding: clamp(20px, 2.8vw, 40px);
  --radius-sm: 3px;
  /* The header is two bars, the blue one two thirds of its height and the
     section bar one third (owner review 2026-10-28). */
  --header-main-h: 64px;
  --header-sub-h: 32px;
  /* The header row's controls: the menu button, the search and both buttons. */
  --control-h: 42px;
  /* One button size for every action on the page (the hero's two are the
     one larger pair). */
  --btn-h: 46px;
  --btn-px: 24px;
  --btn-fs: 16px;
  --radius: 5px;
  --shadow-card: 0 10px 30px rgba(26, 36, 48, 0.18);
  --hero-gradient: linear-gradient(118deg, rgba(0,66,109,.94) 0%, rgba(0,83,136,.82) 46%, rgba(0,83,136,.5) 100%);

  /* One palette for every chart on the site, the content pages' and the
     apps' alike. Categories take the series colours in this order, SQX Blue
     first; an ordered quantity (age, tenor, size) takes the blue ramp, light
     to dark; a rise and a fall take up and down, always beside a sign or an
     arrow. */
  --chart-1: #005388;
  --chart-2: #C4561F;
  --chart-3: #12876A;
  --chart-4: #8B4FB8;
  --chart-5: #8D6E00;
  --chart-6: #C2336B;
  --chart-7: #4B5563;
  --chart-8: #2AA3C9;
  --chart-9: #7A4E2D;
  --chart-10: #6B8E23;
  --chart-other: #A7AFB7;
  /* The same series for marks on SQX Blue (the home hero's issuer map): white,
     then light tints of --chart-8 and --chart-5, which keep their hue there. */
  --chart-on-dark-1: #8FD6EE;
  --chart-on-dark-2: #F0BE5A;
  --chart-on-dark-3: #FFFFFF;
  --chart-seq-1: #D6E6F2;
  --chart-seq-2: #A9CBE6;
  --chart-seq-3: #6FA6D2;
  --chart-seq-4: #3A7DB4;
  --chart-seq-5: #005388;
  --chart-seq-6: #00345A;
  --chart-grid: #E2E6EC;
  --chart-axis: #69727A;
  --chart-up: #12876A;
  --chart-down: #B3261E;

  /* The names the site's apps read (apps/<app>/*.css), mapped onto the tokens. */
  --accent: var(--sqx-blue);
  --accent-deep: var(--sqx-blue-deep);
  --accent-wash: var(--sqx-surface-alt);
  --accent-line: var(--sqx-hairline);
  --navy: var(--sqx-blue-deep);
  --ink: var(--sqx-ink);
  --text: var(--sqx-body);
  --muted: var(--sqx-body);
  --faint: var(--sqx-grey);
  --label: var(--sqx-grey);
  --line: var(--sqx-hairline);
  --rule: var(--sqx-line-soft);
  --line-2: var(--sqx-hairline);
  --bar-text: var(--sqx-on-dark-muted);
  --paper: var(--sqx-white);
  --panel: var(--sqx-white);
  --sans: var(--font-sans);
  /* Code only, in the Roboto family's monospace face. Data (dates, CUSIPs,
     counts) stays in Roboto with tabular figures. */
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: var(--page-padding);
  --max: 1360px;
  color-scheme: light;
}

* { box-sizing: border-box; }
/* Anchor jumps, focus and scrollIntoView land below the sticky bars; a jump upward
   brings them back, so the full height is kept clear. The clearance is each page
   element's scroll margin, not the page's scroll padding: the bars' own contents
   (the header search field, its suggestion list) sit inside that band, so with
   padding every keystroke in the field would scroll the page to reveal the caret.
   The scrollbar's width is kept whether or not the page scrolls, so the page does
   not move sideways when content arriving makes it taller than the window. */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
:not(.site-header, .site-header *, .section-bar, .section-bar *) { scroll-margin-top: var(--chrome-h, 0px); }
/* The page does not bounce past its ends (macOS and phone elastic scrolling),
   so the fixed header never moves with it. */
html, body { overscroll-behavior-y: none; }
body {
  margin: 0;
  background: var(--sqx-white);
  color: var(--sqx-body);
  font: var(--fw-regular) var(--fs-base)/1.6 var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-kerning: normal;
  letter-spacing: normal;
}
a { color: var(--sqx-blue); text-decoration: none; }
a:hover { color: var(--sqx-blue-deep); text-decoration: underline; }
/* A link inside running text is underlined, so a blue word on white is never
   the only cue that it is a link. Buttons, menus, titles (bold headings that
   are links), the Data Search grid's ink-coloured names, the issuer map's
   legend and the tiles, chips and table figures that open Data Search keep
   their own look. */
:is(main, .site-article, .cta-band) :is(p, li, td, dd, figcaption, blockquote) a:not(.site-btn, .action-btn, .cta-btn, .dict-download-btn, :is(h2, h3, h4) a, .grid a, .api-nav a, .atlas-link, .ds-chips a, .ds-states a, .hm-legend a),
.site-footer .footer-contactcol a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.card-grid > li > strong:first-child > a { text-decoration: none; }
/* A link to another site carries an arrow-out-of-a-box icon. The site links its
   own pages by path, so an absolute http(s) href is always another site
   (test_sqx_site_links.sh). A link that is a picture (fact-sheet covers, footer
   logos, the LinkedIn mark) carries none, nor does a link that opens a file (a PDF,
   whose text says so). The icon is an inline box holding a
   word joiner, not an inline-block, so a line never breaks between the link's
   last word and its icon; the mask draws the 0.75em icon in its padding. */
a[href^="http"]:not(:has(img, svg), [href$=".pdf" i])::after {
  content: "\2060";
  display: inline;
  padding-left: 0.75em;
  margin-left: 0.25em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 2H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V7M7 2h3v3M10 2L5.5 6.5' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 2H2.5a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V7M7 2h3v3M10 2L5.5 6.5' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
:focus-visible { outline: 2px solid var(--sqx-blue); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
/* No one-word last lines in running text; headings split into even lines. */
p, li, dd, blockquote, figcaption, .cta-inner p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
body > main:not([class]) p > img, body > main:not([class]) figure img { display: block; max-width: min(100%, 880px); border-radius: var(--radius); }
code, pre, kbd { font-family: var(--mono); font-size: 0.88em; }
/* A field name in running text is one long token (publicly_issued_unlisted_dpp_…);
   it breaks only where it would overrun its line on a phone. break-word, unlike
   anywhere, leaves a table column's minimum width at the whole name. */
:not(pre) > code { padding: 1px 5px; background: var(--sqx-panel); border: 1px solid var(--sqx-line-soft); border-radius: var(--radius-sm); color: var(--sqx-ink); overflow-wrap: break-word; }

/* The eyebrow: uppercase, bold, tracked, grey. One look for every small label. */
.article-date, .listing-date, .fact-table thead th,
.site-table thead th, body > main:not([class]) thead th {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--sqx-grey);
}

/* A listing's filter box (Learn): its small labels take the 12px floor too. */
.listing-filter .lf-group :is(label, legend, summary) { font-size: 12px; }
/* The eyebrows that label content (a date, a table's columns) stay uppercase and
   tracked, at the 12px floor the layout checker holds text to; the menu's own
   eyebrows keep the smaller size. */
.article-date, .listing-date, .fact-table thead th, .site-table thead th { font-size: 12px; }
/* Code reads at the floor too: 0.88em of a 13px block or a 13.5px table cell
   is under 12px. */
:not(pre) > code { font-size: 0.9em; }
pre code { font-size: 1em; }
/* Chart value ticks (the bar charts' axis numbers) take the 12px floor. */
.chart-panel .chart-tick { font-size: 12px; }
/* The chart grid's first header cell carries an inline paper backdrop (its sticky
   entity column must be opaque); it takes the header's Watermark so the header
   reads as one band. */
.chart-grid-table thead th:first-child { background: var(--sqx-watermark) !important; vertical-align: bottom; padding-bottom: 4px; }

/* ── master bar ─────────────────────────────────────────────────────────── */

/* Both bars stick to the top. On a phone they slide away together while the
   reader scrolls down (brand.json header_hides_on_scroll names the width: the
   header's script sets .chrome-hidden, --header-h and --chrome-h on <html>);
   on a wider screen they stay put. The bar's content keeps the page column. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  --header-row-h: var(--header-main-h);
  min-height: var(--header-main-h);
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: var(--sqx-blue);
}
.site-logo { color: var(--sqx-on-dark); }
.site-logo svg { display: block; width: auto; height: 30px; }
.site-logo:hover { color: var(--sqx-on-dark); text-decoration: none; }
.site-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  font-size: var(--fs-ui);
  font-weight: var(--fw-medium);
}
.site-nav > a,
.site-nav .nav-group-label,
.site-nav .nav-group-toggle {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--sqx-on-dark-muted);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.site-nav > a:hover,
.site-nav .nav-group-label:hover { color: var(--sqx-on-dark); text-decoration: none; }
.site-nav .nav-group { position: relative; display: flex; align-items: stretch; }
/* A dropdown's arrow sits against the word it opens, so the eye reads the
   pair as one item and the padding between items as the break between them. */
.site-nav .nav-group-label:has(+ .nav-group-toggle) { padding-right: 0; }
.site-nav .nav-group-toggle { padding-left: 0; }
.site-nav .nav-group-toggle::after,
.site-nav button.nav-group-label::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* The section the page belongs to, or the top-level page being read (the
   builder marks that link aria-current="page"): white type and a 3px white rule. */
.site-nav .nav-group[data-current] > .nav-group-label,
.site-nav .nav-group[data-current] > .nav-group-toggle,
.site-nav > a[aria-current="page"] { color: var(--sqx-on-dark); }
.site-nav .nav-group[data-current], .site-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sqx-on-dark); }

/* Data Search, pinned on every page (its rules: "header search" below), and
   Contact after it as the bar's one filled button: white on SQX Blue. */
.header-action-button {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-h);
  padding: 0 var(--btn-px);
  border-radius: var(--radius-sm);
  background: var(--sqx-white);
  color: var(--sqx-blue);
  font-size: var(--btn-fs);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.header-action-button:hover { background: var(--sqx-watermark); color: var(--sqx-blue-deep); text-decoration: none; }
/* Coverage check: the bar's second action, outlined, so Contact stays the one
   filled button and the two never read as one kind. */
.header-action-outline {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-h);
  padding: 0 var(--btn-px);
  border: 2px solid var(--sqx-on-dark);
  border-radius: var(--radius-sm);
  color: var(--sqx-on-dark);
  font-size: var(--btn-fs);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.header-action-outline:hover { background: var(--sqx-on-dark); color: var(--sqx-blue); text-decoration: none; }
.site-nav > .nav-cta { display: none; }

/* ── menus ──────────────────────────────────────────────────────────────── */

.site-nav .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 220px;
  padding: 10px 0;
  background: var(--sqx-white);
  border-top: 3px solid var(--sqx-blue);
  box-shadow: var(--shadow-card);
}
.site-nav .nav-group:hover > .nav-sub,
.site-nav .nav-group:focus-within > .nav-sub { display: block; }
.site-nav .nav-group:hover > .nav-group-label,
.site-nav .nav-group:focus-within > .nav-group-label,
.site-nav .nav-group:hover > .nav-group-toggle,
.site-nav .nav-group:focus-within > .nav-group-toggle { color: var(--sqx-on-dark); }
.site-nav .nav-sub > a {
  display: block;
  padding: 8px 20px;
  color: var(--sqx-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-regular);
  white-space: nowrap;
}
.site-nav .nav-sub > a:hover { background: var(--sqx-panel); color: var(--sqx-blue); text-decoration: none; }

/* A section's panel opens under its own label, as wide as its columns: one
   column per heading, each heading at the top of its column, each column as
   tall as its own list (the panel takes the height of the longest). */
.site-nav .nav-mega > .nav-sub {
  left: 0;
  width: max-content;
  padding: 24px 28px 26px;
  gap: 32px;
}
.site-nav .nav-mega:hover > .nav-sub,
.site-nav .nav-mega:focus-within > .nav-sub { display: flex; }
.mega-col {
  flex: none;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-heading {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sqx-blue);
  color: var(--sqx-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.site-nav .mega-col > a {
  display: block;
  padding: 0;
  color: var(--sqx-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-regular);
  line-height: 1.35;
  white-space: nowrap;
}
.site-nav .mega-col > a:hover { color: var(--sqx-blue); }
.site-nav .mega-col > a[aria-current] { color: var(--sqx-blue); font-weight: var(--fw-medium); }

/* Desktop bar: each label's hover target is its word, not the full header
   height, so the pointer can cross the bar below the words on its way into an
   open panel without opening a neighbour. The open label turns into a tab in
   the panel's white that reaches down to the panel, and a panel stays up for a
   moment after the pointer leaves, long enough to reach it diagonally. */
@media (min-width: 1061px) {
  /* Tabs touch, so the pointer passes from one menu straight to the next;
     the spacing the nav's gap gave sits inside each tab's padding instead.
     At most 20px, so the eight menus fit beside the spanning logo at the
     page's widest column. */
  .site-nav { gap: 0; --nav-item-space: clamp(10px, calc(2vw - 8px), 20px); }
  .site-nav > a { padding: 0 var(--nav-item-space); }
  .site-nav .nav-group-label { padding-left: var(--nav-item-space); }
  .site-nav .nav-group-label:not(:has(+ .nav-group-toggle)),
  .site-nav .nav-group-toggle { padding-right: var(--nav-item-space); }
  .site-nav .nav-group { pointer-events: none; }
  .site-nav .nav-group > .nav-group-label,
  .site-nav .nav-group > .nav-group-toggle,
  .site-nav .nav-group > .nav-sub { pointer-events: auto; }
  .site-nav .nav-group-label,
  .site-nav .nav-group-toggle {
    position: relative;
    align-self: center;
    min-height: 34px;
  }
  .site-nav .nav-group-label { border-radius: var(--radius-sm) 0 0 0; }
  .site-nav .nav-group-toggle { border-radius: 0 var(--radius-sm) 0 0; }
  .site-nav .nav-group-label:not(:has(+ .nav-group-toggle)) { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .site-nav .nav-group:is(:hover, :focus-within) > :is(.nav-group-label, .nav-group-toggle) {
    background: var(--sqx-white);
    color: var(--sqx-ink);
  }
  /* The tab's lower part: from the label down over the panel's top rule. */
  .site-nav .nav-group:is(:hover, :focus-within) > :is(.nav-group-label, .nav-group-toggle)::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc((var(--nav-row-h) - 34px) / 2 + 3px);
    background: var(--sqx-white);
    z-index: 31;
  }
  /* Closed panels keep their layout (hidden, not display: none) so the
     nav_aim script can measure where a panel will open before it does. */
  .site-nav .nav-sub,
  .site-nav .nav-mega > .nav-sub {
    display: block;
    visibility: hidden;
  }
  /* A panel wider than the window between its gutters (four columns just
     above the fold) wraps its last columns onto a second row instead of
     opening past the page edge, which the fit script cannot correct by
     shifting alone. */
  .site-nav .nav-mega > .nav-sub {
    display: flex;
    flex-wrap: wrap;
    max-width: calc(100vw - 2 * var(--gutter));
  }
  .site-nav .nav-group:is(:hover, :focus-within) > .nav-sub {
    visibility: visible;
    z-index: 32;
  }
  /* The open tab sits above its own hover area, so the label stays the
     click target and keeps reporting the pointer to the nav_aim script. */
  .site-nav .nav-group:is(:hover, :focus-within) > :is(.nav-group-label, .nav-group-toggle) { z-index: 33; }
  /* nav_aim: the open panel's hover area, a triangle from the pointer's last
     point on the label (--aim-x, --aim-y) to the panel's top corners. It
     covers the gap under the label and the corner of a neighbouring label on
     the way down, so a diagonal to a far column keeps this menu; a move to
     either side leaves it at once and the next label takes over. */
  .site-nav .nav-group > .nav-sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: calc(var(--aim-y, -2px) + 2px);
    clip-path: polygon(var(--aim-x, 0px) 0, 0 100%, 100% 100%);
  }
}

/* ── section bar ────────────────────────────────────────────────────────── */

/* The section bar, in the secondary colour on every page (header_actions
   "row": "sub" puts the search in it): on a product page the breadcrumb and
   the section's menus, then its sample-file link and the search; elsewhere
   the search alone. */
.section-bar {
  position: sticky;
  top: var(--header-h, var(--header-main-h));
  z-index: 19;
  background: var(--sqx-secondary);
}
/* The script sets .chrome-hidden only within brand.json
   header_hides_on_scroll's width (a phone), so these rules need no width of
   their own. */
.site-header, .section-bar { transition: transform 0.22s ease-out; }
.chrome-hidden .site-header,
.chrome-hidden .section-bar { transform: translateY(calc(-1 * var(--chrome-h, 122px))); }
@media (prefers-reduced-motion: reduce) {
  .site-header, .section-bar { transition: none; }
}
.section-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: var(--max);
  min-height: var(--header-sub-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.crumbs { display: flex; align-items: center; gap: 9px; font-size: var(--fs-small); color: var(--sqx-body); white-space: nowrap; }
.crumbs a { color: var(--sqx-body); font-weight: var(--fw-medium); }
.crumbs a:hover { color: var(--sqx-blue); }
.crumb-current { color: var(--sqx-ink); font-weight: var(--fw-medium); }
.crumb-current::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 9px;
  vertical-align: -1px;
  background: var(--sqx-body);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 2.5L8 6l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 2.5L8 6l-3.5 3.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Overview, then one dropdown per header column (spinup_site_build
   build_section_bar_html). A dropdown is a <details>: its label is the
   <summary>, which opens on click, tap, Enter or Space without any script. */
.section-nav { display: flex; align-items: stretch; gap: 26px; margin-left: auto; font-size: var(--fs-small); }
.section-nav > a,
.section-menu > summary { display: flex; align-items: center; min-height: var(--header-sub-h); padding: 0; color: var(--sqx-ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.section-nav > a:hover,
.section-menu > summary:hover,
.section-menu[open] > summary { color: var(--sqx-blue); text-decoration: none; }
.section-nav > a[aria-current],
.section-menu > summary[aria-current] { color: var(--sqx-blue); font-weight: var(--fw-medium); border-bottom-color: var(--sqx-blue); }
.section-menu { position: relative; }
.section-menu > summary { list-style: none; cursor: pointer; user-select: none; }
.section-menu > summary::-webkit-details-marker { display: none; }
.section-menu > summary:focus-visible { outline: 2px solid var(--sqx-blue); outline-offset: 2px; }
/* The header's caret, turned up while the menu is open. */
.section-menu > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 5px;
  background: currentColor;
  opacity: 0.7;
  transition: transform 0.15s ease-out;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-menu[open] > summary::after { transform: rotate(180deg); }
/* The open panel: the header menu's white card with its blue top rule,
   opening under its label (the last one under its right edge, so it stays
   on the page beside the bar's right end). */
.section-sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 220px;
  padding: 10px 0;
  background: var(--sqx-white);
  border-top: 3px solid var(--sqx-blue);
  box-shadow: var(--shadow-card);
}
.section-menu:last-child > .section-sub { left: auto; right: 0; }
.section-sub > a {
  display: block;
  padding: 8px 20px;
  color: var(--sqx-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-regular);
  white-space: nowrap;
}
.section-sub > a:hover { background: var(--sqx-panel); color: var(--sqx-blue); text-decoration: none; }
.section-sub > a[aria-current] { color: var(--sqx-blue); font-weight: var(--fw-medium); box-shadow: inset 2px 0 0 var(--sqx-blue); }
/* A column's own page (a heading with a slug) leads its list, set apart. */
.section-sub > .section-sub-head { margin-bottom: 6px; padding-bottom: 11px; border-bottom: 1px solid var(--sqx-line-soft); font-weight: var(--fw-medium); }
/* The section's sample-file link is a text link, not a third kind of button
   beside the header's (owner review 2026-10-28). */
.section-cta {
  flex: none;
  color: var(--sqx-blue);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.section-cta:hover { color: var(--sqx-blue-deep); }

/* ── page body ──────────────────────────────────────────────────────────── */

body > main:not([class]), .hero {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px var(--gutter) 32px;
}
.hero + main:empty { display: none; }
/* One heading system on every page (owner review 2026-10-28): H1 to H4 at
   --fs-h1 to --fs-h4, all bold, in ink (white on a blue band), line height
   --lh-heading; every H2 carries the same 3px rule in the secondary colour,
   drawn to the width of its text. The hero's title, the contact band's and the
   API reference's are the same H1 and H2. */
h1, h2, h3, h4 { color: var(--sqx-ink); font-family: var(--font-sans); font-weight: var(--fw-bold); line-height: var(--lh-heading); }
body > main:not([class]) h1, .site-article h1 {
  margin: 0 0 16px;
  max-width: 28ch;
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
}
/* The page title band: the title and the line under it sit on Watermark grey
   across the window, on the column's left edge, so a page opens on a band of
   colour rather than more white. The band is painted by a spread shadow
   clipped to the element's own height, so it reaches both window edges
   without moving the text off the column (and without the scrollbar's width
   entering the sum). The line under the title wraps at 44 characters, so it
   runs about as wide as the title above it rather than past it; its box
   spans the band (padding holds the text to that measure), since the grey it
   paints runs the whole width. */
body > main:not([class]):has(> h1:first-child) { padding-top: 0; }
body > main:not([class]) > h1:first-child,
body > main:not([class]) > h1:first-child + p.page-api-link,
body > main:not([class]) > h1:first-child + p:not(.page-api-link),
body > main:not([class]) > h1:first-child + p.page-api-link + p,
body > main:not([class]) > :is(h1:first-child + p:not(.page-api-link), h1:first-child + p.page-api-link + p) + p:has(> .site-btn) {
  background: var(--sqx-watermark);
  box-shadow: 0 0 0 100vmax var(--sqx-watermark);
  /* 1px over the element above, so no hairline of white shows between them */
  clip-path: inset(-1px -100vmax 0);
}
body > main:not([class]) > h1:first-child { margin: 0; padding: clamp(36px, 1.5vw + 30.4px, 52px) 0 16px; }
body > main:not([class]) > h1:first-child:last-child,
body > main:not([class]) > h1:first-child:not(:has(+ p)) { padding-bottom: 44px; margin-bottom: 40px; }
body > main:not([class]) > h1:first-child + p.page-api-link { margin: 0; padding: 0 0 18px; }
body > main:not([class]) > :is(h1:first-child + p:not(.page-api-link), h1:first-child + p.page-api-link + p) {
  max-width: none;
  margin: 0 0 44px;
  padding: 0 max(0px, calc(100% - 44ch)) 48px 0;
}
/* 'hero: split' (front matter): the title on the left of the band and the
   line under it with the page's buttons on the right, from 1024px; below
   that they stack as the plain band does. The band is painted once, by the
   wrapper, the way the plain band paints its title and line. */
body > main:not([class]):has(> .page-hero-split:first-child) { padding-top: 0; }
body > main:not([class]) > .page-hero-split {
  margin: 0 0 44px;
  padding: clamp(36px, 1.5vw + 30.4px, 52px) 0 48px;
  background: var(--sqx-watermark);
  box-shadow: 0 0 0 100vmax var(--sqx-watermark);
  clip-path: inset(-1px -100vmax 0);
}
@media (min-width: 1024px) {
  body > main:not([class]) > .page-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
}
/* 'hero: chart' (front matter): the title, the line under it and the page's
   buttons on the left of the band and the chart that follows them on the
   right, from 1024px; below that the chart stacks under the words. Painted
   like the split band. */
body > main:not([class]):has(> .page-hero-chart:first-child) { padding-top: 0; }
body > main:not([class]) > .page-hero-chart {
  margin: 0 0 44px;
  padding: clamp(36px, 1.5vw + 30.4px, 52px) 0 48px;
  background: var(--sqx-watermark);
  box-shadow: 0 0 0 100vmax var(--sqx-watermark);
  clip-path: inset(-1px -100vmax 0);
  display: grid; row-gap: 32px;
}
@media (min-width: 1024px) {
  body > main:not([class]) > .page-hero-chart { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 64px; align-items: start; }
}
body > main:not([class]) .page-hero-copy { min-width: 0; }
body > main:not([class]) .page-hero-copy > h1 { margin: 0 0 20px; padding: 0; }
body > main:not([class]) .page-hero-copy > p { margin: 0 0 20px; font-size: var(--read-fs); }
body > main:not([class]) .page-hero-copy > p:last-child { margin-bottom: 0; }
body > main:not([class]) > .page-hero-chart > .chart-panel,
body > main:not([class]) > .page-hero-chart > .app-embed { min-width: 0; margin: 0; }
/* A band holding the issuer map (About) is painted SQX Blue like the home hero:
   the map's lights and legend are drawn for that ground. */
body > main:not([class]) > .page-hero-chart:has(> .app-embed .hm) {
  background: var(--sqx-blue);
  box-shadow: 0 0 0 100vmax var(--sqx-blue);
  color: var(--sqx-on-dark);
}
body > main:not([class]) > .page-hero-chart:has(> .app-embed .hm) :is(.page-hero-copy > h1, .page-hero-copy > p, .hm-legend, .hm-legend a) { color: var(--sqx-on-dark); }
/* Its buttons take the header's on-dark pair (.header-action-button and
   .header-action-outline): a page button's blue fill and blue outline are
   invisible on this SQX Blue band. */
body > main:not([class]) > .page-hero-chart:has(> .app-embed .hm) .site-btn { border-color: var(--sqx-on-dark); background: transparent; color: var(--sqx-on-dark); }
body > main:not([class]) > .page-hero-chart:has(> .app-embed .hm) :is(.site-btn:hover, .site-btn-primary) { border-color: var(--sqx-white); background: var(--sqx-white); color: var(--sqx-blue); }
body > main:not([class]) > .page-hero-chart:has(> .app-embed .hm) .site-btn-primary:hover { border-color: var(--sqx-watermark); background: var(--sqx-watermark); color: var(--sqx-blue-deep); }
/* ':::chart sunburst': the two-level pie; its facts ride the tooltip and a
   click opens the mark's securities in Data Search (chart_sun.js). The slice
   under the pointer stays full while the others fade; focus is drawn on the
   mark's own outline, never a box. */
.chart-sunburst { --chart-gap: var(--sqx-white); color: var(--sqx-ink); }
.page-hero-chart .chart-sunburst { --chart-gap: var(--sqx-watermark); }
.chart-sun-mark { max-width: 380px; margin: 0 auto; }
.chart-sun-mark .chart-sun-pct { font-family: inherit; }
.chart-sun-link, .chart-sun-mark-g { cursor: pointer; }
.chart-sun-mark path, .chart-sun-pct { transition: opacity 0.15s; }
.chart-sun-mark.is-hovering :is(.chart-sun-link, .chart-sun-mark-g):not(.is-hot) path, .chart-sun-mark.is-hovering .chart-sun-pct:not(.is-hot) { opacity: 0.3; }
.chart-sun-mark:focus, .chart-sun-link:focus { outline: none; }
.chart-sun-mark:focus-visible { outline: 2px solid var(--sqx-blue); outline-offset: 4px; border-radius: 50%; }
.chart-sun-link:focus-visible path, .chart-sun-mark .is-under path { --sun-stroke: var(--sqx-ink); stroke-width: 2px; }
.chart-sun-card { width: 260px; }
.chart-sun-card .chart-tip-title { color: var(--sqx-ink); font-size: 13px; font-weight: var(--fw-bold); }
.chart-sun-card .chart-tip-row { padding: 1px 4px; margin: 0 -4px; border-radius: 3px; }
.chart-sun-card .chart-tip-row.is-on { background: var(--sqx-watermark); }
.chart-sun-card .chart-tip-row.is-on span:last-child { color: var(--sqx-ink); font-weight: var(--fw-bold); }
.chart-sun-card .chart-sun-key { width: 10px; height: 10px; border-radius: 2px; }
.chart-sun-leaf { display: grid; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--sqx-hairline); }
.chart-sun-leaf > div { grid-area: 1 / 1; visibility: hidden; }
.chart-sun-leaf > .is-on { visibility: visible; }
.chart-sun-hint { color: var(--sqx-grey); }
.chart-sun-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chart-tip-note { margin: 4px 0 6px; max-width: 34ch; color: var(--sqx-body); }
.chart-tip-foot { margin-top: 6px; color: var(--sqx-grey); font-size: 12px; }
body > main:not([class]) > .page-hero-split > h1 { margin: 0 0 20px; padding: 0; }
body > main:not([class]) .page-hero-side > p { margin: 0 0 20px; font-size: var(--read-fs); }
body > main:not([class]) .page-hero-side > p:last-child { margin-bottom: 0; }
body > main:not([class]) .page-hero-side > p:has(> .site-btn) > em { flex: 1 0 100%; font-style: normal; font-size: var(--fs-ui); line-height: 1.5; color: var(--sqx-body); }

/* A row of buttons right after that line is the page's main action: it sits in
   the band under the line (a product overview's button to its subsite). */
body > main:not([class]) > :is(h1:first-child + p:not(.page-api-link), h1:first-child + p.page-api-link + p):has(+ p > .site-btn) {
  margin-bottom: 0;
  padding-bottom: 28px;
}
body > main:not([class]) > :is(h1:first-child + p:not(.page-api-link), h1:first-child + p.page-api-link + p) + p:has(> .site-btn) {
  margin: 0 0 44px;
  padding-bottom: 48px;
}
/* The section heading carries the brand's 2px blue rule, drawn to the width
   of its own text. */
body > main:not([class]) h2 {
  display: table;
  margin: 56px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--sqx-secondary);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
}
body > main:not([class]) h3 { margin: 32px 0 10px; font-size: var(--fs-h3); }
body > main:not([class]) h4 { margin: 24px 0 8px; font-size: var(--fs-h4); }
body > main:not([class]) hr { border: 0; border-top: 1px solid var(--sqx-line-soft); margin: 36px 0; }
body > main:not([class]) hr + h2 { margin-top: 0; }
/* Body copy colour; its measure is set with the page actions below. */
body > main:not([class]) :is(p, li) { color: var(--sqx-body); }
body > main:not([class]) li { margin-bottom: 4px; }
body > main:not([class]) li::marker { color: var(--sqx-blue); }
body > main:not([class]) strong { color: var(--sqx-ink); font-weight: var(--fw-bold); }
body > main:not([class]) > h1 + p,
body > main:not([class]) > h1 + p.page-api-link + p { font-size: var(--fs-lead); font-weight: var(--fw-regular); line-height: 1.5; color: var(--sqx-ink); }
/* A product page's link to its API (front matter api_link): a small tag under the H1;
   the paragraph after it keeps the lead style. */
body > main:not([class]) > h1 + p.page-api-link { margin: -6px 0 22px; font-size: var(--fs-small); font-weight: var(--fw-medium); line-height: 1.2; }
.page-api-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--sqx-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-api-link a::before { content: ""; width: 16px; height: 16px; background: url("/images/icon-code.svg") center / contain no-repeat; }

/* ── home hero: the data field under the SQX Blue gradient ───────────────── */
/* images/brand-data-field.jpg (sqx_hero_image.py) carries the brand wave's
   ribbons of points across its whole frame, so the hero is full of data at
   any height the copy gives it. */

.hero {
  position: relative;
  max-width: none;
  padding: clamp(56px, 3.76vw + 42px, 96px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) clamp(56px, 3.38vw + 43.3px, 92px);
  background: var(--hero-gradient), url("/images/brand-data-field.jpg") 50% 50% / cover no-repeat, var(--sqx-blue);
  color: var(--sqx-on-dark);
}
/* The headline is the widest line of the hero: it breaks after its first
   clause, and the line under it wraps at about the same width. */
.hero h1 {
  margin: 0 0 22px;
  max-width: 24ch;
  color: var(--sqx-on-dark);
  font-size: var(--fs-h1);
}
.hero p { max-width: 36ch; margin: 0 0 34px; color: var(--sqx-on-dark); font-size: var(--fs-lead); line-height: 1.5; }
.hero a:not(.action-btn) { color: var(--sqx-on-dark); text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.hero a:not(.action-btn):hover { text-decoration-color: var(--sqx-on-dark); }
/* The hero's two actions are its largest controls: Contact us filled white,
   the inquiries address outlined in white. */
.hero .contact-actions { gap: 14px; }
.hero .action-btn { min-height: 54px; padding: 0 28px; border: 2px solid var(--sqx-on-dark); color: var(--sqx-on-dark); font-size: 17px; font-weight: var(--fw-bold); }
.hero .action-btn:hover { background: rgba(255,255,255,.14); color: var(--sqx-on-dark); }
.hero .action-primary { background: var(--sqx-white); color: var(--sqx-blue); }
.hero .action-primary:hover { background: var(--sqx-watermark); border-color: var(--sqx-watermark); color: var(--sqx-blue-deep); }
/* The home hero with the issuer map (brand.json hero app "home-map"): the
   words in the left column from the top, the map and its legend beside them,
   on the SQX Blue gradient alone (the map takes the data field's place). The
   headline sets larger here, as the site's introduction. At 960px and
   under the map follows the buttons. */
.hero-with-app {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(32px, 3vw, 48px);
  align-items: start;
  background: var(--hero-gradient), var(--sqx-blue);
}
.hero-with-app > :not(.app-embed) { grid-column: 1; }
.hero-with-app > .app-embed { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.hero-with-app h1 { max-width: 12ch; font-size: clamp(40px, 2.4vw + 18px, 64px); line-height: 1.04; letter-spacing: -0.02em; }
/* A map that cannot load hides itself (map.js); the words then take the row. */
.hero-with-app:has(.hm[hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) {
  .hero-with-app { grid-template-columns: minmax(0, 1fr); }
  .hero-with-app > .app-embed { grid-column: 1; grid-row: auto; margin-top: 36px; }
  /* Stacked over the map, the words centre, and the headline sets each of its
     clauses (spinup_site_build.hero_clauses) on a line of its own. */
  .hero-with-app > :not(.app-embed) { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-with-app h1 { max-width: none; }
  .hero-with-app .hero-clause { display: block; }
  .hero-with-app .contact-actions { justify-content: center; }
}
/* ── tables: the kit's SpecTable (blue header, hairline grid, zebra) ─────── */

/* A wide table scrolls inside its .table-scroll box, never the page, and
   the table fills the column. A table outside a box scrolls as a block
   itself, which sizes its rows to their content. */
body > main:not([class]) table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
body > main:not([class]) .table-scroll > table { display: table; }
/* Tables carry their structure in rules, not fills: a Watermark header with
   ink labels over a 2px SQX Blue rule, hairlines between rows, no vertical
   lines. A column of figures (class "num", which the builder sets on a
   column whose cells are all numbers) is right-aligned in tabular digits so
   its decimals line up. */
body > main:not([class]) :is(th, td) { padding: 9px 14px; border: 0; border-bottom: 1px solid var(--sqx-line-soft); text-align: left; vertical-align: top; }
body > main:not([class]) thead th {
  background: var(--sqx-watermark);
  border-bottom: 2px solid var(--sqx-blue);
  color: var(--sqx-ink);
  font-size: 12px;
  letter-spacing: var(--tracking-caps);
  vertical-align: bottom;
}
body > main:not([class]) :is(th, td).num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
body > main:not([class]) tbody tr:nth-child(even) { background: var(--sqx-panel); }
body > main:not([class]) tbody tr:hover { background: var(--sqx-surface-alt); }
body > main:not([class]) tbody th { color: var(--sqx-ink); font-weight: var(--fw-medium); }
body > main:not([class]) pre { overflow-x: auto; padding: 14px 16px; background: var(--sqx-panel); border: 1px solid var(--sqx-hairline); border-radius: var(--radius); font-size: 13px; line-height: 1.5; color: var(--sqx-ink); }
.table-wrap, .table-scroll { overflow-x: auto; }

/* The article diagram (.xr, styled by the imported sqxray page's own <style>) is a
   dark panel set in a light page. The page's tokens and tables meet it three
   ways: the zebra rows and blue header band above reach its tables (light text on
   a light row), .fact's ink colour reaches the figures in its titles (ink on the
   dark film), and its muted tier (--x-on-3, 50% light) sits at 4.3-4.5:1. Each
   override is scoped to .xr and wins on specificity over the page's own rules. */
main .xr { --x-on-3: rgba(232, 237, 238, 0.62); }
main .xr .xr-panel .fact { color: inherit; }
main .xr .xr-panel thead th { background: none; border-color: var(--x-grid); }
main .xr .xr-panel tbody tr:nth-child(even) { background: none; }
main .xr .xr-cls .xr-id { font-size: 12px; }
/* Chart labels right-aligned against the plot start can run past the SVG's left
   edge ("All SEC-registered share classes", "Franklin Templeton"); the panel's own
   padding has room, so the label draws there instead of being clipped. */
main .xr .xr-chart svg { overflow: visible; }
/* Its running text takes the article reading size (the direct-child rule at the
   top of the article block does not reach text one wrapper down), and its small
   print keeps to a readable measure. */
.site-article .article-body > .xr { font-size: 18px; }
main .xr figcaption, main .xr .xr-important p { font-size: 14px; max-width: 76ch; }
/* Five share-class cards on one row of four orphan the fifth; three a row (3 + 2)
   keeps the widths equal. */
@media (min-width: 561px) {
  main .xr .xr-classes { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
/* On a phone the panel's table wraps its headers to fit the panel instead of
   scrolling out of it with no cue. */
@media (max-width: 560px) {
  main .xr .xr-panel th { font-size: 12px; }
  main .xr .xr-panel :is(th, td) { white-space: normal; }
}

/* ── cards ──────────────────────────────────────────────────────────────── */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; margin: 28px 0; padding: 0; list-style: none; }
.card-grid.cards-2, .card-grid.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Three cards a row need a desktop's width at this type size; a tablet takes
   two. A grid inside a split's copy column fits as many 240px cards as that
   column holds. A field name set as code breaks rather than run into the
   next card. */
@media (max-width: 1023px) {
  .card-grid, body > main:not([class]) .site-callout-service .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the contact band stacks its ask over the form; the footer puts the
     wordmark and contact lines over the two link columns */
  .cta-band-form .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer-three .footer-inner.footer-columns { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .site-footer-three .footer-brandcol { grid-column: 1 / -1; }
}
.split-copy .card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid code { overflow-wrap: anywhere; }
/* Block flow, not flex: a card's text and inline links wrap as one paragraph
   (a flex column would put every link on a line of its own). A card is its
   title over its text in open space, with no box around it (owner review
   2026-10-28: only an action sits in a shape); the grid's gaps set the cards
   apart. */
body > main:not([class]) .card-grid > li, .card {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--sqx-body);
  font-size: 16px;
  line-height: 1.55;
}
.card-grid > li strong:first-child {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sqx-secondary);
  color: var(--sqx-ink);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}
.card-grid > li strong:first-child a { color: var(--sqx-ink); }
.card-grid > li strong:first-child a:hover { color: var(--sqx-blue); }

/* A product card (its title links a section root) carries its product's
   monoline icon (images/icon-product-*.svg), on any page. Every icon-*.svg
   shares one stroke weight and one drawn size (test_sqx_site_icons.sh). */
.card-grid > li:has(> strong:first-child > :is(a[href="/munis/"], a[href="/structured-notes/"], a[href="/global-bonds/"], a[href="/fixed-income/"], a[href="/funds/"], a[href="/alts/"], a[href="/curves/"], a[href="/derivatives/"], a[href="/reference-data/"]))::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.card-grid > li:has(> strong:first-child > a[href="/munis/"])::before { background-image: url("/images/icon-product-muni-bonds.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/structured-notes/"])::before { background-image: url("/images/icon-product-structured-notes.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/global-bonds/"])::before { background-image: url("/images/icon-product-corporate-bonds.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/"])::before { background-image: url("/images/icon-product-fixed-income.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/funds/"])::before { background-image: url("/images/icon-product-funds.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/alts/"])::before { background-image: url("/images/icon-product-alternative-investments.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/curves/"])::before { background-image: url("/images/icon-product-yield-curves.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/derivatives/"])::before { background-image: url("/images/icon-product-derivative-data.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/reference-data/"])::before { background-image: url("/images/icon-product-reference-data.svg"); }

/* Product overview cards (a card whose title links a page inside Notes, Munis or
   Fixed Income) carry a monoline icon in the kit icons' style: 128px viewBox,
   4px SQX Blue stroke, round joins. */
.card-grid > li:has(> strong:first-child > :is(a[href="/notes/pricing/"], a[href="/notes/reference-data/"], a[href="/notes/dashboard/"], a[href="/notes/reference-data/api/reference/"], a[href="/notes/conditions/"], a[href="/developers/guides/pricing/"], a[href="/munis/pricing/"], a[href="/munis/pre-trade/"], a[href="/munis/benchmark-curves/"], a[href="/munis/reference-data/"], a[href="/munis/indices/"], a[href="/munis/dashboard/"], a[href="/fixed-income/securitized/"], a[href="/fixed-income/securitized/#abs"], a[href="/bonds/pricing/"], a[href="/bonds/analytics/"], a[href="/bonds/dashboard/"], a[href="/bonds/issuers/"], a[href="/fixed-income/securitized/#agency-mbs"], a[href="/fixed-income/securitized/#cmbs"], a[href="/fixed-income/securitized/#non-agency-cmos"], a[href="/fixed-income/securitized/#clos-and-cdos"], a[href="/fixed-income/bank-loans/"], a[href="/fixed-income/private-credit/"], a[href="/fixed-income/cat-bonds/"], a[href="/fixed-income/green-bonds/"], a[href="#peer-bond-comparisons"]))::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.card-grid > li:has(> strong:first-child > a[href="/notes/pricing/"])::before { background-image: url("/images/icon-price-tag.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/notes/reference-data/"])::before { background-image: url("/images/icon-book.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/notes/dashboard/"])::before { background-image: url("/images/icon-dashboard.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/notes/reference-data/api/reference/"])::before { background-image: url("/images/icon-code.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/notes/conditions/"])::before { background-image: url("/images/icon-index.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/developers/guides/pricing/"])::before { background-image: url("/images/icon-code.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/pricing/"])::before { background-image: url("/images/icon-price-tag.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/pre-trade/"])::before { background-image: url("/images/icon-bid-ask.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/benchmark-curves/"])::before { background-image: url("/images/icon-curve.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/reference-data/"])::before { background-image: url("/images/icon-book.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/indices/"])::before { background-image: url("/images/icon-index.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/munis/dashboard/"])::before { background-image: url("/images/icon-dashboard.svg"); }
.card-grid > li:has(> strong:first-child > a[href="#peer-bond-comparisons"])::before { background-image: url("/images/icon-network.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/bonds/pricing/"])::before { background-image: url("/images/icon-price-tag.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/bonds/analytics/"])::before { background-image: url("/images/icon-curve.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/bonds/dashboard/"])::before { background-image: url("/images/icon-dashboard.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/bonds/issuers/"])::before { background-image: url("/images/icon-book.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/"])::before { background-image: url("/images/icon-layers.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/#abs"])::before { background-image: url("/images/icon-layers.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/#agency-mbs"])::before { background-image: url("/images/icon-house.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/#cmbs"])::before { background-image: url("/images/icon-office.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/#non-agency-cmos"])::before { background-image: url("/images/icon-tranches.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/securitized/#clos-and-cdos"])::before { background-image: url("/images/icon-pool.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/bank-loans/"])::before { background-image: url("/images/icon-bank.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/private-credit/"])::before { background-image: url("/images/icon-padlock.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/cat-bonds/"])::before { background-image: url("/images/icon-storm.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/fixed-income/green-bonds/"])::before { background-image: url("/images/icon-leaf.svg"); }
/* Solutions cards (the What we solve list on /about/) carry a monoline icon in the same kit style as the product
   overview cards, in card order. */
.page-about #what-we-solve + p + .card-grid > li::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.page-about #what-we-solve + p + .card-grid > li:nth-child(1)::before { background-image: url("/images/icon-merge.svg"); }
.page-about #what-we-solve + p + .card-grid > li:nth-child(2)::before { background-image: url("/images/icon-check.svg"); }
.page-about #what-we-solve + p + .card-grid > li:nth-child(3)::before { background-image: url("/images/icon-cycle.svg"); }
.page-about #what-we-solve + p + .card-grid > li:nth-child(4)::before { background-image: url("/images/icon-network.svg"); }
.page-about #what-we-solve + p + .card-grid > li:nth-child(5)::before { background-image: url("/images/icon-delivery.svg"); }
.page-about #what-we-solve + p + .card-grid > li:nth-child(6)::before { background-image: url("/images/icon-puzzle.svg"); }
.card-grid > li:has(> strong:first-child > a[href="/bonds/treasuries/"])::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 14px; background: url("/images/icon-product-fixed-income.svg") center / contain no-repeat; }

/* Product tiles that are only a title: a compact row of four. */
.card-grid.cards-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* A card whose body is a linked picture (a PDF's cover): the picture on top,
   the title under it. */
body > main:not([class]) .card-grid > li:has(> a > img) { display: flex; flex-direction: column-reverse; gap: 14px; }
.card-grid > li:has(> a > img) strong:first-child { margin: 0; padding: 0; border: 0; font-size: 15px; }
/* A list of covers (the Resources page): four across, two on a tablet, one on a phone.
   A lone cover (cards-1) is no list: the lone-document-card rule further down owns its row. */
.card-grid:has(> li > a > img):not(.cards-1):not(.cards-2):not(.cards-3) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .card-grid:has(> li > a > img):not(.cards-1):not(.cards-2):not(.cards-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .card-grid:has(> li > a > img) { grid-template-columns: 1fr; } }
.card-grid > li > a > img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--sqx-line-soft); border-radius: var(--radius-sm); }

/* ':::logos' — partner marks, every cell the same size */
.logo-wall { list-style: none; margin: 26px 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px 22px; }
.logo-cell a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }

.section-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 32px 0; }
.section-split.flip .site-figure { order: 2; }
.site-figure { margin: 0; }
.section-split .site-figure img { width: 100%; border-radius: var(--radius); }
.section-split.wrap { display: block; }
.section-split.wrap .site-figure { float: left; width: min(40%, 360px); margin: 0 26px 12px 0; }
.section-split.wrap::after { content: ""; display: table; clear: both; }
/* On a wide page the copy beside a floated figure holds a 70-75 character measure (the figure plus a 1040px copy block), not the full column. */
@media (min-width: 1100px) {
  .section-split.wrap .site-figure { width: min(40%, 400px); }
  .section-split.wrap > .split-copy { max-width: 1040px; }
}
/* A wrapped split whose copy ends in a long list (a table index): from tablet width
   up the figure sits beside the heading and lead-in, and the list takes the
   full width under both, in two columns from 1200px (a 1176px single column is 120+
   characters a line; a list wrapped around a float changes indent halfway). */
@media (min-width: 761px) {
  .section-split.wrap:not(.badge):has(> .split-copy > ul) { display: grid; grid-template-columns: min(40%, 360px) minmax(0, 1fr); grid-template-rows: 1fr 1fr auto; gap: 0 26px; align-items: start; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul)::after { content: none; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy { display: contents; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .site-figure { grid-area: 1 / 1 / 3 / 2; float: none; width: auto; margin: 0; align-self: stretch; position: relative; min-height: 220px; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .site-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy > h2 { grid-area: 1 / 2; align-self: end; justify-self: start; margin: 0; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy > h2 + p { grid-area: 2 / 2; align-self: start; margin: 14px 0 0; }
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy > ul { grid-area: 3 / 1 / 4 / -1; margin: 28px 0 0; }
}
@media (min-width: 761px) { .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy > ul { max-width: 760px; } }
@media (min-width: 1200px) {
  .section-split.wrap:not(.badge):has(> .split-copy > ul) .split-copy > ul { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
}
/* A split followed by its table (a method step and its worked example) is
   one group: the table sits close under the split and the gap after it is
   the section gap. */
body > main:not([class]) > .section-split:has(+ .table-scroll) { margin-bottom: 16px; }
body > main:not([class]) > .section-split + .table-scroll { margin-bottom: 64px; }
/* A table directly followed by another table is a continuation of the same
   section: set the two apart instead of letting their borders touch. */
body > main:not([class]) > .table-scroll + .table-scroll { margin-top: 28px; }
/* On the field dictionary a photo directly under a table takes the section's
   full width as a banner crop, not an 880px block hugging the left edge. */
.page-munis-reference-data > main > .table-scroll + .site-figure { margin: 28px 0 36px; }
.page-munis-reference-data > main > .table-scroll + .site-figure img { width: 100%; max-width: none; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 28%; }
@media (max-width: 760px) { .page-munis-reference-data > main > .table-scroll + .site-figure img { aspect-ratio: 3 / 2; } }
/* The field dictionary's tables share one column split, so the field-name
   column does not jump width from table to table. */
.page-munis-reference-data .site-table { table-layout: fixed; }
.page-munis-reference-data .site-table :is(th, td) { overflow-wrap: anywhere; }
.page-munis-reference-data .site-table :is(th, td):first-child { width: 40%; }
@media (min-width: 761px) { .page-munis-reference-data .site-table :is(th, td):first-child { width: 30%; } }
/* Those fit rules are for the two-column field dictionary. The page's table
   chart is figures: its columns size to their content, a header breaks
   between words and a number never breaks at all. */
.page-munis-reference-data .chart-table .site-table { table-layout: auto; }
.page-munis-reference-data .chart-table .site-table :is(th, td) { overflow-wrap: normal; }
.page-munis-reference-data .chart-table .site-table :is(th, td):first-child { width: auto; }
.page-munis-reference-data .chart-table .site-table td.num { white-space: nowrap; }
@media (max-width: 480px) { .page-munis-reference-data .chart-table .site-table :is(th, td) { padding-inline: 6px; } }
.section-split.badge .site-figure { width: 160px; }
/* the prose beside a badge keeps its own column: a list never slides under the mark */
.section-split.badge .site-figure ~ * { display: flow-root; }
.section-split.badge ul { display: flow-root; }
/* ':::people' — a team as a grid of cards: photo beside name, role and bio.
   The grid runs the full column, as a card grid does: inside the reading
   measure two cards leave each bio ~140px, two or three words a line. Below
   1200px a pair of cards still squeezes the bio, so the cards stack in one
   column held to a readable bio measure, on the column's left edge. The photo stays at or
   under 165px from 761px down: the portraits are 220px files, and a wider
   photo on a 2x screen draws them upscaled. */
/* ':::ledger': a two-column table read as statements beside their answers,
   the statement large and bold on the left, the answer on the right behind
   a blue rule; open rows with hairlines and no stripes or header band. On a
   phone the two stack. */
body > main:not([class]) .site-ledger { margin: 8px 0 44px; }
body > main:not([class]) .site-ledger table { width: 100%; border-collapse: collapse; }
body > main:not([class]) .site-ledger thead th { background: none; border-bottom: 2px solid var(--sqx-ink); padding: 0 0 10px; color: var(--sqx-body); font-size: var(--fs-ui); font-weight: var(--fw-regular, 400); letter-spacing: 0; text-transform: none; }
body > main:not([class]) .site-ledger thead th:last-child { padding-left: 20px; }
body > main:not([class]) .site-ledger tbody tr, body > main:not([class]) .site-ledger tbody tr:hover { background: none; }
body > main:not([class]) .site-ledger td { padding: 18px 0; border-bottom: 1px solid var(--sqx-hairline); vertical-align: middle; }
body > main:not([class]) .site-ledger td:first-child { width: 58%; padding-right: 32px; color: var(--sqx-ink); font-size: clamp(20px, 0.9vw + 15px, 28px); font-weight: var(--fw-bold); line-height: 1.25; letter-spacing: -0.01em; }
body > main:not([class]) .site-ledger td:first-child a { color: inherit; text-decoration: none; }
body > main:not([class]) .site-ledger td:first-child a:hover { color: var(--sqx-blue); text-decoration: underline; }
/* The rule beside an answer is a bar of its own, stopping short of the row's
   hairlines, so it marks the answer rather than drawing a table border. */
body > main:not([class]) .site-ledger td:last-child { padding-left: 20px; background: linear-gradient(var(--sqx-blue), var(--sqx-blue)) no-repeat 0 50% / 3px calc(100% - 28px); font-size: var(--fs-base); line-height: 1.5; }
@media (max-width: 760px) {
  body > main:not([class]) .site-ledger thead { display: none; }
  body > main:not([class]) .site-ledger :is(tr, td) { display: block; width: auto; }
  body > main:not([class]) .site-ledger td:first-child { padding: 16px 0 8px; border-bottom: 0; }
  body > main:not([class]) .site-ledger td:last-child { padding: 2px 0 16px 16px; }
}

/* ':::columns': short texts read side by side across the full content
   column (a problem beside SQX's answer), each under its own h3; on a phone
   they stack. */
.site-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; margin: 28px 0 36px; }
@media (min-width: 761px) { .site-columns { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.site-column > :first-child { margin-top: 0; }
.site-column > :last-child { margin-bottom: 0; }
/* ':::columns answer': the headings are small labels over their texts, the
   answer's in SQX Blue, and the answer column sits behind a blue rule. */
body > main:not([class]) .site-columns.answer > .site-column > h3 { margin: 0 0 12px; color: var(--sqx-grey); font-size: 13px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
body > main:not([class]) .site-columns.answer > .site-column:last-child > h3 { color: var(--sqx-blue); }
body > main:not([class]) .site-columns.answer > .site-column:last-child { padding-left: 24px; box-shadow: inset 3px 0 0 var(--sqx-blue); }
/* ':::columns lead': the first column, the section's main text and action,
   twice the width of each column beside it. */
@media (min-width: 761px) {
  .site-columns.lead.cols-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .site-columns.lead.cols-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.people-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
@media (max-width: 1199px) { .people-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 36px; } }
.person-card { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 28px; border-top: 1px solid var(--sqx-hairline); }
@media (max-width: 1199px) { .person-card { grid-template-columns: 152px minmax(0, 1fr); gap: 28px; } }
.person-card:not(:has(.person-photo)) { grid-template-columns: 1fr; }
.person-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--sqx-panel); }
body > main:not([class]) .person-text h3 { margin: 0 0 6px; }
.person-text p { margin: 0 0 12px; }
.person-text p:first-of-type { font-size: 15px; color: var(--sqx-grey); }
.person-text p:first-of-type strong { color: var(--sqx-ink); }
.step-flow :is(ol, ul) { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
/* Steps read left to right across the column on a desktop. */
@media (min-width: 1024px) { .step-flow :is(ol, ul) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } }
body > main:not([class]) .step-flow li { counter-increment: step; position: relative; display: block; max-width: none; margin: 0; padding: 2px 0 0 44px; }
.step-flow li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sqx-blue); color: var(--sqx-on-dark); font: var(--fw-bold) 13px/28px var(--font-sans); text-align: center; }
.site-callout { margin: 32px 0; padding: 4px 0 4px 24px; background: none; border: 0; border-left: 4px solid var(--sqx-secondary); border-radius: 0; color: var(--sqx-ink); font-size: 17px; }
body > main:not([class]) .site-callout p { margin: 0; max-width: none; }
/* ':::callout related' — every product page closes on this one block: no card
   and no band, a hairline over the heading, then two labelled rows (h3): the
   fact sheets, each a cover beside its title, and the related pages, arrowed
   links in columns. */
body > main:not([class]) .site-callout.site-callout-related { margin: 72px 0 0; padding: 32px 0 0; background: none; border: 0; border-top: 1px solid var(--sqx-hairline); border-radius: 0; color: var(--sqx-body); }
body > main:not([class]) .site-callout-related h2 { margin-top: 0; }
body > main:not([class]) .site-callout-related > ul:not(.card-grid) { columns: 3 220px; column-gap: 40px; max-width: none; margin: 0 0 24px; padding: 0; list-style: none; }
body > main:not([class]) .site-callout-related > ul:not(.card-grid) > li { margin: 0 0 10px; break-inside: avoid; }
body > main:not([class]) .site-callout-related > ul:not(.card-grid) > li > a { font-weight: var(--fw-medium); text-decoration: none; }
body > main:not([class]) .site-callout-related > ul:not(.card-grid) > li > a:not([href^="http"])::after { content: "\2192"; margin-left: 0.35em; }
body > main:not([class]) .site-callout-related .card-grid { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 0; }
body > main:not([class]) .site-callout-related .card-grid > li,
body > main:not([class]) .site-callout-related .card-grid > li:has(> strong:first-child > a):hover { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 14px; padding: 0; background: none; border: 0; box-shadow: none; }
/* (.card-grid twice: outranks the lone document card's 160px cover column) */
body > main:not([class]) .site-callout-related .card-grid.card-grid > li > a:has(> img) { flex: none; }
.site-callout-related .card-grid > li > a > img { width: 64px; border: 1px solid var(--sqx-hairline); border-radius: 2px; box-shadow: 0 1px 3px rgba(26, 36, 48, 0.12); }
body > main:not([class]) .site-callout-related h3 {
  margin: 28px 0 14px; color: var(--sqx-grey); font-size: 13px; font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
body > main:not([class]) .site-callout-related h2 + h3 { margin-top: 8px; }
.site-callout-related .card-grid > li strong:first-child { margin: 0; padding: 0; border: 0; font-size: var(--fs-ui); font-weight: var(--fw-medium); }
/* ':::callout codes' — a set of short codes (currencies) as a wrap of chips,
   the brand kit's coverage-chip look: no panel, just the chips. */
.site-callout.site-callout-codes { padding: 0; background: none; border: 0; }
body > main:not([class]) .site-callout-codes ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body > main:not([class]) .site-callout-codes li { margin: 0; padding: 5px 11px; border: 1px solid var(--sqx-hairline); border-radius: var(--radius-sm); background: var(--sqx-white); color: var(--sqx-blue); font-size: 13px; font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; }
body > main:not([class]) .site-callout-codes li::before { content: none; }
/* Key figures: one row across the column, each figure over its label, the
   figures in equal columns so they compare at a glance. */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 44px; margin: 30px 0; padding: 24px 0; list-style: none; border-top: 1px solid var(--sqx-line-soft); border-bottom: 1px solid var(--sqx-line-soft); }
body > main:not([class]) .stat-strip li { margin: 0; color: var(--sqx-body); font-size: var(--fs-ui); }
.stat-strip strong { display: block; margin-bottom: 4px; color: var(--sqx-blue); font-size: 40px; font-weight: var(--fw-bold); line-height: 1.1; font-variant-numeric: tabular-nums; }

/* ── whole-card links ───────────────────────────────────────────────────── */

/* A card whose title is a link opens that link from anywhere on the card: the
   title link's ::before covers the card (::after is the external-link icon's),
   and any other link in the card sits above that cover so it keeps its own
   target. */
.card-grid > li:has(> strong:first-child > a) { position: relative; }
.card-grid > li > strong:first-child > a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-grid > li:has(> strong:first-child > a) :is(p, span, em) a, .card-grid > li:has(> strong:first-child > a) > a { position: relative; z-index: 1; }
body > main:not([class]) .card-grid > li:has(> strong:first-child > a):hover > strong:first-child { border-bottom-color: var(--sqx-blue); }
.card-grid > li:has(> strong:first-child > a):hover > strong:first-child a { color: var(--sqx-blue); text-decoration: none; }
.card-grid > li:has(> strong:first-child > a:focus-visible) { outline: 2px solid var(--sqx-blue); outline-offset: 2px; }
.card-grid > li > strong:first-child > a:focus-visible { outline: 0; }

/* ── home page: full-width bands between the hero and the call to action ── */

/* A band runs edge to edge while its content stays on the page column: its
   colour is a spread shadow clipped to the band's own height, so nothing is
   measured against the window width (100vw counts a classic scrollbar on
   Windows and not the overlay scrollbar on a Mac, which would shift the
   content between the two). */
body.page-home { overflow-x: clip; }
.page-home .site-callout:is(.site-callout-announce, .site-callout-products, .site-callout-service) {
  margin: 0;
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  background: var(--band);
}
.page-home main > .site-callout-announce:first-child { margin-top: -44px; }

/* The announcement: one line of news and its button on Watermark grey, the
   break between the blue hero and the white page. */
.page-home .site-callout-announce {
  --band: var(--sqx-watermark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 32px;
  padding-block: 30px;
}
body > main:not([class]) .site-callout-announce p { max-width: none; color: var(--sqx-body); font-size: 17px; }
body > main:not([class]) .site-callout-announce strong { color: var(--sqx-ink); font-size: 26px; font-weight: var(--fw-bold); line-height: 1.3; }
.site-callout-announce p:last-child { grid-column: 2; grid-row: 1 / span 2; }
.site-callout-announce .site-btn { border-color: var(--sqx-blue); background: var(--sqx-blue); color: var(--sqx-on-dark); }
.site-callout-announce .site-btn:hover { border-color: var(--sqx-blue-deep); background: var(--sqx-blue-deep); color: var(--sqx-on-dark); }

/* Sections beside their photographs get room to breathe on the home page. */
.page-home .section-split { gap: 56px; margin: 72px 0; }
.page-home .section-split h2 { margin-top: 0; }
.page-home .split-copy .site-btn { margin-top: 6px; }

/* The product range: a Watermark band, the heading on the column edge, tiles
   of icon + name. */
.page-home .site-callout-products { --band: var(--sqx-watermark); padding-block: 64px 68px; }
body > main:not([class]) .site-callout-products h2 { margin: 0 0 32px; }
body > main:not([class]) .site-callout-products .card-grid { margin: 0; }
body > main:not([class]) .site-callout-products .card-grid > li { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px 26px; background: var(--sqx-white); border: 1px solid var(--sqx-hairline); border-radius: var(--radius); text-align: center; }
body > main:not([class]) .site-callout-products .card-grid { gap: 16px; }
body > main:not([class]) .site-callout-products .card-grid > li:hover { border-color: var(--sqx-blue); }
.site-callout-products .card-grid > li::before { width: 52px; height: 52px; margin: 0 0 16px; }
.site-callout-products .card-grid > li strong:first-child { margin: 0; padding: 0; border: 0; font-size: 17px; font-weight: var(--fw-bold); }
body > main:not([class]) .site-callout.site-callout-products { padding-left: 0; border-left: 0; }
/* The product range (home and About): the four flagship products as large
   cards with a line each, then the other data products, under a small label,
   as compact cards with the icon beside the name. */
body > main:not([class]) .site-callout-products .card-grid.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body > main:not([class]) .site-callout-products .card-grid.cards-4 > li { justify-content: flex-start; padding: 36px 24px 32px; text-align: center; color: var(--sqx-body); font-size: 15px; line-height: 1.45; }
.site-callout-products .card-grid.cards-4 > li::before { width: 64px; height: 64px; margin: 0 0 18px; }
.site-callout-products .card-grid.cards-4 > li strong:first-child { display: block; margin: 0 0 8px; font-size: 20px; }
body > main:not([class]) .site-callout-products h3 {
  margin: 36px 0 14px; color: var(--sqx-grey); font-size: 13px; font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
body > main:not([class]) .site-callout-products .card-grid.cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
body > main:not([class]) .site-callout-products .card-grid.cards-6 > li { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 18px; }
.site-callout-products .card-grid.cards-6 > li::before { flex: none; width: 32px; height: 32px; margin: 0; }
.site-callout-products .card-grid.cards-6 > li strong:first-child { font-size: 16px; text-align: left; }
@media (max-width: 900px) {
  body > main:not([class]) .site-callout-products .card-grid.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body > main:not([class]) .site-callout-products .card-grid.cards-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body > main:not([class]) .site-callout-products .card-grid.cards-6 { grid-template-columns: 1fr; }
}

/* The service promise: four short columns on SQX Blue. */
.page-home .site-callout-service { --band: var(--sqx-blue); padding-block: 68px 72px; }
body > main:not([class]) .site-callout-service h2 { margin: 0 0 40px; color: var(--sqx-on-dark); border-bottom-color: rgba(255,255,255,.6); }
body > main:not([class]) .site-callout-service .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 0; }
body > main:not([class]) .site-callout-service .card-grid > li { padding: 0; background: none; border: 0; color: var(--sqx-on-dark); font-size: 17px; }
body > main:not([class]) .site-callout-service .card-grid > li strong:first-child { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid rgba(255,255,255,.45); color: var(--sqx-on-dark); font-size: 20px; font-weight: var(--fw-bold); }

/* Updates: the newest company announcements as three cards. */
.featured-news { margin-top: 12px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; margin: 28px 0 22px; padding: 0; list-style: none; }
body > main:not([class]) .featured-card { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
body > main:not([class]) .featured-card h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.featured-card h3 a { color: var(--sqx-ink); }
.featured-card h3 a::before { content: ""; position: absolute; inset: 0; }
.featured-card:hover h3 a { color: var(--sqx-blue); text-decoration: none; }
body > main:not([class]) .featured-date { order: -1; margin: 0; color: var(--sqx-grey); font-size: 12.5px; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
/* A card reads picture, date, title. */
body > main:not([class]) .featured-media { order: -2; }
.featured-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.featured-more a { font-weight: var(--fw-medium); }

/* ── listings and articles ──────────────────────────────────────────────── */

.listing { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sqx-hairline); }
body > main:not([class]) .listing-item { max-width: none; margin: 0; padding: 18px 0 20px; border-bottom: 1px solid var(--sqx-hairline); }
body > main:not([class]) .listing-item h2 { display: block; margin: 0 0 4px; padding: 0; border: 0; font-size: 19px; line-height: 1.35; }
.listing-item h2 a { color: var(--sqx-ink); }
.listing-item h2 a:hover { color: var(--sqx-blue); }
body > main:not([class]) .listing-date { margin: 0 0 6px; }
body > main:not([class]) .listing-blurb { max-width: 72ch; margin: 0; font-size: var(--fs-ui); }
/* brand.json listing_thumbnails: Learn and News as tiles, the article's picture above its headline and date. */
.listing.listing-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; border-top: 0; }
body > main:not([class]) .listing-cards .listing-item { display: flex; flex-direction: column; padding: 0; border-bottom: 0; }
.listing-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 12px; background: var(--sqx-line-soft); border-radius: var(--radius-sm); }
.listing-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-thumb-none { background: var(--sqx-line-soft) url("/images/brand-wave.jpg") center / cover; }
body > main:not([class]) .listing-cards .listing-item h2 { font-size: 17px; font-weight: var(--fw-bold); }
.listing-cards .listing-blurb { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .listing.listing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .listing.listing-cards { grid-template-columns: 1fr; } }
.listing-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 26px; }
.listing-tags a {
  padding: 6px 12px;
  border: 1px solid var(--sqx-hairline);
  border-radius: var(--radius-sm);
  background: var(--sqx-white);
  color: var(--sqx-blue);
  font-size: 13px;
  font-weight: var(--fw-medium);
}
.listing-tags a:hover { border-color: var(--sqx-blue); text-decoration: none; }
.listing-tags a[aria-current] { background: var(--sqx-blue); border-color: var(--sqx-blue); color: var(--sqx-on-dark); }

/* ── filtered listing (listing front matter `filter: true`: Learn) ────────── */
/* A wide screen: the filter box is a sticky column beside the list, and the
   title and intro start on the box's edge. A phone: the box sits above the
   list, its topics folded into a disclosure. */
/* (.lf-layout twice: outranks the reading-column rule's :is() specificity.) */
body > main:not([class]):has(> .lf-layout.lf-layout) > :is(h1, p) { margin-inline: 0; max-width: 72ch; }
.lf-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 26px; }
@media (min-width: 1024px) {
  .lf-layout { grid-template-columns: 272px minmax(0, 1fr); gap: 44px; align-items: start; }
  .listing-filter { position: sticky; top: calc(var(--chrome-h, 0px) + 20px); max-height: calc(100vh - var(--chrome-h, 0px) - 40px); overflow-y: auto; scrollbar-width: thin; transition: top .2s; }
}
/* [hidden] must beat the display rules below, which the filter toggles. */
body > main:not([class]) :is(.listing-filter, .lf-status, .listing-empty, .listing-filtered > .listing-item)[hidden] { display: none; }
.listing-filter { padding: 18px; background: var(--sqx-panel); border: 1px solid var(--sqx-line-soft); border-radius: var(--radius); }
.listing-filter .lf-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.listing-filter .lf-group + .lf-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sqx-hairline); }
.listing-filter legend, .listing-filter .lf-search > label, .listing-filter summary {
  margin: 0 0 8px; padding: 0; color: var(--sqx-grey); font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.listing-filter .lf-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.listing-filter .lf-search input { max-width: none; margin-top: 0; }
/* Product: one choice, drawn as chips; the radio itself is kept for the
   keyboard and screen readers but not painted. */
.lf-products { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-products legend { width: 100%; float: left; }
.listing-filter .lf-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.lf-chip input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.lf-chip > span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 12px;
  border: 1px solid var(--sqx-hairline); border-radius: 999px; background: var(--sqx-white);
  color: var(--sqx-ink); font-size: 13.5px; font-weight: var(--fw-medium); line-height: 1.2;
}
.lf-chip:hover > span { border-color: var(--sqx-blue); }
.lf-chip:has(input:checked) > span { background: var(--sqx-blue); border-color: var(--sqx-blue); color: var(--sqx-on-dark); }
.lf-chip:has(input:focus-visible) > span { outline: 2px solid var(--sqx-blue); outline-offset: 2px; }
.lf-n { color: var(--sqx-grey); font-size: 12px; font-weight: var(--fw-regular); font-variant-numeric: tabular-nums; }
.lf-chip:has(input:checked) .lf-n { color: var(--sqx-on-dark-muted); }
@media (min-width: 1024px) {
  .lf-products { flex-direction: column; gap: 4px; }
  .lf-chip > span { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); }
  .listing-filter .lf-chip { display: flex; }
}
/* Topics: plain checkboxes, two columns on a phone, one in the side column. */
.lf-topics summary { display: flex; align-items: center; gap: 6px; min-height: 32px; margin: 0; cursor: pointer; list-style: none; }
.lf-topics summary::-webkit-details-marker { display: none; }
.lf-topics summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; border: solid var(--sqx-grey); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lf-topics[open] summary::after { transform: rotate(-135deg); }
.lf-picked { color: var(--sqx-blue); }
.lf-topics fieldset { margin: 6px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
@media (min-width: 1024px) { .lf-topics fieldset { grid-template-columns: minmax(0, 1fr); } }
.listing-filter .lf-check { display: flex; align-items: center; gap: 9px; min-height: 29px; margin: 0; color: var(--sqx-ink); font-size: 14px; font-weight: var(--fw-regular); cursor: pointer; }
.lf-check input { flex: none; width: 17px; height: 17px; min-height: 0; margin: 0; padding: 0; accent-color: var(--sqx-blue); }
@media (max-width: 1023px) { .listing-filter .lf-check { min-height: 44px; } .lf-chip > span { min-height: 44px; } }
/* The count above the list, and the way back to everything. */
body > main:not([class]) .lf-status { display: flex; align-items: baseline; gap: 16px; margin: 0 0 10px; color: var(--sqx-grey); font-size: 13.5px; }
.lf-count { font-variant-numeric: tabular-nums; }
body > main:not([class]) .listing-filtered + .listing-empty { margin: 18px 0 0; color: var(--sqx-ink); }
/* The list: rows, a picture beside the text when the item has one. */
body > main:not([class]) .listing-filtered .listing-item { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 20px; }
body > main:not([class]) .listing-filtered .listing-item:has(> .listing-thumb) { grid-template-columns: 148px minmax(0, 1fr); }
.listing-filtered .listing-item > .listing-thumb { grid-row: 1 / span 4; margin: 4px 0 0; aspect-ratio: 16 / 10; }
.listing-filtered .listing-item > :not(.listing-thumb) { grid-column: -2; }
body > main:not([class]) .listing-filtered .lf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.lf-tag { padding: 2px 8px; border-radius: var(--radius-sm); background: var(--sqx-surface-alt); color: var(--sqx-body); font-size: 12px; line-height: 1.5; }
.lf-tag-product { background: transparent; border: 1px solid var(--sqx-hairline); color: var(--sqx-blue); font-weight: var(--fw-medium); }
@media (max-width: 520px) {
  body > main:not([class]) .listing-filtered .listing-item:has(> .listing-thumb) { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
  body > main:not([class]) .listing-filtered .listing-item h2 { font-size: 17px; }
}

/* The article column starts on the page column's left edge, as every other
   page's text does (one margin for every page). */
.site-article { max-width: 720px; margin-inline: 0; }
/* An article's text is the pages' 18px reading size at every width, so a line
   across its 720px column stays under 95 characters (the 15px UI size gives
   about 100). */
.site-article .article-body > :is(p, ul, ol, blockquote) { font-size: 18px; }
.site-article > header { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 2px solid var(--sqx-blue); }
body > main:not([class]) .article-date { margin: 0 0 12px; }
body > main:not([class]) .article-kicker { margin: 0; color: var(--sqx-ink); font-size: var(--fs-lead); font-weight: var(--fw-light); line-height: 1.5; }
.article-byline, .article-author { color: var(--sqx-grey); font-size: 13px; }
.article-hero img { width: 100%; border-radius: var(--radius); }

/* ── data facts and file tables ─────────────────────────────────────────── */

.fact { font-weight: var(--fw-medium); color: var(--sqx-ink); }
.fact-block { margin: 18px 0 24px; }
/* A facts table runs the column it sits in: the global table rule makes main's
   tables display:block (scrolling), whose inner table is only as wide as its
   content, so the fact block carries the scroll and the table fills it. */
.fact-block { overflow-x: auto; }
.fact-block > .fact-table { display: table; width: 100%; }
.dict-download { margin: 0 0 22px; }
.dict-note { max-width: 76ch; font-size: 0.9rem; line-height: 1.5; }
.dict-relationships { max-width: 70ch; }
@media (min-width: 900px) {
  .dict-relationships { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: start; max-width: none; }
  .dict-relationships > h2 { grid-column: 1 / -1; }
}
.dict-toc { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 18px 0 30px; font-size: 14px; }
.dict-toc a { display: inline-flex; align-items: center; min-height: 24px; }
.dict-download-btn, .site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: 2px solid var(--sqx-blue);
  border-radius: var(--radius-sm);
  color: var(--sqx-blue);
  font-size: var(--btn-fs);
  font-weight: var(--fw-bold);
}
.dict-download-btn:hover, .site-btn:hover { background: var(--sqx-blue); color: var(--sqx-on-dark); text-decoration: none; }

/* ── charts: data marks only (SPINUP.md "Data visualization") ───────────── */

.chart-panel, .series-panel { margin: 26px 0; max-width: 760px; }
.chart-caption, .series-caption { color: var(--sqx-grey); font-size: var(--fs-small); margin: 0 0 12px; max-width: 70ch; }
/* A table chart's measure columns read down their digits: right-aligned,
   header included, with figures of one width. */
.chart-table .site-table :is(th, td).num { text-align: right; font-variant-numeric: tabular-nums; }
.chart-row, .series-row {
  display: grid;
  grid-template-columns: minmax(9ch, 22ch) 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--sqx-line-soft);
}
.chart-label, .series-label { fill: var(--sqx-ink); color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-medium); }
.chart-value, .series-value { fill: var(--sqx-body); color: var(--sqx-body); font-size: var(--fs-ui); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
/* A row's marks are drawn in a 100x24 viewBox; an inline svg only fills its box
   when the box carries that ratio (preserveAspectRatio is an attribute, not CSS). */
.chart-mark, .sparkline { width: 100%; height: auto; aspect-ratio: 100 / 24; overflow: visible; display: block; }
.chart-compare .chart-row { grid-template-columns: minmax(9ch, 24ch) minmax(0, 300px) auto; }
.chart-compare .chart-mark { aspect-ratio: 100 / 9; }
.chart-tick { font-size: 11px; color: var(--sqx-grey); font-variant-numeric: tabular-nums; }
.chart-mark .chart-spark, .sparkline polyline {
  fill: none;
  stroke: var(--chart-1);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-mark .chart-bar, .sparkline .chart-bar { fill: var(--chart-1); rx: 1px; }
.chart-mark .chart-last, .sparkline .chart-last, .sparkline .series-last { fill: var(--sqx-ink); stroke: none; }
.chart-compare .chart-mark .chart-bar { fill: var(--chart-1); }
.chart-mark .chart-axis-line { stroke: var(--chart-axis); stroke-width: 1; }
.chart-value-axis { padding-top: 0; }
.chart-value-axis .chart-tick { color: var(--sqx-grey); }
.chart-axis-caption { font-size: 12px; font-weight: var(--fw-medium); color: var(--sqx-ink); margin-top: 2px; }
.chart-ink { fill: var(--sqx-blue); background: var(--sqx-blue); }
.chart-mark .chart-ink { fill: var(--sqx-blue); }
/* Corpus-scale panels (scatter, network): a mark per entity in a 100x66 box. */
.chart-panel-mark { width: 100%; height: auto; aspect-ratio: 100 / 66; overflow: visible; display: block; margin-top: 4px; }
.chart-panel-mark .chart-point { fill: var(--chart-1); fill-opacity: 0.6; }
.chart-panel-mark .chart-node { fill: var(--chart-1); }
.chart-panel-mark .chart-edge { stroke: var(--chart-axis); stroke-opacity: 0.45; stroke-linecap: round; }
.chart-panel-mark .chart-g0 { fill: var(--chart-1); fill-opacity: 0.62; }
.chart-panel-mark .chart-g1 { fill: var(--chart-2); fill-opacity: 0.72; }
.chart-panel-mark .chart-g2 { fill: var(--chart-other); fill-opacity: 0.62; }
.chart-panel-mark .chart-node-label,
.chart-panel-mark .chart-point-label { font-weight: 700; font-size: 2.4px; fill: var(--sqx-ink); paint-order: stroke; stroke: var(--sqx-white); stroke-width: 0.7px; }
.chart-arrow { fill: var(--sqx-grey); }
.chart-legend { color: var(--sqx-body); }
/* Overlay: several series on labelled axes (spinup_chart_overlay.py). Each
   geometry's SVG holds the same chart; the page's own head CSS shows one. */
.chart-overlay { color: var(--sqx-body); }
.chart-overlay-svg { width: 100%; height: auto; font-family: inherit; }
.chart-overlay-svg .chart-grid-line { stroke: var(--chart-grid); }
.chart-overlay-svg .chart-base-line, .chart-overlay-svg .chart-tick-line { stroke: var(--chart-axis); }
.chart-overlay-svg .chart-axis-label { fill: var(--chart-axis); font-variant-numeric: tabular-nums; }
.chart-overlay-svg .chart-axis-title { fill: var(--sqx-ink); font-weight: var(--fw-medium); }
.chart-overlay-svg .chart-line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-overlay-svg .chart-dot { fill: var(--c); }
.chart-overlay-svg .chart-end { fill: var(--c); font-weight: var(--fw-bold); }
.chart-overlay-svg .chart-leader { stroke: var(--sqx-grey); stroke-opacity: 0.5; }
.chart-overlay-svg .chart-zero-line { stroke: var(--sqx-grey); stroke-dasharray: 4 3; }
.chart-overlay-svg .chart-pt { fill: var(--chart-1); fill-opacity: 0.62; }
.chart-overlay-svg .chart-trail { fill: none; stroke: var(--chart-1); stroke-opacity: 0.22; stroke-width: 1; }
.chart-overlay-svg .chart-trail-pt { fill: var(--chart-1); }
.chart-overlay-svg .chart-pt:hover { fill-opacity: 1; }
.chart-overlay-svg .chart-pt-name { fill: var(--sqx-ink); font-weight: var(--fw-bold); paint-order: stroke; stroke: var(--sqx-white); stroke-width: 3px; }
.chart-overlay-svg .chart-hover { fill: transparent; }
.chart-overlay-svg .chart-cross { stroke: var(--sqx-grey); pointer-events: none; }
.chart-overlay-svg.is-active .chart-line:not(.is-on), .chart-overlay-svg.is-active .chart-dot:not(.is-on), .chart-overlay-svg.is-active .chart-end:not(.is-on) { opacity: 0.22; }
.chart-overlay-svg .chart-line.is-on { stroke-width: 3.6; }
.chart-overlay-svg .chart-pt:hover, .chart-overlay-svg .chart-pt:focus { fill-opacity: 1; stroke: var(--sqx-ink); stroke-width: 1.5; outline: none; }
.chart-overlay-svg:focus { outline: none; }
.chart-overlay-svg:focus-visible { outline: 2px solid var(--sqx-blue); outline-offset: 2px; }
/* The tooltip chart_tips.js builds on hover and focus. */
.chart-tip { position: fixed; z-index: 50; min-width: 120px; max-width: 280px; padding: 8px 10px; background: var(--sqx-white); color: var(--sqx-ink); border: 1px solid var(--sqx-hairline); border-radius: 6px; box-shadow: 0 4px 16px rgba(26, 36, 48, 0.14); font-size: 13px; line-height: 1.4; pointer-events: none; }
.chart-tip[hidden] { display: none; }
.chart-tip-title { margin-bottom: 4px; color: var(--sqx-grey); font-size: 12px; }
.chart-tip-row { display: flex; align-items: center; gap: 6px; }
.chart-tip-row strong { font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.chart-tip-row span:last-child { color: var(--sqx-grey); }
.chart-tip-key { width: 12px; height: 2px; flex: none; }
.chart-s0 { --c: var(--chart-1); } .chart-s1 { --c: var(--chart-2); } .chart-s2 { --c: var(--chart-3); }
.chart-s3 { --c: var(--chart-4); } .chart-s4 { --c: var(--chart-5); } .chart-s5 { --c: var(--chart-6); }
.chart-s6 { --c: var(--chart-7); } .chart-s7 { --c: var(--chart-8); } .chart-s8 { --c: var(--chart-9); }
.chart-s9 { --c: var(--chart-10); }
.chart-grid { max-width: none; }
.chart-grid-table { font-size: 13px; }
.chart-grid-head { color: var(--sqx-ink); font-weight: var(--fw-medium); font-size: 12.5px; }
.chart-cell-value { color: var(--sqx-ink); font-weight: var(--fw-medium); }
.chart-grid-table .chart-label a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--sqx-hairline); }
.chart-grid-table .chart-label a:hover { border-bottom-color: var(--sqx-blue); }
.site-embed { margin: 20px 0; border: 1px solid var(--sqx-hairline); border-radius: var(--radius); overflow: hidden; }
.site-embed iframe { display: block; border: 0; }

/* ── buttons ────────────────────────────────────────────────────────────── */

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.action-btn, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: var(--radius-sm);
  border: 2px solid var(--sqx-blue);
  background: transparent;
  color: var(--sqx-blue);
  font-size: var(--btn-fs);
  font-weight: var(--fw-bold);
}
.action-btn:hover { border-color: var(--sqx-blue); text-decoration: none; }
.action-primary, .cta-btn { border-color: var(--sqx-blue); background: var(--sqx-blue); color: var(--sqx-on-dark); }
.action-primary:hover, .cta-btn:hover { background: var(--sqx-blue-deep); border-color: var(--sqx-blue-deep); color: var(--sqx-on-dark); text-decoration: none; }

.cta-band { margin-top: 32px; background: var(--sqx-watermark); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter);
}
.cta-inner h2 { display: table; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 3px solid var(--sqx-secondary); font-size: var(--fs-h2); }
.cta-band-form .cta-inner h2 { margin-inline: auto; }
.cta-inner > p, .cta-copy > p { margin: 0; max-width: 60ch; color: var(--sqx-ink); font-size: var(--fs-lead); }
/* The band that is the lead form (brand.json cta.form): the ask and the
   inquiries address centred over the form, which is one centred row
   (contact_form_fields "compact", "the lead form" below). */
.cta-band-form .cta-inner { display: block; padding-block: 64px 72px; text-align: center; }
/* The form band's lede is one sentence pair that reads as one line on a desktop. */
.cta-band-form .cta-copy { margin: 0 auto 32px; }
.cta-band-form .cta-copy > p { max-width: none; margin-inline: auto; }
.cta-band-form .cta-copy > .cta-email { margin-top: 12px; font-size: var(--fs-base); }
.cta-band-form .cta-email a { font-weight: var(--fw-bold); }
.cta-band-form #spinup-contact-form { text-align: left; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-footer { background: var(--sqx-blue); color: var(--sqx-on-dark-muted); font-size: var(--fs-ui); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 18px var(--gutter);
}
.site-footer a { color: var(--sqx-on-dark-muted); }
.site-footer a:hover { color: var(--sqx-on-dark); }
/* The wordmark in place of the typed name. */
.footer-brand {
  display: inline-block;
  width: 42px;
  height: 22px;
  margin-right: 6px;
  vertical-align: -6px;
  overflow: hidden;
  background: url("/images/brand-wordmark-white.svg") left center / contain no-repeat;
  color: transparent;
}

/* The column footer (brand.json "footer"): wordmark and LinkedIn, one
   Contact column, the Explore column (the nav's sections, in two columns),
   and a bottom bar with the legal line and the IPL and ISO 27001 marks. */
.footer-inner.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 2fr);
  align-items: start;
  gap: 28px 48px;
  padding-block: 44px 36px;
}
.footer-brandcol { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brandcol img { display: block; width: auto; height: 30px; }
.footer-col h4 {
  margin: 0 0 14px;
  color: var(--sqx-on-dark);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.footer-contactcol a { display: block; margin: 0 0 8px; }
.footer-contactcol p { margin: 12px 0 0; line-height: 1.5; }
.footer-sectionscol ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.footer-sectionscol li { margin: 0 0 8px; break-inside: avoid; }
.footer-inner.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 0;
  position: relative;
  padding-block: 20px 24px;
}
/* the rule spans the content width, not the gutters */
.footer-inner.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.14); }
/* Three columns (brand.json footer "follow"): wordmark over its contact lines,
   the nav sections, and the social icon with the marks; one centered legal line. */
.site-footer-three .footer-inner.footer-columns { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr); }
.site-footer-three .footer-brandcol { gap: 22px; }
.site-footer-three .footer-contactcol a, .site-footer-three .footer-contactcol p { display: block; margin: 0 0 6px; line-height: 1.5; }
.footer-followcol .footer-marks { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.footer-followcol .site-social { display: inline-flex; }
.site-footer-three .footer-inner.footer-bottom { justify-content: center; text-align: center; }
.footer-legal { color: var(--sqx-on-dark-muted); }
.footer-legal span { margin: 0 6px; }
.footer-marks { display: flex; align-items: center; gap: 20px; }
.footer-marks a { display: block; }
.footer-aux-logo { display: block; width: 64px; height: auto; }
.footer-badge { display: block; width: 64px; height: auto; border-radius: var(--radius-sm); }
.site-footer .site-social { display: inline-flex; color: var(--sqx-on-dark); }
.site-social svg { width: 22px; height: 22px; fill: currentColor; }
/* The footer's LinkedIn link: the mark at 36px and its name beside it, the
   column's first and largest item. */
.site-footer .site-social-labelled { align-items: center; gap: 12px; font-size: 17px; font-weight: var(--fw-bold); }
.site-footer .site-social-labelled svg { width: 36px; height: 36px; flex: none; }
.site-footer .site-social-labelled:hover { text-decoration: none; }
.site-footer .site-social-labelled:hover span { text-decoration: underline; text-underline-offset: 3px; }
.site-header .site-social { order: 3; display: flex; align-items: center; margin-left: 14px; color: var(--sqx-on-dark-muted); }
.site-header .site-social:hover, .site-footer .site-social:hover { color: var(--sqx-on-dark); }

/* ── search (header row, or a section bar) ─────────────────────────────── */

/* Data Search sits in the header row beside Coverage check and Contact
   (brand.json header_actions; "section_bar": false keeps one menu row), or at the
   right end of a section bar on a site that has one ("row": "sub");
   apps/explorer/site_search.js adds the suggestion list. An open white field of one
   width, focused or not, so it never covers the links beside it. Its name is the
   field's aria-label; the toggle label is kept for screen readers only. Selectors
   carry .section-bar or .header-actions so the contact form's `form input` /
   `form button` rules never reach them. In the header row it takes the buttons'
   height. */
:root { --search-w: 320px; --search-h: 26px; }
.section-actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.section-nav + .section-actions, .section-cta + .section-actions { margin-left: 0; }
:is(.section-bar, .header-actions) .header-search { position: relative; display: flex; align-items: center; width: var(--search-w); height: var(--search-h); margin: 0; }
:is(.section-bar, .header-actions) .header-search-input {
  display: block;
  width: 100%;
  max-width: none;
  height: var(--search-h);
  min-height: 0;
  margin: 0;
  padding: 0 34px 0 10px;
  border: 1px solid rgba(0, 83, 136, 0.35);
  border-radius: var(--radius-sm);
  background: var(--sqx-white);
  color: var(--sqx-ink);
  font: var(--fw-regular) 13.5px var(--font-sans);
  text-overflow: ellipsis;
  box-shadow: none;
  -webkit-appearance: none;
          appearance: none;
}
:is(.section-bar, .header-actions) .header-search-input::placeholder { color: var(--sqx-body); opacity: 1; }
:is(.section-bar, .header-actions) .header-search-input::-webkit-search-cancel-button { cursor: pointer; }
:is(.section-bar, .header-actions) .header-search-input:focus { border-color: var(--sqx-blue); outline: none; box-shadow: 0 0 0 2px rgba(0, 83, 136, 0.3); }
:is(.section-bar, .header-actions) .header-search-toggle { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(.section-bar, .header-actions) .header-search-submit {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: var(--search-h);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: none;
  color: var(--sqx-blue);
  cursor: pointer;
}
:is(.section-bar, .header-actions) .header-search-submit:hover { background: var(--sqx-panel); }
:is(.section-bar, .header-actions) .header-search-submit::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6.2' cy='6.2' r='4.2' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M9.4 9.4L12 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='6.2' cy='6.2' r='4.2' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M9.4 9.4L12 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* The suggestions, a floating panel under the field (menu style). */
:is(.section-bar, .header-actions) .header-search-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  width: max(var(--search-w), 440px);
  max-width: calc(100vw - 2 * var(--gutter));
  max-height: min(70vh, 520px);
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  list-style: none;
  background: var(--sqx-white);
  border-top: 2px solid var(--sqx-blue);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-card);
}
:is(.section-bar, .header-actions) .header-search-list[hidden] { display: none; }
:is(.section-bar, .header-actions) .header-search-list > li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 9px 16px;
  cursor: pointer;
}
:is(.section-bar, .header-actions) .header-search-list > li:hover,
:is(.section-bar, .header-actions) .header-search-list > li[aria-selected="true"] { background: var(--sqx-panel); }
:is(.section-bar, .header-actions) .header-search-list > li[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--sqx-blue); }
:is(.section-bar, .header-actions) .header-search-list .hs-name,
:is(.section-bar, .header-actions) .header-search-list .hs-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.section-bar, .header-actions) .header-search-list .hs-name { color: var(--sqx-ink); font-size: 14px; font-weight: var(--fw-medium); line-height: 1.35; }
:is(.section-bar, .header-actions) .header-search-list .hs-meta { color: var(--sqx-grey); font-size: 12px; font-variant-numeric: tabular-nums; }
:is(.section-bar, .header-actions) .header-search-list > li[aria-selected="true"] .hs-name { color: var(--sqx-blue); }
/* The index pages and the issuers the text names lead the list, a rule below them. */
:is(.section-bar, .header-actions) .header-search-list > .hs-issuer + .hs-item,
:is(.section-bar, .header-actions) .header-search-list > .hs-index + .hs-item { margin-top: 6px; border-top: 1px solid var(--sqx-line-soft); }
/* "Search all" stays in sight at the foot of a list that scrolls. */
:is(.section-bar, .header-actions) .header-search-list > .hs-all { position: sticky; bottom: -6px; justify-content: center; min-height: 44px; background: var(--sqx-white); }
:is(.section-bar, .header-actions) .header-search-list > .hs-all:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--sqx-line-soft); }
:is(.section-bar, .header-actions) .header-search-list > .hs-all .hs-name { color: var(--sqx-blue); }
:is(.section-bar, .header-actions) .header-search-list > .hs-all .hs-name::after { content: " \2192"; }
/* The header row's layout (the menu button, the logo, the search, both
   buttons, and where the menus go) is the builder's (brand.json header_layout,
   spinup_site_build.py header_layout_css); this sheet sets its look. Above
   the fold (--nav-unfolded, brand.json header_layout "fold"; the builder writes
   the width, HEADER_MEDIA_TOKENS) the eight section menus take a row under the
   search, in the header's one SQX Blue. From --logo-spans (header_layout
   "span_from") the logo ("logo": "span") runs from the top of the search to
   the foot of the menus' labels. */
.header-actions { --search-w: auto; --search-h: var(--control-h); }
@media (min-width: 1061px) {
  :root { --nav-row-h: 42px; }
  .site-header { --header-gap: 28px; }
  .site-nav { height: var(--nav-row-h); margin-left: -8px; }
}
@media (min-width: 1360px) {
  .site-logo svg { height: calc(var(--header-row-h) + var(--nav-row-h) - 2 * ((var(--header-row-h) - var(--control-h)) / 2) - 4px); }
}
/* Below the desktop layout the section bar wraps: its field takes a row of its
   own, at a touch target's height, under the breadcrumb. */
@media (max-width: 1420px) {
  :root { --search-w: 100%; --search-h: 40px; }
  .section-actions { flex: 1 1 100%; order: 1; margin: 0 0 10px; }
  .section-bar-plain .section-actions { margin: 10px 0; }
  .section-bar .header-search { flex: 1; }
  .section-bar .header-search-submit { width: 44px; }
  .section-bar .header-search-list { left: 0; width: auto; max-width: none; }
}
/* Up to a tablet's width the search button is a 44px touch target and the
   suggestions keep inside the window. */
@media (max-width: 1099px) {
  .header-actions .header-search-submit { width: 44px; }
  .header-actions .header-search-list { left: auto; right: 0; width: min(440px, calc(100vw - 2 * var(--gutter))); }
}
/* at or under actions_fold the field fills the row, so its suggestions take the window's width */
@media (max-width: 900px) {
  .header-actions .header-search-list { left: auto; right: 0; width: calc(100vw - 2 * var(--gutter)); }
}
/* the narrowest phones: the whole placeholder fits the field's row at 12px */
@media (width < 360px) {
  .header-actions .header-search-input { padding-left: 8px; font-size: 12px; }
}

/* ── forms (contact) ────────────────────────────────────────────────────── */

form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 0 18px; }
form label { display: block; margin: 14px 0 4px; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-medium); }
form input, form select, form textarea {
  display: block;
  width: 100%;
  max-width: 538px;
  min-height: 46px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--sqx-hairline);
  border-radius: var(--radius-sm);
  background: var(--sqx-white);
  color: var(--sqx-ink);
  font: inherit;
  font-weight: var(--fw-regular);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--sqx-blue); box-shadow: 0 0 0 1px var(--sqx-blue); }
form button, form [type="submit"] {
  margin-top: 20px;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--sqx-blue);
  color: var(--sqx-on-dark);
  font: var(--fw-bold) var(--btn-fs) var(--font-sans);
  cursor: pointer;
}
form button:hover, form [type="submit"]:hover { background: var(--sqx-blue-deep); }
#spinup-contact-form .form-error { color: var(--sqx-error); font-weight: var(--fw-medium); }

/* The contact form is the page's one action: a card on the same measure as
   the text above it, centred under it, its fields in two columns so the card
   stays short. Scoped to the contact form; other forms keep the rules above. */
#spinup-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  max-width: var(--read);
  margin: 32px auto;
  padding: 10px 32px 28px;
  background: var(--sqx-panel);
  border: 1px solid var(--sqx-line-soft);
  border-radius: var(--radius);
}
#spinup-contact-form > * { grid-column: 1 / -1; }
#spinup-contact-form > label:has(select, [name="subject"]) { grid-column: auto; }
#spinup-contact-form .form-row { grid-template-columns: subgrid; gap: 0 18px; }
#spinup-contact-form input, #spinup-contact-form select, #spinup-contact-form textarea { max-width: none; }
#spinup-contact-form button { justify-self: start; }
#spinup-contact-form .form-note { margin: 14px 0 0; }
/* The lead form (brand.json contact_form_fields "compact"): name, work email
   and message on one row with the send button, centred on the page, no card
   around it; the note and any error sit centred under the row. On a tablet
   the message and the button take a row each; on a phone every field does. */
#spinup-contact-form.contact-form-compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) auto;
  align-items: end;
  gap: 14px 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: 0;
}
#spinup-contact-form.contact-form-compact > * { grid-column: auto; }
#spinup-contact-form.contact-form-compact .form-row { display: contents; }
#spinup-contact-form.contact-form-compact label { margin: 0; text-align: left; }
#spinup-contact-form.contact-form-compact textarea { min-height: 46px; max-height: 220px; resize: vertical; field-sizing: content; }
#spinup-contact-form.contact-form-compact button { margin: 0; }
#spinup-contact-form.contact-form-compact > :is(.form-note, .form-error) { grid-column: 1 / -1; max-width: none; margin: 4px 0 0; text-align: center; font-size: var(--fs-small); }
@media (max-width: 900px) {
  #spinup-contact-form.contact-form-compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #spinup-contact-form.contact-form-compact > :is(label:has(textarea), button) { grid-column: 1 / -1; }
  /* here the button sits at the left, and the note or error lines up under it */
  #spinup-contact-form.contact-form-compact > :is(.form-note, .form-error) { text-align: left; }
}
@media (max-width: 520px) {
  #spinup-contact-form.contact-form-compact { grid-template-columns: minmax(0, 1fr); }
}

/* ── narrower screens ───────────────────────────────────────────────────── */

/* At or under the fold (--nav-folded, brand.json header_layout "fold") the
   eight section menus fold behind the menu button, left of the logo: the open
   menu's look. */
@media (max-width: 1060px) {
  .nav-menu-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--sqx-on-dark);
  }
  .nav-open .nav-menu-btn { background: rgba(255, 255, 255, 0.12); }
  .site-nav { gap: 0; padding: 4px 0 14px; font-size: 15px; }
  .site-nav > a,
  .site-nav .nav-group-label,
  .site-nav .nav-group-toggle { padding: 0 4px; }
  .site-nav > :is(a, .nav-group) + :is(a, .nav-group) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav .nav-group-toggle { width: 44px; justify-content: center; padding: 0; }
  .site-nav .nav-group[data-current], .site-nav > a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--sqx-on-dark); padding-left: 10px; }
  /* A tapped group opens in place, as a list under its label. */
  .site-nav .nav-group:hover > .nav-sub { display: none; }
  .site-nav .nav-group:focus-within > .nav-sub,
  .site-nav .nav-mega:focus-within > .nav-sub {
    display: block;
    position: static;
    flex-basis: 100%;
    margin: 0 0 10px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }
  .mega-col { gap: 0; margin-bottom: 8px; }
  .mega-heading { margin-top: 8px; }
  .site-nav .mega-col > a, .site-nav .nav-sub > a { padding: 10px 0; font-size: 15px; }
  .site-nav .nav-sub > a { padding: 10px 6px; }

  .section-bar-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .crumbs { flex-basis: 100%; order: 0; }
  .section-nav { order: 2; flex-wrap: wrap; gap: 0 18px; margin-left: 0; }
  .section-cta { order: 3; display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 760px) {
  body > main:not([class]) { padding-top: 30px; }
  body > main:not([class]) > :is(h1:first-child + p:not(.page-api-link), h1:first-child + p.page-api-link + p) { padding-bottom: 36px; margin-bottom: 32px; }
  body > main:not([class]) h2 { margin-top: 40px; }
  body > main:not([class]) > h1 + p,
  body > main:not([class]) > h1 + p.page-api-link + p, .article-kicker { font-size: 18px; }
  body > main:not([class]) > h1 + p.page-api-link { font-size: var(--fs-small); }
  /* On a phone the text covers the wave, so a deep-blue scrim sits under it. */
  .hero {
    background: linear-gradient(rgba(0,66,109,.55), rgba(0,66,109,.55)), var(--hero-gradient), url("/images/brand-data-field.jpg") 60% 50% / cover no-repeat, var(--sqx-blue);
  }
  .hero-with-app { background: var(--hero-gradient), var(--sqx-blue); }
  .hero p { font-size: 18px; }
  .hero .action-btn { width: 100%; justify-content: center; }
  .card-grid, .card-grid.cards-2, .card-grid.cards-4 { grid-template-columns: 1fr; }
  /* Charts: label and value share the first line, the mark takes the second. */
  .chart-row, .series-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .chart-row .chart-label, .series-row .series-label { grid-area: 1 / 1; }
  .chart-row .chart-value, .series-row .series-value { grid-area: 1 / 2; }
  .chart-row .chart-mark, .series-row .sparkline { grid-area: 2 / 1 / 3 / -1; }
  .chart-compare .chart-row { grid-template-columns: 1fr auto; }
  .chart-compare .chart-mark { max-width: 230px; }
  .chart-compare .chart-value-axis .chart-mark-stack { grid-column: 1 / -1; }
  .chart-compare .chart-value-ticks { max-width: 230px; }
  .chart-compare .chart-value-axis .chart-label, .chart-compare .chart-value-axis .chart-value { display: none; }
  .section-split { grid-template-columns: 1fr; }
  .section-split.flip .site-figure { order: 0; }
  .section-split.wrap .site-figure { float: none; width: 100%; margin: 0 0 12px; }
  .section-split.badge .site-figure { float: left; width: 112px; margin: 4px 18px 8px 0; }
  .people-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid.cards-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body > main:not([class]) .card-grid > li:has(> a > img) { flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
  .card-grid > li > a > img { width: 84px; flex: none; }
  .logo-cell { height: 84px; padding: 14px 16px; }
  .person-card { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding-top: 24px; }
  .footer-inner.footer-columns, .site-footer-three .footer-inner.footer-columns { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 28px; }
  .footer-brandcol { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-footer-three .footer-brandcol { flex-direction: column; align-items: flex-start; }
  .footer-inner.footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .stat-strip strong { font-size: 28px; }
  form .form-row { grid-template-columns: 1fr; }
  #spinup-contact-form { grid-template-columns: minmax(0, 1fr); padding: 6px 18px 22px; }
  #spinup-contact-form > label:has(select, [name="subject"]) { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-form .cta-inner { grid-template-columns: minmax(0, 1fr); padding-block: 40px 44px; }
  .page-home main > .site-callout-announce:first-child { margin-top: -30px; }
  .page-home .site-callout-announce { grid-template-columns: 1fr; padding-block: 22px; }
  .site-callout-announce p:last-child { grid-column: 1; grid-row: auto; margin-top: 12px; }
  body > main:not([class]) .site-callout-announce strong { font-size: 20px; }
  .page-home .section-split { gap: 22px; margin: 44px 0; }
  .page-home .site-callout-products, .page-home .site-callout-service { padding-block: 40px 44px; }
  body > main:not([class]) .site-callout-products .card-grid > li { padding: 22px 10px 18px; }
  body > main:not([class]) .site-callout-service h2 { margin-bottom: 26px; }
  body > main:not([class]) .site-callout-service .card-grid { grid-template-columns: 1fr; gap: 26px; }
  .featured-grid { grid-template-columns: 1fr; }
}

/* ── page actions and touch widths (site-layout rubric: hierarchy,
   responsiveness) ───────────────────────────────────────────────────────── */

/* The page's one filled action; a paragraph of buttons lays them out as a row. */
.site-btn-primary { background: var(--sqx-blue); color: var(--sqx-on-dark); }
.site-btn-primary:hover { background: var(--sqx-blue-deep); border-color: var(--sqx-blue-deep); }
/* Every contact button has one look on every page: SQX Blue outline and text on
   the Watermark grey of the title and contact bands, whether it sits on a band
   or in a white section. A contact link the page marks as its primary action
   (the home hero) keeps the filled style. Hover fills it blue. */
:is(main, .cta-band) a:is(.site-btn, .action-btn, .cta-btn)[href^="/contact/"]:not(.site-btn-primary, .action-primary) {
  border: 2px solid var(--sqx-blue); background: var(--sqx-watermark); color: var(--sqx-blue);
}
:is(main, .cta-band) a:is(.site-btn, .action-btn, .cta-btn)[href^="/contact/"]:not(.site-btn-primary, .action-primary):hover {
  border-color: var(--sqx-blue); background: var(--sqx-blue); color: var(--sqx-on-dark); text-decoration: none;
}
body > main:not([class]) p:has(> .site-btn) { display: flex; flex-wrap: wrap; gap: 12px; }
.chart-panel + .chart-panel, .series-panel + .series-panel { margin-top: 48px; }

/* Every block of a plain page starts on the content column's left edge:
   the title band, headings, prose, lists, cards, tables and charts, so the
   eye returns to one line down the page. Prose, lists and a fixed-shape chart
   keep a reading measure (--read: about 90 characters of 19px text); card
   grids, splits, callouts, tables, code blocks and a chart that redraws for
   its width (chart-fluid) run the full column. The site sets brand.json
   section_pairs false, so sections read down one column; the flow is main, and
   :where() keeps it at the specificity of the block styled. */
:root { --read: 640px; --read-fs: var(--fs-base); }
/* On a desktop the measure is about four fifths of the column, between
   720px and 760px (76 to 90 characters of 19px text), so text runs most of
   the way across the column and never past a readable line.
   The percentage resolves against each block's own column. */
@media (min-width: 1024px) { :root { --read: clamp(720px, 78%, 760px); --read-fs: 19px; } }
:where(body > main:not([class]))
  > :is(p, ul:not(.card-grid, .people-grid), ol, blockquote) { font-size: var(--read-fs); }
:where(body > main:not([class]))
  > :is(p, ul:not(.card-grid, .people-grid, .stat-strip), ol, blockquote,
        .chart-panel, .series-panel, .card-grid.cards-1, figure.site-figure) {
  margin-inline: 0;
  max-width: var(--read);
}
:where(body > main:not([class])) > pre {
  margin-inline: 0;
  max-width: none;
}
body > main:not([class]) > .chart-panel.chart-fluid { max-width: none; margin-inline: 0; }
/* A network (nodes placed by a graph layout, drawn at a fixed shape that only
   scales) takes the column too: at the reading measure its box is a 718px
   frame in a 1216px page, and a uniform scale keeps the geometry. Its caption
   is a sentence or two about the drawing, ~190 characters a line at the full
   column, so it keeps the reading measure above the drawing. The page's
   tagline (h1 + p) stays centred under the title. */
body > main:not([class]) > .chart-panel.chart-network { max-width: none; margin-inline: 0; }
body > main:not([class]) > :is(h2, h3):has(+ .chart-panel.chart-network),
body > main:not([class]) > :is(h2, h3):has(+ p + .chart-panel.chart-network),
body > main:not([class]) > p:not(h1 + p):has(+ .chart-panel.chart-network) { margin-inline: 0; }
body > main:not([class]) > p:not(h1 + p):has(+ .chart-panel.chart-network) { max-width: var(--read); }
.chart-panel.chart-network > .chart-caption { max-width: var(--read); }
body > main:not([class]) > :is(h2, h3):has(+ :is(.card-grid:not(.cards-1), .section-split, .site-callout, table, .table-scroll)),
body > main:not([class]) > :is(h2, h3):has(+ .chart-panel.chart-fluid),
body > main:not([class]) > :is(h2, h3):has(+ .app-embed),
body > main:not([class]) > :is(h2, h3):has(+ p + .chart-panel.chart-fluid),
body > main:not([class]) > p:has(+ .chart-panel.chart-fluid) {
  margin-inline: 0;
}
body > main:not([class]) > p:has(+ .chart-panel.chart-fluid) { max-width: var(--read); }
/* The many-line chart's one-line how-to (click, point) is an instruction, not
   a caption of the drawing: it keeps the site's 70ch measure and the 14px
   text floor rather than running 130 characters at 13px. */
.chart-panel > p.chart-many-hint { max-width: 70ch; font-size: 14px; }
/* A document page (a methodology imported from a Word twin) keeps the same
   reading measure inside its .document-body: text at --read on the column's
   left edge, and the tables, which sit in a .table-scroll box, across the
   full column. */
:where(body > main:not([class]) > .document-body)
  > :is(p, ul, ol, blockquote) { font-size: var(--read-fs); }
:where(body > main:not([class]) > .document-body)
  > :is(p, ul, ol, blockquote, pre) {
  margin-inline: 0;
  max-width: var(--read);
}
/* A column name set as code in a table header stays at the header's 12px. */
body > main:not([class]) thead th code { padding: 0; border: 0; background: none; color: inherit; font-size: 1em; }
body > main:not([class]) > .document-body > .table-scroll { margin: 14px 0 22px; }
/* A table wider than its box (a tablet or a phone) fades at its right edge
   until it is scrolled to the end, so the hidden columns announce themselves
   (only where scroll-driven animation exists; elsewhere the box simply
   scrolls). */
@supports (animation-timeline: scroll(x self)) {
  @keyframes doc-table-more {
    0%, 97% { mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
    100% { mask-image: linear-gradient(#000, #000); }
  }
  @media (max-width: 1023px) {
    body > main:not([class]) .table-scroll { animation: doc-table-more linear both; animation-timeline: scroll(x self); }
  }
}
body > main:not([class]) > .document-body > blockquote { padding-left: 18px; border-left: 3px solid var(--sqx-blue); color: var(--sqx-ink); }
body > main:not([class]) > .document-body > blockquote p { margin: 0; }
/* A formula wider than its box scrolls inside it; the edge shadows show that
   it does (they appear only while there is more to scroll to). */
body > main:not([class]) > .document-body > pre {
  background:
    linear-gradient(to right, var(--sqx-panel) 30%, rgba(255, 255, 255, 0)) 0 0 / 28px 100% no-repeat local,
    linear-gradient(to left, var(--sqx-panel) 30%, rgba(255, 255, 255, 0)) 100% 0 / 28px 100% no-repeat local,
    linear-gradient(to right, rgba(26, 36, 48, 0.22), rgba(26, 36, 48, 0)) 0 0 / 10px 100% no-repeat scroll,
    linear-gradient(to left, rgba(26, 36, 48, 0.22), rgba(26, 36, 48, 0)) 100% 0 / 10px 100% no-repeat scroll,
    var(--sqx-panel);
}
/* A chart's caption describes the whole drawing; it keeps a caption measure
   (about 90 characters of 14px text) under a chart of any width. */
.chart-panel > .chart-caption { max-width: 72ch; }
/* A directory company page (body.page-alts-directory-<slug>) opens with the
   company's logo as a bare figure under the title. It is a mark, not a hero:
   at the 880px figure cap a 768x351 logo filled 351px of the first screen and
   left the right of the column empty. Held to a logo size, on the title's
   left edge. */
body[class*="page-alts-directory-"] > main:not([class]) > h1 + .site-figure { margin: 8px 0 24px; }
body[class*="page-alts-directory-"] > main:not([class]) > h1 + .site-figure img { display: inline-block; width: auto; max-width: min(100%, 420px); max-height: 150px; object-fit: contain; }
@media (max-width: 520px) { body[class*="page-alts-directory-"] > main:not([class]) > h1 + .site-figure img { max-height: 110px; } }
/* A list of bare links is navigation: arrowed links (a link to another site
   carries the external-link icon instead), two columns wide where there is
   room, rather than a stack of one-line cards or bullets. */
:where(body > main:not([class]))
  > ul:not(.card-grid):has(> li > a:only-child):not(:has(> li > :not(a))) {
  padding-left: 0; list-style: none;
}
:where(body > main:not([class]))
  > ul:not(.card-grid):has(> li > a:only-child):not(:has(> li > :not(a))) > li > a:not([href^="http"])::after {
  content: "\2192"; margin-left: 0.3em;
}
@media (min-width: 521px) {
  :where(body > main:not([class]))
    > ul:not(.card-grid):has(> li > a:only-child):not(:has(> li > :not(a))) {
    columns: 2; column-gap: 32px;
  }
}
/* A lone document card is a row in that column, its thumbnail beside its
   title, rather than a quarter-width tile. */
@media (min-width: 521px) {
  :is(body > main:not([class]))
    > .card-grid.cards-1:has(> li > a > img) { grid-template-columns: 1fr; }
  body > main:not([class]) .card-grid.cards-1 > li:has(> a > img) { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 24px; }
  body > main:not([class]) .card-grid.cards-1 > li > a:has(> img) { flex: 0 0 160px; }
}
/* A split's figure and copy start on one line, so the gap above the section
   is the section gap whatever the taller cell. Beside its copy, a lone photo
   fills the row (cropped to cover it, never shallower than 2:1) and the copy
   sits in the row's middle, so neither cell leaves a block of white beside
   the other. */
.section-split:not(.wrap) { align-items: start; }
@media (min-width: 761px) {
  .section-split:not(.wrap):not(.badge):has(> .site-figure > img:only-child) { align-items: center; }
  .section-split:not(.wrap):not(.badge) > .site-figure:has(> img:only-child) { align-self: stretch; position: relative; width: 100%; aspect-ratio: 2 / 1; }
  .section-split:not(.wrap):not(.badge) > .site-figure > img:only-child { position: absolute; inset: 0; height: 100%; object-fit: cover; }
}
/* The 900px two-column rule for image cards outranks the 520px one-column
   rule; on a phone every image card fills its row. */
@media (max-width: 520px) { .card-grid:has(> li > a > img):not(.cards-2):not(.cards-3) { grid-template-columns: 1fr; } }

/* On a touch screen the crumbs stack above the section nav; a crumb as tall
   as its text (21px) sits closer to the nav than WCAG 2.2's 24px target. */
@media (max-width: 1023px) {
  .crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
}
@media (max-width: 760px) {
  /* The section nav takes the whole row and wraps (Overview and a few
     dropdown labels), never scrolling sideways: a scrolling row would clip
     the panels that open out of it. Each label is a 44px tap target. */
  .section-nav { flex: 1 1 100%; min-width: 0; gap: 0 20px; }
  .section-nav > a, .section-menu > summary { min-height: 44px; padding: 0; }
  /* An open panel spans the nav row (the page width inside the gutters),
     just below the labels, and scrolls itself when it is taller than the
     screen. */
  .section-nav { position: relative; }
  .section-menu { position: static; }
  .section-nav .section-menu > .section-sub {
    left: 0;
    right: 0;
    top: 100%;
    min-width: 0;
    max-height: calc(100dvh - var(--chrome-h, 122px) - 16px);
    overflow-y: auto;
  }
  .section-sub > a { padding: 12px 16px; font-size: 15px; white-space: normal; }
  .chart-caption, .series-caption { font-size: 14px; }
  .section-split .split-copy > :first-child { margin-top: 0; }
  /* A card's thumbnail keeps its 84px; the link around it must not shrink
     to make room for the title. */
  .card-grid > li > a:has(> img) { flex: none; }
}

/* A field dictionary (bonds/analytics): the field names are tokens such as
   "Duration [MAC]"; they stay on one line and the definition takes the
   remaining width, on a phone as on a desktop. */
.page-bonds-analytics .site-table tbody td:first-child { white-space: nowrap; }
/* The two dictionaries share one column grid, so the definitions start on the
   same line in both. On a phone the columns size to their content. */
@media (min-width: 761px) {
  .page-bonds-analytics .site-table { table-layout: fixed; }
  .page-bonds-analytics .site-table :is(th, td):first-child { width: 28%; }
}
/* The Data Partners page's two logo lists: each logo is the link and sits in a
   box of one size, centred, so the marks line up whatever their shape. SQX
   sites: a grid of wordmarks, each in its site's colour (product_site_wordmarks
   sets color and --logo-scale, which sizes every wordmark to one area), its line
   of description under it. Partners: a row per partner, the logo beside its
   description. */
body > main:not([class]) .logo-list { display: grid; gap: 8px 32px; max-width: none; margin: 0 0 56px; padding: 0; list-style: none; }
.logo-list > li { margin: 0; padding: 24px 0; border-top: 1px solid var(--sqx-hairline); }
.logo-list > li > a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.logo-list > li > a::after { content: none; }
.logo-list > li > p { margin: 0; color: var(--sqx-body); font-size: 16px; line-height: 1.5; }
.logo-list-sites { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.logo-list-sites > li { text-align: center; }
.logo-list-sites > li > a { height: 96px; margin-bottom: 10px; }
.logo-list-sites .product-logo { display: block; height: calc(48px * var(--logo-scale, 1)); }
.logo-list-sites .product-logo svg { display: block; width: auto; height: 100%; max-width: 100%; }
.logo-list-partners { grid-template-columns: 1fr; }
.logo-list-partners > li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: center; }
.logo-list-partners > li > a { height: 96px; }
.logo-list-partners > li > a > img { width: auto; max-width: 100%; max-height: 88px; object-fit: contain; }
.logo-list-partners > li > p { max-width: 75ch; }
@media (max-width: 640px) {
  .logo-list-partners > li { grid-template-columns: 1fr; gap: 12px; }
  .logo-list-partners > li > a { justify-content: flex-start; height: 72px; }
}
@media (max-width: 760px) {
  body > main:not([class]) .site-callout-codes li { font-size: 14px; }
}

/* ── API reference (/developers/, api_docs_site.py) ─────────────────────────
   main.api-docs lays itself out: the title band, then three columns from
   1200px (endpoint list, the page, the request and response samples beside
   it); below that one column, with the endpoint list folded into a disclosure
   and the samples after the text. The samples sit on a dark panel so a reader
   can tell copyable code from prose at a glance. */
main.api-docs { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 48px; }
main.api-docs > h1:first-child {
  margin: 0 0 32px; padding: 44px 0 36px; max-width: 30ch;
  font-size: var(--fs-h1);
  background: var(--sqx-watermark); box-shadow: 0 0 0 100vmax var(--sqx-watermark); clip-path: inset(-1px -100vmax 0);
}
main.api-docs h2 { margin: 40px 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--sqx-secondary); font-size: var(--fs-h2); display: table; }
main.api-docs h3 { margin: 28px 0 10px; font-size: var(--fs-h3); }
main.api-docs h3 a { color: var(--sqx-blue); }
main.api-docs :is(p, li) { color: var(--sqx-body); max-width: 76ch; }
.api-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1199px) { .api-layout { max-width: 860px; } }
@media (min-width: 1200px) {
  .api-layout { grid-template-columns: 240px minmax(0, 860px); }
  .api-layout-3 { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 480px); }
  .api-nav > details > summary { display: none; }
  .api-nav, .api-side { position: sticky; top: calc(var(--chrome-h, 128px) + 16px); align-self: start; max-height: calc(100vh - var(--chrome-h, 128px) - 32px); overflow-y: auto; scrollbar-width: thin; }
}
.api-body { min-width: 0; }
.api-body > :first-child { margin-top: 0; }
.api-nav { font-size: var(--fs-small); }
.api-nav > details > summary { cursor: pointer; padding: 10px 14px; border: 1px solid var(--sqx-hairline); border-radius: var(--radius); font-weight: var(--fw-medium); color: var(--sqx-ink); }
.api-nav ul { list-style: none; margin: 0; padding: 0; }
.api-nav > details > ul { padding-top: 8px; }
.api-nav li { margin: 0; }
.api-nav ul ul { margin: 2px 0 12px; }
main.api-docs .api-nav a { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: var(--radius-sm); color: var(--sqx-body); text-decoration: none; }
main.api-docs .api-nav a:hover { background: var(--sqx-panel); color: var(--sqx-blue); }
main.api-docs .api-nav a[aria-current="page"] { background: var(--sqx-surface-alt); color: var(--sqx-ink); font-weight: var(--fw-medium); }
main.api-docs .api-nav .api-nav-tag { margin-top: 6px; color: var(--sqx-ink); font-weight: var(--fw-bold); }
.api-nav code { padding: 0; border: 0; background: none; font-size: 12.5px; color: inherit; }
.api-method { display: inline-block; min-width: 40px; padding: 2px 5px; border-radius: var(--radius-sm); font-family: var(--mono); font-size: 12px; font-weight: var(--fw-bold); text-align: center; line-height: 1.4; }
.api-method-get { background: var(--sqx-surface-alt); color: var(--sqx-blue); border: 1px solid var(--sqx-hairline); }
.api-method-post, .api-method-put, .api-method-patch, .api-method-delete { background: var(--sqx-blue); color: var(--sqx-on-dark); border: 1px solid var(--sqx-blue); }
.api-endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 14px; background: var(--sqx-panel); border: 1px solid var(--sqx-line-soft); border-radius: var(--radius); }
.api-endpoint code { padding: 0; border: 0; background: none; font-size: 14px; }
.api-deprecated { font-weight: var(--fw-bold); color: var(--sqx-ink); }
.api-required { font-size: 12px; font-weight: var(--fw-medium); color: var(--sqx-blue); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.api-table-wrap { overflow-x: auto; margin: 0 0 8px; }
.api-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.api-table :is(th, td) { padding: 9px 12px; border-bottom: 1px solid var(--sqx-line-soft); text-align: left; vertical-align: top; }
.api-table th { font-size: 12px; font-weight: var(--fw-bold); color: var(--sqx-grey); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.api-table td:first-child { white-space: nowrap; }
.api-table td p { margin: 0 0 6px; font-size: var(--fs-small); }
.api-table td p:last-child { margin-bottom: 0; }
.api-index td:nth-child(2) { white-space: nowrap; }
.api-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.api-side > *, .api-tabs, .api-tab-panel { min-width: 0; }
.api-side-heading { margin: 0 0 6px; font-size: 12px; font-weight: var(--fw-bold); color: var(--sqx-grey); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.api-tabs { border-radius: var(--radius); overflow: hidden; background: var(--sqx-ink); }
.api-tab-list { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 6px 0; background: #111A24; }
.api-tab { min-height: 34px; padding: 6px 12px; border: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: none; color: rgba(255,255,255,0.72); font: 500 13px/1 var(--font-sans); cursor: pointer; }
.api-tab:hover { color: var(--sqx-on-dark); }
.api-tab[aria-selected="true"] { background: var(--sqx-ink); color: var(--sqx-on-dark); }
.api-tabs:not(.is-ready) .api-tab-list { display: none; }
.api-tabs:not(.is-ready) .api-tab-panel::before { content: attr(data-label); display: block; padding: 8px 14px 0; color: rgba(255,255,255,0.72); font-size: 12px; }
.api-tab-panel[hidden] { display: none; }
.api-code { position: relative; margin: 0; max-height: 520px; overflow: auto; padding: 14px 16px; background: var(--sqx-ink); color: #E6EDF3; font-size: 12.5px; line-height: 1.55; border: 0; border-radius: 0; }
.api-code code { padding: 0; border: 0; background: none; color: inherit; font-size: 1em; white-space: pre; }
.api-copy { position: sticky; float: right; top: 0; margin: -6px -8px 0 8px; padding: 4px 9px; border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-sm); background: #111A24; color: rgba(255,255,255,0.85); font: 500 12px/1.2 var(--font-sans); cursor: pointer; }
.api-copy:hover { color: var(--sqx-on-dark); border-color: rgba(255,255,255,0.5); }
main.api-docs .api-note { max-width: none; margin: 0; padding: 8px 14px 12px; font-size: 12px; color: rgba(255,255,255,0.7); }
.api-body .api-code { border-radius: var(--radius); margin: 0 0 16px; }
.api-fields { margin: 0 0 8px; border-top: 1px solid var(--sqx-line-soft); }
.api-field { padding: 12px 0 12px calc(var(--depth, 0) * 16px); border-bottom: 1px solid var(--sqx-line-soft); }
.api-field dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.api-field dt code { font-size: 13.5px; font-weight: var(--fw-medium); }
.api-type { font-size: var(--fs-small); color: var(--sqx-grey); }
.api-field dd { margin: 6px 0 0; }
main.api-docs .api-field dd p { margin: 0 0 6px; font-size: var(--fs-ui); }
main.api-docs .api-field dd p:last-child { margin-bottom: 0; }
/* The overview is rendered from Markdown, so its tables and code blocks carry no
   wrapper: they scroll inside the column rather than widen the page. */
main.api-docs .api-body > table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
main.api-docs .api-body > table :is(th, td) { padding: 9px 12px; border-bottom: 1px solid var(--sqx-line-soft); text-align: left; vertical-align: top; }
main.api-docs .api-body > table th { font-size: 12px; font-weight: var(--fw-bold); color: var(--sqx-grey); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
main.api-docs .api-body > pre { overflow-x: auto; padding: 14px 16px; background: var(--sqx-ink); color: #E6EDF3; border-radius: var(--radius); font-size: 12.5px; line-height: 1.55; }
main.api-docs .api-body > pre code { padding: 0; border: 0; background: none; color: inherit; }

/* notes-page: the /notes/ entry page */
/* The compare charts take the full column, as the tables around them do. */
body.page-notes .chart-panel.chart-compare { max-width: none; }
body.page-notes .chart-compare .chart-mark { aspect-ratio: auto; height: 22px; }
body.page-notes .chart-panel.chart-compare + .table-scroll { margin-top: 40px; }
@media (min-width: 761px) { body.page-notes .chart-compare .chart-row { grid-template-columns: minmax(9ch, 30ch) minmax(0, 1fr) 9ch; } body.page-notes .chart-compare .chart-value { text-align: right; } }
/* The helper line under the hero's two buttons: its own row in the band. */
body.page-notes main > p:has(> .site-btn) > em { flex: 1 0 100%; max-width: 64ch; font-style: normal; font-size: var(--fs-ui); line-height: 1.5; color: var(--sqx-body); }
/* The closing button stands apart from the example result below it. */
body.page-notes main > p:has(> .site-btn) + .table-scroll { margin-top: 40px; }
/* end notes-page */

/* ==== /funds/ product overview (pages/funds/index.md, format: rich) ==== */
/* D1: fund data for the platforms investors use. The promise and the scale strip on
   the Watermark band; then a view of one fund's record, the reasons to choose SQX, the five parts by the feature a platform builds, delivery, and the evaluation. */
/* The band opens the page, so <main> gives it no top padding (the site's
   padding steps from 44px to 30px at 760px), and its own padding scales
   continuously: no step in the headline's position at any breakpoint. */
body > main:not([class]):has(> .fo-page:first-child) { padding-top: 0; }
/* One column split for every two-column section: the hero's. At 1440 the second
   column starts at x=755 in the hero, Why SQX, Five parts, Delivery, the evaluation
   and the third More on SQXray column. */
.fo-page {
  --fo-gap: clamp(48px, 5vw, 96px);
  --fo-split: minmax(0, 1.02fr) minmax(0, 1fr);
}
.fo-page .fo {
  position: relative;
  margin: 0;
  padding: clamp(24px, 6.4vw - 24px, 72px) 0 clamp(36px, 5vw, 76px);
  background: var(--sqx-watermark);
  box-shadow: 0 0 0 100vmax var(--sqx-watermark);
  clip-path: inset(0 -100vmax);
}
.fo-page .fo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.fo-page .fo-label {
  margin: 0 0 14px;
  color: var(--sqx-blue);
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
}
.fo-page .fo h1 {
  margin: 0 0 20px;
  max-width: 13em;
  font-size: clamp(36px, 1.6vw + 24px, 50px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.fo-page .fo-sub {
  max-width: 48ch;
  margin: 0 0 30px;
  color: var(--sqx-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.fo-page .fo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.fo-page .fo-note { margin: 16px 0 0; color: var(--sqx-body); font-size: var(--fs-small); }
/* The caption follows the primary in the source (the phone order); from 761px it
   takes its own line under both actions. */
.fo-page .fo-hero-actions .fo-note { order: 3; flex-basis: 100%; margin: 2px 0 0; }

/* The scale strip: four counts from the 30 October 2026 delivery, the scope
   of each under its figure. */
.fo-page .fo-scale {
  margin: 0;
  background: var(--sqx-white);
  border-top: 4px solid var(--sqx-blue);
  border-radius: 0 0 var(--radius) var(--radius);
}
.fo-page .fo-scale figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 28px 14px;
  border-bottom: 1px solid var(--sqx-hairline);
  color: var(--sqx-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}
.fo-page .fo-scale figcaption a { font-weight: var(--fw-regular); }
.fo-page .fo-scale dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.fo-page .fo-cell {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
}
.fo-page .fo-cell:nth-child(odd) { border-right: 1px solid var(--sqx-line-soft); }
.fo-page .fo-cell:nth-child(-n+2) { border-bottom: 1px solid var(--sqx-line-soft); }
.fo-page .fo-cell dd { margin: 0; }
.fo-page .fo-fig {
  order: -1;
  color: var(--sqx-blue);
  font-size: clamp(34px, 1.2vw + 24px, 44px);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.fo-page .fo-fig small { font-size: 0.5em; font-weight: var(--fw-regular); letter-spacing: 0; }
.fo-page .fo-cell dt {
  margin: 12px 0 6px;
  color: var(--sqx-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: 1.25;
}
.fo-page .fo-scope {
  color: var(--sqx-grey);
  font-size: var(--fs-small);
  line-height: 1.4;
}

/* Sections below the first screen share one rhythm. */
.fo-page .fo-sec { margin: 0; padding: clamp(48px, 3vw + 28px, 80px) 0 0; }
.fo-page .fo-sec > h2 { margin-top: 0; }
.fo-page .fo-sec :where(p) { margin: 0; }
.fo-page .fo-lead { max-width: 64ch; margin: 0 0 32px; font-size: var(--fs-base); }
.fo-page .fo-sec h3 { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.25; }
.fo-page .fo-link { font-size: var(--fs-ui); font-weight: var(--fw-medium); }
.fo-page .fo-why-more { margin: 10px 0 0; }
.fo-page .fo-split { display: flex; height: 14px; margin: 14px 0 8px; background: var(--sqx-watermark); }
.fo-page .fo-split-top { background: var(--sqx-blue); }
.fo-page .fo-split-rest { flex: 1; background: var(--sqx-secondary); }
.fo-page .fo-split-key { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--sqx-body); font-size: var(--fs-small); }
.fo-page .fo-panel-part a { color: inherit; }
/* A dated caption under a section's counts. */
.fo-page .fo-sec-note { margin: 18px 0 0; color: var(--sqx-grey); font-size: 13px; line-height: 1.45; }
/* A product page's way into Data Search (Munis, Funds): a search box that sends its
   words to the product's Data Search page (a plain GET form: no script needed), and
   links that open that page filtered (fund types; on Munis, a tile per state). */
.ds-find { max-width: 520px; }
.ds-find label { display: block; margin: 0 0 8px; font-weight: var(--fw-medium); color: var(--sqx-ink); }
.ds-find-box { display: flex; gap: 8px; }
.ds-find-box input { flex: 1; min-width: 0; max-width: none; box-sizing: border-box; height: 44px; min-height: 0; margin: 0; padding: 0 14px; border: 1px solid var(--sqx-hairline); border-radius: var(--radius-sm);
  font: inherit; color: var(--sqx-ink); background: var(--sqx-white); }
.ds-find-box input:focus-visible { outline: 2px solid var(--sqx-blue); outline-offset: 1px; }
.ds-find-box .action-btn { flex: none; height: 44px; min-height: 0; margin: 0; }
.ds-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.ds-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--sqx-blue);
  border-radius: 999px; color: var(--sqx-blue); font-weight: var(--fw-medium); text-decoration: none; }
.ds-chips a:hover, .ds-chips a:focus-visible { background: var(--sqx-blue); color: var(--sqx-white); }
.ds-find-row { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .ds-find-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; } }
.ds-states { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px;
  max-width: 600px; margin: 0; padding: 0; list-style: none; }
.ds-states li { display: block; margin: 0; }
.ds-states a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 4px;
  background: var(--sqx-watermark); color: var(--sqx-blue-deep); font-size: clamp(10px, 0.5vw + 8px, 13px);
  font-weight: var(--fw-medium); text-decoration: none; }
.ds-states a:hover, .ds-states a:focus-visible { background: var(--sqx-blue); color: var(--sqx-white); }

/* The record view: IEFA as the data describes it, five panels in the order of the
   five parts. It is the page's one bold element: a white sheet on the panel grey, ruled in blue at the top like the scale strip it proves. */
.fo-page .fo-view {
  margin: 0;
  background: var(--sqx-panel);
  border: 1px solid var(--sqx-line-soft);
  border-top: 4px solid var(--sqx-blue);
  border-radius: 0 0 var(--radius) var(--radius);
}
.fo-page .fo-view-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 22px 28px 20px;
  background: var(--sqx-white);
  border-bottom: 1px solid var(--sqx-line-soft);
}
.fo-page .fo-view-name { margin: 0; color: var(--sqx-ink); font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.25; }
.fo-page .fo-view-name span { color: var(--sqx-grey); font-weight: var(--fw-regular); }
.fo-page .fo-view-date { color: var(--sqx-body); font-size: var(--fs-small); }
.fo-page .fo-panels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--sqx-line-soft);
}
.fo-page .fo-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  background: var(--sqx-white);
}
.fo-page .fo-panel-head { display: flex; flex-direction: column; gap: 3px; }
.fo-page .fo-panel .fo-panel-q { margin: 0; color: var(--sqx-ink); font-size: 19px; font-weight: var(--fw-bold); line-height: 1.25; }
.fo-page .fo-panel-part { margin: 0; color: var(--sqx-blue); font-size: var(--fs-small); font-weight: var(--fw-bold); }
.fo-page .fo-panel .fo-panel-fig {
  margin: 0;
  color: var(--sqx-ink);
  font-size: 34px;
  font-weight: var(--fw-light);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums lining-nums;
}
.fo-page .fo-panel .fo-panel-fig small { font-size: 0.5em; font-weight: var(--fw-regular); letter-spacing: 0; white-space: nowrap; }
.fo-page .fo-panel :where(p) { font-size: var(--fs-small); line-height: 1.45; }
.fo-page .fo-bars { margin: 4px 0 0; padding: 0; list-style: none; }
.fo-page .fo-bars-cap { margin: 6px 0 2px; color: var(--sqx-grey); font-size: 13px; line-height: 1.35; }
.fo-page .fo-bars-cap strong { display: block; margin-bottom: 2px; color: var(--sqx-ink); font-weight: var(--fw-bold); }
.fo-page .fo-panel .fo-panel-more { margin-top: 2px; }
.fo-page .fo-bars li {
  display: grid;
  grid-template-columns: 7.2em minmax(0, 1fr) 3.1em;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--sqx-body);
}
.fo-page .fo-bars li > span:first-child { line-height: 1.2; }
.fo-page .fo-bars .fo-val { text-align: right; color: var(--sqx-ink); font-variant-numeric: tabular-nums; }
.fo-page .fo-bar { position: relative; height: 10px; }
.fo-page .fo-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 2px;
  background: var(--chart-1);
  border-radius: 0 4px 4px 0;
}
.fo-page .fo-bar i.fo-ref { background: var(--chart-other); }
.fo-page .fo-bars li:hover .fo-bar i { background: var(--sqx-blue-deep); }
.fo-page .fo-bars li:hover .fo-bar i.fo-ref { background: var(--sqx-grey); }
/* The fee quintile: five steps, the fund's own filled. */
.fo-page .fo-quint { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin: 4px 0 0; padding: 0; list-style: none; }
.fo-page .fo-quint li {
  display: grid;
  place-items: center;
  height: 30px;
  margin: 0;
  background: var(--sqx-panel);
  border: 1px solid var(--sqx-line-soft);
  color: var(--sqx-grey);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.fo-page .fo-quint li:first-child { border-radius: 4px 0 0 4px; }
.fo-page .fo-quint li:last-child { border-radius: 0 4px 4px 0; }
.fo-page .fo-quint li.is-on { background: var(--chart-1); border-color: var(--chart-1); color: var(--sqx-on-dark); font-weight: var(--fw-bold); }
.fo-page .fo-panel .fo-quint-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: -4px; color: var(--sqx-grey); font-size: 12.5px; }
.fo-page .fo-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 13px; line-height: 1.4; }
.fo-page .fo-kv dt { color: var(--sqx-grey); }
.fo-page .fo-kv dd { margin: 0; color: var(--sqx-ink); overflow-wrap: anywhere; }
.fo-page .fo-view-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0;
  padding: 14px 28px 16px;
  color: var(--sqx-grey);
  font-size: 13px;
  line-height: 1.45;
}
.fo-page .fo-view-foot span { max-width: 62ch; }

/* Why SQX: four statements, the proof figure beside each. */
/* The Why statements read one to a row, each statement beside its proof figure,
   never two statements side by side competing for the eye. */
.fo-page .fo-why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1040px; margin: 0; padding: 0; list-style: none; }
.fo-page .fo-why > li {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 18em);
  gap: 56px;
  margin: 0;
  padding: 26px 0 28px;
  border-top: 1px solid var(--sqx-hairline);
}
.fo-page .fo-why-proof { padding-left: 20px; border-left: 3px solid var(--sqx-secondary); }
.fo-page .fo-why-fig {
  display: block;
  color: var(--sqx-blue);
  font-size: 40px;
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}
.fo-page .fo-why-fig small { font-size: 0.5em; font-weight: var(--fw-regular); letter-spacing: 0; }
.fo-page .fo-why-proof :where(p) { margin-top: 8px; color: var(--sqx-body); font-size: var(--fs-small); line-height: 1.45; }
.fo-page .fo-why-proof .fo-why-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sqx-hairline); color: var(--sqx-grey); font-size: 13px; }

/* The five parts: the feature a platform builds and two sentences on the hero's
   left column, the proof and its link on the right. */
.fo-page .fo-parts { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fo-page .fo-parts > li {
  display: grid;
  grid-template-columns: var(--fo-split);
  grid-template-areas: "head proof" "text proof";
  align-content: start;
  gap: 4px var(--fo-gap);
  margin: 0;
  padding: 28px 0 30px;
  border-top: 1px solid var(--sqx-hairline);
}
.fo-page .fo-parts > li:last-child { border-bottom: 1px solid var(--sqx-hairline); }
.fo-page .fo-part-head { grid-area: head; }
.fo-page .fo-part-text { grid-area: text; }
.fo-page .fo-part-proof { grid-area: proof; }
.fo-page .fo-part-name { margin: 0 0 6px; color: var(--sqx-blue); font-size: var(--fs-small); font-weight: var(--fw-bold); }
.fo-page .fo-parts .fo-part-text p { max-width: 60ch; }
.fo-page .fo-part-proof { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 20px; border-left: 3px solid var(--sqx-secondary); }
.fo-page .fo-part-proof p { max-width: 44ch; }
.fo-page .fo-part-proof .fo-why-fig { font-size: 32px; }
.fo-page .fo-part-proof :where(p) { font-size: var(--fs-small); line-height: 1.45; }

/* Delivery: the text on the hero's left column, the key ladder down the right, one
   row per level from the managing firm to the position. */
.fo-page .fo-deliv { display: grid; grid-template-columns: var(--fo-split); gap: 32px var(--fo-gap); align-items: start; }
.fo-page .fo-deliv-text p + p { margin-top: 14px; }
.fo-page .fo-deliv-text p { max-width: 60ch; }  /* its file names are smaller monospace, so more characters fit a ch */
.fo-page .fo-deliv-text code, .fo-page .fo-ladder code { font-family: var(--mono); font-size: 0.88em; color: var(--sqx-ink); }
.fo-page .fo-deliv-text code { overflow-wrap: anywhere; }
.fo-page .fo-deliv-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.fo-page .fo-deliv-links li { margin: 0; }
.fo-page .fo-ladder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; margin: 0; padding: 0; list-style: none; }
.fo-page .fo-ladder > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  margin: 0;
  padding: 14px 20px 16px;
  background: var(--sqx-panel);
  border-left: 4px solid var(--chart-seq-2);
}
.fo-page .fo-ladder > li:nth-child(2) { margin-left: 20px; border-left-color: var(--chart-seq-3); }
.fo-page .fo-ladder > li:nth-child(3) { margin-left: 40px; border-left-color: var(--chart-seq-4); }
.fo-page .fo-ladder > li:nth-child(4) { margin-left: 60px; border-left-color: var(--chart-seq-5); }
.fo-page .fo-ladder-level { grid-column: 1; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-bold); }
.fo-page .fo-ladder .fo-why-fig { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: 30px; white-space: nowrap; }
.fo-page .fo-ladder :where(p) { grid-column: 1; margin-top: 2px; font-size: 13px; line-height: 1.4; }
.fo-page .fo-ladder-key { margin-top: 6px !important; color: var(--sqx-body); }
.fo-page .fo-ladder-key code { font-size: 12.5px; overflow-wrap: anywhere; }

/* Evaluation: three written steps, then the actions again. */
/* Copy beside a panel sits in the middle of the taller one, so neither leaves a block of white below it. */
/* The steps to start, then their actions in a panel under them: one column, so
   the reader finishes the steps before the buttons ask for a choice. */
.fo-page .fo-eval { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; }
.fo-page .fo-steps { margin: 0; padding: 0; list-style: none; counter-reset: fostep; }
.fo-page .fo-steps > li {
  counter-increment: fostep;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--sqx-hairline);
  color: var(--sqx-body);
}
.fo-page .fo-steps > li::before {
  content: counter(fostep);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--sqx-blue);
  border-radius: 50%;
  color: var(--sqx-blue);
  font-weight: var(--fw-bold);
  font-size: var(--fs-ui);
}
.fo-page .fo-steps strong { display: block; margin-bottom: 2px; }
.fo-page .fo-eval-side { padding: 24px 26px 26px; background: var(--sqx-watermark); border-radius: var(--radius); }
.fo-page .fo-eval-side :where(p) { font-size: var(--fs-ui); line-height: 1.5; }
.fo-page .fo-eval-side .fo-actions { margin-top: 18px; }
.fo-page .fo-eval-side .fo-actions { gap: 12px 14px; }
.fo-page .fo-eval-side .action-btn { flex: 1 1 13em; justify-content: center; }
.fo-page .fo-eval-side .fo-eval-more { margin-top: 16px; font-size: var(--fs-small); line-height: 1.45; }


@media (min-width: 1024px) {
  .fo-page .fo-inner {
    grid-template-columns: var(--fo-split);
    gap: var(--fo-gap);
    align-items: center;
  }
}
@media (max-width: 1180px) {
  /* Three panels then two, each of the last two a column and a half wide. */
  .fo-page .fo-panels { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fo-page .fo-panel { grid-column: span 2; }
  .fo-page .fo-panel:nth-child(n+4) { grid-column: span 3; }
  .fo-page .fo-why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .fo-page .fo-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fo-page .fo-panel, .fo-page .fo-panel:nth-child(n+4) { grid-column: auto; }
  .fo-page .fo-panel:last-child { grid-column: 1 / -1; }
  .fo-page .fo-panel:last-child .fo-kv { max-width: 40em; }
  .fo-page .fo-parts > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "text proof"; gap: 12px 40px; }
  .fo-page .fo-deliv, .fo-page .fo-eval { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .fo-page :is(.fo-scope, .fo-bars-cap, .fo-kv dd, .fo-view-foot, .fo-why-proof .fo-why-note, .fo-sec-note, .fo-ladder > li > p) { font-size: 14px; }
  .fo-page .fo-inner { gap: 24px; }
  .fo-page .fo h1 { margin-bottom: 12px; font-size: 34px; }
  .fo-page .fo-sub { margin-bottom: 20px; font-size: 17px; line-height: 1.45; }
  .fo-page .fo-actions { gap: 4px 20px; }
  .fo-page .fo .fo-actions .action-primary { width: 100%; }
  .fo-page .fo-hero-actions .fo-note { order: 0; margin: 4px 0 6px; }
  .fo-page .fo-scale figcaption { padding: 10px 14px; }
  .fo-page .fo-cell { padding: 16px 14px 18px; }
  .fo-page .fo-fig { font-size: 32px; }
  .fo-page .fo-cell dt { font-size: var(--fs-ui); margin-top: 8px; }
  .fo-page .fo-scope { font-size: 13px; }

  .fo-page .fo-view-head, .fo-page .fo-view-foot { padding-left: 16px; padding-right: 16px; }
  .fo-page .fo-panels { grid-template-columns: minmax(0, 1fr); }
  .fo-page .fo-panel { padding: 18px 16px 20px; }
  .fo-page .fo-why > li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0 32px; }
  .fo-page .fo-parts > li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "proof"; gap: 12px; padding: 24px 0; }
  .fo-page .fo-ladder > li:nth-child(n) { margin-left: 0; padding: 12px 16px 14px; }
  .fo-page .fo-ladder .fo-why-fig { font-size: 26px; }
  .fo-page .fo-eval-side { padding: 20px 18px 22px; }
}
/* ==== end /funds/ product overview ==== */

/* ==== /structured-notes/ product overview (pages/structured-notes/index.md, format: rich) ==== */
/* The /funds/ overview's sections (.fo-page) with a chart in the hero: notes by coupon barrier
   and annual coupon band (data_series notes_coupon_barrier), and the example note's bid, payoff,
   and observation dates. The page's script draws the SVG from data_series.json. */
.sn-page .sn-cb {
  position: relative;
  margin: 0;
  padding: 18px 22px 16px;
  background: var(--sqx-white);
  border-top: 4px solid var(--sqx-blue);
  border-radius: 0 0 var(--radius) var(--radius);
}
/* Every figure on the page is a bound fact; it takes its block's type, as the typed figures on /funds/ do. */
.sn-page .fact { font-weight: inherit; color: inherit; }
.sn-page .sn-cb-head :where(p) { margin: 0; }
.sn-page .sn-cb-title { color: var(--sqx-ink); font-size: 19px; font-weight: var(--fw-bold); line-height: 1.25; }
.sn-page .sn-cb-sub { margin-top: 2px; color: var(--sqx-body); font-size: var(--fs-small); }
.sn-page .sn-cb-find { margin-top: 8px; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-medium); }
.sn-page .sn-cb-plot { margin: 10px 0 4px; min-height: 290px; }
.sn-page .sn-cb-plot svg, .sn-page .sn-mini svg { display: block; overflow: visible; }
.sn-page .sn-cb text, .sn-page .sn-mini text { font-family: inherit; fill: var(--sqx-body); }
.sn-page .sn-ax-h { font-size: 12px; fill: var(--sqx-grey); }
.sn-page .sn-ax-t { font-size: 11.5px; fill: var(--sqx-grey); }
.sn-page .sn-row-l { font-size: 13px; fill: var(--sqx-ink); }
.sn-page .sn-row-v { font-size: 13px; font-weight: var(--fw-bold); fill: var(--sqx-ink); }
.sn-page .sn-row-n { font-size: 12.5px; fill: var(--sqx-grey); }
.sn-page .sn-track { fill: var(--sqx-panel); }
.sn-page .sn-cell { cursor: default; }
.sn-page .sn-cell:hover { stroke: var(--sqx-ink); stroke-width: 1.5; }
.sn-page .sn-median { fill: var(--sqx-ink); stroke: var(--sqx-white); stroke-width: 1; pointer-events: none; }
.sn-page .sn-ex-ring { fill: none; stroke: #C2410C; stroke-width: 2.5; }
.sn-page .sn-ex-hit { fill: transparent; }
.sn-page .sn-cb-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--sqx-body); font-size: 12.5px; }
.sn-page .sn-cb-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sn-page .sn-cb-legend b { font-weight: var(--fw-medium); }
.sn-page .sn-cb-ramp i { width: 54px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, rgb(203, 216, 228), rgb(0, 54, 90)); }
.sn-page .sn-cb-tick i { width: 3px; height: 14px; border-radius: 1px; background: var(--sqx-ink); }
.sn-page .sn-cb-ex i { width: 12px; height: 12px; border: 2.5px solid #C2410C; border-radius: 50%; }
.sn-page .sn-cb figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sqx-hairline);
  color: var(--sqx-grey); font-size: 12.5px; line-height: 1.45;
}
.sn-page .sn-cb figcaption a { font-weight: var(--fw-medium); white-space: nowrap; }
.sn-page .sn-cb-table { margin-top: 8px; font-size: 12.5px; }
.sn-page .sn-cb-table summary { cursor: pointer; color: var(--sqx-blue); }
.sn-page .sn-cb-table table { margin-top: 8px; width: 100%; border-collapse: collapse; }
.sn-page .sn-cb-table :is(th, td) { padding: 4px 8px; border-bottom: 1px solid var(--sqx-line-soft); text-align: right; }
.sn-page .sn-cb-table :is(th, td):first-child { text-align: left; }
.sn-page .sn-tip {
  position: absolute; z-index: 5; max-width: 260px; padding: 8px 10px;
  background: var(--sqx-ink); color: var(--sqx-on-dark); border-radius: 6px;
  font-size: 12.5px; line-height: 1.4; pointer-events: none; box-shadow: 0 4px 14px rgba(26, 36, 48, 0.18);
}
.sn-page .sn-tip strong { display: block; margin-bottom: 2px; font-weight: var(--fw-bold); }
.sn-page .fo-view { position: relative; }
.sn-page .sn-mini { margin-top: 12px; }
.sn-page .sn-grid { stroke: var(--sqx-line-soft); stroke-width: 1; }
.sn-page .sn-ref { stroke: var(--sqx-grey); stroke-width: 1.25; stroke-dasharray: 4 3; }
.sn-page .sn-ref-ev { stroke: #C2410C; }
.sn-page .sn-line { fill: none; stroke: var(--sqx-blue); stroke-width: 2; stroke-linejoin: round; }
.sn-page .sn-dot { fill: var(--sqx-blue); stroke: var(--sqx-white); stroke-width: 2; }
.sn-page .sn-obs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.sn-page .sn-obs li {
  display: flex; align-items: center; justify-content: center; min-width: 58px; height: 30px; padding: 0 6px;
  border-radius: 4px; font-size: 12.5px; font-variant-numeric: tabular-nums;
}
.sn-page .sn-obs .is-earned, .sn-page .sn-obs-key .is-earned::before { background: var(--sqx-blue); color: var(--sqx-on-dark); }
.sn-page .sn-obs .is-called, .sn-page .sn-obs-key .is-called::before { background: var(--sqx-blue-deep); color: var(--sqx-on-dark); }
.sn-page .sn-obs .is-missed, .sn-page .sn-obs-key .is-missed::before { background: var(--sqx-white); color: var(--sqx-ink); box-shadow: inset 0 0 0 1.5px var(--sqx-ink); }
.sn-page .sn-obs .is-next, .sn-page .sn-obs-key .is-next::before { background: none; color: var(--sqx-body); box-shadow: inset 0 0 0 1.5px var(--sqx-hairline); border: 1.5px dashed var(--sqx-grey); }
.sn-page .sn-obs-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--sqx-grey); font-size: 12.5px; }
.sn-page .sn-obs-key span { display: inline-flex; align-items: center; gap: 6px; }
.sn-page .sn-obs-key span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
@media (max-width: 760px) {
  .sn-page .sn-cb { padding: 14px 14px 12px; }
  .sn-page .sn-cb-plot { min-height: 250px; }
}
/* ==== end /structured-notes/ product overview ==== */

/* ==== /bonds/ product overview (pages/bonds/index.md, format: rich) ==== */
/* Global Credit (docs/design/bonds_redesign): the promise beside the bonds-priced grid by region and
   issuer type; Why SQX; the parts by the work they serve, each beside its proof panel; the
   SQX Bonds tools; the start steps. The grid is written by the round's tool (grid.py) from the
   engine's priced universe. */
/* g2-atlas: the universe at a glance (full build) */
body > main:not([class]) > .atlas-hero { padding-bottom: 40px; }
@media (min-width: 1024px) {
  body > main:not([class]) > .atlas-hero { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); grid-template-areas: "copy fig" "note fig"; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
  .atlas-copy { grid-area: copy; }
  .atlas { grid-area: fig; }
  body > main:not([class]) .atlas-hero > .atlas-note { grid-area: note; }
}
.atlas-copy h1 { max-width: 20ch; }
body > main:not([class]) .atlas-copy > p { font-size: var(--read-fs); max-width: 48ch; }
body > main:not([class]) .atlas-copy > .atlas-lede { margin: 0 0 26px; color: var(--sqx-ink); }
body > main:not([class]) .atlas-copy > .atlas-actions { margin: 0 0 18px; }
body > main:not([class]) .atlas-hero > .atlas-note { max-width: 48ch; margin: 0; font-size: var(--fs-ui); line-height: 1.5; color: var(--sqx-body); }

.atlas { margin: 0; padding: 22px 24px 18px; background: var(--sqx-white); border-radius: var(--radius); box-shadow: 0 1px 0 var(--sqx-hairline); }
.atlas figcaption { margin: 0 0 12px; font-size: var(--fs-h4); line-height: 1.3; color: var(--sqx-ink); }
.atlas figcaption strong { font-weight: var(--fw-bold); }

/* the grid: rows are regions, columns issuer types; each cell carries its count and a shade of SQX Blue by order of magnitude */
body > main:not([class]) .atlas-table { width: 100%; border-collapse: separate; border-spacing: 3px; margin: 0 -3px; font-size: var(--fs-ui); table-layout: fixed; }
body > main:not([class]) .atlas-table thead th {
  padding: 0 6px 6px; background: none; border: 0; color: var(--sqx-body);
  font-size: 13px; font-weight: var(--fw-medium); letter-spacing: 0; text-transform: none; line-height: 1.25; vertical-align: bottom; hyphens: manual;
}
.atlas-table col.c-region { width: 22%; }
.atlas-table col.c-type { width: 15.5%; }
.atlas-table col.c-total { width: 16%; }
body > main:not([class]) .atlas-table thead th:first-child { padding-left: 0; text-align: left; }
body > main:not([class]) .atlas-table thead th.num { white-space: normal; text-align: right; }
body > main:not([class]) .atlas-table tbody tr,
body > main:not([class]) .atlas-table tbody tr:nth-child(even),
body > main:not([class]) .atlas-table tbody tr:hover { background: none; }
body > main:not([class]) .atlas-table :is(tbody th, tbody td) { border: 0; vertical-align: middle; }
body > main:not([class]) .atlas-table tbody th { padding: 0 8px 0 0; color: var(--sqx-ink); font-weight: var(--fw-medium); line-height: 1.2; }
.atlas-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: var(--fw-regular); color: var(--sqx-grey); line-height: 1.25; }
.atlas-rowtotal { display: none; }
body > main:not([class]) .atlas-table tbody td { height: 40px; padding: 0 9px; border-radius: var(--radius-sm); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; }
.atlas-table td.s0 { background: transparent; box-shadow: inset 0 0 0 1px var(--sqx-line-soft); color: var(--sqx-grey); }
.atlas-table td.s1 { background: var(--chart-seq-1); color: var(--sqx-ink); }
.atlas-table td.s2 { background: var(--chart-seq-2); color: var(--sqx-ink); }
.atlas-table td.s3 { background: var(--chart-seq-3); color: var(--sqx-ink); }
/* White figures need 4.5:1 on the fourth step: the shared token is darkened here only. */
.atlas-table td.s4 { background: color-mix(in srgb, var(--chart-seq-4) 90%, #000); color: var(--sqx-white); }
.atlas-table td.s5 { background: var(--chart-seq-6); color: var(--sqx-white); }
.atlas-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the row total: its own bar against the largest region */
body > main:not([class]) .atlas-table td.atlas-total { position: relative; padding: 0 0 0 10px; background: none; color: var(--sqx-ink); text-align: left; font-weight: var(--fw-bold); }
.atlas-bar { display: block; width: var(--w); height: 6px; margin-bottom: 4px; background: var(--sqx-blue); border-radius: 0 3px 3px 0; }
.atlas-n { display: block; font-size: 14px; }
.atlas-table td.num.atlas-span { text-align: center; letter-spacing: 0.01em; }
/* a figure opens its bonds in Data Search (grid.py): the whole cell is the target */
body > main:not([class]) .atlas-table td:has(> .atlas-link) { padding: 0; }
.atlas-link { display: flex; align-items: center; justify-content: flex-end; height: 100%; padding: 0 9px; border-radius: inherit;
  color: inherit; text-decoration: none; }
.atlas-span > .atlas-link { justify-content: center; }
.atlas-link:hover, .atlas-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; box-shadow: inset 0 0 0 2px var(--sqx-blue); }
.atlas-link:focus-visible { outline: none; }
.atlas-table tbody.atlas-aside tr:first-child > * { border-top: 0; }
.atlas-table tbody.atlas-aside th { color: var(--sqx-body) !important; font-weight: var(--fw-regular) !important; }
.atlas-table tbody.atlas-aside::before { content: ""; display: table-row; height: 8px; }

.atlas-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 12px 0 8px; font-size: 12px; color: var(--sqx-body); }
.atlas-key span { margin-right: 4px; }
.atlas-key b { display: inline-flex; align-items: center; gap: 5px; font-weight: var(--fw-regular); white-space: nowrap; }
.atlas-key i { display: inline-block; width: 14px; height: 14px; margin-left: 6px; border-radius: 2px; }
.atlas-key i.s1 { background: var(--chart-seq-1); } .atlas-key i.s2 { background: var(--chart-seq-2); }
.atlas-key i.s3 { background: var(--chart-seq-3); } .atlas-key i.s4 { background: var(--chart-seq-4); }
.atlas-key i.s5 { background: var(--chart-seq-6); }
body > main:not([class]) .atlas-foot { margin: 0; max-width: 70ch; font-size: 12.5px; line-height: 1.45; color: var(--sqx-body); }

@media (max-width: 1023px) {
  .atlas { margin-top: 28px; }
}
@media (max-width: 640px) {
  .atlas { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); padding: 16px 10px 14px; }
  .atlas figcaption { font-size: 16px; }
  body > main:not([class]) .atlas-table { font-size: 14px; border-spacing: 2px; margin: 0 -2px; }
  body > main:not([class]) .atlas-table thead th { padding: 0 3px 5px; font-size: 12px; }
  .atlas-table col.c-region { width: 34%; }
  .atlas-table col.c-type { width: 16.5%; }
  .atlas-table tbody.atlas-aside .atlas-sub { display: none; }
  .atlas-table col.c-total { width: 0; }
  body > main:not([class]) .atlas-hero > .atlas-note { margin-top: 24px; }
  body > main:not([class]) .atlas-table :is(thead th, tbody td).atlas-total { display: none; }
  body > main:not([class]) .atlas-table tbody th { font-size: 13.5px; }
  body > main:not([class]) .atlas-table tbody td { height: 44px; padding: 0 5px; }
  .atlas-rowtotal { display: block; margin-top: 2px; font-size: 12px; font-weight: var(--fw-regular); color: var(--sqx-body); font-variant-numeric: tabular-nums; }

}

/* full build: the sections below the first screen. A section opens on the buyer's work (h2), the text and its links on the left,
   the proof on the right at the hero's 0.88 : 1.12 split, so the proofs line up under the atlas. */
.bx-sec { padding-top: clamp(40px, 2.5vw + 24px, 72px); }
body > main:not([class]) .bx-sec > h2 { margin-top: 0; margin-bottom: 28px; width: fit-content; text-wrap: balance; }
body > main:not([class]) .bx-sec p { margin: 0; }
body > main:not([class]) .bx-sec h3 { margin: 0 0 6px; font-size: var(--fs-h4); line-height: 1.3; }
/* Copy beside a panel sits in the middle of the taller one, so neither leaves a block of white below it. */
.bx-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 1024px) { .bx-split { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); column-gap: 56px; } }
body > main:not([class]) .bx-text > p { max-width: 54ch; font-size: var(--read-fs); line-height: 1.55; }
body > main:not([class]) .bx-text > p + p { margin-top: 16px; }
body > main:not([class]) .bx-sec .bx-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: var(--fs-ui); font-weight: var(--fw-medium); }
body > main:not([class]) .bx-sec .bx-intro { max-width: 60ch; margin: -8px 0 24px; font-size: var(--read-fs); }

/* proof panels */
.bx-panel { margin: 0; padding: 22px 24px; background: var(--sqx-panel); border-radius: var(--radius); }
.bx-panel figcaption { display: flex; flex-direction: column; gap: 3px; margin: 0 0 16px; }
.bx-panel figcaption strong { color: var(--sqx-ink); font-size: var(--fs-h4); line-height: 1.3; }
.bx-panel figcaption span { color: var(--sqx-body); font-size: var(--fs-small); line-height: 1.4; }
body > main:not([class]) .bx-panel .bx-panel-note { margin-top: 14px; color: var(--sqx-body); font-size: 13px; line-height: 1.45; }

/* why: a ledger, figure left and claim right */
body > main:not([class]) .bx-ledger { max-width: none; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--sqx-ink); }
body > main:not([class]) .bx-ledger > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 20px 0 22px; border-bottom: 1px solid var(--sqx-hairline); }
@media (min-width: 768px) { body > main:not([class]) .bx-ledger > li { grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; } }
@media (min-width: 1024px) { body > main:not([class]) .bx-ledger > li { grid-template-columns: 240px minmax(0, 66ch); } }
body > main:not([class]) .bx-ledger .bx-fig { color: var(--sqx-blue); font-size: clamp(30px, 1.2vw + 24px, 40px); font-weight: var(--fw-bold); line-height: 1.05; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.bx-fig small { display: block; margin-top: 6px; color: var(--sqx-body); font-size: var(--fs-small); font-weight: var(--fw-regular); letter-spacing: 0; line-height: 1.35; }
body > main:not([class]) .bx-ledger li > div > p { font-size: var(--fs-base); line-height: 1.55; }

/* spread basis: one series of horizontal bars, labelled directly */
body > main:not([class]) .bx-bars { max-width: none; margin: 0; padding: 0; list-style: none; }
body > main:not([class]) .bx-bars > li { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); align-items: center; column-gap: 14px; margin: 0; padding: 9px 0; border-top: 1px solid var(--sqx-line-soft); font-size: var(--fs-ui); }
body > main:not([class]) .bx-bars > li:first-child { border-top: 0; }
.bx-bar-label { color: var(--sqx-ink); font-weight: var(--fw-medium); line-height: 1.25; }
.bx-bar-label small { display: block; margin-top: 2px; color: var(--sqx-grey); font-size: 12.5px; font-weight: var(--fw-regular); }
.bx-bar-track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bx-bar { display: block; flex: none; width: calc(var(--w) * 0.86); min-width: 3px; height: 14px; background: var(--sqx-blue); border-radius: 0 4px 4px 0; }
.bx-bar-val { flex: none; color: var(--sqx-ink); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }

/* field groups */
.bx-fields dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; margin: 0; }
@media (min-width: 640px) { .bx-fields dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bx-fields dl > div { padding-top: 10px; border-top: 1px solid var(--sqx-hairline); }
.bx-fields dt { margin: 0 0 7px; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-bold); }
.bx-fields dd { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.bx-fields code { padding: 2px 6px; background: var(--sqx-white); border: 1px solid var(--sqx-hairline); border-radius: var(--radius-sm); color: var(--sqx-ink); font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.bx-fields em { flex-basis: 100%; color: var(--sqx-grey); font-size: 12.5px; font-style: normal; line-height: 1.4; }

/* government table */
body > main:not([class]) .bx-gov table { display: table; width: 100%; font-size: var(--fs-ui); }
body > main:not([class]) .bx-gov tbody tr, body > main:not([class]) .bx-gov tbody tr:nth-child(even), body > main:not([class]) .bx-gov tbody tr:hover { background: none; }
body > main:not([class]) .bx-gov :is(th, td) { padding: 10px 0; border-bottom: 1px solid var(--sqx-line-soft); vertical-align: baseline; }
body > main:not([class]) .bx-gov tr:last-child :is(th, td) { border-bottom: 0; }
body > main:not([class]) .bx-gov td.num { padding-left: 16px; color: var(--sqx-ink); font-weight: var(--fw-bold); font-size: 17px; }
.bx-gov th small { display: block; margin-top: 2px; color: var(--sqx-grey); font-size: 12.5px; font-weight: var(--fw-regular); }

/* latin america */
body > main:not([class]) .bx-latam .bx-pair { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.bx-pair span { display: flex; flex-direction: column; color: var(--sqx-body); font-size: var(--fs-small); }
.bx-pair b { color: var(--sqx-blue); font-size: clamp(28px, 1vw + 22px, 36px); line-height: 1.1; font-variant-numeric: tabular-nums; }

/* free tools */
body > main:not([class]) .bx-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 40px; max-width: none; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { body > main:not([class]) .bx-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body > main:not([class]) .bx-tools > li { margin: 0; padding-top: 14px; border-top: 3px solid var(--sqx-secondary); }
body > main:not([class]) .bx-tools p { font-size: var(--fs-base); line-height: 1.55; }

/* how to start: a real sequence, so numbered */
body > main:not([class]) .bx-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 32px; max-width: none; margin: 0; padding: 0; list-style: none; counter-reset: bx-step; }
@media (min-width: 768px) { body > main:not([class]) .bx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body > main:not([class]) .bx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body > main:not([class]) .bx-steps > li { position: relative; margin: 0; padding: 0 0 0 44px; counter-increment: bx-step; }
.bx-steps > li::before { content: counter(bx-step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sqx-blue); color: var(--sqx-white); font-size: 15px; font-weight: var(--fw-bold); }
body > main:not([class]) .bx-steps p { font-size: var(--fs-base); line-height: 1.55; }
body > main:not([class]) .bx-start .bx-end-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
body > main:not([class]) > .bx-sec:last-of-type { padding-bottom: 32px; }

@media (max-width: 640px) {
  .bx-panel { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); padding: 18px 14px; }
  body > main:not([class]) .bx-bars > li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
}
/* A section without a panel: its text runs in two columns across the full width. */
@media (min-width: 1024px) {
  .bx-split.bx-stack { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .bx-split.bx-stack > .bx-text { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); column-gap: 56px; align-items: start; }
  .bx-split.bx-stack > .bx-text > :is(.bx-links, h2, h3) { grid-column: 1 / -1; }
  .bx-split.bx-stack > .bx-text > p { margin-top: 0; }
}
/* Review round 1 (docs/design/bonds_redesign/review-1.json). */
/* The page's place in the menu, above the headline. */
body > main:not([class]) .atlas-copy > .atlas-eyebrow { margin: 0 0 12px; font-size: var(--fs-ui); color: var(--sqx-body); }
body > main:not([class]) .atlas-copy > .atlas-eyebrow a { color: inherit; }
/* Short grid headers where the type columns are too narrow for the full words. */
.atlas-table .th-s { display: none; }
@media (max-width: 1099px) { .atlas-table .th-l { display: none; } .atlas-table .th-s { display: inline; } }
/* The map's three notes run across the panel, so it ends level. */
@media (min-width: 1024px) {
  figure.bx-rmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  figure.bx-rmap > :not(.rm-note) { grid-column: 1 / -1; }
  body > main:not([class]) .bx-rmap .rm-note { max-width: none; }
}
@media (max-width: 1023px) { body > main:not([class]) .atlas-hero > .atlas-note { margin-top: 24px; } }
/* Notes stay readable on a phone. */
@media (max-width: 640px) {
  body > main:not([class]) .bx-rmap .rm-note, body > main:not([class]) .atlas-foot, .rm-key-h, body > main:not([class]) .bx-panel-note { font-size: 14px; }
}
/* ==== end /bonds/ product overview ==== */

/* ==== /munis/ product overview (pages/munis/index.md, format: rich) ==== */
/* The light tint marks SQX's parts and the SQX Blue fill marks MBIS's, in the panel, the tags and the delivery table. */
.fo-page { --mu-sqx-tint: #DCEAF6; }
/* docs/design/munis_redesign: the refined page of the concept round, its CSS ported as is. */
/* /munis/ A1: the hero follows the /funds/ overview (.fo-page band, label,
   headline, line, actions); the view is a record diagram of what a client receives
   for one municipal bond, and the dated counts run under the split. */
.mu-hero { padding-bottom: clamp(28px, 3vw, 44px); }
.mu-hero .fo-inner { align-items: start; }
.fo-page .mu-hero h1 { max-width: 12.5em; }
.fo-page .mu-hero .fo-sub { max-width: 46ch; }
/* The copy and the record panel centre on each other from 1024px; no padding change there,
   so the headline keeps its place as the window crosses the breakpoint. */
@media (min-width: 1024px) {
  .fo-page .mu-hero .fo-inner { align-items: center; }
}

/* The record: one row per bond, its fields from two sources, beside the client's
   other bond rows in the same file. */
.mu-rec {
  margin: 0;
  background: var(--sqx-white);
  border-top: 4px solid var(--sqx-blue);
  border-radius: 0 0 var(--radius) var(--radius);
}
.mu-rec figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid var(--sqx-hairline);
}
.mu-rec figcaption strong { color: var(--sqx-ink); font-size: var(--fs-base); font-weight: var(--fw-bold); }
.mu-rec figcaption span { color: var(--sqx-body); font-size: var(--fs-small); }
.mu-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0 14px;
  padding: 18px 24px 0;
}
/* The bracket names what the two groups make together: one row per bond. */
.mu-brace {
  position: relative;
  border: 2px solid var(--sqx-blue);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  margin: 6px 0 4px 8px;
}
.mu-brace span {
  position: absolute;
  top: 50%;
  left: -9px;
  transform: translate(-50%, -50%) rotate(-90deg);
  padding: 0 6px;
  background: var(--sqx-white);
  color: var(--sqx-blue);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.mu-groups { display: grid; gap: 16px; }
.mu-gh {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 0 9px;
  color: var(--sqx-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  line-height: 1.3;
}
.mu-gh span { color: var(--sqx-body); font-weight: var(--fw-regular); }
.mu-fields { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mu-fields li {
  padding: 4px 9px 5px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
.fo-page .mu-rec .mu-price li { border: 1px solid var(--sqx-blue); background: var(--sqx-blue); color: var(--sqx-on-dark); }
.fo-page .mu-rec .mu-terms li { border: 1px solid var(--sqx-secondary); background: var(--mu-sqx-tint); color: var(--sqx-ink); }
/* The other rows in the file: the same price columns, other bond types. */
.mu-file {
  margin: 18px 0 0;
  padding: 14px 24px 18px 60px;
  border-top: 1px dashed var(--sqx-hairline);
  background: var(--sqx-panel);
  border-radius: 0 0 var(--radius) var(--radius);
}
.mu-file .mu-gh { margin-bottom: 8px; }
.fo-page .mu-rec .mu-file .mu-fields li { border: 1px solid var(--sqx-hairline); background: var(--sqx-white); color: var(--sqx-body); }

/* Four dated counts under the split. */
.mu-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(28px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--sqx-hairline);
}
.mu-counts > div { display: flex; flex-direction: column; padding: 20px 24px 0 0; }
.mu-counts > div + div { padding-left: 24px; border-left: 1px solid var(--sqx-hairline); }
.mu-counts dd { margin: 0; }
.mu-counts .fo-fig {
  order: -1;
  color: var(--sqx-blue);
  font-size: clamp(30px, 0.9vw + 22px, 38px);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.mu-counts dt { margin: 10px 0 4px; color: var(--sqx-ink); font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: 1.25; }
.mu-counts .fo-scope { color: var(--sqx-body); font-size: var(--fs-small); line-height: 1.4; }
/* Dates sit on the band's grey panel, where --sqx-grey falls under 4.5:1; the body ink holds it. */
.mu-counts .fo-scope span { display: block; color: var(--sqx-body); }
.mu-counts dt a { color: inherit; text-decoration: underline; text-decoration-color: var(--sqx-hairline); text-underline-offset: 3px; }
.mu-counts dt a:hover { color: var(--sqx-blue); text-decoration-color: currentColor; }

@media (max-width: 1023px) {
  .mu-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mu-counts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mu-counts > div:nth-child(n+3) { padding-top: 18px; }
}
@media (max-width: 760px) {
  .mu-rec figcaption { padding: 12px 14px; }
  .mu-row { grid-template-columns: 18px minmax(0, 1fr); gap: 0 10px; padding: 14px 14px 0; }
  .mu-brace { margin-left: 6px; }
  .mu-fields li { font-size: 13px; padding: 3px 7px 4px; }
  .mu-file { padding: 12px 14px 14px 42px; }
  .mu-counts > div { padding-right: 12px; }
  .mu-counts > div + div { padding-left: 14px; }
  .mu-counts > div:nth-child(3) { padding-left: 0; }
  .mu-counts .fo-fig { font-size: 28px; }
  .mu-counts dt { font-size: var(--fs-ui); }
  .mu-counts .fo-scope { font-size: 13px; }
  /* Phone: the four figures come straight after the buttons, before the record panel. */
  .fo-page .mu-hero { display: grid; gap: 24px; }
  .fo-page .mu-hero .fo-inner { display: contents; }
  .mu-hero .fo-copy { order: 1; }
  .mu-hero .mu-counts { order: 2; margin-top: 0; }
  .mu-hero .mu-rec { order: 3; }
}

/* ---- Below the first screen (full build) ----
   The hero panel's two chip colours code whose data a part is: SQX Blue for MBIS's
   prices and files, the light blue for SQX's own parts. Each part's tag carries the
   colour of its owner, so the reader keeps the panel's key down the page. */
.mu-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 12px;
  color: var(--sqx-body);
  font-size: var(--fs-small);
}
.mu-tag b {
  padding: 3px 9px 4px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}
.mu-tag.is-mbis b { background: var(--sqx-blue); color: var(--sqx-on-dark); }
.mu-tag.is-sqx b { background: var(--mu-sqx-tint); color: var(--sqx-ink); box-shadow: inset 0 0 0 1px var(--sqx-secondary); }

/* A part: the buyer's work and the part on the hero's left column, its proof on the right. */
/* Copy beside its proof panel: the shorter sits in the middle of the taller (no block of white below it). */
.mu-part { display: grid; grid-template-columns: var(--fo-split); gap: 28px var(--fo-gap); align-items: center; }
.fo-page .mu-part h2 { margin: 0 0 16px; max-width: 22em; }
.fo-page .mu-part-text p { max-width: 62ch; }
.fo-page .mu-part-text p + p { margin-top: 14px; }
.mu-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.mu-links li { margin: 0; }
.mu-proof {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  border-left: 3px solid var(--sqx-secondary);
}
.fo-page .mu-proof :where(p) { font-size: var(--fs-small); line-height: 1.45; color: var(--sqx-body); }
.fo-page .mu-proof .fo-why-fig { font-size: 40px; }
.fo-page .mu-proof .mu-date { color: var(--sqx-grey); font-size: 14px; }
.fo-page .mu-proof .fo-split-key { flex-wrap: wrap; }
/* A chart's takeaway as its title, and the file it was drawn from under it. */
.fo-page .mu-proof .mu-ct { margin: 6px 0 0; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-bold); line-height: 1.35; }
.fo-page .mu-proof .mu-src { color: var(--sqx-grey); font-size: 14px; }


/* Bars against a whole: the share of active maturities with each schedule, and the
   two GO "All" lines. */
.fo-page .mu-bars { margin: 2px 0 0; padding: 0; list-style: none; }
.fo-page .mu-bars li {
  display: grid;
  grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 4.2em;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 0;
  color: var(--sqx-body);
  font-size: var(--fs-small);
  line-height: 1.3;
}
.fo-page .mu-bars li small { display: block; color: var(--sqx-grey); font-size: 12.5px; }
.fo-page .mu-bars .fo-val { text-align: right; color: var(--sqx-ink); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; }
.fo-page .mu-bars .fo-bar { height: 12px; background: var(--sqx-panel); border-radius: 0 4px 4px 0; }

/* The day's quote counts in MBIS's file: a two-by-two of figures. */
.mu-day { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.mu-day > div { display: flex; flex-direction: column; padding: 14px 16px 16px 0; border-top: 1px solid var(--sqx-hairline); }
.mu-day > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--sqx-hairline); }
.mu-day dd { margin: 0; }
.mu-day .mu-n { order: -1; color: var(--sqx-blue); font-size: 30px; font-weight: var(--fw-light); line-height: 1.05; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; }
.mu-day dt { margin: 6px 0 0; color: var(--sqx-ink); font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.3; }
.mu-day .mu-s { color: var(--sqx-grey); font-size: 14px; line-height: 1.35; }

/* The benchmark curves of 9 November 2026: two lines, direct labels at 30 years. */
.mu-curve { margin: 0; }
.mu-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.mu-curve .g { stroke: var(--chart-grid); stroke-width: 1; }
.mu-curve .ax { fill: var(--chart-axis); font-size: 14px; font-family: var(--font-sans); }
.mu-curve .lbl { fill: var(--sqx-ink); font-size: 14px; font-weight: 500; font-family: var(--font-sans); }
.mu-curve .s1 { fill: none; stroke: var(--chart-1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mu-curve .s2 { fill: none; stroke: var(--chart-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mu-curve .ring { fill: none; stroke: var(--sqx-white); stroke-width: 5; stroke-linejoin: round; opacity: .9; }
.mu-curve .dot1 { fill: var(--chart-1); stroke: var(--sqx-white); stroke-width: 2; }
.mu-curve .lbl-m { display: none; }
/* From 901px to 1180px the chart column is about 420px wide, so the SVG scales to about 0.64:
   larger text keeps the axis near 11px, and the end values stand alone (the key gives the names).
   At 900px and below the section is one column and the chart is drawn near full size. */
@media (min-width: 901px) and (max-width: 1180px) {
  .mu-curve .ax, .mu-curve .lbl { font-size: 18px; }
  .mu-curve .lbl-d { display: none; }
  .mu-curve .lbl-m { display: inline; }
}
.fo-page .mu-proof .fo-split { gap: 2px; }
.mu-curve figcaption { margin: 0 0 8px; color: var(--sqx-ink); font-size: var(--fs-ui); font-weight: var(--fw-bold); }
.mu-curve figcaption span { display: block; color: var(--sqx-grey); font-size: 13px; font-weight: var(--fw-regular); }
.mu-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--sqx-body); font-size: 13px; }
.mu-key li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.mu-key i { display: inline-block; width: 16px; height: 2px; }

/* The free tools: four links, a line under each. */
.mu-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.mu-tools li { margin: 0; padding: 14px 0 16px; border-top: 1px solid var(--sqx-hairline); }
.mu-tools a { font-weight: var(--fw-bold); }
.fo-page .mu-tools :where(p) { margin-top: 3px; color: var(--sqx-body); font-size: var(--fs-small); line-height: 1.45; }

/* Delivery: who sends which part, how, and when. */
.fo-page .mu-deliv { margin-top: 8px; }
body > main:not([class]) .mu-deliv table { display: table; width: 100%; font-size: var(--fs-small); }
body > main:not([class]) .mu-deliv th { color: var(--sqx-ink); font-weight: var(--fw-bold); }
body > main:not([class]) .mu-deliv thead th { color: var(--sqx-body); font-size: 13px; font-weight: var(--fw-medium); border-bottom: 1px solid var(--sqx-hairline); }
body > main:not([class]) .mu-deliv tbody th { width: 22%; }

.fo-page .mu-asof { margin: 12px 0 0; color: var(--sqx-grey); font-size: 14px; }

@media (max-width: 900px) {
  .mu-part { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .fo-page .mu-proof .fo-why-fig { font-size: 34px; }
  .mu-proof { padding-left: 16px; }
  .fo-page .mu-bars li { gap: 8px; }
  .mu-day .mu-n { font-size: 26px; }
  .mu-day > div { padding-right: 10px; }
  .mu-day > div:nth-child(even) { padding-left: 12px; }
  .mu-tools { grid-template-columns: minmax(0, 1fr); }
  /* On the phone the chart is about 330px wide: larger axis text, and the end values alone at 30 years (the key gives the names). */
  .mu-curve .ax { font-size: 21px; }
  .mu-curve .lbl { font-size: 21px; }
  .mu-curve .lbl-d { display: none; }
  .mu-curve .lbl-m { display: inline; }
  .fo-page .mu-bars li { grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 3.8em; }
  /* The table becomes a list of parts, the columns labelled inline. */
  body > main:not([class]) .mu-deliv table, body > main:not([class]) .mu-deliv tbody, body > main:not([class]) .mu-deliv tr { display: block; }
  body > main:not([class]) .mu-deliv thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body > main:not([class]) .mu-deliv tr { padding: 12px 0 14px; border-bottom: 1px solid var(--sqx-line-soft); }
  body > main:not([class]) .mu-deliv :is(th, td) { display: block; width: auto; padding: 2px 0; border: 0; }
  body > main:not([class]) .mu-deliv tbody th { width: auto; font-size: var(--fs-ui); }
  body > main:not([class]) .mu-deliv td[data-l]::before { content: attr(data-l) ": "; color: var(--sqx-grey); }
}
/* ==== end /munis/ product overview ==== */

/* Product overviews share the chart hero's heading inset. */
.fo-page .fo { padding-top: clamp(36px, 1.5vw + 30.4px, 52px); }
.fo-page .fo .fo-inner { align-items: start; }
body > main:not([class]) .atlas-copy > h1 { margin: 0 0 20px; }
body > main:not([class]) > .atlas-hero { margin-bottom: 0; }
.fo-page .fo h2.fo-sub { margin: 0 0 28px; padding: 0; border: 0; font-size: var(--fs-lead); font-weight: var(--fw-regular); line-height: 1.5; }

body > main:not([class]) :is(.fo-copy, .atlas-copy) > .product-site-intro {
  max-width: 55ch;
  margin: 18px 0 0;
  text-align: left;
  font-size: var(--fs-ui);
  line-height: 1.55;
}
/* A product site's visit button uses its primary fill (--visit-bg), a white
   label and the site's wordmark. The accent (--visit-hi) draws the bar along
   the foot and fills the button's edge on hover. */
a.site-btn.product-site-visit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  width: min(100%, 20rem);
  margin: .65rem 0 0;
  border-color: var(--visit-bg, var(--sqx-blue));
  background: var(--visit-bg, var(--sqx-blue));
  color: var(--sqx-on-dark);
  box-shadow: inset 0 -4px 0 var(--visit-hi, var(--sqx-secondary));
}
a.site-btn.product-site-visit:hover {
  border-color: var(--visit-hi, var(--sqx-secondary));
  background: var(--visit-bg, var(--sqx-blue));
  color: var(--sqx-on-dark);
  box-shadow: inset 0 -6px 0 var(--visit-hi, var(--sqx-secondary));
}
.product-site-visit span { display: flex; align-items: center; }
.product-site-visit :is(svg, img) { display: block; width: auto; height: 1.45rem; max-width: 100%; }

.page-contact .contact-opening {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
body.page-contact main .contact-opening h2 { margin: 0 0 1rem; }
.page-contact .contact-details address { font-style: normal; }
.page-contact .contact-details p { margin: 0 0 1rem; }
.page-contact #spinup-contact-form.contact-form-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.page-contact #spinup-contact-form > label,
.page-contact #spinup-contact-form > button { grid-column: 1 / -1; }
.page-contact #spinup-contact-form textarea { min-height: 7rem; }
.page-contact #spinup-contact-form button { justify-self: start; }
.page-contact #spinup-contact-form > :is(.form-note, .form-error) { text-align: left; }
@media (max-width: 760px) {
  .page-contact .contact-opening { grid-template-columns: 1fr; }
  .page-contact .contact-details { order: 1; }
  .page-contact #spinup-contact-form.contact-form-compact { grid-template-columns: 1fr; }
}

.sn-page .sn-intro > p { max-width: 75ch; }
/* The three needs the notes data meets, a row each: the need beside how SQX meets
   it, with a link to the part of the page that shows it. */
.sn-page .sn-needs { max-width: 1040px; margin: 28px 0 0; padding: 0; list-style: none; }
.sn-page .sn-needs > li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 8px 40px; margin: 0; padding: 20px 0; border-top: 1px solid var(--sqx-hairline); }
.sn-page .sn-needs > li > strong { color: var(--sqx-ink); font-size: 18px; line-height: 1.35; }
.sn-page .sn-needs > li > p { max-width: 70ch; margin: 0; color: var(--sqx-body); }
.sn-page .sn-needs > li > p > a { white-space: nowrap; }
@media (max-width: 760px) { .sn-page .sn-needs > li { grid-template-columns: 1fr; } }
.sn-page .note-use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 14px; max-width: none; margin: 0; padding: 0; list-style: none; }
.sn-page .note-use-cases li { margin: 0; padding: 18px 20px; background: var(--sqx-panel); }
.sn-page .note-use-cases h3 { font-size: var(--fs-h4); }
.sn-page .sn-obs { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); gap: 0 12px; }
.sn-page .sn-obs li[class] { display: block; min-width: 0; height: auto; padding: 5px 0; border: 0; border-bottom: 1px solid var(--sqx-hairline); border-radius: 0; box-shadow: none; background: none; color: var(--sqx-ink); }
.sn-page .sn-obs small { display: block; font-size: inherit; color: var(--sqx-body); }
.fo-page .fo-panel .fo-quint { gap: 0; }
.fo-page .fo-quint li, .fo-page .fo-quint li.is-on { background: none; color: var(--sqx-grey); border: 0; border-bottom: 2px solid var(--sqx-hairline); border-radius: 0; }
.fo-page .fo-quint li.is-on { color: var(--sqx-ink); border-bottom: 4px solid var(--chart-1); }

.fo-page .mu-part .mu-purpose { margin: 0; font-size: var(--fs-lead); line-height: 1.4; }
.fo-page .mu-part .mu-source { color: var(--sqx-grey); font-size: var(--fs-small); }
.fo-page .mu-rec .mu-fields { gap: 4px 0; }
.fo-page .mu-rec :is(.mu-group, .mu-file) .mu-fields li { padding: 0; border: 0; background: none; color: var(--sqx-ink); }
.mu-fields li:not(:last-child)::after { content: ","; margin-right: .4em; }
@media (max-width: 760px) {
  .fo-page .fo .fo-hero-actions { gap: 10px; }
  .fo-page .fo .fo-hero-actions .action-btn { width: auto; min-height: 44px; padding: 8px 14px; font-size: 1rem; }
  .mu-hero .mu-rec { order: 2; }
  .mu-hero .mu-counts { order: 3; }
}
body > main:not([class]) .bx-sec:has(> #pricing) .bx-text { display: block; max-width: 68ch; }
body > main:not([class]) .bx-sec:has(> #pricing) .bx-text p { max-width: none; }
body > main:not([class]) .bx-sec:has(> #pricing) .bx-text p + p { margin-top: 12px; }
.bx-sec:has(> :is(#fields, #government)) .bx-split { align-items: start; }
body > main:not([class]) .bx-start .bx-end-actions { flex-wrap: wrap; }

/* The Resources page lays every category out as the live sqx.com does: four
   equal columns (two on a phone) in every section, each document's cover filling
   its column at a letter page's shape, its title centred under it. */
body.page-resources > main:not([class]) .card-grid:has(> li > a > img) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  max-width: none;
  margin: 8px 0 24px;
}
@media (max-width: 760px) {
  body.page-resources > main:not([class]) .card-grid:has(> li > a > img) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
body.page-resources > main:not([class]) .card-grid > li:has(> a > img) {
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0;
  text-align: center;
}
body.page-resources > main:not([class]) .card-grid > li > a:has(> img) { flex: none; display: block; width: min(100%, 220px); }
body.page-resources > main:not([class]) .card-grid > li > a > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8.5 / 11;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--sqx-hairline);
  box-shadow: 0 2px 8px rgba(26, 36, 48, 0.12);
  background: white;
}
body.page-resources > main:not([class]) .card-grid > li > strong:first-child { font-size: var(--fs-ui); }
/* The footer's Explore column: a title-case heading in plain Roboto (the caps
   tracking is for all-capitals labels), centred over its links; the links sit in
   two columns as wide as their names, in menu order left to right, so a short
   name leaves no wide gap before the next column. A column may shrink below its
   longest name (minmax 0), which then wraps, so a 320 px phone never scrolls
   sideways. The LinkedIn link is the column's one call to follow SQX, so its icon
   and label are a size up. */
.site-footer-three .footer-sectionscol { justify-self: center; }
.site-footer-three .footer-sectionscol h4 { font-size: 1.25rem; letter-spacing: normal; text-transform: none; color: white; text-align: center; }
.site-footer-three .footer-sectionscol ul {
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center;
  columns: auto; column-gap: 2.5rem;
}
.site-footer-three .footer-followcol .site-social { font-size: 1.1875rem; gap: 14px; }
.site-footer-three .footer-followcol .site-social svg { width: 2.5rem; height: 2.5rem; }
@media (max-width: 760px) {
  .site-footer-three .footer-sectionscol { justify-self: start; min-width: 0; }
  .site-footer-three .footer-sectionscol h4 { text-align: start; }
  .site-footer-three .footer-sectionscol ul { justify-content: start; column-gap: 1.25rem; }
}

/* A product catalogue (curves, derivatives, reference data, fixed income) reads
   down one centred column below its title band: every heading, paragraph, list
   and button row from the first h2 on shares the reading measure's centre, so
   a product heading sits over its own text and no section starts at the page
   edge. Full-column blocks (fluid charts, grids, tables) share that centre. */
:is(.page-curves, [class^="page-curves-"], .page-derivatives, [class^="page-derivatives-"], .page-reference-data, [class^="page-reference-data-"], .page-fixed-income, [class^="page-fixed-income-"]) > main:not([class]) > :is(h2, h2 ~ :is(h3, h4, p, ul:not(.card-grid), ol, blockquote, .chart-panel:not(.chart-fluid), .card-grid.cards-1, figure.site-figure)) {
  margin-inline: auto;
}
:is(.page-curves, [class^="page-curves-"], .page-derivatives, [class^="page-derivatives-"], .page-reference-data, [class^="page-reference-data-"], .page-fixed-income, [class^="page-fixed-income-"]) > main:not([class]) > h2 ~ :is(h3, h4) { max-width: var(--read); }
/* Its closing related block shares the column too, its heading centred like the page's other h2s. */
:is(.page-curves, [class^="page-curves-"], .page-derivatives, [class^="page-derivatives-"], .page-reference-data, [class^="page-reference-data-"], .page-fixed-income, [class^="page-fixed-income-"]) > main:not([class]) > .site-callout.site-callout-related { max-width: var(--read); margin-inline: auto; }
:is(.page-curves, [class^="page-curves-"], .page-derivatives, [class^="page-derivatives-"], .page-reference-data, [class^="page-reference-data-"], .page-fixed-income, [class^="page-fixed-income-"]) > main:not([class]) > .site-callout.site-callout-related > h2 { margin-inline: auto; }
/* A full-column chart's caption and how-to keep the reading column too, so they
   line up with the prose above rather than the page edge. */
:is(.page-curves, [class^="page-curves-"], .page-derivatives, [class^="page-derivatives-"], .page-reference-data, [class^="page-reference-data-"], .page-fixed-income, [class^="page-fixed-income-"]) > main:not([class]) > .chart-panel.chart-fluid > :is(.chart-caption, .chart-many-hint) { margin-inline: auto; max-width: var(--read); }

/* an image in page content fits its column (spinup_site_build.py) */
:where(main img) { max-width: 100%; height: auto; }

/* the header search field shows its whole placeholder (spinup_site_build.py) */
.header-search { min-width: min-content; }
.header-search-input { min-width: min(calc(var(--placeholder-ch) * 0.85ch + 4em), calc(100vw - 4rem)); }

/* the header row (spinup_site_build.py header_layout_css) */
.site-header { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; column-gap: var(--header-gap, 12px); row-gap: 0; }
.site-header > .site-logo { order: 1; flex: none; display: flex; align-items: center; min-height: var(--header-row-h, 64px); }
.site-header > .header-actions { order: 3; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.site-header > .header-actions > .header-search { flex: 0 1 600px; width: auto; max-width: none; height: var(--control-h, 42px); margin: 0 auto 0 0; }
.site-header > .header-actions .header-search-input { box-sizing: border-box; flex: 1 1 auto; width: 100%; height: var(--control-h, 42px); min-height: 0; margin: 0; }
.site-header > .header-actions > .header-action { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: var(--control-h, 42px); min-height: 0; margin: 0; white-space: nowrap; }
.site-header > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { order: 4; flex: none; }
.site-header > .site-nav { order: 5; flex: 1 1 100%; }
.site-header > .nav-menu-btn { display: none; }
@media (min-width: 1360px) {
  .site-header { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: var(--header-row-h, 64px) auto; align-items: center; }
  .site-header:has(> :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav):not(script, style, template)) { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-header > .site-logo { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; min-height: 0; }
  .site-header > .header-actions { grid-column: 2; grid-row: 1; }
  .site-header > .site-nav { grid-column: 2 / -1; grid-row: 2; }
  .site-header > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { grid-column: 3; grid-row: 1; }
}
@media (max-width: 1060px) {
  .site-header > .nav-menu-btn { order: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: var(--control-h, 42px); height: var(--control-h, 42px); min-height: 0; margin: 0; padding: 0; font-size: 0; cursor: pointer; }
  /* three bars; the button's text stays its accessible name */
  .site-header > .nav-menu-btn::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
  .site-header > .site-nav { order: 5; flex: 1 1 100%; display: none; flex-direction: column; align-items: stretch; height: auto; margin: 0; }
  .site-header.nav-open > .site-nav { display: flex; max-height: calc(100dvh - var(--header-row-h, 64px)); overflow-y: auto; }
  .site-header > .site-nav .nav-row { display: flex; flex-direction: column; align-items: stretch; }
  .site-header > .site-nav :is(a, .nav-group-label, .nav-group-toggle) { min-height: 44px; }
  .site-header > .site-nav .nav-group { display: flex; flex-wrap: wrap; align-items: stretch; }
  .site-header > .site-nav .nav-group > .nav-group-label { flex: 1; }
  .site-header > .site-nav .nav-group:hover > .nav-sub { display: none; }
  .site-header > .site-nav .nav-group:focus-within > .nav-sub { display: block; position: static; flex-basis: 100%; transform: none; box-shadow: none; }
}
@media (max-width: 900px) {
  .site-header > .header-actions .header-search[data-placeholder-narrow] .header-search-input { min-width: min(calc(var(--placeholder-narrow-ch) * 0.85ch + 4em), calc(100vw - 4rem)); }
  .site-header > .header-actions { display: contents; }
  .site-header > .header-actions > .header-search { order: 2; flex: 1 1 0; margin: 0; }
  .site-header > .header-actions > .header-action, .site-header > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { display: none; order: 6; }
  .site-header.nav-open > .header-actions > .header-action { display: inline-flex; flex: 1 1 0; margin-bottom: 16px; }
  .site-header.nav-open > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { display: flex; order: 7; flex: 1 1 100%; margin-bottom: 16px; }
}

/* text only a screen reader reads (spinup_site_build.py) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* the footer's links to the other SQX sites (spinup_site_build.py) */
:where(.footer-family) { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 18px; padding: 14px 16px 18px; font-size: 13px; }
:where(.footer-family-label) { font-weight: 600; }
:where(.footer-family ul) { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
:where(.footer-family a) { color: inherit; }
