/* CROSS site: the benchmark leaderboard (leaderboard/index.html), Swiss style. Tokens, top bar and footer in chrome.css;
   the shared components (.sx-head, .sx-statement, .sx-tabs, .seg, .table, .sx-link, .sx-band) in site.css. The tables
   and the trials note are generated by tools/build.py (lb-* classes); this sheet styles them and never relies on markup
   that the build does not write. Each number is said once: the figures give CROSS in its recommended mode and the two
   comparisons the ranking does not show; the ranking gives every system's best configuration.
   Data colour: CROSS in --c-cross, every other system in ink at 30 %, an upper bound hatched. */

.lb-page {
  --lb-other: color-mix(in srgb, var(--ink) 30%, transparent);
  --lb-hatch: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 40%, transparent) 0 2px, transparent 2px 5px);
  --lb-hatch-ring: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent);
  --lb-lh: 22px;                       /* first line of a table row: rank, name, values and bar share it */
}

/* the body of a section, under its title row (as on the hub) */
.lb-body { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(52px, 6.5vw, 104px); }
.lb-lead { max-width: 30em; }

/* ------------------------------------------------------------------ masthead: the claim and three figures, under the
   title row (site.css .sx-title) */
.lb-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: clamp(18px, 2vw, 26px); font-size: 17px; }

