/* =====================================================================
   newsprint.css: broker-connect Newsprint standard v1.0 (approved 2026-11-11)
   Spec: docs/design/newsprint-standard.md. Pilot pages (<html class="np">) load this file
   INSTEAD of styles.css, subtopic.css and broker.css.
   Rules: every colour, family, size, line height, tracking, space, stroke and component
   dimension is a token in section 2. Literals allowed in rules: 0, 100%, 50% (centring),
   100vh / 100vw, auto, 1fr / minmax(0, 1fr), unitless integers (z-index, order, grid lines) and keywords.
   ===================================================================== */

/* 1. Fonts: self-hosted, SIL OFL 1.1 (public/fonts/OFL-*.txt, sources in public/fonts/SOURCES.txt) */
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Size-matched fallbacks, measured 2026-11-11 (work/design/type-specimen.mjs): overrides = font ascender
   or descender / size-adjust (Newsreader 1470/530, Public Sans 1900/450, both on 2000 units). */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); font-weight: 100 500; size-adjust: 96%; ascent-override: 76.6%; descent-override: 27.6%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 900; size-adjust: 89.3%; ascent-override: 82.3%; descent-override: 29.7%; line-gap-override: 0%; }
@font-face { font-family: "Public Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 500; size-adjust: 103.3%; ascent-override: 92%; descent-override: 21.8%; line-gap-override: 0%; }
@font-face { font-family: "Public Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; size-adjust: 100.1%; ascent-override: 94.9%; descent-override: 22.5%; line-gap-override: 0%; }

/* 2. Tokens */
:root {
  /* colour (contrast ratios in the standard, section 2) */
  --np-paper: #F7F4EC;
  --np-paper-shade: #EFEADF;
  --np-field: #FFFFFF;
  --np-ink: #1B1A17;
  --np-ink-muted: #57534A;
  --np-rule: #CFC8B8;
  --np-accent: #1F4FD1;
  --np-accent-hover: #1A3FA8;
  --np-on-accent: #FFFFFF;
  --np-link: var(--np-accent);
  --np-link-hover: var(--np-accent-hover);
  --np-link-visited: #5A3E85;
  --np-positive: #0B6E3D;
  --np-negative: #B3261E;
  --np-focus: #FFD400;
  --np-brand: #165DFF;
  --np-transparent: transparent;

  /* type */
  --np-serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --np-sans: "Public Sans", "Public Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --np-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --np-size-12: 12px; --np-size-13: 13px; --np-size-14: 14px; --np-size-15: 15px; --np-size-16: 16px; --np-size-18: 18px;
  --np-size-21: 21px; --np-size-24: 24px; --np-size-28: 28px; --np-size-34: 34px; --np-size-44: 44px;
  --np-type-h1: var(--np-size-34);
  --np-type-h2: var(--np-size-24);
  --np-type-h3: var(--np-size-21);
  --np-type-lede: var(--np-size-18);
  --np-type-body: var(--np-size-18);
  --np-type-compact: var(--np-size-16);
  --np-type-ui: var(--np-size-15);
  --np-type-note: var(--np-size-14);
  --np-type-meta: var(--np-size-13);
  --np-type-label: var(--np-size-12);
  --np-type-button: var(--np-size-16);
  --np-type-button-hero: var(--np-size-18);
  --np-type-step: var(--np-size-28);
  --np-type-sign: var(--np-size-24);
  --np-lh-solid: 1;
  --np-lh-tight: 1.1;
  --np-lh-head: 1.2;
  --np-lh-ui: 1.35;
  --np-lh-body: 1.5;
  --np-track-caps: 0.08em;
  --np-track-head: -0.01em;
  --np-track-slug: 0.12em;
  --np-track-none: 0;
  --np-underline: 0.15em;

  /* measures */
  --np-measure: 34rem;              /* one right edge for lede, body and notes (about 68 body characters) */
  --np-measure-headline: 22em;
  --np-measure-faq: 48rem;
  --np-measure-legal: 60rem;
  --np-measure-search: 30rem;

  /* space (4px base) */
  --np-space-0: 2px;
  --np-space-1: 4px; --np-space-2: 8px; --np-space-3: 12px; --np-space-4: 16px;
  --np-space-5: 24px; --np-space-6: 32px; --np-space-7: 48px; --np-space-8: 64px;

  /* strokes and rules */
  --np-stroke-1: 1px;
  --np-stroke-2: 2px;
  --np-stroke-3: 3px;
  --np-hair: var(--np-stroke-1) solid var(--np-rule);
  --np-line: var(--np-stroke-1) solid var(--np-ink);
  --np-heavy: var(--np-stroke-3) solid var(--np-ink);
  --np-double: var(--np-stroke-3) double var(--np-ink);
  --np-focus-ring: var(--np-stroke-3) solid var(--np-ink);

  /* layout */
  --np-container: 1180px;
  --np-gutter: 16px;
  --np-bar-h: 64px;
  --np-header-h: 0px;
  --np-target: 44px;
  --np-menu-offset: 140px;

  /* component dimensions */
  --np-logo-header: 112px;
  --np-logo-sm: 28px;
  --np-logo-md: 40px;
  --np-logo-lg: 48px;
  --np-icon: 24px;
  --np-icon-social: 32px;
  --np-star: 14px;
  --np-bullet: 10px;
  --np-chevron: 5px;
  --np-chevron-left: 45deg;
  --np-chevron-right: 135deg;
  --np-score-col-1: 22%;
  --np-table-name-col: 18%;         /* comparison table Broker column, 740-1139px */
  --np-table-text-col: 10em;        /* the last text column before Account ("Fees or early exit"), 740-1139px */
  --np-one-line: 1lh;               /* the element's own line box, for 44px hit areas */
  --np-score-col-2: 14%;
  --np-rowhead-col: var(--np-score-col-1);   /* row heads of data tables, 740px and up (22%) */
  --np-rowhead-min: 8em;            /* frozen row heads of wide data tables on phones */
  --np-short-col: 8rem;             /* a text table's yes/no column (.np-col-short): "Not published" plus padding (v1.10) */
  --np-index-cols: 3;               /* 404 index and glossary A-Z columns, 1140px and up */
  --np-offers-name-col: 28%;        /* "Sign-up offers compared": the broker column, 740px and up */
  --np-az-cols: 7;                  /* glossary A-Z jump row: 7 x 4 on phones, 14 x 2 on tablets, 28 x 1 on desktops (v1.9) */
  --np-header-cta-h: 40px;
  --np-cta-phone-h: 48px;
  --np-cta-hero-h: 52px;
  --np-cta-hero-w: 220px;
  --np-cta-box-w: 200px;
  --np-field-min: 180px;
  --np-footer-brand-w: 200px;
  --np-card-label-w: 42%;
  --np-counter-w: 1.5em;
  --np-home-label-w: 176px;          /* "AINVEST PROMOTION" on one line at 1140px+ (148px + 8px padding a side; was 184, v1.9) */
  --np-home-label-w-phone: 104px;
  --np-home-col-min: 124px;          /* 176 + 7 x 124 = 1044px: all seven fit the 1076px container at 1140 (was 132: 32px scrolled away, v1.9) */
  --np-home-col-phone: 200px;
  --np-home-col-tablet: 124px;       /* 104 + 7 x 124 = 972px: all seven columns fit at 1024 */
  /* reserved heights for content JS inserts after first paint (CLS), measured 2026-11-11 */
  --np-reserve-compare: 703px;   /* homepage #top-compare, phone (re-measured 2026-11-11 after the TradeZero text fix) */
  --np-reserve-offer: 260px;     /* Featured Offer box incl. Advertisement slug and eligibility label, phone (2026-11-12) */
  --np-reserve-search: 129px;    /* glossary index #root: the React search bar and tabs, phone (v1.9, was only a Tailwind class) */

  /* motion */
  --np-ease: 100ms linear;
}
@media (min-width: 740px) {
  :root {
    --np-reserve-compare: 842px;
    --np-reserve-offer: 185px;
    --np-reserve-search: 121px;
    --np-az-cols: 14;
    --np-gutter: 24px;
    --np-type-h1: var(--np-size-44);
    --np-type-h2: var(--np-size-28);
    --np-type-lede: var(--np-size-21);
  }
}
@media (min-width: 1140px) {
  :root { --np-gutter: 32px; --np-header-h: calc(var(--np-bar-h) + var(--np-stroke-3)); --np-reserve-compare: 804px; --np-az-cols: 28; }
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--np-paper); color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--np-paper);
  color: var(--np-ink);
  font-family: var(--np-serif);
  font-size: var(--np-type-body);
  line-height: var(--np-lh-body);
  font-weight: 400;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--np-serif); color: var(--np-ink); text-wrap: balance; }
p, ul, ol { margin: 0 0 var(--np-space-4); }
strong, b { font-weight: 700; }
cite, .tip-disclaimer, .score-quote { font-style: normal; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
table { border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
a {
  color: var(--np-link);
  text-decoration: underline;
  text-decoration-thickness: var(--np-stroke-1);
  text-underline-offset: var(--np-underline);
  transition: color var(--np-ease), text-decoration-color var(--np-ease);
}
a:hover { color: var(--np-link-hover); text-decoration-thickness: var(--np-stroke-2); }
:focus-visible { outline: var(--np-focus-ring); outline-offset: var(--np-space-0); }
a:focus-visible {
  outline: none;
  background: var(--np-focus);
  color: var(--np-ink);
  box-shadow: 0 var(--np-stroke-3) 0 var(--np-ink);
  text-decoration: none;
}
::selection { background: var(--np-focus); color: var(--np-ink); }
.topic-section p a:visited, .related-list a:visited, .external-source-link:visited, .faq-answer a:visited,
.about-block a:visited, .cost-note a:visited { color: var(--np-link-visited); }

/* 4. Layout */
.page-shell, .topic-shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
main [id] { scroll-margin-top: calc(var(--np-header-h) + var(--np-space-4)); }
.content-wrap {
  width: 100%;
  max-width: calc(var(--np-container) + 2 * var(--np-gutter));
  margin-inline: auto;
  padding-inline: var(--np-gutter);
}

/* 5. Masthead */
/* Stacking (v1.14): page content stays at z 0-30 (frozen columns 1-2, the directory's sticky table heads and the
   glossary's sticky search 30); the masthead and its open panels sit above all of it at 35; only a modal layer (the
   directory's phone filter backdrop 40 and drawer 50, hover tooltips) goes higher. One value here, so no page can paint
   over an open menu and the Light Horse note is always seen (17.4). */
.site-header, .topic-header {
  position: relative;
  z-index: 35;
  background: var(--np-paper);
  border-bottom: var(--np-double);
}
.nav-row, .topic-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--np-space-4);
  padding-top: var(--np-space-2);
}
.brand-logo { order: 1; display: inline-flex; align-items: center; min-height: var(--np-target); flex: 0 0 auto; }
.brand-logo img, .brand-logo svg { display: block; width: var(--np-logo-header); height: auto; filter: none; }
.header-cta {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: var(--np-target);
  padding: 0 var(--np-space-4);
  background: var(--np-ink);
  color: var(--np-paper);
  border: var(--np-stroke-2) solid var(--np-ink);
  border-radius: 0;
  font: 700 var(--np-type-ui)/var(--np-lh-solid) var(--np-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--np-ease), color var(--np-ease);
}
.header-cta:hover { background: var(--np-paper); color: var(--np-ink); text-decoration: none; }
.header-cta:focus-visible { background: var(--np-ink); color: var(--np-paper); box-shadow: none; outline: var(--np-focus-ring); }
.main-nav {
  order: 3;
  flex: 0 0 calc(100% + 2 * var(--np-space-2));
  margin-inline: calc(-1 * var(--np-space-2));   /* the items' 8px padding sits in the gutter: labels align with the column */
  display: flex;
  align-items: center;
  gap: 0;                       /* the items' 8px side padding makes the 16px spacing */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-top: var(--np-hair);
  font: 600 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans);
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav > a, .mega-menu-trigger, .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-target);
  padding: 0;
  flex: 0 0 auto;
  background: none;
  border: 0;
  border-bottom: var(--np-stroke-3) solid var(--np-transparent);
  border-radius: 0;
  color: var(--np-ink);
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.main-nav > a:hover, .mega-menu-trigger:hover, .dropdown-trigger:hover,
.mega-menu:focus-within .mega-menu-trigger, .mega-menu.is-open .mega-menu-trigger,
.supported-brokers-dropdown:focus-within .dropdown-trigger, .supported-brokers-dropdown.is-open .dropdown-trigger {
  border-bottom-color: var(--np-ink);
  color: var(--np-ink);
}
.main-nav > a, .mega-menu-trigger, .dropdown-trigger { min-width: var(--np-target); justify-content: flex-start; padding-inline: var(--np-space-2); }
/* Focus: highlighter fill plus an inset ink ring, so overflow on the swiping nav row can't clip it (WCAG 2.4.7). */
.main-nav > a:focus-visible, .mega-menu-trigger:focus-visible, .dropdown-trigger:focus-visible {
  background: var(--np-focus);
  color: var(--np-ink);
  box-shadow: none;
  outline: var(--np-focus-ring);
  outline-offset: calc(-1 * var(--np-stroke-3));
}
@media (min-width: 1140px) {
  .site-header, .topic-header { position: sticky; top: 0; }
  .nav-row, .topic-header-row { flex-wrap: nowrap; min-height: var(--np-bar-h); padding-top: 0; gap: var(--np-space-5); }
  .main-nav { order: 2; flex: 0 1 auto; margin: 0 auto; gap: var(--np-space-2); overflow: visible; border-top: 0; } /* 8px + 2 x 8px padding = 24px */
  .main-nav > a, .mega-menu-trigger, .dropdown-trigger {
    min-height: var(--np-bar-h);                                  /* fills the bar: hover never crosses a gap */
    border-top: var(--np-stroke-3) solid var(--np-transparent);  /* balances the bottom bar: labels sit on the bar's centre line */
  }
  .header-cta { order: 3; margin-left: 0; min-height: var(--np-header-cta-h); }
}

