/* ==========================================================================
   Rulebook Wealth — public marketing stylesheet
   Light, technical, data-dense but airy. All-caps kickers, stat rows,
   tab switchers, icon grids, dark code blocks, logo grids, two-column footer.
   The logged-in portal uses portal.css and is not affected by this file.
   ========================================================================== */

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* surfaces */
  --bg: #ffffff;
  --bg-2: #f4f7fa;
  --bg-3: #eaeff5;
  --surface: #ffffff;
  --ink: #10151c;
  --ink-2: #2c3541;
  --muted: #4a5464;
  --muted-2: #616c7d;
  --line: #e0e6ee;
  --line-2: #ccd5e0;

  /* accent */
  --accent: #0e6ad6;
  --accent-2: #0fa3a3;
  --accent-ink: #0a4c96;
  /* teal dark enough to carry white text, and to sit on the pale teal wash */
  --accent-2-ink: #0b7c7c;
  --accent-soft: #e8f1fd;
  --accent-soft-2: #e2f5f4;

  /* semantic (also read by charts.js) */
  --up: #10924f;
  --down: #cf3a37;
  /* the same two semantics, dark enough for a figure at 7:1 on white */
  --up-ink: #0a6636;
  --warn-ink: #6f4a0c;
  --down-ink: #a3211e;
  --warn: #c8871a;
  --info: #0fa3a3;

  /* dark blocks */
  --dark: #0d1420;
  --dark-2: #131c2a;
  --dark-line: rgba(255, 255, 255, .11);
  --dark-ink: #dbe4f0;
  --dark-muted: #a7b4c8;

  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, .06), 0 22px 60px rgba(15, 27, 45, .10);

  --core-modal-bg: #0d1420;
  --core-modal-fg: #dbe4f0;
  --core-modal-border: rgba(255, 255, 255, .13);
  --core-accent: #0f6fde;
  --core-up: #10924f;
  --core-down: #cf3a37;
  --core-warn: #c8871a;
  --core-radius: 10px;
  --core-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------- base --- */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

/* everything neutralised for a visitor who asked for less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0ms !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.16; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.033em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.028em; }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; }
b, strong { font-weight: 650; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
kbd {
  font: 600 .78rem/1 var(--font-mono); background: var(--bg-2); border: 1px solid var(--line-2);
  border-bottom-width: 2px; border-radius: 5px; padding: .18rem .38rem; color: var(--ink);
}
::selection { background: #cfe3fb; }

/* ------------------------------------------------------------ utility --- */
.wrap { width: min(1220px, 100% - 3rem); margin-inline: auto; }
.wrap--mid { width: min(960px, 100% - 3rem); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 3rem); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.09rem; line-height: 1.68; color: var(--muted); }
.grow { flex: 1 1 auto; }
.mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.6rem } .mt-4 { margin-top: 2.4rem }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.6rem }
.textlink { font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: .35rem; }
.textlink::after { content: "→"; transition: transform .15s; }
.textlink:hover::after { transform: translateX(3px); }
.hair--short { width: 64px; margin: 2.2rem auto; border-top: 2px solid var(--accent); }