/* three figures; their rows line up across the figures (subgrid): task, number, what it measures, comparisons, link */
.lb-figs {
  list-style: none; margin: clamp(34px, 4.5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: var(--g); row-gap: 0;
}
.lb-fig { grid-row: span 5; display: grid; grid-template-rows: subgrid; min-width: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
/* the task, as the tabs name it: two figures can share a value (93%), so each says what it is first */
.lb-fig-t { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.lb-fig-t span { color: var(--ink-3); font-size: 13px; letter-spacing: 0; }
.lb-fig-v { font-size: clamp(56px, 7.4vw, 112px); font-weight: 200; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.lb-fig-k { margin-top: 12px; max-width: 24em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.25; letter-spacing: -0.012em; }
/* the comparisons as label / value rows with hairlines */
.lb-vs { align-self: start; list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.3; }
.lb-vs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.lb-vs li > :first-child { color: var(--ink-3); }
.lb-vs li > :last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-fig-more { align-self: end; padding-top: 14px; font-size: 16px; }
.lb-figs-note { margin-top: 22px; max-width: 72em; }
@media (max-width: 900px) and (min-width: 601px) {
  /* one figure per row: the number and its words on the left, the comparisons and the link on the right */
  .lb-figs { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; }
  .lb-fig { grid-row: auto; grid-template-rows: auto auto auto 1fr; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--g); }
  .lb-fig-t { grid-column: 1 / -1; }
  .lb-fig-v, .lb-fig-k { grid-column: 1; }
  .lb-fig .lb-vs { grid-column: 2; grid-row: 2 / 4; margin-top: 4px; }
  .lb-fig-more { grid-column: 2; grid-row: 4; align-self: start; padding-top: 10px; }
}
@media (max-width: 600px) {
  /* phones: the number beside what it measures, then the comparisons and the link across */
  .lb-figs { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; }
  .lb-fig { grid-row: auto; grid-template-rows: none; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .lb-fig-t { grid-column: 1 / -1; margin-bottom: 8px; }
  .lb-fig-v { grid-column: 1; font-size: 50px; }
  .lb-fig-k { grid-column: 2; margin-top: 2px; font-size: 15px; }
  .lb-fig .lb-vs { grid-column: 1 / -1; margin-top: 12px; }
  .lb-fig-more { grid-column: 1 / -1; padding-top: 10px; }
}

/* ------------------------------------------------------------------ leaderboard: task tabs and filters (with JS only) */
.lb-controls, .lb-js { display: none; }
.js .lb-js { display: inline; }
.js .lb-controls { display: block; }
/* a link to a table (#lb-t3, "See the ranking") shows the tabs above it: leaderboard.js scrolls to the controls, which
   stop under the bar like every link target (site.css) */
.lb-controls { scroll-margin-top: calc(var(--header-h) + 12px); }
/* the task code (T3, T2, T1, as in "What we measure" and the full results) after each tab's name, in the tab's colour */
.lb-tab-code { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 560px) { .lb-tabs [role="tab"] { font-size: 19px; } }

/* filters: three groups on the grid, each a label over a black rule and its options run in */
.lb-filters {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 18px;
  margin-top: clamp(22px, 2.6vw, 34px);
}
.lb-filter { grid-column: span 4; min-width: 0; }
@media (max-width: 1000px) { .lb-filter { grid-column: span 6; } }
@media (max-width: 600px) { .lb-filters { grid-template-columns: minmax(0, 1fr); } .lb-filter { grid-column: auto; } }
.lb-filter-head { padding-bottom: 5px; border-bottom: 1px solid var(--rule); font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.lb-filter .seg { display: flex; flex-wrap: wrap; gap: 0 16px; padding-top: 4px; }
.lb-filter .seg button { min-height: 32px; font-size: 16px; }
@media (pointer: coarse) { .lb-filter .seg button { min-height: 40px; } }
.lb-status { min-height: 1.35em; margin-top: 14px; margin-bottom: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }

/* ------------------------------------------------------------------ leaderboard: tables */
.js .lb-panel:not(.is-active) { display: none; }
.lb-panel + .lb-panel { margin-top: 64px; }   /* without JS the three tables follow each other */
.js .lb-panel + .lb-panel { margin-top: 0; }
.lb-title { margin-bottom: 14px; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.035em; line-height: 1.1; }
.lb-code { margin-left: .35em; font-size: 13px; letter-spacing: 0; color: var(--ink-3); }

/* the tables never scroll sideways (the dataset columns fold into the system cell on narrow screens), so the frame
   clips instead of scrolling and the header row sticks under the top bar */
.lb-panel .table-wrap { overflow: clip; border-bottom: 1px solid var(--line); }
.lb-table { font-size: 15px; letter-spacing: 0; }
.lb-table thead th {
  top: var(--header-h); padding: 8px 14px 8px 0; vertical-align: bottom; white-space: normal; line-height: 1.3;
  border-bottom: 0; box-shadow: inset 0 -1px 0 var(--rule);   /* a collapsed border would stay behind when the row sticks */
}
.lb-table th small, .lb-table td small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
/* cells start at the top, so the values of a row line up whatever hangs below them (failure notes); a row is divided
   from the visible row before it, so the hidden rows after the visible ones leave no extra line at the bottom */
.lb-table td, .lb-table tbody th { padding: 12px 14px 12px 0; vertical-align: top; border-bottom: 0; }
.lb-table tr > :last-child { padding-right: 0; }
.lb-table tbody tr:not([hidden]) ~ tr:not([hidden]) > * { border-top: 1px solid var(--line); }
/* CROSS is marked by its bar and the weight of its name, as in the hub's ranking, not by a tinted row (site.css tints
   .table .is-cross): with every configuration shown, half the rows are CROSS's */
.lb-table .is-cross > * { background: none; }
.lb-table .is-cross > :first-child { box-shadow: none; }
.lb-table tbody tr.lb-row:hover > * { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.lb-table tbody tr.lb-sep:hover > *, .lb-table tbody tr.lb-empty:hover > * { background: none; }

.lb-table .lb-rank { width: 3.2em; padding-right: 8px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.lb-table tbody .lb-rank { font-size: clamp(16px, 1.2vw, 19px); line-height: var(--lb-lh); }
.lb-table tbody th { min-width: 220px; font-weight: 400; }
.lb-name { font-size: clamp(16px, 1.2vw, 19px); line-height: var(--lb-lh); letter-spacing: -0.02em; }
.lb-row.is-cross .lb-name { font-weight: 600; }
.lb-cfg { margin-left: .5em; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
/* sensor and inputs as words ("Mono camera only"), not boxes; an upper bound carries the hatch as its key */
.lb-tags { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.lb-tags .badge {
  display: inline-block; height: auto; padding: 0; border: 0; background: none;
  font-size: inherit; line-height: inherit; letter-spacing: 0; color: inherit;
}
.lb-tags .badge + .badge { margin-left: .3em; }
.lb-tags .badge + .badge::first-letter { text-transform: lowercase; }
.lb-tags .lb-ub { margin-left: .8em; color: var(--ink-3); }
.lb-tags .lb-ub::before {
  content: ""; display: inline-block; width: 1.3em; height: .65em; margin-right: .35em; vertical-align: -.03em;
  background: var(--lb-hatch); box-shadow: var(--lb-hatch-ring);
}
.lb-mini { display: none; }

/* the overall column: a bar from zero (T2, T3: 0 to 100 %; T1: up to the largest error shown) and the value */
.lb-table .lb-overall { width: 34%; }
.lb-table[data-task="t1"] .lb-overall { width: 28%; }
.lb-ov { display: grid; grid-template-columns: minmax(40px, 1fr) 4.6em; align-items: start; column-gap: 14px; }
.lb-ov.is-na { display: block; }
.lb-bar { height: 8px; margin-top: calc((var(--lb-lh) - 8px) / 2); }
.lb-bar i {
  display: block; width: var(--w); min-width: 2px; height: 100%; background: var(--lb-other);
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}
.lb-row.is-cross .lb-bar i { background: var(--c-cross); }
/* an upper bound (LingBot-Map: no relocalization step) is drawn hatched, not as a measured value */
.lb-row.is-ub .lb-bar i { background: var(--lb-hatch); box-shadow: var(--lb-hatch-ring); }
.lb-val { text-align: right; font-variant-numeric: tabular-nums; }
.lb-val b { display: block; font-size: clamp(16px, 1.2vw, 19px); font-weight: 400; line-height: var(--lb-lh); letter-spacing: -0.01em; }
.lb-row.is-cross .lb-val b { font-weight: 600; }
.lb-table .lb-ds { width: 10%; white-space: nowrap; }
.lb-ds b { display: block; font-weight: 400; line-height: var(--lb-lh); }
.lb-na { font-weight: 400; color: var(--ink-3); }
.lb-fail { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; letter-spacing: 0; color: var(--bad); white-space: nowrap; }
.lb-ov > .lb-fail { grid-column: 1; grid-row: 2; margin-top: 2px; }
.lb-ov.is-na .lb-fail { display: inline; margin-left: 8px; }
.lb-empty td { padding: 28px 0; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .lb-bar i { transition: none; } }

/* rows without a rank (T1: the mean leaves failed sequences out) come after a labelled divider with a black rule;
   their value and bar recede, since they do not compare with the ranked rows */
.lb-table tbody tr.lb-sep:not([hidden]) > td {
  padding: 18px 0 6px; border-top: 1px solid var(--rule); background: none;
  font-size: 13px; line-height: 1.35; color: var(--ink-2);
}
.lb-table tbody > tr.lb-sep:first-child > td { border-top: 0; padding-top: 10px; }
.lb-sep:not([hidden]) ~ .lb-row .lb-val b { font-weight: 400; color: var(--ink-3); }
.lb-sep:not([hidden]) ~ .lb-row .lb-bar i { opacity: .45; }

/* the per-dataset values in one line under the system's name, shown instead of their columns on narrow screens */
.lb-table .lb-mini { flex-wrap: wrap; gap: 1px 12px; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.lb-mini b { font-weight: 400; color: var(--ink); }
@media (max-width: 900px) {
  .lb-table[data-task="t1"] .lb-ds { display: none; }
  .lb-table[data-task="t1"] .lb-mini { display: flex; }
}
@media (max-width: 760px) {
  .lb-table .lb-ds { display: none; }
  .lb-table .lb-mini { display: flex; }
  .lb-table tbody th { min-width: 0; }
  .lb-table .lb-rank { width: 1.9em; padding-right: 6px; }
  .lb-table .lb-overall, .lb-table[data-task="t1"] .lb-overall { width: 38%; }
  .lb-cfg { display: block; margin: 1px 0 0; }
  .lb-ov { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }   /* the value, then the bar under it */
  .lb-ov .lb-val { grid-row: 1; }
  .lb-ov .lb-bar { grid-row: 2; height: 6px; margin-top: 0; }
  .lb-ov > .lb-fail { grid-row: 3; margin-top: 0; }
}

/* the tooltip of a row (site.css .chart-tooltip: ink ground, page-coloured text) */
.lb-tip-v { font-size: 18px; letter-spacing: -0.02em; }
.lb-tip-v small { margin-left: 6px; font-size: 12px; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.lb-tip-n { margin-top: 2px; font-weight: 600; }
.lb-tip-n small { display: block; font-weight: 400; color: color-mix(in srgb, var(--bg) 75%, transparent); }
.lb-tip-ds { margin-top: 6px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); font-variant-numeric: tabular-nums; }

.lb-notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; max-width: 76em; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.lb-notes b { font-weight: 400; color: var(--ink); }
.lb-stamp { margin-top: 30px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------------ protocol: the three tasks, how every system is run */
.lb-tasks { list-style: none; margin: clamp(30px, 4vw, 56px) 0 0; padding: 0; row-gap: 36px; }
.lb-task { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .lb-task { grid-column: 1 / -1; } }
.lb-task-h { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.035em; line-height: 1.1; }
.lb-task-n { display: block; margin-bottom: 12px; font-size: clamp(44px, 5vw, 72px); font-weight: 200; letter-spacing: -0.05em; line-height: .9; }
.lb-task-q { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.25; letter-spacing: -0.015em; }
.lb-task-d { font-size: 15.5px; font-weight: 300; line-height: 1.45; }
.lb-task .lb-facts { margin-top: auto; }
.lb-measure-foot { margin-top: 24px; max-width: 72em; }

/* label / value rows with hairlines (the hub's facts) */
.lb-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.lb-facts li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.3; }
.lb-facts li > span:first-child { color: var(--ink-3); }
.lb-facts b { font-weight: 600; }

.lb-subh { margin: clamp(48px, 6vw, 88px) 0 clamp(16px, 2vw, 22px); font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.05; }
.lb-fair { list-style: none; margin: 0; padding: 0; row-gap: 28px; }
.lb-fair li { grid-column: span 4; min-width: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .lb-fair li { grid-column: 1 / -1; } }
.lb-fair h4 { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.025em; line-height: 1.15; }
.lb-fair p { margin-top: 8px; font-size: 15.5px; font-weight: 300; line-height: 1.45; }

/* ------------------------------------------------------------------ datasets: a ruled title row, then the same place under change */
.lb-data { padding-bottom: clamp(52px, 6.5vw, 104px); }
.lb-data .lb-data-intro { padding-bottom: clamp(30px, 4vw, 56px); }
.lb-set + .lb-set { margin-top: clamp(40px, 5vw, 72px); }
/* the name on the left, what the dataset is on the right (a clip group of the reference) */
.lb-set-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 24px;
  padding: 0 var(--m) .08em; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.lb-set-head h3 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.1; }
.lb-set-head p { font-size: clamp(15px, 1.4vw, 21px); line-height: 1.25; letter-spacing: -0.015em; }
/* from 1200 px the strip takes 8 columns and the facts the other 4. The facts are sized in container units (cqw, the
   row's width), so they grow with the photos and end level with them at every width; the link sits at the bottom.
   Narrower, the facts go under the strip, in two columns. */
.lb-set-body {
  container-type: inline-size;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 20px;
  padding: 16px var(--m) 0;
}
.lb-strip { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px var(--g); align-content: start; }
.lb-set-text { grid-column: 9 / 13; min-width: 0; display: flex; flex-direction: column; font-size: clamp(13.5px, 1.04cqw, 24px); }
.lb-set-text .lb-facts li { grid-template-columns: 5.4em minmax(0, 1fr); padding: .46em 0; font-size: 1em; }
.lb-set-link { margin-top: auto; padding-top: .9em; font-size: 1.04em; line-height: 1.3; }
@media (max-width: 1199px) {
  .lb-strip, .lb-set-text { grid-column: 1 / -1; }
  .lb-set-text { font-size: 14.5px; }
  .lb-set-text .lb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
  .lb-set-link { padding-top: 12px; }
}
@media (max-width: 760px) { .lb-set-text .lb-facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .lb-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lb-strip figure { margin: 0; min-width: 0; }
.lb-strip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-3); }
.lb-strip figcaption { padding-top: .4rem; font-size: 13px; line-height: 1.25; letter-spacing: 0; }
/* the map session: the accent square, as the current item of a list */
.lb-map::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .4em; background: var(--accent); }
.lb-soon { color: var(--ink-3); }
.lb-soon::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .45em; border: 1px solid currentColor; }

/* ------------------------------------------------------------------ systems: grouped rows on the grid */
.lb-sys-cols {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g);
  margin-top: clamp(30px, 4vw, 56px); padding-bottom: 6px; font-size: 13px; color: var(--ink-3);
}
.lb-sys-cols > :nth-child(1) { grid-column: 1 / 4; }
.lb-sys-cols > :nth-child(2) { grid-column: 4 / 9; }
.lb-sys-cols > :nth-child(3) { grid-column: 9 / 11; }
.lb-sys-cols > :nth-child(4) { grid-column: 11 / 13; }
.lb-sys-group + .lb-sys-group { margin-top: 30px; }
.lb-sys-ghead {
  display: flex; justify-content: space-between; gap: 1em; padding-bottom: .3em; border-bottom: 1px solid var(--rule);
  font-size: clamp(15px, 1.1vw, 19px); line-height: 1.25; letter-spacing: -0.015em;
}
.lb-systems { list-style: none; margin: 0; padding: 0; }
.lb-system {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 8px;
  padding: 12px 0 14px; border-bottom: 1px solid var(--line);
}
.lb-system-id { grid-column: 1 / 4; min-width: 0; }
.lb-system h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.1; }
.lb-repo { display: inline-block; margin-top: 5px; font-size: 13px; letter-spacing: 0; color: var(--ink-3); text-decoration: none; overflow-wrap: anywhere; }
.lb-repo:hover { color: var(--ink); text-decoration: underline; }
.lb-system-desc { grid-column: 4 / 9; min-width: 0; font-size: 15.5px; font-weight: 300; line-height: 1.45; }
.lb-system-facts { grid-column: 9 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin: 0; font-size: 14px; line-height: 1.4; }
.lb-system-facts dd { margin: 0; }
/* the column heads name the facts on wide screens; the labels come back when the rows stack */
.lb-system-facts dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1000px) {
  .lb-sys-cols { display: none; }
  .lb-sys-cols + .lb-sys-group { margin-top: clamp(30px, 4vw, 56px); }
  .lb-system-id, .lb-system-desc, .lb-system-facts { grid-column: 1 / -1; }
  .lb-system-id { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
  .lb-repo { margin-top: 0; }
  .lb-system-facts dt { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: 13px; color: var(--ink-3); }
}
@media (max-width: 560px) { .lb-system-facts { grid-template-columns: minmax(0, 1fr); row-gap: 8px; } }

/* ------------------------------------------------------------------ closing band: install, reproduce, add a system */
.lb-cta { padding-bottom: clamp(30px, 4vw, 56px); }
.lb-cta :focus-visible { outline-color: #111110; }   /* the accent is yellow in the dark theme, like the band */
.lb-cta-text {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: .4rem;
  padding: .5rem var(--m) clamp(26px, 3vw, 40px);
}
.lb-cta-h { grid-column: 1 / 5; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.035em; line-height: 1.05; }
.lb-cta-s { grid-column: 5 / 13; font-size: clamp(21px, 2.55vw, 37px); letter-spacing: -0.032em; line-height: 1.1; }
.lb-cta-s strong { font-weight: 600; }
@media (max-width: 760px) { .lb-cta-h, .lb-cta-s { grid-column: 1 / -1; } }
.lb-cta-list {
  list-style: none; margin: 0; padding: 0 var(--m);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); row-gap: 26px;
}
@media (max-width: 900px) { .lb-cta-list { grid-template-columns: minmax(0, 1fr); } }
.lb-cta-list li { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
.lb-cta-list h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.1; }
.lb-cta-list p { max-width: 34em; font-size: 15.5px; line-height: 1.4; }
.lb-cta-list .sx-link { align-self: flex-start; margin-top: auto; font-size: 16px; }