/* 6. Menus: panels anchor to the header at every size */
.mega-menu, .supported-brokers-dropdown { position: static; }
.mega-menu-panel, .dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: var(--np-gutter);
  right: var(--np-gutter);
  z-index: 30;
  max-height: calc(100vh - var(--np-menu-offset));
  overflow-y: auto;
  background: var(--np-paper);
  border: var(--np-line);
  border-top: var(--np-heavy);
  border-bottom: var(--np-heavy); /* a closed bottom edge, so whatever lies under an open panel never reads as its last row */
  border-radius: 0;
  box-shadow: none;
  padding: var(--np-space-4) 0;
  row-gap: var(--np-space-4);
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  backdrop-filter: none;
}
.mega-menu-panel::before, .dropdown-panel::before { display: none; }
.mega-menu:hover .mega-menu-panel, .mega-menu:focus-within .mega-menu-panel, .mega-menu.is-open .mega-menu-panel,
.supported-brokers-dropdown:hover .dropdown-panel, .supported-brokers-dropdown:focus-within .dropdown-panel,
.supported-brokers-dropdown.is-open .dropdown-panel { display: grid; }
.mega-menu-panel, .dropdown-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (hover: none) {
  /* Touch: only .is-open (nav-menus.js) opens a panel; a tapped trigger keeps focus, so :focus-within must not. */
  .mega-menu:not(.is-open) .mega-menu-panel, .supported-brokers-dropdown:not(.is-open) .dropdown-panel { display: none; }
}
.mega-menu-group, .dropdown-group { min-width: 0; padding: 0 var(--np-space-4); border: 0; border-radius: 0; background: none; }
.mega-menu-group:nth-child(2n) { border-left: var(--np-hair); }
.dropdown-group:nth-child(odd):not(:first-child) { border-left: var(--np-hair); } /* US spans row 1; Canada (3rd) sits in column 2 */
.mega-menu-group h3, .dropdown-label {
  margin: 0 0 var(--np-space-2);
  padding-bottom: var(--np-space-2);
  border-bottom: var(--np-hair);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink-muted);
}
.mega-menu-group ul { margin: 0; padding: 0; list-style: none; }
.mega-menu-group a, .dropdown-group a {
  display: block;
  padding: var(--np-space-3) 0;
  margin: 0;
  border-radius: 0;
  background: none;
  font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  text-decoration: none;
}
.mega-menu-group a:hover, .dropdown-group a:hover { text-decoration: underline; color: var(--np-ink); background: none; }
.dropdown-group--two-col {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--np-space-4);
  align-content: start;
  border-left: 0;
}
.dropdown-group--two-col .dropdown-label { grid-column: 1 / -1; }
@media (max-width: 739px) {
  .dropdown-panel { grid-template-columns: 1fr; }
  .dropdown-group { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--np-space-4); align-content: start; }
  .dropdown-group:nth-child(odd):not(:first-child) { border-left: 0; }
  .dropdown-label { grid-column: 1 / -1; white-space: nowrap; }
}
@media (min-width: 740px) and (max-width: 1139px) {
  /* "International / Crypto" takes two lines in its column here: every head reserves two and sits on the bottom one,
     so the four rules under the heads line up. */
  .dropdown-label { display: flex; align-items: flex-end; min-height: calc(2 * var(--np-one-line) + var(--np-space-2) + var(--np-stroke-1)); }
  /* 2px past the gutter on each side, as at 1140+, so a headline glyph's overhang can't peek past the panel's edge
     (review round 5, 2026-11-12) */
  .mega-menu-panel, .dropdown-panel { left: calc(var(--np-gutter) - var(--np-stroke-2)); right: calc(var(--np-gutter) - var(--np-stroke-2)); }
}
@media (min-width: 740px) {
  /* Desktop columns from tablet up: Compare Brokers 3 x 2, Supported Brokers 4 columns. Below 1140px the rows stay
     44px (touch tablets); the panel then runs gutter to gutter. */
  .mega-menu-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dropdown-panel { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .dropdown-group--two-col { grid-column: auto; }
  .mega-menu-group:nth-child(2n), .dropdown-group:nth-child(odd):not(:first-child) { border-left: 0; }
  .mega-menu-group:not(:nth-child(3n + 1)), .dropdown-group + .dropdown-group { border-left: var(--np-hair); }
}
@media (min-width: 1140px) {
  .mega-menu-panel, .dropdown-panel {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    /* 2px wider than the column on each side, so no headline glyph overhang peeks past the panel's edge */
    width: min(calc(var(--np-container) + 2 * var(--np-stroke-2)), calc(100vw - 2 * var(--np-gutter)));
  }
  .mega-menu-group a, .dropdown-group a { padding: var(--np-space-1) 0; }
}

/* 7. Kicker, headline, dateline, lede */
.eyebrow, .section-label, .connect-eyebrow, .pick-card__use, .layer-card__range, .region-badge, .promo-banner__tag {
  display: block;
  margin: 0 0 var(--np-space-2);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.pick-card__use, .region-badge { color: var(--np-ink-muted); }
h1, #topic-title {
  font-size: var(--np-type-h1);
  line-height: var(--np-lh-tight);
  font-weight: 700;
  letter-spacing: var(--np-track-head);
  margin: 0 0 var(--np-space-3);
  max-width: var(--np-measure-headline);
}
.page-meta {
  margin: 0 0 var(--np-space-4);
  padding-bottom: var(--np-space-3);
  border-bottom: var(--np-hair);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.page-meta time { color: var(--np-ink); font-weight: 600; }
.hero-summary, .value-prop, .hero-copy, .faq-answer, .faq-panel, .cta-banner p,
.section-heading p, .connect-details-header p, .topic-section > p, .integration-list li strong, .broker-detail-list li strong {
  text-wrap: pretty;
}
.hero-summary, .value-prop, .hero-copy {
  max-width: var(--np-measure);
  margin: 0 0 var(--np-space-5);
  font: 400 var(--np-type-lede)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
}

/* 8. Buttons */
.btn-open-account, .broker-open-btn, .promo-sidebar-cta, .action-button, .promo-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--np-space-2);
  min-height: var(--np-target);
  padding: 0 var(--np-space-5);
  background: var(--np-accent);
  color: var(--np-on-accent);
  border: var(--np-stroke-2) solid var(--np-accent);
  border-radius: 0;
  box-shadow: none;
  font: 700 var(--np-type-button)/var(--np-lh-tight) var(--np-sans);
  letter-spacing: var(--np-track-none);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--np-ease), border-color var(--np-ease);
}
.btn-open-account:hover, .broker-open-btn:hover, .promo-sidebar-cta:hover, .action-button:hover, .promo-banner__cta:hover {
  background: var(--np-accent-hover);
  border-color: var(--np-accent-hover);
  color: var(--np-on-accent);
  text-decoration: none;
}
.btn-open-account:active, .broker-open-btn:active, .promo-sidebar-cta:active, .action-button:active, .promo-banner__cta:active {
  background: var(--np-ink);
  border-color: var(--np-ink);
}
.btn-open-account:focus-visible, .broker-open-btn:focus-visible, .promo-sidebar-cta:focus-visible,
.action-button:focus-visible, .promo-banner__cta:focus-visible {
  background: var(--np-accent);
  color: var(--np-on-accent);
  box-shadow: none;
  outline: var(--np-focus-ring);
  outline-offset: var(--np-space-0);
}
.btn-connect, .cta-secondary, .broker-grid-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--np-space-2);
  min-height: var(--np-target);
  padding: 0 var(--np-space-5);
  background: var(--np-transparent);
  color: var(--np-ink);
  border: var(--np-stroke-2) solid var(--np-ink);
  border-radius: 0;
  box-shadow: none;
  font: 700 var(--np-type-button)/var(--np-lh-tight) var(--np-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--np-ease), color var(--np-ease);
}
.btn-connect:hover, .cta-secondary:hover, .broker-grid-expand:hover { background: var(--np-ink); color: var(--np-paper); text-decoration: none; }
.btn-connect:focus-visible, .cta-secondary:focus-visible, .broker-grid-expand:focus-visible {
  background: var(--np-transparent);
  color: var(--np-ink);
  box-shadow: none;
  outline: var(--np-focus-ring);
  outline-offset: var(--np-space-0);
}
.broker-details-toggle, .bonus-expander, .broker-learn-more, .broker-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--np-space-1);
  min-height: var(--np-icon);
  padding: var(--np-space-0) 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font: 600 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-link);
  text-decoration: underline;
  text-decoration-thickness: var(--np-stroke-1);
  text-underline-offset: var(--np-underline);
}
.broker-details-toggle:hover, .bonus-expander:hover, .broker-learn-more:hover, .broker-card-cta:hover {
  color: var(--np-link-hover);
  text-decoration-thickness: var(--np-stroke-2);
  background: none;
}
.broker-details-toggle::after { content: "\25BE"; text-decoration: none; }
.broker-details-toggle[aria-expanded="true"]::after { content: "\25B4"; }
.broker-details-toggle:focus-visible, .bonus-expander:focus-visible {
  outline: none;
  background: var(--np-focus);
  color: var(--np-ink);
  box-shadow: 0 var(--np-stroke-3) 0 var(--np-ink);
}
@media (max-width: 739px) {
  .broker-details-toggle, .bonus-expander, .broker-learn-more, .broker-card-cta { min-height: var(--np-target); }
}

/* 9. Advertisement slug and box (Featured Offer, repeat-offer, cross-sell) */
.np-ad-slug {
  display: block;
  margin: 0 0 var(--np-space-3);
  padding-bottom: var(--np-space-2);
  border-bottom: var(--np-hair);
  font: 600 var(--np-type-label)/var(--np-lh-solid) var(--np-sans);
  letter-spacing: var(--np-track-slug);
  text-transform: uppercase;
  color: var(--np-ink-muted);
}
.sidebar-card--featured-offer, .cross-sell-card {
  display: grid;
  grid-template-columns: var(--np-logo-lg) minmax(0, 1fr);
  grid-template-areas: "slug slug" "logo kick" "logo head" "desc desc" "disc disc" "cta cta";
  column-gap: var(--np-space-4);
  row-gap: var(--np-space-1);
  align-items: center;
  margin: var(--np-space-5) 0;
  padding: var(--np-space-4);
  background: var(--np-paper-shade);
  border: var(--np-line);
  border-top: var(--np-heavy);
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}
.sidebar-card--featured-offer .np-ad-slug, .cross-sell-card .np-ad-slug { grid-area: slug; }
.np-offer-slot { margin: var(--np-space-5) 0; min-height: var(--np-reserve-offer); }
.hero .sidebar-card--featured-offer:last-child, .hero .np-offer-slot:last-child { margin-bottom: 0; } /* a section follows */ /* static placeholder the Featured Offer card replaces (pilot-spec.md) */
.featured-offer-logo, .cross-sell-logo {
  grid-area: logo;
  width: var(--np-logo-lg);
  height: var(--np-logo-lg);
  align-self: start;
  margin: 0;
  border-radius: 0;
}
.sidebar-card--featured-offer .featured-broker-badge, .cross-sell-card .featured-broker-badge {
  grid-area: kick;
  justify-self: start;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink-muted);
  text-decoration: none;
}
.sidebar-card--featured-offer .featured-broker-badge:hover, .cross-sell-card .featured-broker-badge:hover {
  text-decoration: underline;
  color: var(--np-ink);
}
.promo-sidebar-heading, .cross-sell-heading {
  grid-area: head;
  margin: 0;
  font: 700 var(--np-type-h3)/var(--np-lh-head) var(--np-serif);
  letter-spacing: var(--np-track-none);
  text-transform: none;
  color: var(--np-ink);
}
.promo-sidebar-desc, .cross-sell-desc {
  grid-area: desc;
  margin: var(--np-space-2) 0 0;
  font: 400 var(--np-type-ui)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);
}
.featured-offer-disclosure {
  grid-area: disc;
  margin: 0;
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.promo-sidebar-cta, .cross-sell-card .cross-sell-cta { grid-area: cta; width: 100%; margin-top: var(--np-space-3); }
@media (min-width: 740px) {
  .sidebar-card--featured-offer, .cross-sell-card {
    grid-template-columns: var(--np-logo-lg) minmax(0, 1fr) auto;
    grid-template-areas: "slug slug slug" "logo kick cta" "logo head cta" "logo desc cta" "logo disc cta";
    padding: var(--np-space-4) var(--np-space-5) var(--np-space-5);
  }
  .promo-sidebar-cta, .cross-sell-card .cross-sell-cta { width: auto; min-width: var(--np-cta-box-w); margin-top: 0; }
}

/* 10. Advertisement strip (TradeStation "Limited Offer"): not pinned */
.promo-banner { position: static; background: var(--np-paper-shade); border: 0; border-bottom: var(--np-line); }
.promo-banner__inner {
  max-width: calc(var(--np-container) + 2 * var(--np-gutter));
  margin-inline: auto;
  padding: var(--np-space-3) var(--np-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--np-space-2) var(--np-space-4);
}
.promo-banner .np-ad-slug { margin: 0; padding: 0; border: 0; }
.promo-banner__tag { margin: 0; }
.promo-banner__tag, .promo-banner .np-ad-slug { white-space: nowrap; }
.promo-banner__text { flex: 1 1 100%; font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink); }
.promo-banner__text strong { font-weight: 700; }
.promo-banner__cta { width: 100%; font-size: var(--np-type-ui); }
@media (min-width: 740px) {
  .promo-banner__inner { flex-wrap: nowrap; min-height: var(--np-bar-h); padding-block: var(--np-space-2); }
  .promo-banner__text { flex: 1 1 auto; }
  .promo-banner__cta { width: auto; margin-left: auto; }
}