/* --------------------------------------------------------- the kicker --- */
.label {
  display: block; font-size: .70rem; font-weight: 750; letter-spacing: .17em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 .7rem;
}
.label--ink { color: var(--muted-2); }
.label--cream { color: #6fb6ff; }
.band--green .label, .dark .label { color: #6fb6ff; }

/* ------------------------------------------------------------- bands --- */
.band { padding: 84px 0; padding-inline: max(1.5rem, calc((100% - 1220px) / 2)); }
.band > * { width: auto; margin-inline: 0; }
.band > .wrap--mid { width: min(960px, 100%); margin-inline: auto; }
.band > .wrap--narrow { width: min(720px, 100%); margin-inline: auto; }
.band--tight { padding-block: 52px; }
.band--cream2 { background: var(--bg-2); border-block: 1px solid var(--line); }
.band--green { background: var(--dark); color: var(--dark-ink); }
.band--green h1, .band--green h2, .band--green h3, .band--green h4 { color: #fff; }
.band--green .lead, .band--green .muted { color: var(--dark-muted); }
.band--green b, .band--green strong { color: #fff; }
.band--green a { color: #7db9ff; }
.band__head { max-width: 760px; margin: 0 0 2.6rem; }
.band__head.center, .center > .band__head { margin-inline: auto; }
.band__head h2 { margin-bottom: .7rem; }
.band__head .lead { margin-bottom: 0; }

/* ------------------------------------------------------------ the nav --- */
.qc-nav {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.qc-nav__bar {
  width: min(1300px, 100% - 2.4rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem; height: 66px;
}
.qc-logo { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 750; font-size: 1.06rem; letter-spacing: -.02em; }
.qc-logo:hover { text-decoration: none; color: var(--ink); }
.qc-logo .mk {
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, var(--accent), var(--accent-2-ink)); color: #fff;
  font: 750 .72rem/1 var(--font-mono); letter-spacing: .02em;
}
.qc-links { display: flex; align-items: center; gap: .2rem; flex: 1 1 auto; }
.qc-links a {
  color: var(--ink-2); font-size: .9rem; font-weight: 550; padding: .5rem .68rem; border-radius: 6px;
}
.qc-links a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.qc-links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.qc-actions { display: flex; align-items: center; gap: .6rem; }
.qc-burger {
  display: none; width: 38px; height: 34px; border: 1px solid var(--line-2); border-radius: 6px;
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.qc-burger span, .qc-burger span::before, .qc-burger span::after {
  content: ""; display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.qc-burger span::before { position: absolute; top: -5px; }
.qc-burger span::after { position: absolute; top: 5px; }
.qc-drawer { display: none; border-top: 1px solid var(--line); background: #fff; padding: .7rem 1.2rem 1.2rem; }
.qc-drawer.open { display: block; }
.qc-drawer a { display: block; padding: .62rem .2rem; color: var(--ink-2); font-weight: 550; border-bottom: 1px solid var(--line); }
.qc-drawer .pill-row { margin-top: 1rem; }
.qc-drawer .pill { flex: 1 1 auto; justify-content: center; }

/* ----------------------------------------------------------- buttons --- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font: 600 .92rem/1 var(--font); padding: .74rem 1.25rem; border-radius: var(--r);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .14s, border-color .14s, color .14s, transform .14s;
}
.pill:hover { background: var(--bg-2); border-color: var(--muted-2); color: var(--ink); text-decoration: none; }
.pill.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.solid:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.pill.gold { background: var(--accent-2-ink); border-color: var(--accent-2-ink); color: #fff; }
.pill.gold:hover { background: #096a6a; border-color: #096a6a; color: #fff; }
.pill.light { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.pill.light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff; }
.pill.ghost { border-color: transparent; background: transparent; color: var(--accent); }
.pill.ghost:hover { background: var(--accent-soft); }
.pill.sm { padding: .55rem .95rem; font-size: .86rem; }
.pill.xs { padding: .4rem .72rem; font-size: .79rem; border-radius: 6px; }
.pill.wide { width: 100%; }
.pill-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.pill-row.center { justify-content: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn:hover { color: var(--accent-ink); }

/* -------------------------------------------------------------- hero --- */
.hero { padding: 74px 0 40px; padding-inline: max(1.5rem, calc((100% - 1220px) / 2)); }
.hero > * { margin-inline: 0; }
.hero h1 { max-width: 15ch; }
.hero .lead, .hero .hero-lede { max-width: 62ch; }
.hero .pill-row { margin-top: 1.7rem; }
.hero--page { padding-block: 66px 34px; border-bottom: 1px solid var(--line); }
.hero--page h1 { max-width: 22ch; }
.hero--page .lead { max-width: 70ch; }
.hero-note { font-size: .84rem; color: var(--muted-2); margin-top: 1rem; }

/* ------------------------------------------------- dashboard mock-up --- */
.dash {
  margin-top: 2.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash__bar {
  display: flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-bottom: 1px solid var(--line);
  background: var(--bg-2); font-size: .8rem; color: var(--muted);
}
.dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.dash__bar .path { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); }
.dash__tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.dash__tile { padding: 1rem 1.15rem; border-right: 1px solid var(--line); }
.dash__tile:last-child { border-right: 0; }
.dash__tile .k { font: 700 .63rem/1 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.dash__tile .v { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.dash__tile .v small { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.dash__tile .d { font-size: .76rem; color: var(--muted); margin-top: .1rem; }
.dash__tile .d.up { color: var(--up-ink); } .dash__tile .d.down { color: var(--down-ink); }
.dash__body { display: grid; grid-template-columns: 1.55fr 1fr; }
.dash__chart { padding: 1rem 1.1rem; border-right: 1px solid var(--line); min-width: 0; }
.dash__side { padding: 1rem 1.1rem; min-width: 0; }
.dash__side h4 { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .6rem; }
.alloc { width: 100%; border-collapse: collapse; font-size: .84rem; }
.alloc th { text-align: left; font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding: .3rem 0; border-bottom: 1px solid var(--line); }
.alloc td { padding: .38rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.alloc td:last-child, .alloc th:last-child { text-align: right; }
.alloc .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .45rem; vertical-align: baseline; }
.alloc .dlt.up { color: var(--up-ink); } .alloc .dlt.down { color: var(--down-ink); } .alloc .dlt.flat { color: var(--muted); }

/* --------------------------------------------------------- stat tiles --- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.3rem 1.15rem;
}
.stat .label { margin-bottom: .45rem; color: var(--muted-2); }
.stat .value { font-size: 2.1rem; font-weight: 750; color: var(--ink); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat .sub { font-size: .82rem; color: var(--muted); margin-top: .5rem; line-height: 1.45; }
.stat.off .value { color: var(--down); }
.stat.mid .value { color: var(--warn-ink); }
.stat.on .value { color: var(--up); }

/* --------------------------------------------------------- logo grids --- */
.logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem;
}
.logo-row .cap { width: 100%; text-align: center; }
.logo-row .lg-item {
  font: 650 .95rem/1 var(--font); letter-spacing: -.01em; color: var(--muted-2); white-space: nowrap;
  padding: .4rem 0; filter: grayscale(1);
}
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logo-grid .lg-item {
  background: #fff; padding: 1.1rem .8rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .28rem; min-height: 88px;
}
/* Each source carries its own monogram. The grid used to render 24 identical
   empty squares, which reads as unfinished artwork rather than a source list. */
.logo-grid .lg-item i {
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid #c9def8; font-style: normal;
  font: 650 10px/1 var(--font, system-ui); letter-spacing: .06em; text-transform: uppercase;
  color: #2a5fa6; font-variant-numeric: tabular-nums;
}
.logo-grid .lg-item i::before { content: attr(data-mk); }
.logo-grid .lg-item i[data-t="1"] { background: #eef6ee; border-color: #cfe3cf; color: #2f6b3f; }
.logo-grid .lg-item i[data-t="2"] { background: #f6f1e8; border-color: #e3d7c2; color: #866228; }
.logo-grid .lg-item i[data-t="3"] { background: #f2f0f7; border-color: #d9d4e8; color: #5a4b8a; }
.logo-grid .lg-item i[data-t="4"] { background: #f1f5f7; border-color: #d3dfe6; color: #35657a; }
.logo-grid .lg-item--filler { min-height: 88px; background: #fff; }
.logo-grid .lg-item b { font-size: .86rem; font-weight: 650; color: var(--ink); }
.logo-grid .lg-item span { font-size: .72rem; color: var(--muted-2); }

/* -------------------------------------------------------- check lists --- */
.checks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .72rem; }
.checks li { position: relative; padding-left: 1.85rem; line-height: 1.6; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .12rem; width: 20px; height: 20px; border-radius: 5px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: var(--accent-soft); color: var(--accent);
}
.band--green .checks li::before { background: rgba(111, 182, 255, .16); color: #7db9ff; }
.checks.tight li { padding-left: 1.6rem; font-size: .93rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.2rem 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; line-height: 1.62; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .05rem; width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center; font: 700 .8rem/1 var(--font-mono);
  background: var(--dark); color: #fff;
}

/* ------------------------------------------------------ tab switcher --- */
.tabs {
  display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: .8rem 1rem; cursor: pointer;
  font: 700 .74rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; margin-bottom: -1px;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
.band--green .tabs { border-bottom-color: var(--dark-line); }
.band--green .tabs button { color: var(--dark-muted); }
.band--green .tabs button.active { color: #7db9ff; border-bottom-color: #7db9ff; }

.switch-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.switch-panel h3 { font-size: 1.5rem; letter-spacing: -.025em; }

/* ------------------------------------------------------- code blocks --- */
pre {
  background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); padding: 1.15rem 1.3rem;
  overflow-x: auto; margin: 1.2rem 0; border: 1px solid #1d2839; box-shadow: var(--shadow);
}
pre code { font: 400 .84rem/1.72 var(--font-mono); background: none; padding: 0; color: inherit; white-space: pre; }
code { font: 400 .87em/1.5 var(--font-mono); background: var(--bg-3); border-radius: 4px; padding: .1rem .34rem; color: var(--ink); }
.band--green code { background: rgba(255, 255, 255, .1); color: #dbe4f0; }
pre .k { color: #7ea6ff; } /* keyword */
pre .s { color: #86d99a; } /* string */
pre .n { color: #e9b872; } /* number */
pre .c { color: #b3bdcc; font-style: italic; } /* comment */
pre .f { color: #d6a8ff; } /* function */
pre .p { color: #94a3b8; } /* punctuation */
.code-head {
  display: flex; align-items: center; gap: .6rem; background: var(--dark-2); color: var(--dark-muted);
  border: 1px solid #1d2839; border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: .55rem 1.1rem; font: 600 .72rem/1 var(--font-mono); letter-spacing: .04em;
}
.code-head + pre { border-radius: 0 0 var(--r-lg) var(--r-lg); margin-top: 0; }
.code-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #33415a; }

/* ---------------------------------------------------------- sleeves --- */
.sleeves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sleeve { background: #fff; padding: 1.5rem 1.4rem; }
.sleeve .ico {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; margin-bottom: .8rem;
  font-size: 1rem; background: var(--accent-soft); color: var(--accent-ink);
}
.sleeve h3 { font-size: 1rem; margin-bottom: .35rem; }
.sleeve p { font-size: .89rem; color: var(--muted); margin: 0; line-height: 1.6; }
.sleeve .band-note { display: inline-block; margin-top: .6rem; font: 600 .72rem/1 var(--font-mono); color: var(--accent-ink); background: var(--accent-soft); border-radius: 4px; padding: .25rem .45rem; }

/* ------------------------------------------------------- icon triple --- */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.triptych > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; }
.band--green .triptych > div { background: var(--dark-2); border-color: var(--dark-line); }
.triptych .glyph {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; margin-bottom: .9rem;
  background: var(--accent-soft); color: var(--accent); font-size: 1.1rem;
}
.triptych .roman {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; margin-bottom: .9rem;
  background: var(--accent); color: #fff; font: 700 .82rem/1 var(--font-mono);
}
.triptych p { font-size: .93rem; color: var(--muted); }
.band--green .triptych p { color: var(--dark-muted); }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
/* grid children default to min-width:auto, which lets a wide table or code block
   push the column past the page. Let them shrink so the inner scroller does its job. */
.two-up > *, .duet > *, .triptych > *, .vs > *, .brief-band > *, .switch-panel > *,
.docs-layout > *, .stat-row > *, .flow > * { min-width: 0; }
.duet { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.duet--rev .duet__text { order: 2; }
.duet__text h2 { margin-top: .2rem; }

/* -------------------------------------------------- workflow diagram --- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2rem; }
.flow__step { position: relative; padding: 1.3rem 1.2rem; background: #fff; border: 1px solid var(--line); }
.flow__step:not(:last-child) { border-right: 0; }
.flow__step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.flow__step:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.flow__step .n { font: 700 .68rem/1 var(--font-mono); color: var(--accent-ink); letter-spacing: .1em; }
.flow__step h4 { margin: .5rem 0 .3rem; font-size: .98rem; }
.flow__step p { font-size: .84rem; color: var(--muted); margin: 0; }
.flow__step::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 13px; height: 13px; z-index: 2;
  transform: translateY(-50%) rotate(45deg); background: #fff;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line);
}
.flow__step:last-child::after { display: none; }

/* ----------------------------------------------- build vs buy compare --- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.vs__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.6rem; background: #fff; }
.vs__card.win { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.vs__card h3 { display: flex; align-items: center; gap: .6rem; }
.vs__card .badge { font: 700 .64rem/1 var(--font); letter-spacing: .11em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 5px; background: var(--bg-3); color: var(--muted); }
.vs__card.win .badge { background: var(--accent-soft); color: var(--accent-ink); }
.vs__meter { margin-top: 1.1rem; }
.vs__meter .row { display: grid; grid-template-columns: 116px 1fr 60px; gap: .7rem; align-items: center; margin-bottom: .55rem; font-size: .84rem; }
.vs__meter .bar { height: 8px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.vs__meter .bar i { display: block; height: 100%; border-radius: 99px; background: var(--muted-2); }
.vs__card.win .vs__meter .bar i { background: var(--accent); }
.vs__meter .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }

/* ------------------------------------------------ testimonial carousel --- */
.tcar { position: relative; }
.tcar__view { overflow: hidden; }
.tcar__track { display: flex; transition: transform .42s cubic-bezier(.4, 0, .2, 1); }
.tcar__card { flex: 0 0 100%; padding: 0 .6rem; }
.tcar__inner { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.2rem 2.2rem 1.8rem; box-shadow: var(--shadow); }
.tcar__q { font-size: 1.22rem; line-height: 1.62; color: var(--ink); margin: 0 0 1.4rem; font-weight: 450; }
.tcar__q::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: .5rem; }
.tcar__who { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--muted); }
.tcar__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.tcar__ctl { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.tcar__ctl .dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; }
.tcar__ctl .dot.active { background: var(--accent); width: 22px; border-radius: 99px; }
.tcar__ctl .arw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink); font-size: .9rem; line-height: 1; }
.tcar__ctl .arw:hover { background: var(--bg-2); }

/* -------------------------------------------------------- avatar/tag --- */
.avatar {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent-ink); font: 700 .68rem/1 var(--font); letter-spacing: .02em;
}
.avatar.lg { width: 42px; height: 42px; font-size: .82rem; }
.byline { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--muted); margin: .8rem 0; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font: 650 .68rem/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: .3rem .5rem;
}
.mark-badge {
  display: inline-flex; align-items: center; font: 700 .64rem/1 var(--font); letter-spacing: .1em;
  text-transform: uppercase; padding: .32rem .55rem; border-radius: 5px; background: var(--bg-3); color: var(--muted);
}
.mark-badge.up { background: #e2f4ea; color: var(--up-ink); }
/* the stamp carries a version and a date — a numeral needs 7:1 on this fill */
.mark-badge.gold { background: var(--accent-soft-2); color: #075252; }

/* ------------------------------------------------------------ tables --- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.ledger { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 560px; }
.ledger th {
  text-align: left; font: 700 .68rem/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap;
}
.ledger td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger tbody tr:hover td { background: #fbfcfe; }
.ledger .num, .ledger th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* a tabular-nums header is read as a figure, so it carries the figure ink */
.ledger th.num { color: var(--muted); }
.ledger .us { background: var(--accent-soft) !important; }
.ledger th.us { background: #d9e9fb; color: var(--accent-ink); }
/* ledger verdict colours are darkened against --up / --muted-2 / --warn so they
   still clear 4.5:1 on the tinted "us" column, not only on plain white */
/* the cell carries a price or a count — 5.8:1 on the tinted row, 7:1 needed */
.ledger .yes { color: #06522c; font-weight: 600; }
.ledger .no { color: #4a5464; }
.ledger .partial { color: #8a5b0f; }
.ledger .up { color: var(--up-ink); } .ledger .down { color: var(--down-ink); }
.ledger code { font-size: .8rem; }

/* --------------------------------------------------------------- faq --- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; font-weight: 620; color: var(--ink);
  position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 2.2rem 1.3rem 0; color: var(--muted); font-size: .95rem; line-height: 1.68; }

/* ------------------------------------------------------------ callout --- */
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--bg-2);
  border-radius: var(--r); padding: .95rem 1.15rem; font-size: .93rem; line-height: 1.62; margin: 1.2rem 0;
}
.callout.warn { border-left-color: var(--warn); background: #fdf7ec; }
.callout.up { border-left-color: var(--up); background: #eef8f2; }
.callout.down { border-left-color: var(--down); background: #fdf0ef; }
.band--green .callout { background: var(--dark-2); border-color: var(--dark-line); border-left-color: #7db9ff; color: var(--dark-muted); }

/* ----------------------------------------------------------- figures --- */
.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem 0.9rem; }
.figure .chart { height: 280px; }
.figure.tall .chart { height: 400px; }
.figure__cap { font-size: .8rem; color: var(--muted); line-height: 1.55; margin-top: .7rem; }
.figure__cap b { color: var(--ink); font-weight: 700; }
.band--green .figure { background: var(--dark-2); border-color: var(--dark-line); }
.band--green .figure__cap { color: var(--dark-muted); }
.band--green .figure__cap b { color: #fff; }

/* ------------------------------------------------------------- plans --- */
.pricing-toggle {
  display: inline-flex; align-items: center; gap: .25rem; padding: .28rem; border: 1px solid var(--line);
  border-radius: 99px; background: var(--bg-2); margin-top: 1.4rem;
}
.pricing-toggle button {
  border: 0; background: none; padding: .5rem 1.05rem; border-radius: 99px; cursor: pointer;
  font: 650 .84rem/1 var(--font); color: var(--muted);
}
.pricing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.pricing-toggle .sep { display: none; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 880px; margin-inline: auto; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; }
.plan .reco { position: absolute; top: -11px; left: 1.7rem; }
.plan .reco span {
  font: 700 .64rem/1 var(--font); letter-spacing: .11em; text-transform: uppercase; color: #fff;
  background: var(--accent); border-radius: 5px; padding: .35rem .6rem; display: inline-block;
}
.plan:has(.reco) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { font-size: 1.05rem; letter-spacing: .02em; }
.plan__price { font-size: 2.7rem; font-weight: 750; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; margin: .35rem 0 .3rem; }
.plan__price small { font-size: .88rem; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.plan__note { font-size: .88rem; color: var(--muted); min-height: 2.6em; }
.plan__list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; font-size: .91rem; }
.plan__list li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--up); font-weight: 800; font-size: .85rem; }
.plan__list li.no { color: var(--muted); }   /* --muted-2 falls under 4.5:1 on white */
.plan__list li.no::before { content: "✕"; color: var(--muted-2); }

/* --------------------------------------------------------- brief list --- */
.brief-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.brief-list li {
  display: grid; grid-template-columns: 72px 1fr 128px; gap: 1.4rem; align-items: start;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
}
.brief-list .no { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 500; color: var(--ink); line-height: 1; }
.brief-list .no small { display: block; font: 700 .6rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .35rem; }
.brief-list h3 { font-size: 1.16rem; margin: .4rem 0 .3rem; }
.brief-list h3 a { color: var(--ink); }
.brief-list h3 a:hover { color: var(--accent); text-decoration: none; }
.brief-list .deck { font-size: .93rem; color: var(--muted); margin: 0; }
.brief-list .spark { align-self: center; font-size: .76rem; color: var(--muted-2); }
.brief-list .spark .chart { height: 46px; }
.brief-list li.soon { opacity: .62; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.8rem; }
.chips button {
  border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: .42rem .9rem; cursor: pointer;
  font: 600 .82rem/1 var(--font); color: var(--muted);
}
.chips button:hover { border-color: var(--muted-2); color: var(--ink); }
.chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.brief-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.brief-band .issue { font: 700 1.9rem/1 var(--font-mono); color: var(--accent-ink); margin-bottom: .8rem; }
.brief-band .issue small { display: block; font: 700 .66rem/1 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .4rem; }

/* ------------------------------------------------------------ letter --- */
.letter { max-width: 720px; margin-inline: auto; }
.letter .back { font-size: .85rem; font-weight: 600; display: inline-block; margin-bottom: 1.6rem; }
.letter .dateline {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted-2);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 650;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: .7rem 0; margin-bottom: 1.6rem;
}
.letter h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .8rem; }
.letter .lead { font-size: 1.14rem; color: var(--muted); }
.letter .salute { font-weight: 600; color: var(--ink); margin-top: 2rem; }
.letter p { font-size: 1.02rem; line-height: 1.78; }
.letter .drop::first-letter { float: left; font-size: 3.1rem; line-height: .84; font-weight: 700; color: var(--accent); padding: .1rem .5rem .1rem 0; }
.letter h2 { font-size: 1.4rem; margin: 2.4rem 0 .7rem; }
.letter blockquote {
  margin: 1.8rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--accent); background: var(--bg-2);
  border-radius: 0 var(--r) var(--r) 0; font-size: 1.06rem; line-height: 1.62; color: var(--ink);
}
.letter .figure { margin: 1.8rem 0; }
.letter .tbl-wrap { margin: 1.4rem 0; }
.letter .sig { display: flex; gap: 1rem; align-items: flex-start; margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.letter .sig p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }
.letter .hand { font-weight: 650; color: var(--ink); margin-bottom: .3rem; }
.related { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.related li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.related span { color: var(--muted-2); font-size: .8rem; white-space: nowrap; }

/* -------------------------------------------------------------- docs --- */
.docs-layout { display: grid; grid-template-columns: 232px 1fr; gap: 3.2rem; align-items: start; }
.contents { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: .88rem; }
.contents .grp { font: 700 .66rem/1 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin: 1.4rem 0 .55rem; }
.contents .grp:first-child { margin-top: 0; }
.contents a { display: block; padding: .32rem 0 .32rem .8rem; color: var(--muted); border-left: 2px solid var(--line); }
.contents a:hover, .contents a.on { color: var(--accent); border-left-color: var(--accent); text-decoration: none; }
.docs-body { min-width: 0; }
.docs-body h2 { font-size: 1.5rem; margin: 3rem 0 .9rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.docs-body h2:first-of-type { margin-top: 2rem; }
.docs-body .tbl-wrap { margin: 1.2rem 0; }

/* ---------------------------------------------------------- releases --- */
.releases { list-style: none; padding: 0; margin: 0; }
.releases > li { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.releases .when { font: 650 .95rem/1.4 var(--font-mono); color: var(--ink); }
.releases .when small { display: block; font: 600 .74rem/1.4 var(--font); color: var(--muted-2); margin-top: .3rem; }
.releases .kind {
  display: inline-block; font: 700 .62rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .5rem; border-radius: 5px; margin: 1rem 0 .5rem; background: var(--bg-3); color: var(--muted);
}
.releases .kind:first-child { margin-top: 0; }
.releases .kind.up { background: #e2f4ea; color: var(--up-ink); }
.releases .kind.warn { background: #fbf1e0; color: #7a520c; }
.releases .kind.down { background: #fdecec; color: var(--down-ink); }
.releases ul { margin: 0 0 .4rem; padding-left: 1.15rem; font-size: .93rem; color: var(--muted); }
.releases ul li { margin-bottom: .35rem; }

/* ------------------------------------------------------ misc widgets --- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; color: var(--ink); }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.pref-row .small { color: var(--muted); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; cursor: pointer; transition: .15s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.inline-form input {
  flex: 1 1 240px; min-width: 0; padding: .72rem .95rem; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: .93rem;
}
.inline-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }

/* ------------------------------------------------------- focus rings --- */
/* one visible ring for every interactive control, on both grounds */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.band--green a:focus-visible, .band--green button:focus-visible,
.dark a:focus-visible, .dark button:focus-visible { outline-color: #7db9ff; }
.pill:focus-visible { border-radius: 99px; }
.seg-text { display: inline-flex; gap: .2rem; padding: .25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); flex-wrap: wrap; }
.seg-text button { border: 0; background: none; border-radius: 6px; padding: .42rem .8rem; cursor: pointer; font: 600 .84rem/1 var(--font); color: var(--muted); }
.seg-text button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
select, input[type="text"], input[type="email"] { font-family: var(--font); }

.readers { text-align: center; }
.readers ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; }
.readers li { font: 650 .95rem/1 var(--font); color: var(--muted-2); }

.gauge-stage { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.gauge-stage .chart { height: 200px; }
.gauge-note { font-size: .88rem; color: var(--muted); margin: .6rem 0 0; text-align: center; }

.community-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2rem 0; }
.community-nums div { border-left: 2px solid var(--accent); padding-left: 1rem; }
.community-nums .n { font-size: 1.9rem; font-weight: 750; color: #fff; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.community-nums .t { font-size: .84rem; color: var(--dark-muted); }

/* ------------------------------------------------------------ footer --- */
.foot { background: var(--dark); color: var(--dark-muted); padding: 64px 0 34px; margin-top: 0; }
.foot .wrap { width: min(1220px, 100% - 3rem); }
.foot__top { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--dark-line); }
.foot .qc-logo { color: #fff; }
.foot__intro { font-size: .92rem; line-height: 1.65; max-width: 42ch; margin: 1rem 0 0; }
.foot__col .label { color: #7db9ff; margin-bottom: .9rem; }
.foot__col a { display: block; color: var(--dark-muted); font-size: .92rem; padding: .3rem 0; }
.foot__col a:hover { color: #fff; text-decoration: none; }
.foot__legal { padding-top: 1.8rem; font-size: .82rem; line-height: 1.6; }
.foot__legal p { color: #77839a; max-width: 92ch; }
.foot__legal .row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; color: #77839a; margin-top: .8rem; }
.foot__legal a { color: #97a5bb; }

/* ------------------------------------------------------------ charts --- */
.chart { height: 300px; }
.chart.sm { height: 170px; }

/* -------------------------------------------------------- responsive --- */
@media (max-width: 1180px) {
  .qc-links a { padding: .5rem .5rem; font-size: .87rem; }
  .qc-nav__bar { gap: 1rem; }
}
@media (max-width: 920px) {
  .qc-links { display: none; }
  .qc-burger { display: grid; }
  .qc-nav__bar { height: 60px; }
}
@media (max-width: 1080px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .sleeves { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contents { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: .2rem .9rem; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; }
  .contents .grp { width: 100%; margin: .8rem 0 .2rem; }
  .contents .grp:first-child { margin-top: 0; }
  .contents a { border-left: 0; padding: .2rem 0; }
}
@media (max-width: 900px) {
  .band { padding: 60px 0; }
  .duet, .two-up, .brief-band, .switch-panel, .vs { grid-template-columns: 1fr; gap: 2rem; }
  .duet--rev .duet__text { order: 0; }
  .triptych { grid-template-columns: 1fr; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: 1px solid var(--line) !important; border-bottom: 0; }
  .flow__step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .flow__step:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); border-bottom: 1px solid var(--line); }
  .flow__step::after { right: 50%; top: auto; bottom: -7px; transform: translateX(50%) rotate(135deg); }
  .foot__top { grid-template-columns: 1fr; gap: 2rem; }
  .releases > li { grid-template-columns: 1fr; gap: .8rem; }
  .community-nums { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .band { padding: 48px 0; }
  .wrap, .wrap--mid, .wrap--narrow, .foot .wrap { width: calc(100% - 2rem); }
  .hero, .band { padding-inline: 1rem; }
  .hero > *, .band > * { width: auto; }
  .band > .wrap--mid, .band > .wrap--narrow { width: 100%; }
  .dash__tiles { grid-template-columns: repeat(2, 1fr); }
  .dash__tile { border-bottom: 1px solid var(--line); }
  .dash__tile:nth-child(2n) { border-right: 0; }
  .stat-row { grid-template-columns: 1fr; }
  .sleeves { grid-template-columns: 1fr; }
  .brief-list li { grid-template-columns: 1fr; gap: .5rem; }
  .brief-list .no { display: flex; align-items: baseline; gap: .5rem; }
  .brief-list .no small { margin: 0; }
  .brief-list .spark { display: none; }
  .community-nums { grid-template-columns: 1fr; }
  .tcar__inner { padding: 1.6rem 1.3rem 1.4rem; }
  .tcar__q { font-size: 1.05rem; }
  .hero { padding-block: 46px 26px; }
  .qc-nav__bar { width: calc(100% - 1.6rem); gap: .6rem; height: 58px; }
  .qc-actions .pill { display: none; }
  .qc-drawer { padding: .7rem 1rem 1.2rem; }
  .tcar__card { padding: 0; }
  .letter .dateline { flex-direction: column; gap: .2rem; }
  pre code { font-size: .78rem; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