/* 11. Sections and article text */
.hero, .broker-hero, .hero-section { padding: var(--np-space-6) 0 var(--np-space-4); background: none; }
.topic-section, .section-wrap .section-label, .cta-banner, .connect-details, .ait-aux-row { border-top: var(--np-heavy); }
.topic-section { margin-top: var(--np-space-7); padding-top: var(--np-space-3); }
.topic-content + .topic-content { margin-top: 0; }
.section-wrap { padding: var(--np-space-7) 0 0; background: none; }
.section-wrap .section-label { padding-top: var(--np-space-3); }
#repeat-offer, #cross-sell-offer { padding-top: var(--np-space-6); }
.topic-section h2, .section-title, .section-heading h2, #faq-heading, .connect-details-header h3, .about-block h2 {
  margin: 0 0 var(--np-space-3);
  font: 700 var(--np-type-h2)/var(--np-lh-head) var(--np-serif);
  letter-spacing: var(--np-track-none);
  text-transform: none;
  color: var(--np-ink);
}
h3 { font: 600 var(--np-type-h3)/var(--np-lh-head) var(--np-serif); }
.topic-section > p, .topic-section > ul:not(.check-list), .about-block, .connect-details-header p, .section-heading p {
  max-width: var(--np-measure);
}
@media (max-width: 739px) {
  .topic-section { margin-top: var(--np-space-6); }
  .section-wrap { padding-top: var(--np-space-6); }
}

/* 12. Comparison table (metric tables) */
.broker-table-intro, .broker-sort-note {
  margin: 0 0 var(--np-space-1);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.broker-table-wrap {
  margin-top: var(--np-space-3);
  border-top: var(--np-double);
  border-bottom: var(--np-line);
  background: none;
  border-radius: 0;
}
.broker-summary-table { width: 100%; font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink); }
.broker-summary-table thead th {
  position: sticky;
  top: var(--np-header-h);
  z-index: 2;
  background: var(--np-paper);
  box-shadow: inset 0 calc(-1 * var(--np-stroke-1)) 0 var(--np-ink);
  padding: var(--np-space-3) var(--np-space-3) var(--np-space-2);
  text-align: left;
  vertical-align: bottom;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.broker-summary-table thead th[data-col] { white-space: nowrap; }
.broker-summary-table td {
  padding: var(--np-space-3);
  border-top: var(--np-hair);
  vertical-align: top;
  text-align: left;
  background: none;
}
.broker-summary-table .np-num { text-align: right; }
.broker-summary-table td.broker-cta-cell { vertical-align: middle; text-align: right; }
@media (hover: hover) and (pointer: fine) and (min-width: 1140px) {
  /* Hover draws ink rules above and below the row; the paper shade stays reserved for partner rows. */
  .broker-summary-table tr[data-broker-name]:hover td {
    box-shadow: inset 0 var(--np-stroke-1) 0 var(--np-ink), inset 0 calc(-1 * var(--np-stroke-1)) 0 var(--np-ink);
  }
}
.broker-name-cell strong, .broker-name-link {
  font: 700 var(--np-type-button)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  text-decoration: none;
}
.broker-name-link:hover { color: var(--np-ink); text-decoration: underline; }
.broker-best-for {
  display: block;
  margin-top: var(--np-space-0);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.featured-broker-row td { background: var(--np-paper-shade); }
.broker-name-cell .featured-broker-badge {
  display: inline-block;
  margin-left: 0;
  padding: 0 var(--np-space-1);
  vertical-align: middle;
  background: var(--np-paper);
  color: var(--np-ink);
  border: var(--np-line);
  border-radius: 0;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  text-decoration: none;
}
.broker-name-cell .featured-broker-badge:hover { text-decoration: underline; color: var(--np-ink); }
.broker-name-cell .featured-broker-badge { white-space: nowrap; }
.np-nowrap { white-space: nowrap; } /* renderer wraps hyphenated values ("Market-priced") so they never break at the hyphen */
/* read by screen readers, not shown: e.g. the corner cell's "Feature" label in the cost tables (2026-11-12) */
.np-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.broker-open-btn { min-height: var(--np-target); padding: 0 var(--np-space-4); font-size: var(--np-type-ui); }
.broker-details-row td {
  padding: var(--np-space-3) var(--np-space-4) var(--np-space-4);
  background: var(--np-paper-shade);
  border-top: 0;
  font: 400 var(--np-type-compact)/var(--np-lh-body) var(--np-serif);
}
.broker-details-row p { margin: 0 0 var(--np-space-2); max-width: var(--np-measure); }
/* Opening a panel must not move the table (fix pass 4): its text takes the columns' width as given and never asks the
   auto table layout for more. Measured with work/design/details-shift.mjs: 0px at 1440 and 1024 (was up to 46px). */
.broker-details-row td > * { contain: inline-size; }
.broker-details-row strong { font: 700 var(--np-type-note)/var(--np-lh-body) var(--np-sans); }
.broker-verified { font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink-muted); }
@media (min-width: 740px) {
  /* "What they offer" left; "Why choose", "Compared with others" and the checked line right, behind a column rule.
     A td can't be a grid (it would lose its colspan), so it's two columns of text. */
  .broker-details-row td { column-count: 2; column-gap: var(--np-space-6); column-rule: var(--np-hair); }
  .broker-details-row td > p { max-width: none; break-inside: avoid; }
  .broker-details-row td > p:first-child { break-after: column; }
}
.broker-sort-btn {
  display: inline;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--np-ink);
  text-align: inherit;
  text-decoration: underline;
  text-decoration-color: var(--np-rule);
  text-decoration-thickness: var(--np-stroke-1);
  text-underline-offset: var(--np-space-1);
}
.broker-sort-btn:hover { text-decoration-color: var(--np-ink); }
.broker-sort-btn::after { content: " \2195"; color: var(--np-ink-muted); text-decoration: none; }
th[aria-sort] .broker-sort-btn { color: var(--np-ink); text-decoration-color: var(--np-ink); text-decoration-thickness: var(--np-stroke-2); }
th[aria-sort="ascending"] .broker-sort-btn::after { content: " \2191"; color: var(--np-ink); }
th[aria-sort="descending"] .broker-sort-btn::after { content: " \2193"; color: var(--np-ink); }
.np-sort { display: none; }
@media (min-width: 740px) and (max-width: 1139px) {
  .broker-summary-table thead th:first-child, .broker-summary-table td.broker-name-cell { width: var(--np-table-name-col); }
  .broker-summary-table thead th:nth-last-child(2):not(.np-num), .broker-summary-table td:nth-last-child(2):not(.np-num) {
    width: var(--np-table-text-col);
    min-width: var(--np-table-text-col);
  }
  .broker-open-btn { padding: 0 var(--np-space-3); white-space: normal; } /* "Open / account" may take two lines inside 44px */
  .broker-summary-table thead th, .broker-summary-table td { padding-inline: var(--np-space-2); }
  .broker-table-wrap { overflow-x: auto; }
  /* Below ~900px eight columns can't fit: the figures scroll between a frozen Broker column and a frozen Account column,
     so the name and the partner button are always on screen. Hairline column rules mark the frozen edges. */
  .broker-summary-table thead th:first-child, .broker-summary-table td.broker-name-cell {
    position: sticky; left: 0; z-index: 1; background: var(--np-paper); box-shadow: inset calc(-1 * var(--np-stroke-1)) 0 0 var(--np-rule);
  }
  .broker-summary-table thead th:last-child, .broker-summary-table td.broker-cta-cell {
    position: sticky; right: 0; z-index: 1; background: var(--np-paper); box-shadow: inset var(--np-stroke-1) 0 0 var(--np-rule);
  }
  .featured-broker-row td.broker-name-cell, .featured-broker-row td.broker-cta-cell { background: var(--np-paper-shade); }              /* 6-8 columns may not fit: scroll inside the frame, never the page */
  .broker-summary-table thead th { position: static; } /* sticky can't work inside a scroll container */
}
@media (max-width: 739px) {
  .np-sort-hint { display: none; }
  .broker-sort-note:has(+ .np-sort) { display: none; }
  /* "Sort by" on its own line over a full-width field (fix round 3, v1.10): beside the label the field had 226px of
     text at 390 and cut "Rate on a $25K balance, lowest first". A native select's text can't wrap, so two options still
     don't fit a full-width field ("Cost of $100,000 in corporate bonds, lowest first", 361px; lowest-spread-pairs'
     default, 434px). With the F.1 markup, .np-sort__value shows the chosen option in a box that wraps, and the real
     select lies over it, transparent, so the tap, the native picker and the accessible name are the select's own. */
  .np-sort {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--np-space-1);
    margin: var(--np-space-3) 0 0;
    font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
    letter-spacing: var(--np-track-caps);
    text-transform: uppercase;
    color: var(--np-ink);
  }
  .np-sort select { width: 100%; min-width: 0; text-transform: none; letter-spacing: var(--np-track-none); }
  .np-sort__field { position: relative; display: block; }
  .np-sort .np-sort__value {
    display: flex;
    align-items: center;
    min-height: var(--np-target);
    padding: var(--np-space-2) var(--np-space-7) var(--np-space-2) var(--np-space-3);
    text-transform: none;
    letter-spacing: var(--np-track-none);
    text-wrap: pretty;
  }
  .np-sort .np-sort__field > select {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
    opacity: 0;
    cursor: pointer;
  }
  .np-sort__field:has(> select:focus-visible) .np-sort__value {
    outline: var(--np-stroke-3) solid var(--np-focus);
    outline-offset: 0;
    box-shadow: inset 0 0 0 var(--np-stroke-1) var(--np-ink);
  }
  .broker-table-wrap { border-bottom: 0; }
  .broker-summary-table, .broker-summary-table tbody, .broker-summary-table tr, .broker-summary-table td { display: block; width: 100%; }
  .broker-summary-table tr[hidden] { display: none; }
  .broker-summary-table thead {
    position: absolute;
    width: var(--np-stroke-1);
    height: var(--np-stroke-1);
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .broker-summary-table tr[data-broker-name] { padding: var(--np-space-4) 0 var(--np-space-3); }
  .broker-summary-table tr.broker-details-row { padding-bottom: var(--np-space-3); }
  .broker-summary-table tr[data-broker-name], .broker-summary-table tr.broker-details-row:not([hidden]) { border-bottom: var(--np-line); }
  .broker-summary-table tr[data-broker-name]:has(+ .broker-details-row:not([hidden])) { border-bottom: 0; }
  .broker-summary-table td {
    display: flow-root;                 /* block, not flex: text, np-nowrap spans and text stay one value */
    padding: var(--np-space-1) 0;
    border: 0;
    font-size: var(--np-type-button);
    text-align: right;
  }
  .broker-summary-table td[data-label]::before {
    content: attr(data-label);
    float: left;
    width: var(--np-card-label-w);
    padding-top: var(--np-space-0);
    padding-right: var(--np-space-4);
    text-align: left;
    font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
    letter-spacing: var(--np-track-caps);
    text-transform: uppercase;
    color: var(--np-ink-muted);
  }
  .broker-summary-table td.broker-name-cell { display: block; text-align: left; padding-bottom: var(--np-space-2); }
  .broker-name-cell strong, .broker-name-link { font-size: var(--np-size-18); }
  .broker-summary-table td.broker-cta-cell { display: block; padding-top: var(--np-space-3); }
  .broker-summary-table td.broker-cta-cell::before { content: none; }
  .broker-open-btn { width: 100%; min-height: var(--np-cta-phone-h); }
  .featured-broker-row { background: var(--np-paper-shade); padding-inline: var(--np-space-3); }
  .broker-details-row td { display: block; text-align: left; padding: var(--np-space-3); }
}

/* 13. Pick briefs and explainer columns */
.pick-grid, .layer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--np-space-4);
  border-top: var(--np-line);
}
.pick-card, .layer-card {
  padding: var(--np-space-4) 0;
  border: 0;
  border-bottom: var(--np-hair);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pick-card__broker {
  display: block;
  margin: var(--np-space-0) 0 var(--np-space-2);
  font: 700 var(--np-type-h3)/var(--np-lh-head) var(--np-serif);
  color: var(--np-ink);
}
.pick-card p, .layer-card p { margin: 0 0 var(--np-space-2); font: 400 var(--np-type-compact)/var(--np-lh-body) var(--np-serif); }
.pick-card__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-icon);
  font: 600 var(--np-type-note)/var(--np-lh-ui) var(--np-sans);
}
.layer-card h3 { margin: 0 0 var(--np-space-2); }
@media (max-width: 739px) { .pick-card__link { min-height: var(--np-target); } }
@media (min-width: 740px) {
  .pick-grid, .layer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-card, .layer-card { padding: var(--np-space-4); }
  .pick-card:nth-child(2n + 1), .layer-card:nth-child(2n + 1) { padding-left: 0; }
  .pick-card:nth-child(2n), .layer-card:nth-child(2n) { border-left: var(--np-hair); }
  /* Links on one line per row (fix pass 2026-11-20, v1.11): a brief is a column whose link takes the space left over,
     so briefs of different lengths in one row end on the same baseline (cd-rate-comparison's stepped 24px a brief at
     1440). Children keep their own widths (flex-start), so the link's target stays the size of its words. Flex items'
     margins don't collapse, so the broker drops its 2px top margin and the kicker's 8px stays the gap; the link leaves
     its 27px line box for its own 24px box, so a row of briefs is up to 3px shorter. */
  .pick-card { display: flex; flex-direction: column; align-items: flex-start; }
  .pick-card__broker { margin-top: 0; }
  .pick-card__link { margin-top: auto; }
}
@media (min-width: 1140px) {
  .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pick-card:nth-child(n), .layer-card:nth-child(n) { padding-left: var(--np-space-4); border-left: var(--np-hair); }
  .pick-card:nth-child(3n + 1), .layer-card:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
}

/* 14. Cost, reward and scorecard tables */
.cost-table-wrap, .fee-calc__scroll, .reward-table-wrap, .scorecard-table-wrap {
  margin: var(--np-space-3) 0;
  overflow-x: auto;
  border-top: var(--np-double);
  background: none;
  border-radius: 0;
}
.cost-table, .reward-table, .scorecard-table {
  width: 100%;
  background: none;
  font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
}
.cost-table thead th, .reward-table th, .scorecard-table th {
  padding: var(--np-space-2) var(--np-space-3);
  border-bottom: var(--np-line);
  text-align: left;
  vertical-align: bottom;
  background: none;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.cost-table td, .cost-table tbody th, .reward-table td, .scorecard-table td {
  padding: var(--np-space-3);
  border-top: var(--np-hair);
  vertical-align: top;
  text-align: left;
  background: none;
  color: var(--np-ink);
}
.cost-table tbody th { font-weight: 700; }
@media (min-width: 740px) {
  .cost-table--text { table-layout: fixed; }
  .cost-table--text thead th:first-child, .cost-table--text tbody th { width: var(--np-score-col-1); } /* row heads 22%; value columns share the rest equally */
  /* A value column that holds only short words ("Yes", "No", "Not published") takes its content's width, and the text
     column beside it takes the rest (fix round 3, v1.10): top-rated-fx-brokers' "US spot forex?" was 460px for "No"
     next to a 460px quote column. The class goes on the column's heading cell; fixed layout sizes the column from it. */
  .cost-table--text thead th.np-col-short { width: var(--np-short-col); }
}
.cost-table:not(.cost-table--text) td, .fee-calc__results td, .cost-table:not(.cost-table--text) thead th:not(:first-child) { text-align: right; }
/* A text column in a numeric calculator (fixed-income-bonds' "Pricing", lowest-spread-pairs' "Spread used") reads from the
   left like the row head (fix round 3, v1.10). The class goes on the column's heading (.np-text); the rows are written by
   the page's script, so the cells follow the heading's position. */
.fee-calc__results:has(thead th:nth-child(2).np-text) :is(th, td):nth-child(2),
.fee-calc__results:has(thead th:nth-child(3).np-text) :is(th, td):nth-child(3),
.fee-calc__results:has(thead th:nth-child(4).np-text) :is(th, td):nth-child(4) { text-align: left; }
/* Scorecard: neutral holding style until its quotes and scores are verified (user decision 2026-11-11). */
.scorecard-table th:nth-child(1) { width: var(--np-score-col-1); }
.scorecard-table th:nth-child(2) { width: var(--np-score-col-2); }
.score-badge {
  padding: 0;
  background: none;
  border-radius: 0;
  font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  white-space: nowrap;
}
.score-quote { font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans); color: var(--np-ink-muted); }
.score-quote cite {
  display: block;
  margin-top: var(--np-space-1);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  text-transform: none;
  letter-spacing: var(--np-track-none);
  color: var(--np-ink-muted);
}
.source-link { color: var(--np-link); }
.cost-note {
  max-width: var(--np-measure);
  margin: var(--np-space-2) 0 var(--np-space-4);
  font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
@media (max-width: 739px) {
  .cost-table td, .cost-table tbody th, .reward-table td, .scorecard-table td { padding: var(--np-space-2); }
}

/* 15. Calculator and fields */
.fee-calc {
  margin: var(--np-space-6) 0 var(--np-space-4);
  padding: var(--np-space-4);
  background: var(--np-paper);
  border: var(--np-line);
  border-top: var(--np-heavy);
  border-radius: 0;
}
.fee-calc h3 { margin: 0 0 var(--np-space-3); }
@media (max-width: 739px) {
  .fee-calc { padding: var(--np-space-3); }
  /* Columns 12px apart, all of it on the left of each cell (fix round 3, v1.10): at 4px a side, "$416.67 $5,069.44" read
     as one string. 12px is the most that fits: at 16px fixed-income-bonds, low-margin-rate-brokers and
     lowest-spread-pairs scroll inside their frame at 390 ("COMMISSION" and "$2,727.36" can't break). */
  .fee-calc__results :is(thead th, tbody th, td) { padding: var(--np-space-2) 0 var(--np-space-2) var(--np-space-3); }
  .fee-calc__results :is(tbody th, td) { font-size: var(--np-type-note); } /* the heads keep the 12px label size */
  /* Fix round 2026-11-12: every calculator fits its frame at 390, no cell cut at the edge. Text cells wrap at their
     spaces; a figure ("$2,727.38") has no break opportunity, so it never splits. The outer columns lose their side
     padding so four columns fit 332px. */
  .fee-calc__results td { white-space: normal; }
  .fee-calc__results :is(th, td):first-child { padding-left: 0; }
  .fee-calc__results :is(th, td):last-child { padding-right: 0; }
  .fee-calc__results thead th { letter-spacing: var(--np-track-none); }
}
.fee-calc__inputs { display: grid; grid-template-columns: 1fr; gap: var(--np-space-3); }
.fee-calc label {
  display: flex;
  flex-direction: column;
  gap: var(--np-space-1);
  font: 700 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
}
.fee-calc input, .fee-calc select, .np-sort select, .np-sort__value, .broker-search {
  min-height: var(--np-target);
  padding: 0 var(--np-space-3);
  width: 100%;
  background: var(--np-field);
  color: var(--np-ink);
  border: var(--np-line);
  border-radius: 0;
  box-shadow: none;
  font: 400 var(--np-type-button)/var(--np-lh-head) var(--np-sans);
  /* Proportional lining figures (fix round 2026-11-12): a field holds one value, not a column, and Public Sans's
     tabular set (wide zeros, a footed 1) read as a system monospace in "50000". */
  font-variant-numeric: lining-nums proportional-nums;
}
.fee-calc select, .np-sort select, .np-sort__value {
  appearance: none;
  padding-right: var(--np-space-7);
  background-color: var(--np-field);
  background-image:
    linear-gradient(var(--np-chevron-left), var(--np-transparent) 50%, var(--np-ink) 50%),
    linear-gradient(var(--np-chevron-right), var(--np-ink) 50%, var(--np-transparent) 50%);
  background-position:
    calc(100% - var(--np-space-4) - var(--np-chevron)) 50%,
    calc(100% - var(--np-space-4)) 50%;
  background-size: var(--np-chevron) var(--np-chevron);
  background-repeat: no-repeat;
}
.fee-calc input:focus-visible, .fee-calc select:focus-visible, .np-sort select:focus-visible, .broker-search:focus-visible {
  outline: var(--np-stroke-3) solid var(--np-focus);
  outline-offset: 0;
  box-shadow: inset 0 0 0 var(--np-stroke-1) var(--np-ink);
}
@media (min-width: 740px) {
  .fee-calc { padding: var(--np-space-5); }
  .fee-calc__inputs { grid-template-columns: repeat(auto-fit, minmax(var(--np-field-min), 1fr)); }
}

/* 16. Lists */
.check-list, .step-list {
  max-width: var(--np-measure);
  margin: var(--np-space-4) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: np-step;
}
.check-list li, .step-list li {
  position: relative;
  padding: var(--np-space-2) 0 var(--np-space-2) var(--np-space-6);
  border-top: var(--np-hair);
  color: var(--np-ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: var(--np-space-1);
  top: calc(var(--np-space-2) + (var(--np-type-body) * var(--np-lh-body) - var(--np-bullet)) / 2);
  width: var(--np-bullet);
  height: var(--np-bullet);
  background: var(--np-ink);
  border-radius: 0;
}
.step-list li { counter-increment: np-step; padding-left: var(--np-space-7); min-height: calc(var(--np-type-step) + 2 * var(--np-space-2)); }
.step-list li::before {
  content: counter(np-step);
  position: absolute;
  left: 0;
  top: var(--np-space-2);
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font: 700 var(--np-type-step)/var(--np-lh-solid) var(--np-serif);
  color: var(--np-ink);
}

@media (min-width: 1140px) {
  /* The check list and the step list sit side by side behind a column rule, like pros and cons (fix pass 4): each
     stays at the measure instead of running 1,800px down a half-empty page. Dense flow pairs them in either order. */
  .topic-content:has(> .topic-section > .check-list):has(> .topic-section > .step-list) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row dense;
    align-items: start;
  }
  .topic-content:has(> .topic-section > .check-list):has(> .topic-section > .step-list) > * { grid-column: 1 / -1; }
  .topic-content:has(> .topic-section > .step-list) > .topic-section:has(> .check-list) { grid-column: 1; padding-right: var(--np-space-5); }
  .topic-content:has(> .topic-section > .check-list) > .topic-section:has(> .step-list) {
    grid-column: 2;
    padding-left: var(--np-space-5);
    box-shadow: inset var(--np-stroke-1) 0 0 var(--np-rule);
  }
}

/* 17. Sidebar row */
.ait-aux-row { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: var(--np-space-7); }
.ait-aux-row > .sidebar-card {
  margin: 0;
  padding: var(--np-space-4) 0 var(--np-space-5);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ait-aux-row > .sidebar-card--featured-offer {
  grid-column: 1 / -1;
  margin: var(--np-space-7) 0 0;
  padding: var(--np-space-4);
  background: var(--np-paper-shade);
  border: var(--np-line);
  border-top: var(--np-heavy);
}
.ait-aux-row .sidebar-card:not(.sidebar-card--featured-offer) > h2 {
  margin: 0 0 var(--np-space-2);
  padding-bottom: var(--np-space-2);
  border-bottom: var(--np-line);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.quick-nav-list, .related-list, #external-source-list { margin: 0; padding: 0; list-style: none; counter-reset: np-nav; }
.quick-nav-list li, .related-list li, #external-source-list li {
  padding: var(--np-space-2) 0;
  border-bottom: var(--np-hair);
  font: 400 var(--np-type-compact)/var(--np-lh-ui) var(--np-serif);
}
.quick-nav-list li { counter-increment: np-nav; display: flex; align-items: baseline; gap: var(--np-space-2); }
.quick-nav-list li::before {
  content: counter(np-nav);
  min-width: var(--np-counter-w);
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
.related-list li::before, #external-source-list li::before { content: none; }
.external-source-meta, .coverage-note {
  margin: var(--np-space-0) 0 0;
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
@media (max-width: 739px) {
  .quick-nav-list a, .related-list a { display: inline-flex; align-items: center; min-height: var(--np-target); }
}
@media (min-width: 740px) {
  .ait-aux-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ait-aux-row > .sidebar-card { padding-right: var(--np-space-4); }
  .ait-aux-row > .sidebar-card + .sidebar-card:not(.sidebar-card--featured-offer) { padding-left: var(--np-space-4); border-left: var(--np-hair); }
}

/* 18. Disclosure block ("About this comparison"): styled, never reworded */
.data-aggregation-disclaimer {
  max-width: var(--np-measure);
  margin-top: var(--np-space-5);
  padding: var(--np-space-3) 0 0;
  border-top: var(--np-line);
  background: none;
  font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);
}
.data-aggregation-disclaimer h3 {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.data-aggregation-disclaimer p { margin: 0 0 var(--np-space-2); }

@media (min-width: 740px) {
  /* "About this comparison": full-width fine print in three ruled columns (a side note would strand the space or push the table down). */
  .data-aggregation-disclaimer { max-width: none; column-count: 3; column-gap: var(--np-space-6); column-rule: var(--np-hair); }
  .data-aggregation-disclaimer h3 { column-span: all; }
  .data-aggregation-disclaimer p { break-inside: avoid; }
}

/* 19. FAQ: subtopic <details> and homepage buttons, one look */
.faq-zone, .faq-section { padding: var(--np-space-7) 0 0; background: none; }
#faq-heading, .faq-section .section-heading { padding-top: var(--np-space-3); border-top: var(--np-heavy); }
.faq-section .section-heading h2 { padding: 0; border: 0; }
.faq-list { display: block; max-width: var(--np-measure-faq); margin-top: var(--np-space-3); }
.faq-column { display: block; }
details.faq-item, .faq-card {
  margin: 0;
  border: 0;
  border-bottom: var(--np-hair);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.faq-question, button.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--np-space-4);
  width: 100%;
  min-height: var(--np-target);
  padding: var(--np-space-3) 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  list-style: none;
  text-align: left;
  font: 600 var(--np-size-18)/var(--np-lh-ui) var(--np-serif);
  color: var(--np-ink);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; flex: 0 0 auto; font: 400 var(--np-type-sign)/var(--np-lh-solid) var(--np-sans); color: var(--np-ink); }
details[open] > .faq-question::after { content: "\2212"; }
.faq-plus { flex: 0 0 auto; font: 400 var(--np-type-sign)/var(--np-lh-solid) var(--np-sans); color: var(--np-ink); }
.faq-item.is-open .faq-plus { color: var(--np-ink); }
.faq-answer, .faq-panel {
  max-width: var(--np-measure);
  margin: 0;
  padding: 0 0 var(--np-space-4);
  font: 400 var(--np-type-body)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
}
.faq-panel { display: none; }
.faq-item.is-open + .faq-panel { display: block; }

/* 20. Footer: regulatory text styled, never reworded */
.site-footer {
  margin-top: var(--np-space-8);
  padding: var(--np-space-6) 0 var(--np-space-5);
  background: var(--np-paper);
  border-top: var(--np-double);
  color: var(--np-ink);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--np-space-5); }
.footer-logo { display: block; width: var(--np-logo-header); height: auto; filter: none; opacity: 1; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--np-field-min), 1fr)); gap: var(--np-space-5); }
.footer-title {
  margin-bottom: var(--np-space-2);
  padding-bottom: var(--np-space-2);
  border-bottom: var(--np-line);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.footer-col > a {
  display: flex;
  align-items: center;
  min-height: var(--np-target);
  font: 400 var(--np-type-note)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  text-decoration: none;
}
.footer-col > a:hover { text-decoration: underline; color: var(--np-ink); }
.footer-col p { margin: 0 0 var(--np-space-2); font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans); }
.footer-inline-link { color: var(--np-link); }
.footer-socials { display: grid; grid-template-columns: repeat(3, var(--np-target)); gap: var(--np-space-1); }
@media (max-width: 739px), (min-width: 1140px) { .footer-socials { grid-template-columns: repeat(6, var(--np-target)); } }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;   /* icons align with the column edge ("Email:") */
  width: var(--np-target);
  height: var(--np-target);
  background: none;
  border-radius: 0;
}
.footer-socials img { width: var(--np-icon-social); height: var(--np-icon-social); }
.footer-divider { grid-column: 1 / -1; height: 0; border-top: var(--np-hair); background: none; }
.footer-legal { order: 1; }
.footer-copyright { order: 2; } /* the imprint closes the page */
.footer-copyright, .footer-legal {
  grid-column: 1 / -1;
  max-width: var(--np-measure-legal);
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
@media (min-width: 740px) {
  .footer-grid { grid-template-columns: var(--np-footer-brand-w) minmax(0, 1fr); }
  .footer-col > a { min-height: var(--np-space-6); }
}

/* 21. Homepage */
.hero-layout { display: block; }
.hero-visual { display: none; } /* bc-frontend removes the markup too, so the PNG never downloads */
.compare-section { padding: var(--np-space-5) 0 0; }
@media (max-width: 739px) { .compare-section { padding-top: var(--np-space-2); } } /* 48px under the hero, as cd-rate (fix pass 4) */
.compare-card {
  border-top: var(--np-double);
  border-bottom: var(--np-line);
  overflow-x: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  scroll-padding-left: var(--np-home-label-w-phone);
}
.compare-grid {
  display: grid;
  grid-template-columns: var(--np-home-label-w) repeat(7, minmax(var(--np-home-col-min), 1fr));
  font: 400 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.compare-row { display: contents; }
#top-compare:empty { min-height: var(--np-reserve-compare); } /* script.js fills it after first paint on slow phones */
.compare-grid .cell, .compare-grid .row-label {
  min-width: 0;
  padding: var(--np-space-3);
  border-top: var(--np-hair);
  background: none;
  box-shadow: none;
  text-align: center;
}
.compare-grid > .compare-row:first-child > * { border-top: 0; }
.compare-grid .cell + .cell { border-left: var(--np-hair); }
.compare-grid .row-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink-muted);
}
.broker-link { display: flex; flex-direction: column; align-items: center; gap: var(--np-space-2); color: var(--np-ink); text-decoration: none; }
.broker-link:hover { color: var(--np-ink); }
.broker-logo { background: none; box-shadow: none; border-radius: 0; }
.broker-logo img { width: var(--np-logo-md); height: var(--np-logo-md); border-radius: 0; }
.broker-name {
  display: flex;
  align-items: flex-start;       /* the reserved second line falls under the name: logo, name and stars line up */
  justify-content: center;
  min-height: calc(2 * var(--np-type-button) * var(--np-lh-ui)); /* two lines reserved: stars line up across columns */
  font: 700 var(--np-type-button)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink);
  text-align: center;
}
.stars { display: inline-flex; gap: var(--np-space-0); margin-top: var(--np-space-1); }
.star { width: var(--np-star); height: var(--np-star); color: var(--np-ink); fill: currentColor; filter: none; }
.star.empty { color: var(--np-rule); }
.value, .value.success { font: 700 var(--np-type-button)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink); }
.compare-grid > .compare-row:nth-last-child(2) .value { font-weight: 400; font-size: var(--np-type-note); } /* Welcome bonus: sentences, not figures */
.subvalue, .action-helper {
  margin: var(--np-space-1) 0 0;
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.bonus-extra { max-height: 0; overflow: hidden; transition: none; }
.bonus-extra.is-open { max-height: none; }
.cell.actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--np-space-2); }
.action-button { padding: 0 var(--np-space-3); font-size: var(--np-type-ui); }
.broker-article-links { display: flex; flex-direction: column; gap: var(--np-space-0); }
.broker-article-link { font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans); text-decoration-color: var(--np-transparent); text-wrap: balance; }
.broker-article-link:hover, .broker-article-link:focus-visible { text-decoration-color: currentColor; }
@media (max-width: 739px) {
  .broker-article-links { gap: 0; }
  .broker-article-link { display: flex; align-items: center; justify-content: center; min-height: var(--np-target); white-space: nowrap; }
}
.pro-tip {
  display: block;
  max-width: var(--np-measure);
  margin: var(--np-space-4) 0 0;
  padding: 0 0 0 var(--np-space-3);
  background: none;
  border: 0;
  border-left: var(--np-heavy);
  border-radius: 0;
  font: 400 var(--np-type-ui)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);
}
.pro-tip p { margin: 0; }
.tip-icon { display: none; }
.tip-disclaimer {
  display: block;
  margin-top: var(--np-space-1);
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
.cta-section { padding: var(--np-space-7) 0 0; }
.connect-details { padding-top: var(--np-space-3); background: none; border-radius: 0; box-shadow: none; }
.broker-search-wrap { position: relative; max-width: var(--np-measure-search); margin: var(--np-space-4) 0; }
.broker-search-wrap svg {
  position: absolute;
  left: var(--np-space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--np-ink-muted);
  pointer-events: none;
}
.broker-search { padding-left: var(--np-space-7); }
.broker-details-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; border-top: var(--np-line); }
.broker-details-grid.is-truncated { overflow: hidden; }   /* script.js caps max-height inline; without this the cards paint over "Show all" and the FAQ (bc-frontend, 2026-11-11) */
.broker-details-grid.is-truncated::after { content: none; }
/* While truncated, show exactly two rows, so the grid ends at a rule above "Show all" (script.js clips 20px lower). */
.broker-details-grid.is-truncated > .broker-detail-card:nth-child(n + 3) { display: none; }
@media (min-width: 740px) {
  .broker-details-grid.is-truncated > .broker-detail-card:nth-child(n + 3) { display: block; }
  .broker-details-grid.is-truncated > .broker-detail-card:nth-child(n + 5) { display: none; }
}
@media (min-width: 1140px) {
  .broker-details-grid.is-truncated > .broker-detail-card:nth-child(n + 5) { display: block; }
  .broker-details-grid.is-truncated > .broker-detail-card:nth-child(n + 9) { display: none; }
}
.broker-detail-card {
  padding: var(--np-space-4) 0;
  border: 0;
  border-bottom: var(--np-hair);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.broker-card-top-row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--np-space-1); }
.broker-card-header { display: flex; align-items: center; gap: var(--np-space-2); }
.broker-card-logo-link { display: inline-flex; }
.broker-card-logo { width: var(--np-logo-sm); height: var(--np-logo-sm); border-radius: 0; box-shadow: none; }
.broker-card-name { font: 700 var(--np-type-h3)/var(--np-lh-head) var(--np-serif); color: var(--np-ink); text-decoration: none; }
.broker-card-name:hover { color: var(--np-ink); text-decoration: underline; }
.broker-card-cta-group { display: flex; gap: var(--np-space-3); }
.broker-region-badge {
  display: block;
  margin: var(--np-space-2) 0 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink-muted);
}
.broker-detail-list, .integration-list { margin: var(--np-space-2) 0 0; padding: 0; list-style: none; }
.broker-detail-list li, .integration-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--np-space-3);
  padding: var(--np-space-1) 0;
  border-bottom: var(--np-hair);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
}
.broker-detail-list li span, .integration-list li span {
  flex-shrink: 0;
  color: var(--np-ink-muted);
  text-transform: none;
  letter-spacing: var(--np-track-none);
  font-size: var(--np-type-meta);
  font-weight: 400;
}
.broker-detail-list li strong, .integration-list li strong { font-weight: 600; text-align: right; color: var(--np-ink); }
.broker-grid-expand { width: 100%; margin-top: var(--np-space-3); }
@media (min-width: 740px) { .broker-grid-expand { width: auto; } }
.connect-note { margin-top: var(--np-space-3); font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans); color: var(--np-ink-muted); }
.cta-banner {
  display: grid;
  gap: var(--np-space-3);
  padding: var(--np-space-4);
  border: var(--np-line);
  border-top: var(--np-heavy);
  background: var(--np-paper);   /* paper, not shade: a house unit, not a paid one */
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 740px) {
  .cta-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--np-space-6);
    padding: var(--np-space-5);
  }
}
.cta-banner p { max-width: var(--np-measure); margin: var(--np-space-2) 0 0; }
.cta-banner .cta-secondary { justify-self: start; }
@media (min-width: 740px) { .cta-banner .cta-secondary { justify-self: end; } }
@media (min-width: 740px) and (max-width: 1139px) {
  .compare-grid { grid-template-columns: var(--np-home-label-w-phone) repeat(7, minmax(var(--np-home-col-tablet), 1fr)); }
  .compare-grid .cell, .compare-grid .row-label { padding: var(--np-space-3) var(--np-space-2); }
  .compare-grid .value { font-size: var(--np-type-ui); overflow-wrap: break-word; }
  .action-button { padding: 0 var(--np-space-3); white-space: normal; } /* may take two lines inside the same 44px */
}
@media (max-width: 739px) {
  .compare-grid { grid-template-columns: var(--np-home-label-w-phone) repeat(7, var(--np-home-col-phone)); }
  .broker-name { min-height: 0; } /* 200px columns fit every name on one line: no gap under the logo */
  .compare-card { scroll-snap-type: x proximity; }
  .compare-grid .cell { scroll-snap-align: start; }
  .compare-grid .row-label { position: sticky; left: 0; z-index: 1; background: var(--np-paper); }
}
@media (min-width: 740px) {
  .broker-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .broker-detail-card { padding: var(--np-space-4); }
  .broker-detail-card:nth-child(2n + 1) { padding-left: 0; }
  .broker-detail-card:nth-child(2n) { border-left: var(--np-hair); }
  .integration-list li { font-size: var(--np-type-note); }
}
@media (min-width: 1140px) {
  .broker-details-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .broker-detail-card:nth-child(n) { padding-left: var(--np-space-4); border-left: var(--np-hair); }
  .broker-detail-card:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
}

/* 22. Broker pages */
.broker-hero .hero-layout { display: grid; grid-template-columns: 1fr; gap: var(--np-space-5); }
.broker-identity { display: flex; align-items: center; gap: var(--np-space-3); margin-bottom: var(--np-space-3); }
.broker-logo-wrap {
  flex: 0 0 var(--np-logo-lg);
  width: var(--np-logo-lg);
  height: var(--np-logo-lg);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.broker-logo-wrap img { width: var(--np-logo-lg); height: var(--np-logo-lg); }
.broker-identity-info { display: flex; flex-direction: column; gap: var(--np-space-1); }
.broker-identity-info h1 { margin: 0; }
.promo-teaser {
  max-width: var(--np-measure);
  margin: 0 0 var(--np-space-4);
  padding: var(--np-space-2) 0;
  border-top: var(--np-hair);
  border-bottom: var(--np-hair);
  font: 400 var(--np-type-ui)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);
}
.promo-teaser a { padding: 0; background: none; border: 0; border-radius: 0; font-weight: 700; color: var(--np-link); }
.hero-left .promo-teaser { max-width: none; } /* its hairlines match the dateline's width */
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--np-space-3); }
.hero-cta-row .btn-open-account { min-height: var(--np-cta-hero-h); min-width: var(--np-cta-hero-w); font-size: var(--np-type-button-hero); }
.hero-cta-row .btn-connect { min-height: var(--np-cta-hero-h); }
.integration-card {
  padding: var(--np-space-3) 0 0;
  background: none;
  border: 0;
  border-top: var(--np-heavy);
  border-radius: 0;
  box-shadow: none;
}
.integration-card h3 {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.proscons-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: var(--np-space-3); border-top: var(--np-line); }
.pros-col, .cons-col { padding: var(--np-space-4) 0; background: none; border: 0; border-radius: 0; }
.pros-col h3, .cons-col h3 { margin: 0 0 var(--np-space-3); color: var(--np-ink); }
.pros-col ul, .cons-col ul { margin: 0; padding-left: var(--np-space-5); }
.pros-col li, .cons-col li { margin-bottom: var(--np-space-2); font: 400 var(--np-type-compact)/var(--np-lh-body) var(--np-serif); }
.pros-col li::marker { color: var(--np-positive); }
.cons-col li::marker { color: var(--np-negative); }
.about-block { font: 400 var(--np-type-body)/var(--np-lh-body) var(--np-serif); }
.about-block h3 { margin: 0 0 var(--np-space-3); }
.legal-disclaimer {
  max-width: var(--np-measure);
  margin-top: var(--np-space-4);
  padding: var(--np-space-3) 0 0;
  background: none;
  border: 0;
  border-top: var(--np-hair);
  border-radius: 0;
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
.legal-disclaimer strong { color: var(--np-ink); }
@media (max-width: 739px) { .hero-cta-row > a { flex: 1 1 100%; } }
@media (min-width: 740px) and (max-width: 1139px) {
  /* The fact box sits in the hero's right 4 columns here (fix pass 4): each row stacks its label over its value. */
  .broker-hero .integration-list li { display: block; }
  .broker-hero .integration-list li span, .broker-hero .integration-list li strong { display: block; text-align: left; }
}
@media (min-width: 740px) {
  .proscons-grid { grid-template-columns: 1fr 1fr; }
  .pros-col { padding-right: var(--np-space-5); }
  .cons-col { padding-left: var(--np-space-5); border-left: var(--np-hair); }
}
@media (min-width: 740px) {
  /* About (8 columns) with the disclaimer as a 4-column side note behind a column rule. */
  .section-wrap > .content-wrap:has(> .about-block) {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: var(--np-space-6);
    align-items: start;
  }
  .section-wrap > .content-wrap:has(> .about-block) > .section-label { grid-column: 1 / -1; }
  .section-wrap > .content-wrap:has(> .about-block) > .about-block { grid-column: 1; }
  .section-wrap > .content-wrap:has(> .about-block) > .legal-disclaimer {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin-top: 0;
    padding: 0 0 0 var(--np-space-5);
    border-top: 0;
    border-left: var(--np-hair);
  }
}
@media (min-width: 740px) {
  /* From 740px the fact box takes the right 4 columns, the rail the method box and the disclaimer side note use
     (fix pass 4; it replaces the full-width two-column fact box of decision 6). */
  .broker-hero .hero-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: var(--np-space-6);
    align-items: start;
  }
}
@media (min-width: 1140px) {
  .broker-hero .hero-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--np-space-6);
    align-items: start;
  }
}

/* 23. Phone hit areas: standalone small links get a 44px box; negative margins keep the layout where it was. */
/* .np-hit is the same box for any other standalone link (the directory's broker names, v1.9). min-width covers short
   names ("IG", "SoFi"): fix round 2026-11-12. */
@media (max-width: 739px) {
  .external-source-link, .broker-name-link, .source-link, .broker-card-name, .broker-card-logo-link,
  .sidebar-card--featured-offer .featured-broker-badge, .cross-sell-card .featured-broker-badge, .np-hit {
    display: inline-flex;
    align-items: center;
    min-width: var(--np-target);
    min-height: var(--np-target);
    margin-block: calc((var(--np-target) - var(--np-one-line)) / -2);
  }
  .broker-card-logo-link { min-width: var(--np-target); justify-content: center; }
  /* The table's partner slug keeps its 16px frame, drawn behind a 44px link. */
  .broker-name-cell .featured-broker-badge {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    min-height: var(--np-target);
    margin-block: calc((var(--np-target) - var(--np-one-line)) / -2);
    border: 0;
    background: none;
  }
  .broker-name-cell .featured-broker-badge::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--np-one-line);
    transform: translateY(-50%);
    border: var(--np-line);
    background: var(--np-paper);
  }
}

/* 24. Hero method box, "In this comparison" (approved by the user 2026-11-11).
   Markup: docs/design/pilot-spec.md ("Hero method box"). From 740px the box takes the hero's right 4 columns behind a
   column rule, beside the lede (at 740px: a 440px lede column, about 48 lede characters, and a 196px box that fits
   "9 providers · 6 measures"). Below 740px it's hidden: the lede spans the column, the check date is already in the
   dateline and the lede, and the table should come first. The box stays in the HTML for crawlers. */
.np-method { display: none; }
/* Except the homepage's disclosure (fix round 2026-11-12): "Light Horse Securities is affiliated with AInvest." must sit
   wherever Light Horse is named (CLAUDE.md), and Light Horse is a column of the grid below. On phones only that line of
   the box shows, under the lede and before the grid's buttons; the box's title and scope stay hidden. */
@media (max-width: 739px) {
  .np-method--home { display: block; margin: 0 0 var(--np-space-4); }
  .np-method--home > :not(.np-method__disclosure) { display: none; }
  .np-method--home > .np-method__disclosure { margin: 0; }
}
@media (min-width: 740px) {
  .np-hero-lede {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: var(--np-space-6);
    align-items: start;
  }
  .np-method {
    display: block;
    margin: 0 0 var(--np-space-5);
    padding-left: var(--np-space-5);
    border-left: var(--np-hair);
  }
}
.np-method__title {
  margin: 0 0 var(--np-space-2);
  padding-bottom: var(--np-space-2);
  border-bottom: var(--np-line);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.np-method__scope {
  margin: 0 0 var(--np-space-1);
  font: 700 var(--np-type-button)/var(--np-lh-ui) var(--np-sans);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--np-ink);
}
.np-method__source {
  margin: 0 0 var(--np-space-2);
  font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
.np-method__source time { color: var(--np-ink); font-weight: 600; white-space: nowrap; } /* the check date never splits */
.np-method__disclosure {
  margin: 0 0 var(--np-space-2);
  font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);          /* a disclosure is never muted */
}
.np-method__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-icon);
  font: 600 var(--np-type-note)/var(--np-lh-ui) var(--np-sans);
}

/* 25. Roll-out components (bc-design 2026-11-11, standard v1.5): what the other 44 pages, 404, auth-callback and the
   static glossary use that the pilot pages don't. Every rule is scoped under .np and matches nothing on the four pilot
   pages (checked with work/design/rollout-inventory.mjs). Markup: docs/design/rollout-spec.md. */

/* 25.1 Column sub-labels in data-table heads ("$0.65/contract" + "Schwab, Fidelity…", "Rate" + "at $25K"): the sub-label
   drops to its own line in sentence case, muted, so the two never run together. */
.np .cost-table thead th > span, .np .fee-calc__results thead th > span {
  display: block;
  margin-top: var(--np-space-1);
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-none);
  text-transform: none;
  color: var(--np-ink-muted);
}

/* 25.2 The lowest figure in a row (cost tables' td.is-low, "highlighted" in the page text): bold ink, the newspaper
   table's emphasis. No colour, so it reads the same to everyone (WCAG 1.4.1). */
.np .cost-table td.is-low { font-weight: 700; color: var(--np-ink); }

/* 25.3 Numeric cost tables outside a calculator: row heads take 22% from 740px (as text tables do), so "10-lot iron
   condor" stays on one or two lines while the figures share the rest. */
@media (min-width: 740px) {
  .np .cost-table-wrap > .cost-table:not(.cost-table--text) { table-layout: fixed; }
  .np .cost-table-wrap > .cost-table:not(.cost-table--text) thead th:first-child,
  .np .cost-table-wrap > .cost-table:not(.cost-table--text) tbody th { width: var(--np-rowhead-col); }
}

/* 25.4 Wide data tables on phones (5 or more columns, which scroll inside their frame): the row heads stay frozen at the
   left edge behind a hairline, as the comparison table's Broker column does at 740-1139px. A table built to fit the
   phone (.cost-table--fit, 25.12) doesn't scroll, so it isn't frozen (fix pass 2026-11-20, v1.11); :where() keeps the
   selector's weight, so the calculator's stub layout below still overrides it. */
@media (max-width: 739px) {
  .np :is(.cost-table-wrap, .fee-calc__scroll):has(thead th:nth-child(5)):where(:not(:has(> .cost-table--fit))) :is(thead th:first-child, tbody th) {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: var(--np-rowhead-min);
    background: var(--np-paper);
    box-shadow: inset calc(-1 * var(--np-stroke-1)) 0 0 var(--np-rule);
  }
  /* A calculator with a row head and four figure columns (day-trading-platforms) can't fit 332px side by side, and a
     scroller cut its last column mid-figure. On phones its row head takes its own line over the four figures (the
     stock-table "stub over figures" layout), so nothing scrolls or clips (fix round 2026-11-12). The cells keep their
     table semantics; only their boxes change. A calculator whose row heads are long names over three figures opts in
     with .fee-calc__scroll--stub (cd-rate-comparison: "Top no-minimum bank CD (Ally, Barclays)" wrapped to four lines in
     a 111px column; fix pass 2026-11-20, v1.11). The selectors below cover both; only the column count differs. */
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) { overflow-x: visible; }
  /* The four figure columns size to their content across every row (fix round 3, v1.10): the table is the grid and
     thead, tbody and each row are subgrids, so a column is as wide as its widest head line or figure, and the spare
     width is shared equally. With fixed fractions (1.3fr 1fr 1fr 1fr) "COMMISSIONS" (91px) hung 9px into the frame's
     padding at 390, and widening it only moved the collision onto "PLATFORM". */
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) table { display: grid; grid-template-columns: repeat(4, auto); }
  .np .fee-calc__scroll--stub:has(thead th:last-child:nth-child(4)) table { grid-template-columns: repeat(3, auto); } /* three figures */
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) :is(thead, tbody) { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) tr { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) :is(thead th:first-child, tbody th) {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    padding-right: 0;
    box-shadow: none;
  }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) thead th:first-child { padding-bottom: 0; border-bottom: 0; }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) thead th:not(:first-child) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
  }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) tbody td { padding-top: 0; border-top: 0; }
  /* Its four figures share 332px in a grid, so they keep v1.9's 4px a side (13px apart, measured); the 12px left
     padding of v1.10 cut "$8,820.00". Three figures share the same width with room over, so the grid's spare width
     sets them well apart. */
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) :is(thead th, tbody td):not(:first-child) { padding-inline: var(--np-space-1); }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) :is(thead th, tbody td):last-child { padding-right: 0; }
  .np .fee-calc__scroll:is(.fee-calc__scroll--stub, :has(thead th:nth-child(5))) :is(thead th, tbody td):nth-child(2) { padding-left: 0; }
}
/* Narrow phones (below 380px; a component exception to the two breakpoints, standard section 5 "Calculator"): the
   heads and figures need 304px at 14px and a 360px phone gives the frame 302px, so this calculator's figures take the
   meta size (13px; 295px). Below 360px even that can't fit, and the results scroll inside the frame, never the page. */
@media (max-width: 379px) {
  .np .fee-calc__scroll:has(thead th:nth-child(5)) { overflow-x: auto; }
  .np .fee-calc__scroll:has(thead th:nth-child(5)) tbody td { font-size: var(--np-size-13); }
  /* While the figures scroll, each row head stays whole: one frame wide (the viewport less the gutters, the frame's
     padding and its border) and pinned at the left. */
  .np .fee-calc__scroll:has(thead th:nth-child(5)) :is(thead th:first-child, tbody th) {
    position: sticky;
    left: 0;
    justify-self: start;
    width: calc(100vw - 2 * (var(--np-gutter) + var(--np-space-3) + var(--np-stroke-1)));
  }
}

/* 25.5 One sort order only (a single sortable column that's already the default, 9 pages): no false affordance. The
   "Select a column heading to re-sort" hint and the phone select go; the sort note stays on phones. */
.np .topic-section:has(th[aria-sort] > .broker-sort-btn):not(:has(th[data-col] ~ th[data-col])) .np-sort-hint { display: none; } /* only sortable heads carry data-col */
@media (max-width: 739px) {
  .np .np-sort:not(:has(option + option)) { display: none; }
  .np .topic-section:not(:has(.np-sort option + option)) .broker-sort-note { display: block; }
}

/* 25.6 No account link for a row (a free site or an official source: .promo-none "—"): a muted dash under the column's
   buttons on desktop; on phones the row simply ends, since a lone dash under the figures says nothing. A block, so the
   dash starts at the ACCOUNT head's and the buttons' left edge: the cell is right-aligned, and an inline box sat at its
   right, 91px in from the head at 1440 (fix pass 2026-11-20, v1.11; cd-rate-comparison, billionaire-portfolio-tracker). */
.np .broker-summary-table .promo-none { display: block; text-align: left; color: var(--np-ink-muted); }
@media (max-width: 739px) {
  .np .broker-summary-table td.broker-cta-cell:has(> .promo-none:only-child) { display: none; }
}

/* 25.7 In-section disclosure (details.topic-details, 3 pages: "How to compare margin rates properly"): the FAQ's
   look, a ruled row with a +/- sign, its list the check list. */
.np .topic-details {
  max-width: var(--np-measure);
  margin: var(--np-space-5) 0 0;
  padding: 0;
  border: 0;
  border-top: var(--np-line);
  border-bottom: var(--np-hair);
  border-radius: 0;
  background: none;
}
.np .topic-details > summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--np-space-4);
  min-height: var(--np-target);
  margin: 0;
  padding: var(--np-space-3) 0;
  cursor: pointer;
  list-style: none;
  font: 600 var(--np-size-18)/var(--np-lh-ui) var(--np-serif);
  color: var(--np-ink);
}
.np .topic-details > summary::-webkit-details-marker { display: none; }
.np .topic-details > summary::after { content: "+"; flex: 0 0 auto; font: 400 var(--np-type-sign)/var(--np-lh-solid) var(--np-sans); color: var(--np-ink); }
.np .topic-details[open] > summary::after { content: "\2212"; }
.np .topic-details > ul { margin: 0; padding: 0 0 var(--np-space-3); list-style: none; }
.np .topic-details > ul > li {
  position: relative;
  padding: var(--np-space-2) 0 var(--np-space-2) var(--np-space-6);
  border-top: var(--np-hair);
  font: 400 var(--np-type-compact)/var(--np-lh-body) var(--np-serif);
}
.np .topic-details > ul > li::before {
  content: "";
  position: absolute;
  left: var(--np-space-1);
  top: calc(var(--np-space-2) + (var(--np-type-compact) * var(--np-lh-body) - var(--np-bullet)) / 2);
  width: var(--np-bullet);
  height: var(--np-bullet);
  background: var(--np-ink);
}

/* 25.8 Note under a reward table (E*Trade's tier note): the cost note. */
.np .reward-table-note {
  max-width: var(--np-measure);
  margin: var(--np-space-2) 0 var(--np-space-4);
  font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
/* A source link is one unit: "Offer terms on kraken.com" moves whole to the next line rather than breaking after "on"
   (fix round 3, v1.10). The longest (31 characters) is about 220px, inside a 320px phone. */
/* The check date is one unit too ("Nov 11, / 2026" split at 390). */
.np .reward-table-note a, .np .reward-table-note time, .np .np-offers__link { white-space: nowrap; }

/* 25.9 Pick briefs in fours and fives (3 pages): no empty cells. Four sit 2 x 2. Five sit 3 + 2 from 740px, the last two
   wider (v1.9, fix round 2026-11-12: the v1.5 "2 + 2 + 1" left the fifth brief beside about 450px of blank paper at
   1024; three columns are 215px at 740, a newspaper column of about 29 characters). Another odd count's last brief
   still spans the row at 740-1139px. */
@media (min-width: 740px) {
  .np .pick-grid > .pick-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .np .pick-grid > .pick-card:last-child:nth-child(odd) p { max-width: var(--np-measure); }
  .np .pick-grid:has(> .pick-card:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .np .pick-grid:has(> .pick-card:nth-child(5):last-child) > .pick-card { grid-column: span 2; padding-left: var(--np-space-4); border-left: var(--np-hair); }
  .np .pick-grid:has(> .pick-card:nth-child(5):last-child) > .pick-card:nth-child(n + 4) { grid-column: span 3; }
  .np .pick-grid:has(> .pick-card:nth-child(5):last-child) > .pick-card:is(:nth-child(1), :nth-child(4)) { padding-left: 0; border-left: 0; }
}
@media (min-width: 1140px) {
  .np .pick-grid:has(> .pick-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np .pick-grid:has(> .pick-card:nth-child(4):last-child) > .pick-card:nth-child(n) { padding-left: var(--np-space-4); border-left: var(--np-hair); }
  .np .pick-grid:has(> .pick-card:nth-child(4):last-child) > .pick-card:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* 25.10 404 (public/404.html): masthead, h1 and one line (its homepage link inline), the six Compare Brokers groups as
   an index, footer. */
.np .np-notfound { padding: var(--np-space-6) 0 0; }
.np .np-notfound__lede {
  max-width: var(--np-measure);
  margin: 0 0 var(--np-space-6);
  font: 400 var(--np-type-lede)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
  text-wrap: pretty;
}
.np .np-index { padding-top: var(--np-space-3); border-top: var(--np-heavy); }
.np .np-index__title { margin: 0 0 var(--np-space-3); font: 700 var(--np-type-h2)/var(--np-lh-head) var(--np-serif); }
.np .np-index__groups { display: grid; grid-template-columns: 1fr; border-top: var(--np-line); }
.np .np-index__group { padding: var(--np-space-4) 0; border-bottom: var(--np-hair); }
.np .np-index__group h3 {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.np .np-index__group ul, .np .np-glossary__terms { margin: 0; padding: 0; list-style: none; }
.np .np-index__group a {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-target);
  font: 400 var(--np-type-compact)/var(--np-lh-ui) var(--np-serif);
}
@media (min-width: 740px) {
  .np .np-index__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np .np-index__group { padding: var(--np-space-4); }
  .np .np-index__group:nth-child(odd) { padding-left: 0; }
  .np .np-index__group:nth-child(even) { border-left: var(--np-hair); }
  .np .np-index__group a { min-height: var(--np-icon); }
}
@media (min-width: 1140px) {
  .np .np-index__groups { grid-template-columns: repeat(var(--np-index-cols), minmax(0, 1fr)); }
  .np .np-index__group:nth-child(n) { padding-left: var(--np-space-4); border-left: var(--np-hair); }
  .np .np-index__group:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}

/* 25.11 Static glossary (bc-seo's proposal, backlog item 12): the A-Z index on /education/ and one page per term at
   /education/<term-slug>. Markup: rollout-spec.md, "Glossary". */
.np .np-glossary, .np .np-term { padding: var(--np-space-6) 0 0; }
.np .np-crumbs {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink-muted);
}
.np .np-crumbs a { color: var(--np-ink); text-decoration-color: var(--np-rule); }
.np .np-crumbs a:hover { text-decoration-color: var(--np-ink); }
/* The React search mounts above the A-Z: its height is reserved here, in the stylesheet every page loads first, so the
   index never moves when it arrives. The same reserve as a Tailwind class on #root only applied once the app's CSS
   loaded: on the dev server that's after first paint, and the A-Z moved 121px (CLS 0.05-0.09, fix round 2026-11-12). */
.np .np-glossary #root { min-height: var(--np-reserve-search); }
.np .np-glossary__lede, .np .np-term__definition {
  max-width: var(--np-measure);
  margin: 0 0 var(--np-space-5);
  font: 400 var(--np-type-lede)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
  text-wrap: pretty;
}
/* The A-Z row is a grid whose rows always fill (fix round 2026-11-12: the wrapping row stranded "W Y Z 0-9" at 1024 and
   "Z 0-9" at 390). 26 letters plus "0-9", which takes two cells: 28 cells, so 7 x 4 on phones (51px cells at 390),
   14 x 2 on tablets and 28 x 1 on desktops. X has no terms: a muted letter, not a link (bc-frontend's markup). */
.np .np-glossary__letters {
  display: grid;
  grid-template-columns: repeat(var(--np-az-cols), minmax(0, 1fr));
  margin: 0 0 var(--np-space-5);
  padding: var(--np-space-1) 0;
  border-top: var(--np-line);
  border-bottom: var(--np-hair);
}
.np .np-glossary__letters > :last-child { grid-column: span 2; }
.np .np-glossary__letters > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--np-target);
  font: 700 var(--np-type-ui)/var(--np-lh-solid) var(--np-sans);
  text-decoration: none;
  color: var(--np-ink);
}
.np .np-glossary__letters a:hover { text-decoration: underline; }
.np .np-glossary__letters .np-glossary__noterms { font-weight: 400; color: var(--np-ink-muted); }
.np .np-glossary__letter { padding-top: var(--np-space-3); border-top: var(--np-heavy); margin-top: var(--np-space-6); }
.np .np-glossary__letter > h2 { margin: 0 0 var(--np-space-3); font: 700 var(--np-type-h2)/var(--np-lh-head) var(--np-serif); }
.np .np-glossary__terms { columns: 1; column-gap: var(--np-space-6); column-rule: var(--np-hair); }
.np .np-glossary__terms li { break-inside: avoid; padding: var(--np-space-1) 0; border-top: var(--np-hair); }
.np .np-glossary__terms a {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-target);
  font: 400 var(--np-type-compact)/var(--np-lh-ui) var(--np-serif);
}
.np .np-glossary__cat { margin-left: var(--np-space-2); font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink-muted); }
@media (max-width: 739px) { .np .np-glossary__terms a { min-width: var(--np-target); } } /* "Ask", "ADR": 44px wide targets */
@media (min-width: 740px) {
  .np .np-glossary__terms { columns: 2; }
  .np .np-glossary__terms a { min-height: var(--np-icon); }
}
@media (min-width: 1140px) { .np .np-glossary__terms { columns: var(--np-index-cols); } }
.np .np-term__related { max-width: var(--np-measure); margin: var(--np-space-6) 0 0; padding-top: var(--np-space-3); border-top: var(--np-heavy); }
/* From 740px the related comparisons sit beside the definition in the right 4 columns, as the hero method box does. */
@media (min-width: 740px) {
  .np .np-term__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--np-space-6); align-items: start; }
  .np .np-term__body .np-term__related { margin: 0; padding: 0 0 0 var(--np-space-5); border-top: 0; border-left: var(--np-hair); }
}
.np .np-term__related h2 {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
}
.np .np-term__related ul { margin: 0; padding: 0; list-style: none; border-top: var(--np-line); }
.np .np-term__related li { border-bottom: var(--np-hair); }
.np .np-term__related a {
  display: flex;
  align-items: center;
  min-height: var(--np-target);
  font: 400 var(--np-type-compact)/var(--np-lh-ui) var(--np-serif);
}
.np .np-term__pager {
  display: flex;
  justify-content: space-between;
  gap: var(--np-space-4);
  max-width: var(--np-measure);
  margin: var(--np-space-6) 0 0;
  padding-top: var(--np-space-3);
  border-top: var(--np-hair);
  font: 400 var(--np-type-note)/var(--np-lh-ui) var(--np-sans);
  color: var(--np-ink-muted);
}
.np .np-term__pager > * { flex: 1 1 0; min-width: 0; } /* each half of the pager is a full-width target ("401k" was 34px) */
.np .np-term__pager a { display: block; font: 600 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans); }
.np .np-term__pager > :last-child { text-align: right; }
@media (max-width: 739px) {
  .np .np-term__pager a { display: flex; align-items: center; min-height: var(--np-target); }
  .np .np-term__pager > :last-child a { justify-content: flex-end; }
  /* Stacked under the related list on phones, the pager's own hairline sat about 30px under the list's last one: the
     list's rule closes the block (fix round 2026-11-12). */
  .np .np-term__body:has(> .np-term__related) + .np-term__pager { padding-top: 0; border-top: 0; }
}

/* 25.12 Numeric cost tables that fit a phone (.cost-table--fit, cd-rate-comparison's benchmarks: Term and four rates,
   fix pass 2026-11-20, v1.11). Five short columns fit 358px side by side if the row heads take their content's width
   and the columns sit 8px apart (4px a side, none at the outer edges): 25.4 doesn't freeze them (an 8em row head made
   the table 477px in 358px), the heads drop their tracking, and the row heads ("2 years") don't break. The firm under
   a figure is .subvalue (meta, muted, section 21). Below 380px (the calculator's exception, standard section 5) the
   table needs 330px and a 360px phone gives it 328px, so its row heads and figures take the meta size (13px), as the
   calculator's do. Below 360px, as the calculator, it scrolls inside the frame, never the page, with its row heads
   pinned as 25.4's are (pinned only there: at 360-379 it fits, and a frozen-column rule would say it scrolls). */
@media (max-width: 739px) {
  .np .cost-table-wrap > .cost-table--fit tbody th { white-space: nowrap; }
  .np .cost-table-wrap > .cost-table--fit :is(thead th, tbody th, td) { padding-inline: var(--np-space-1); }
  .np .cost-table-wrap > .cost-table--fit :is(th, td):first-child { padding-left: 0; }
  .np .cost-table-wrap > .cost-table--fit :is(th, td):last-child { padding-right: 0; }
  .np .cost-table-wrap > .cost-table--fit thead th { letter-spacing: var(--np-track-none); }
}
@media (max-width: 379px) {
  .np .cost-table-wrap > .cost-table--fit :is(tbody th, td) { font-size: var(--np-size-13); }
}
@media (max-width: 359px) {
  .np .cost-table-wrap > .cost-table--fit :is(thead th:first-child, tbody th) {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--np-paper);
    box-shadow: inset calc(-1 * var(--np-stroke-1)) 0 0 var(--np-rule);
  }
}

/* 26. "Sign-up offers compared" (bc-design 2026-11-11, standard v1.6; the user chose it on 2026-11-11). On the 13
   non-partner broker pages and schwab: the page's broker's own offer beside 2-3 paying partners' offers, directly below
   the hero buttons. A ruled box with the Advertisement slug; partner rows are shaded and carry the solid button, so the
   paid rows are the loud ones and the page's own row reads as plain editorial (no shade, no button, a text link).
   Markup: rollout-spec.md, "Sign-up offers compared". The section id is the GA4 location (offer-compare). */

/* Place: under the hero's buttons. From 740px it takes the full width under both hero columns (the hero is two columns
   from 740px since fix pass 4); below 740px that's its DOM order, between .hero-left and .hero-right. */
@media (min-width: 740px) {
  .np .broker-hero .hero-layout:has(> .np-offers) > .hero-left { grid-column: 1; grid-row: 1; }
  .np .broker-hero .hero-layout:has(> .np-offers) > .hero-right { grid-column: 2; grid-row: 1; }
  .np .broker-hero .hero-layout:has(> .np-offers) > .np-offers { grid-column: 1 / -1; grid-row: 2; }
}
.np .np-offers {
  margin: 0;
  padding: var(--np-space-4) 0 0;
  background: var(--np-paper);
  border: var(--np-line);
  border-top: var(--np-heavy);
  border-radius: 0;
  box-shadow: none;
}
.np .np-offers > .np-ad-slug, .np .np-offers__title, .np .np-offers__note { margin-inline: var(--np-space-4); }
.np .np-offers__title {
  margin-top: 0;
  margin-bottom: var(--np-space-3);
  font: 700 var(--np-type-h3)/var(--np-lh-head) var(--np-serif);
  letter-spacing: var(--np-track-none);
  color: var(--np-ink);
}
.np .np-offers__table {
  width: 100%;
  border-top: var(--np-line);
  font: 400 var(--np-type-ui)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink);
}
.np .np-offers__row > th, .np .np-offers__row > td {
  padding: var(--np-space-3) var(--np-space-4);
  border-top: var(--np-hair);
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  background: var(--np-paper);
}
.np .np-offers__row:first-child > th, .np .np-offers__row:first-child > td { border-top: 0; }
.np .np-offers__row--partner > th, .np .np-offers__row--partner > td { background: var(--np-paper-shade); }
.np .np-offers__logo {
  display: inline-block;
  width: var(--np-logo-sm);
  height: var(--np-logo-sm);
  margin-right: var(--np-space-2);
  vertical-align: middle;
  border-radius: 0;
}
.np .np-offers__name { font: 700 var(--np-type-button)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink); vertical-align: middle; }
/* A block that shrinks to its words, not display: table: a table box inherits the row's collapsed borders and drops its
   padding, so the caps touched the frame (fix round 2026-11-12). Same 4px inner padding as the table's slug. */
.np .np-offers__tag {
  display: block;
  width: fit-content;
  margin-top: var(--np-space-1);
  padding: 0 var(--np-space-1);
  background: var(--np-paper);
  border: var(--np-line);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--np-ink);
}
.np .np-offers__offer { text-wrap: pretty; }
.np .np-offers__checked { display: block; margin-top: var(--np-space-1); font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans); color: var(--np-ink-muted); }
.np .np-offers__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--np-target);
  min-width: var(--np-cta-box-w);
  padding: 0 var(--np-space-5);
  background: var(--np-accent);
  color: var(--np-on-accent);
  border: var(--np-stroke-2) solid var(--np-accent);
  border-radius: 0;
  font: 700 var(--np-type-button)/var(--np-lh-tight) var(--np-sans);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--np-ease), border-color var(--np-ease);
}
.np .np-offers__cta:hover { background: var(--np-accent-hover); border-color: var(--np-accent-hover); color: var(--np-on-accent); text-decoration: none; }
.np .np-offers__cta:active { background: var(--np-ink); border-color: var(--np-ink); }
.np .np-offers__cta:focus-visible {
  background: var(--np-accent);
  color: var(--np-on-accent);
  box-shadow: none;
  outline: var(--np-focus-ring);
  outline-offset: var(--np-space-0);
}
.np .np-offers__link { font: 600 var(--np-type-ui)/var(--np-lh-ui) var(--np-sans); }
/* No hairline over the note: the last row is always a shaded partner row, whose edge already closes the table. The
   inset hairline under a shade that runs to the frame read as a rule stopping short (fix round 2026-11-12). */
.np .np-offers__note {
  margin-top: 0;
  margin-bottom: 0;
  padding: var(--np-space-3) 0;
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
}
@media (min-width: 740px) {
  .np .np-offers { padding-top: var(--np-space-4); }
  .np .np-offers > .np-ad-slug, .np .np-offers__title, .np .np-offers__note { margin-inline: var(--np-space-5); }
  .np .np-offers__table { table-layout: fixed; }
  .np .np-offers__row > th, .np .np-offers__row > td { padding-inline: var(--np-space-5); }
  .np .np-offers__row > th { width: var(--np-offers-name-col); }
  .np .np-offers__row > td.np-offers__action { width: calc(var(--np-cta-box-w) + 2 * var(--np-space-5)); text-align: right; }
}
@media (max-width: 739px) {
  .np .np-offers__table, .np .np-offers__table tbody, .np .np-offers__row, .np .np-offers__row > th, .np .np-offers__row > td { display: block; width: 100%; }
  .np .np-offers__row > th { padding-bottom: 0; }
  .np .np-offers__row > td { border-top: 0; padding-top: var(--np-space-2); }
  .np .np-offers__row > td.np-offers__offer { padding-bottom: 0; }
  .np .np-offers__row > td.np-offers__action { padding-bottom: var(--np-space-4); }
  .np .np-offers__row > td.np-offers__action:empty { display: none; }
  .np .np-offers__row:has(> td.np-offers__action:empty) > td.np-offers__offer { padding-bottom: var(--np-space-4); }
  .np .np-offers__cta { width: 100%; min-height: var(--np-cta-phone-h); }
  .np .np-offers__link { display: inline-flex; align-items: center; min-height: var(--np-target); }
  .np .np-offers__tag { display: inline-block; margin: 0 0 0 var(--np-space-2); vertical-align: middle; }
}

/* 27. Eligibility labels (bc-design 2026-11-11, standard v1.7; the user's "A now, B later"). Every partner offer says who
   it's for ("US residents", "Outside US and Canada", "Most US states and EEA", "Most countries": bc-seo's copy guide
   section 11, from bc-collector's verified terms). Written in sentence case; the CSS sets the caps.
   Quiet metadata, never a warning: the kicker's caps in muted ink, no frame, no colour, no icon. It sits directly with
   the offer it qualifies. data-eligibility carries the machine value a later "Where do you live?" switch will read.
   Markup: rollout-spec.md, "Eligibility labels". */
.np .np-elig {
  display: block;
  margin: 0 0 var(--np-space-1);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--np-ink-muted);
}
/* Offer box rows: the first line of the offer cell, above the offer text. */
.np .np-offers__offer > .np-elig { margin-bottom: var(--np-space-0); }
/* Featured Offer, repeat-offer and cross-sell cards: a row under the broker's name, beside the logo. */
.np :is(.sidebar-card--featured-offer, .cross-sell-card):has(> .np-elig) {
  grid-template-areas: "slug slug" "logo kick" "logo head" "logo elig" "desc desc" "disc disc" "cta cta";
}
.np :is(.sidebar-card--featured-offer, .cross-sell-card) > .np-elig { grid-area: elig; margin: 0; }
@media (min-width: 740px) {
  .np :is(.sidebar-card--featured-offer, .cross-sell-card):has(> .np-elig) {
    grid-template-areas: "slug slug slug" "logo kick cta" "logo head cta" "logo elig cta" "logo desc cta" "logo disc cta";
  }
}
/* Hero offer line on partner broker pages (.promo-teaser) and the TradeStation strip (v1.9, fix round 2026-11-12): the
   label is the first line above the offer's words, as in the offer box's cells. The strip runs on 22 pages, the
   Canadian and Australian broker pages among them, and TradeStation pays on US accounts only. */
.np .promo-teaser > .np-elig, .np .promo-banner__text > .np-elig { margin-bottom: var(--np-space-0); }
/* Homepage grid: under each column's name and stars. Here it's set as the grid's own sub-values are ("Fees", "Min.
   Deposit"): meta size, muted, sentence case, and it may use the cell's padding. Caps at 0.08em need 153px for "Most US
   states, EEA" in 103-118px columns, so they wrapped at every width (fix round 2026-11-12, v1.9): now one line from
   1140px and at most two at 740-1139px. */
.np .compare-row .cell.top > .np-elig {
  margin: var(--np-space-1) 0 0;
  font: 400 var(--np-type-meta)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-none);
  text-transform: none;
  text-align: center;
  white-space: normal;
}
@media (min-width: 740px) {
  .np .compare-row .cell.top > .np-elig { margin-inline: calc(-1 * var(--np-space-2)); }
}
/* At 1140px and up the grid's cells have 8px side padding, as at 740-1139px (v1.9): at 1140 the columns are 129px,
   and "Stocks/Options" (112px) and the 108px button need the room. */
@media (min-width: 1140px) {
  .compare-grid .cell, .compare-grid .row-label { padding-inline: var(--np-space-2); }
}
/* Subtopic table partner rows: its own line directly under the "Special Offer" tag (beside it, it wraps unevenly in the
   18-22% Broker column). */
.np .broker-name-cell .np-elig { margin: var(--np-space-1) 0 0; }

/* 28. Transparency build (bc-design 2026-12-01, standard v1.13; approved by the user 2026-12-01). New classes only: no
   rule here matches anything on a page built before v1.13. Markup: newsprint-standard.md, "Build contract (v1.13)". */

/* 28.1 Prose page (.np-doc: /about, /editorial-standards). Masthead, optional kicker, h1, dateline, then .np-hero-lede
   with the lede and, from 740px, the "About this site" rail in the right 4 columns (the method box's rail); then the
   body under a heavy rule. No promo strip, ad slots or Advertisement slugs: these pages explain the ad policy. */
.np .np-doc { padding: var(--np-space-6) 0 0; }
.np .np-doc__lede {
  max-width: var(--np-measure);
  margin: 0;
  font: 400 var(--np-type-lede)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
  text-wrap: pretty;
}
/* The hero's last margin is the body's: 48px from the lede (or the rail, if it runs longer) to the heavy rule. */
.np .np-method--doc { margin-bottom: 0; }
.np .np-doc__body {
  margin-top: var(--np-space-7);
  padding-top: var(--np-space-3);
  border-top: var(--np-heavy);
}
/* v1.14: one 8 + 4 grid for the whole page (.np-doc__grid replaces .np-hero-lede here). The lede and the body share the
   left 8 columns, so the body's heavy rule stops at the column rule; the rail spans both rows and pins under the masthead
   while the body scrolls, so the right column always holds the page set and "Report an error" instead of 1,200-2,300px
   of blank paper. The rail is shorter than any viewport (131-164px), so pinning never hides a row. Below 740px it's a
   plain stack and the rail stays hidden (.np-method). */
@media (min-width: 740px) {
  .np .np-doc__grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: var(--np-space-6);
    align-items: start;
  }
  .np .np-doc__grid > .np-doc__lede { grid-column: 1; grid-row: 1; }
  .np .np-doc__grid > .np-doc__body { grid-column: 1; grid-row: 2; }
  .np .np-doc__grid > .np-method--doc {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--np-header-h) + var(--np-space-5));
  }
}
.np .np-doc__body > :is(p, ul, ol, h2, h3) { max-width: var(--np-measure); }
.np .np-doc__body p, .np .np-doc__body li {
  font: 400 var(--np-type-body)/var(--np-lh-body) var(--np-serif);
  color: var(--np-ink);
  text-wrap: pretty;
}
/* Subheads keep 600 words reading as one argument: 32px above, no rule (a rule every few paragraphs would chop the
   page into modules, as on a comparison page). The first sits on the body's heavy rule, as a section head does. */
.np .np-doc__body h2 {
  margin: var(--np-space-6) 0 var(--np-space-3);
  font: 700 var(--np-type-h2)/var(--np-lh-head) var(--np-serif);
  letter-spacing: var(--np-track-none);
  color: var(--np-ink);
}
.np .np-doc__body > h2:first-child { margin-top: 0; }
.np .np-doc__body :is(ul, ol) { padding-left: var(--np-space-5); }
.np .np-doc__body ul { list-style: disc; }
.np .np-doc__body li { margin: 0 0 var(--np-space-2); }
.np .np-doc__body li::marker { color: var(--np-ink); }
.np .np-doc__body a:visited { color: var(--np-link-visited); }
/* Fine print ("General Information"): the disclosure block's look. A 1px ink rule, the head in the label style (still an
   h2 for the outline), the text at note size in ink: a disclosure is never muted. If a body section follows it, that
   section's h2 keeps its 32px. */
.np .np-doc__fine {
  max-width: var(--np-measure);
  margin: var(--np-space-6) 0 0;
  padding-top: var(--np-space-3);
  border-top: var(--np-line);
}
.np .np-doc__fine h2 {
  margin: 0 0 var(--np-space-2);
  font: 700 var(--np-type-label)/var(--np-lh-ui) var(--np-sans);
  letter-spacing: var(--np-track-caps);
  text-transform: uppercase;
  color: var(--np-ink);
}
.np .np-doc__fine p { margin: 0 0 var(--np-space-2); font: 400 var(--np-type-note)/var(--np-lh-body) var(--np-sans); color: var(--np-ink); }
@media (max-width: 739px) {
  .np .np-doc__body { margin-top: var(--np-space-6); }
}

/* 28.2 The rail's list (.np-method__list in .np-method--doc): hairline rows, the current page as unlinked ink 600 with
   aria-current="page", the others as .np-method__link (sans 14/600 accent, underlined, at least 24px tall). Hidden with
   the box below 740px, where it would repeat links the body and the footer carry. */
.np .np-method__list { margin: 0; padding: 0; list-style: none; }
.np .np-method__list > li {
  margin: 0;
  padding: var(--np-space-1) 0;
  border-bottom: var(--np-hair);
  font: 400 var(--np-type-note)/var(--np-lh-ui) var(--np-sans);
}
.np .np-method__list > li:last-child { border-bottom: 0; }
.np .np-method__list [aria-current="page"]:not(a) {
  display: inline-flex;
  align-items: center;
  min-height: var(--np-icon);
  font-weight: 600;
  color: var(--np-ink);
}

/* 28.3 The dateline's byline link ("AInvest Editorial Team" -> /about#editorial-team). Metadata, so ink, not accent:
   ink on the muted dateline is 2.27:1 and accent 1.13:1, so colour can't mark the link either way and the underline
   stays on (WCAG G183). Never splits across the dateline's wrap. No visited colour: it's a recurring link. */
.np .page-meta a {
  color: var(--np-ink);
  font-weight: 400;
  text-decoration-line: underline;
  text-decoration-color: var(--np-ink-muted);
  text-decoration-thickness: var(--np-stroke-1);
  text-underline-offset: var(--np-underline);
  white-space: nowrap;
}
.np .page-meta a:visited { color: var(--np-ink); }
.np .page-meta a:hover { color: var(--np-ink); text-decoration-color: var(--np-ink); text-decoration-thickness: var(--np-stroke-2); }
/* Phones: a transparent box 44px tall, centred on the words, widens the tap area without moving a line. (Inline
   padding would too, but the focus highlight would then paint 44px tall over the dateline's second line.) Nothing
   interactive sits within it: the dateline's <time>s aren't links, and its 12px padding and hairline are below. */
@media (max-width: 739px) {
  .np .page-meta a { position: relative; }
  .np .page-meta a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - var(--np-target) / 2);
    height: var(--np-target);
  }
}

/* 28.4 Supported Brokers menu: the Light Horse note at the end of the US group, by the link it qualifies. At 390 the
   open panel scrolls inside itself and the US group ends about 318px in, so the note is on screen when the menu opens.
   Not a link and not a target: smaller, muted, sentence case, ruled off, no hover. Never inside an <a> (tracking.js
   reads every link in .dropdown-panel). */
.dropdown-note {
  grid-column: 1 / -1;
  margin: var(--np-space-2) 0 0;
  padding-top: var(--np-space-2);
  border-top: var(--np-hair);
  font: 400 var(--np-type-meta)/var(--np-lh-body) var(--np-sans);
  color: var(--np-ink-muted);
  cursor: default;
}
/* Phones: the groups stack, so the note closes the US group with the same space to the next head as a link's text has
   (its 12px padding): 28px, not 16px. */
@media (max-width: 739px) {
  .dropdown-note { margin-bottom: var(--np-space-3); }
}
