/* shared by the ∇PO and NablaEngine pages (each page directory carries its own copy, so it deploys on its own) */
@font-face { font-family: "NablaMark"; src: url("assets/nablamark.ttf") format("truetype"); unicode-range: U+2207; font-display: block; }
:root {
  --bg: #fff; --ink: #111318; --ink2: #4b5563; --muted: #6b7280; --line: #e5e7eb; --card: #f5f5f7; --bar: #d1d5db;
  --accent: #2997ff; --maxw: 1040px; --nav: 48px; --g: clamp(18px, 2.2vw, 32px);
  --display: "NablaMark", "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 17px/1.5 "NablaMark", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
sup a { color: var(--muted); font-size: 0.62em; margin-left: 2px; }
.ne, .nb { color: var(--accent); }
svg.nab { width: 0.86em; height: 0.79em; color: var(--accent); vertical-align: -0.04em; margin-right: 0.03em; overflow: visible; }
.fine svg.nab, .notes svg.nab { color: currentColor; }
.fine .ne, .notes .ne { color: inherit; }
.x { color: var(--accent); }   /* the one coloured element of a comparison: its multiplier */

/* nav */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--nav); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--g); border-bottom: 1px solid var(--line); }
.topnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.brandrow { display: flex; align-items: center; gap: 12px; }
.lab { font-family: "Archivo", "Inter", sans-serif; font-weight: 600; font-stretch: 118%; letter-spacing: -0.01em; font-size: 13px; color: var(--ink2); }
.lab:hover { color: var(--ink); text-decoration: none; }
.bdiv { width: 1px; height: 18px; background: #d1d5db; }
.brand { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.navright { display: flex; align-items: center; gap: 30px; }
.navlinks { display: flex; gap: 24px; align-items: center; font-size: 13px; line-height: 1; }
.navlinks a { color: var(--ink2); padding: 6px 0; transition: color 0.25s ease; }
.navlinks a:hover, .navlinks a.on { color: var(--ink); text-decoration: none; }
.navcta { display: flex; gap: 10px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 980px; font: 500 13px/1 "NablaMark", "Inter", sans-serif; color: var(--ink) !important; white-space: nowrap; }
.pill:hover { text-decoration: none; border-color: #9ca3af; }
.pill.solid { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.pill.soon { color: #9ca3af !important; border-color: #e5e7eb; cursor: default; }

/* opening: only the title before scrolling; it rises faster than the page and fades, the first module follows at once */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero-in { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22px; z-index: 1; pointer-events: none; will-change: transform, opacity; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-size: clamp(64px, 13vw, 168px); }
.hero h1 .ne { font-weight: 800; }
.hero h1 svg.nab { width: 0.84em; height: 0.78em; vertical-align: -0.02em; margin-right: 0.02em; }
.hero .sub { margin: 26px auto 0; max-width: 760px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(22px, 3vw, 36px); color: var(--ink); }
.hero .sub .soft { color: var(--ink2); }
main { position: relative; z-index: 2; }

/* sections */
.sec { max-width: var(--maxw); margin: 0 auto; padding: 120px 22px 0; }
.sec.first { padding-top: 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2); margin: 0 0 10px; }
.claim { font-family: var(--display); font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 22px; }
.claim.mid { font-size: clamp(32px, 4.4vw, 56px); }
.subhead { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.015em; margin: 0 0 18px; }
.lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink2); max-width: 780px; margin: 0 0 36px; }
.lede b, .lede strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); margin: 18px 0 0; max-width: 860px; }
.cta { font-size: 19px; margin: 28px 0 0; }
.cta a { font-weight: 500; }
.center { text-align: center; }
.center .lede, .center .fine { margin-left: auto; margin-right: auto; }

/* reveals run on the Web Animations API (site.js), so scrolling can speed a running animation up without cutting it short */
.reveal { opacity: 0.001; }   /* not 0: reader views (Safari) skip fully transparent text and would keep only the notes */
.no-js .reveal, .reduced .reveal { opacity: 1; }

/* the headline block */
.reach { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(38px, 5.6vw, 70px); margin: 0 0 10px; }
.reach .t { color: var(--ink); }
.reach .lvl { display: block; color: var(--ink2); font-size: 0.56em; letter-spacing: -0.02em; margin-top: 8px; font-weight: 700; }
.mx { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(54px, 7vw, 96px); margin: 0; }
.mx-sub { font-size: 16px; color: var(--ink2); margin: 8px 0 0; }

/* bars: slowest first, ours last; each row grows in turn from the top */
.bars { margin: 26px 0 0; }
.brow { display: grid; grid-template-columns: minmax(150px, 280px) 1fr; gap: 18px; align-items: center; padding: 7px 0; }
.brow .name { font-size: 16px; color: var(--ink2); line-height: 1.25; }
.brow.ours .name { color: var(--ink); font-weight: 600; }
.brow .lane { position: relative; height: 30px; }
.brow .fill { position: absolute; left: 0; top: 6px; height: 18px; width: 0; border-radius: 9px; background: var(--bar); transition: width 0.9s cubic-bezier(.2,.7,.2,1); }
.brow.ours .fill { background: var(--accent); }
.brow.ref .fill { background: none; border: 1px dashed #9ca3af; }
.brow.ref .name { color: var(--muted); font-style: italic; }
.brow .val { position: absolute; top: 3px; font-size: 16px; color: var(--ink2); white-space: nowrap; opacity: 0; transition: opacity 0.4s ease, left 0.9s cubic-bezier(.2,.7,.2,1); }
.brow.ours .val { color: var(--ink); font-weight: 600; }
.brow .na { position: absolute; top: 4px; left: 0; font-size: 14px; color: var(--muted); font-style: italic; white-space: nowrap; opacity: 0; transition: opacity 0.4s ease; }
.brow.none .fill, .brow.none .val { opacity: 0 !important; }
.brow.none .na { opacity: 1; }
.bars.in .brow .fill { width: var(--w); transition-delay: calc(0.15s + var(--i) * 0.2s); }
.bars.in .brow .val { opacity: 1; transition-delay: calc(0.3s + var(--i) * 0.2s); }
.bars.live .brow .fill, .bars.live .brow .val { transition-delay: 0s; }

/* toggles: a liquid-glass thumb that slides, follows a dragging finger and snaps on release */
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; background: #ececf0; padding: 4px; border-radius: 980px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tabs button { position: relative; z-index: 1; background: none; border: 0; color: var(--ink2); font: 500 14px "NablaMark", "Inter", sans-serif; padding: 8px 16px; border-radius: 980px; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: color 0.25s ease; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(17, 19, 24, 0.12); }
.tabs.glassy button[aria-selected="true"] { background: none; color: var(--ink2); }
.tabs .glass { position: absolute; left: 0; top: 0; z-index: 2; overflow: hidden; border-radius: 980px; background: #fff; box-shadow: 0 1px 4px rgba(17, 19, 24, 0.14); pointer-events: none;
  transition: transform 0.42s cubic-bezier(.3,1.35,.5,1), width 0.42s cubic-bezier(.3,1.35,.5,1), height 0.42s ease, background 0.2s ease, box-shadow 0.2s ease; }
.tabs .glass.nofx, .glass.nofx .glass-in { transition: none; }
.tabs .glass.drag { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 22px rgba(17, 19, 24, 0.18), inset 0 0 0 1px rgba(17, 19, 24, 0.06);
  transition: transform 0.1s ease-out, width 0.25s ease, height 0.25s ease, background 0.2s ease, box-shadow 0.2s ease; }
.glass-in { position: absolute; left: 0; top: 0; transition: inherit; transition-property: transform; }
.glass.drag .glass-in { transition: transform 0.1s ease-out; }
.glass-in > span { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ink); white-space: nowrap; }
.tabs.grid { display: grid; width: 100%; border-radius: 20px; }
.tabs.grid button { padding: 9px 6px; border-radius: 16px; white-space: normal; line-height: 1.2; }
.tabs.grid .glass { border-radius: 16px; }
.tabs.grid .glass-in > span { white-space: normal; line-height: 1.2; }

/* cards and videos */
.vid { position: relative; border-radius: 20px; overflow: hidden; background: var(--card); aspect-ratio: 16 / 9; }
.vid video { width: 100%; height: 100%; display: block; object-fit: cover; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.card .vid { border-radius: 0; }
.card .body { padding: 18px 22px 22px; }
.card h3 { margin: 0 0 6px; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.card p { margin: 0; font-size: 15px; color: var(--ink2); }
.card .big { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 2px; color: var(--ink); }
.card .big small { font-size: 0.45em; font-weight: 700; color: var(--ink2); letter-spacing: -0.01em; margin-left: 6px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 18px; }
.trio h4 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.trio p { margin: 0; font-size: 15.5px; color: var(--ink2); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 34px 0 0; }
.stat .k { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.stat .k small { font-size: 0.42em; font-weight: 700; color: var(--ink2); margin-left: 4px; letter-spacing: -0.01em; }
.stat .cap { font-size: 14px; color: var(--ink2); margin: 8px 0 0; }

/* code */
pre.code { margin: 0; padding: 22px 24px; background: var(--card); border-radius: 18px; overflow-x: auto; font: 13.5px/1.6 var(--mono); color: #1f2937; }
pre.code .kw { color: var(--accent); }
.ov { text-decoration: overline; }
pre.code .cm { color: #6e6e73; }

/* footnotes */
.notes { max-width: var(--maxw); margin: 140px auto 0; padding: 26px 22px 60px; border-top: 1px solid var(--line); }
.notes ol { padding-left: 18px; margin: 0; }
.notes li { font-size: 12px; color: var(--muted); margin-bottom: 8px; line-height: 1.5; }
.notes li .fine { font-size: inherit; margin: 0; color: inherit; }
.legal { font-size: 12px; color: var(--muted); margin: 24px 0 0; }
.fnm { font-size: 0.42em; vertical-align: super; margin-left: 3px; font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 0; }
.fnm a { color: var(--muted); }

/* phones: each module fits one screen; fine print moves to the footnotes; toggles that do not fit one row become a grid */
@media (max-width: 759px) {
  .navlinks { display: none; }
  .navright { gap: 0; }
  .sec { padding: 72px 18px 0; }
  .claim { font-size: clamp(34px, 9.6vw, 46px); margin-bottom: 14px; }
  .claim.mid { font-size: clamp(28px, 8vw, 38px); }
  .lede { font-size: 16px; margin-bottom: 20px; }
  .reach { font-size: clamp(32px, 9vw, 44px); }
  .mx { font-size: clamp(48px, 14vw, 64px); }
  .brow { grid-template-columns: 1fr; gap: 2px; padding: 5px 0; }
  .brow .name { font-size: 14px; }
  .brow .lane { height: 26px; }
  .brow .fill { top: 5px; height: 16px; }
  .brow .val, .brow .na { font-size: 14px; top: 2px; }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border-radius: 14px; }
  .card .body { padding: 10px 12px 12px; }
  .card h3 { font-size: 15px; }
  .card p { font-size: 12.5px; line-height: 1.35; }
  .card .big { font-size: 26px; margin-top: 6px; }
  .trio { grid-template-columns: 1fr; gap: 16px; }
  .trio h4 { font-size: 17px; margin-bottom: 4px; }
  .trio p { font-size: 14.5px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 20px; }
  .vid { border-radius: 12px; }
  pre.code { font-size: 11.5px; padding: 14px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: hidden; }
  .notes { margin-top: 90px; }
}

/* headline row: the multiplier on the left, the bars on the right */
.spaced { margin-top: 72px; }
.speed-row { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 36px; align-items: center; margin: 28px 0 0; min-height: 150px; }
.speed-head .mx .mxs { font-size: 0.5em; letter-spacing: -0.03em; color: var(--ink); }
.speed-bars .bars { margin: 0; }
#lvl-tabs, #eng-tabs, #gpu-tabs { margin: 22px 0 0; }
.stat-row.three { grid-template-columns: repeat(3, 1fr); }
/* control benchmarks: one tile per task */
.dmc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 34px 0 0; }
.dmc-key { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; font-size: 13px; color: var(--ink2); margin-bottom: 4px; flex-wrap: wrap; }
.dmc-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--bar); margin-right: 6px; vertical-align: -1px; }
.dmc-key i.o { background: var(--accent); }
.dmc-key .u { margin-left: auto; color: var(--muted); }
.dt { background: var(--card); border-radius: 14px; padding: 12px 14px; }
.dt .dn { margin: 0 0 6px; font: 500 12.5px/1.2 var(--mono); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt .dv { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.dt .dv b { font-weight: 700; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 7px; }
.dt .dv span { color: var(--ink2); font-size: 14px; }
.dt .nv { color: var(--muted); font-style: italic; font-weight: 400; }
/* the gradient spectrum: a line from exact to learned */
.spectrum { display: flex; align-items: center; gap: 14px; margin: 8px 0 28px; font: 500 13px var(--mono); color: var(--ink2); }
.spectrum .sp-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), #d1d5db); border-radius: 1px; }
@media (max-width: 759px) {
  .speed-row { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; min-height: 0; }
  .stat-row.three { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-row.three .stat .k { font-size: 28px; }
  .stat .cap { font-size: 12.5px; }
  .dmc { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
  .dmc-key .u { margin-left: 0; width: 100%; }
  .dt { padding: 7px 9px; border-radius: 10px; }
  .dt .dn { font-size: 10.5px; margin-bottom: 3px; }
  .dt .dv { font-size: 13px; }
  .dt .dv span { font-size: 12px; }
  .spaced { margin-top: 48px; }
  .grid2.tasks .card p:not(.big) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* NablaEngine page */
.eng-title { font-size: clamp(56px, 11vw, 150px) !important; }
.eng-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0 0; }
.eng-pair .eyebrow { margin-bottom: 4px; }
.eng-x { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1; margin: 0 0 6px; }
.eng-pair .brow { grid-template-columns: 1fr; gap: 2px; padding: 5px 0; }
.eng-pair .brow .name { font-size: 14px; }
.eq { background: var(--card); border-radius: 18px; padding: 22px 26px; margin: 8px 0 0; }
.eq-k { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.eq-m { margin: 0 0 18px; font: 16px/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.eq-m:last-child { margin-bottom: 0; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.spec h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); }
.spec p { margin: 0; font-size: 15.5px; color: var(--ink); }
.use-note { margin: 22px 0 0; font-size: 16px; }
#acc-tabs { margin: 0 0 6px; }
@media (max-width: 759px) {
  .eng-pair { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  .eq { padding: 14px 14px; border-radius: 12px; }
  .eq-m { font-size: 12.5px; margin-bottom: 12px; }
  .spec { grid-template-columns: 1fr; gap: 16px; }
  .spec p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .brow .fill, .brow .val, .tabs .glass { transition: none !important; } }

/* white page: hero tagline and the real-robot strip */
.hero .tag { margin: 22px auto 0; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); }
.real-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.real-grid .vid { aspect-ratio: 9 / 16; border-radius: 16px; }
@media (max-width: 759px) {
  .real-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .real-grid .vid { border-radius: 8px; }
}

/* ======================================================================
   ∇PO page (body.napo): the opening stage, charts and modules
   ====================================================================== */
.napo .fine .nb, .notes .nb { color: inherit; }
.sub2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); margin: 0 0 4px; }

/* opening: one pinned stage holding the title and the tracking result; scrolling walks through both */
.scene { position: relative; }
.opening { height: 640vh; }
.opening .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.opening .layer { position: absolute; inset: 0; }
.hero-layer { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22px; will-change: opacity, transform; }
.hero-line { margin: 0; display: flex; justify-content: center; align-items: flex-end; font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-size: clamp(64px, 13vw, 168px); color: var(--ink); }
.hero-line .slot { position: relative; display: inline-block; height: 1.06em; transition: width 0.55s cubic-bezier(.3,.8,.3,1); }
.hero-line .v { position: absolute; left: 0; bottom: 0; white-space: nowrap; opacity: 0; transform: translateY(0.12em); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.hero-line .v.on { opacity: 1; transform: none; }
.hero-line .v-sym svg.nab { width: 0.84em; height: 0.78em; vertical-align: -0.02em; margin-right: 0.04em; }
.hero-layer .sub { margin: 26px auto 0; max-width: 760px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(22px, 3vw, 36px); color: var(--ink); opacity: 0; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); transform: translateY(14px); }
.hero-layer .sub .soft { color: var(--ink2); }
.hero-layer .tag { margin: 20px auto 0; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); opacity: 0; transition: opacity 0.6s ease; }
.hero-layer.s2 .sub, .hero-layer.s3 .sub { opacity: 1; transform: none; }
.hero-layer.s3 .tag { opacity: 1; }

.res-layer { display: flex; flex-direction: column; max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav) + 18px) 22px 18px; opacity: 0; pointer-events: none; }
.res-layer.live { pointer-events: auto; }
.res-top .eyebrow { margin-bottom: 6px; }
.res-top .reach { font-size: clamp(32px, 4.4vw, 54px); margin: 0 0 12px; }
.res-top .lvl-name { margin: 8px 0 0; font-size: 14px; color: var(--ink2); min-height: 1.4em; }
#lvl-tabs { margin: 0; }
.res-chart { flex: 1 1 auto; min-height: 200px; position: relative; margin: 6px 0 0; }
.res-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.res-lower { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 36px; align-items: center; margin-top: 6px; }
.res-left .mx { font-size: clamp(44px, 5.4vw, 76px); }
.res-left .mx .mxs { font-size: 0.5em; letter-spacing: -0.03em; }
.res-lower .bars { margin: 4px 0 0; }
.res-lower .brow { padding: 4px 0; }
.res-layer > .fine { margin-top: 10px; font-size: 12px; }

/* charts (svg) */
.chart svg, .res-chart svg { display: block; overflow: visible; font-family: "Inter", sans-serif; }
svg .grid { stroke: #eceef1; stroke-width: 1; }
svg .axis { stroke: #c7cbd1; stroke-width: 1; }
svg text { fill: var(--muted); font-size: 12px; }
svg text.ttl { fill: var(--ink2); font-size: 12px; font-weight: 600; }
svg text.lbl { font-size: 14px; font-weight: 600; }
svg text.mk { font: 500 13px var(--mono); }
svg text.thr { fill: var(--ink2); font: 500 12px var(--mono); }
svg path.c { fill: none; stroke-linejoin: round; stroke-linecap: round; }
svg text.mono { font-family: var(--mono); }

/* skills: one player, four skills */
#skill-tabs { margin: 0 0 22px; }
.skill { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: stretch; background: var(--card); border-radius: 24px; overflow: hidden; }
.skill .vid { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 320px; }
.skill-body { padding: 26px 30px 26px 0; min-height: 390px; display: flex; flex-direction: column; justify-content: center; }
.skill-body .eyebrow { margin-bottom: 6px; }
.skill-h { margin: 0 0 14px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.skill-t { margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.skill-t .big { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.skill-u { font-size: 14px; color: var(--ink2); }
.skill-p { margin: 0 0 10px; font-size: 16px; color: var(--ink2); }
.skill-c { margin: 0; font-size: 13.5px; color: var(--muted); }
.skill-body > * { transition: opacity 0.25s ease; }
.skill.swap .skill-body > * { opacity: 0; }

/* benchmarks: a tile per task with a video slot, and the selected task's comparison */
.bench-ctl { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 40px 0 0; }
.bench-hint { margin: 0; font-size: 13px; color: var(--muted); }
.bench { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin: 18px 0 0; align-items: stretch; }
.bench-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bt { position: relative; background: var(--card); border-radius: 14px; overflow: hidden; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; outline-offset: 2px;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.bt:hover { transform: translateY(-1px); }
.bt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.bt .tv { position: relative; aspect-ratio: 16 / 9; background: #ececf0; overflow: hidden; }
.bt .tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bt .tv .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b4b9c1; font: 500 11px var(--mono); letter-spacing: 0.02em; text-align: center; padding: 6px; }
.bt.has-video .tv .ph { display: none; }
.bt .tn { margin: 8px 10px 2px; font: 500 12px/1.2 var(--mono); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt .tm { margin: 0 10px 9px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; min-height: 1.3em; }
.bt .tm b { font-weight: 700; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 6px; white-space: nowrap; }
.bt .tm span { color: var(--ink2); font-size: 13px; white-space: nowrap; }
.bt .tm .nv { color: var(--muted); font-style: italic; font-weight: 400; }
.bench-detail { background: var(--card); border-radius: 18px; padding: 18px 20px 20px; }
.bd-h { margin: 0 0 14px; font: 600 20px/1.2 var(--mono); letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; min-height: 2.4em; }
.bench-detail .sub2 { margin-top: 12px; }
.bench-detail .bars { margin: 2px 0 0; }
.bench-detail .brow { grid-template-columns: 1fr; gap: 0; padding: 3px 0; }
.bench-detail .brow .name { font-size: 13px; }
.bench-detail .brow .lane { height: 22px; }
.bench-detail .brow .fill { top: 4px; height: 13px; }
/* the per-task comparison: switching tasks redraws the bars quickly (a third of a second), the first reveal with a short stagger */
.bench-detail .brow .fill { transition-duration: 0.45s; }
.bench-detail .brow .val { transition: opacity 0.25s ease, left 0.45s cubic-bezier(.2,.7,.2,1); }
.bench-detail .bars.in .brow .fill { transition-delay: calc(0.05s + var(--i) * 0.06s); }
.bench-detail .bars.in .brow .val { transition-delay: calc(0.1s + var(--i) * 0.06s); }
.bench-detail .bars.live .brow .fill, .bench-detail .bars.live .brow .val { transition-duration: 0.3s; transition-delay: 0s; }
.bench-detail .brow .val, .bench-detail .brow .na { font-size: 13px; top: 1px; }
.brow.m-ppo .fill { background: #e8630a; }
.brow.m-ftd3 .fill { background: #12976a; }
.brow.m-shac .fill { background: #9ca3af; }
.brow.m-ahac .fill { background: #c4c8cf; }

/* ∇Mimic */
.vid.learn { aspect-ratio: 16 / 9; }

/* real robot */
.real-grid figure { margin: 0; }
.real-grid figcaption { position: absolute; left: 10px; bottom: 9px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }

/* method: the window diagram */
.win { margin: 10px 0 0; background: var(--card); border-radius: 22px; padding: 18px 10px 8px; }
.win svg { display: block; width: 100%; height: auto; }
.win .node { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.win .nt { fill: var(--ink); font: 500 15px var(--mono); }
.win .fwd { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.win .bwd { stroke: var(--accent); stroke-width: 2.2; fill: none; stroke-dasharray: 5 5; }
.win .clip { fill: var(--accent); }
.win .lab { fill: var(--ink2); font-size: 13px; }
.win .lab.b { fill: var(--accent); font-weight: 600; }
.win .pol { fill: var(--ink2); font: 500 13px var(--mono); }
.win .g { opacity: 0; transition: opacity 0.5s ease; }
.win.in .g { opacity: 1; }
.win-cap { margin-top: 10px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 46px 0 0; }
.pillar { background: var(--card); border-radius: 20px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.pillar .pn { margin: 0 0 10px; font: 500 13px var(--mono); color: var(--muted); }
.pillar h4 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.pillar p { margin: 0 0 12px; font-size: 15px; color: var(--ink2); }
.pillar .eqn { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 13.5px/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; }

/* method: trust region toggle */
.tr { margin: 72px 0 0; }
.tr-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.tr-head .subhead { margin: 0; }
.tr-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin-top: 20px; min-height: 210px; }
.tr-viz svg { display: block; width: 100%; height: auto; }
.tr-viz rect { transition: y 0.6s cubic-bezier(.2,.7,.2,1), height 0.6s cubic-bezier(.2,.7,.2,1), fill 0.3s ease; }
.tr-k { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1; min-height: 1em; }
.tr-c { margin: 0; font-size: 15.5px; color: var(--ink2); min-height: 4.8em; }
.tr-note { margin-top: 8px; }

/* method: fall margin */
.falls { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; margin: 72px 0 0; }
.falls-text p { margin: 0 0 18px; font-size: 16px; color: var(--ink2); }
.falls-chart svg { display: block; width: 100%; height: auto; }

/* heavy tails */
#tail-tabs { margin: 0 0 18px; }
.tails-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; }
.tails-pair .chart svg { width: 100%; height: auto; }

/* gradient sources */
.spectrum .sp-line.b { background: linear-gradient(90deg, #9ca3af, #e5e7eb); }
.spectrum .sp-line { background: linear-gradient(90deg, var(--ink), #9ca3af); }
.grad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 64px 0 0; }
.grad-pair .subhead { font-size: clamp(19px, 2vw, 23px); min-height: 2.4em; }
#cos-tabs { margin: 0 0 6px; }
.grad-pair .brow { grid-template-columns: 1fr; gap: 0; padding: 4px 0; }
.grad-pair .brow .name { font-size: 14px; }
.quote { margin: 56px auto 0; max-width: 820px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }

/* engine */
#gpu-tabs { margin: 18px 0 0; }

/* questions and citation */
details { border-top: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-weight: 400; font-size: 22px; color: var(--muted); transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 2px; color: var(--ink2); font-size: 15.5px; }
.title-cite { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.015em; margin: 0 0 8px; }
.authors { margin: 0; font-size: 17px; }
.affil { margin: 2px 0 18px; font-size: 15px; color: var(--ink2); }
.bib { position: relative; max-width: 820px; }
.bib .copy { position: absolute; top: 10px; right: 10px; z-index: 1; border: 1px solid #d1d5db; background: #fff; border-radius: 980px; padding: 4px 12px; font: 500 12px "Inter", sans-serif; color: var(--ink); cursor: pointer; }
.bib .copy:hover { border-color: #9ca3af; }

@media (max-width: 759px) {
  /* phones: the opening is a plain screen; the result follows as a normal block and plays when it comes into view */
  .opening { height: auto; }
  .opening .stage { position: relative; height: auto; overflow: visible; }
  .opening .layer { position: relative; inset: auto; }
  .hero-layer { height: 100vh; height: 100svh; }
  .hero-line { font-size: clamp(64px, 22vw, 110px); }
  .res-layer { opacity: 1; pointer-events: auto; padding: 56px 18px 0; min-height: 0; }
  .res-top .reach { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 10px; }
  .res-chart { flex: none; height: 250px; min-height: 0; }
  .res-lower { grid-template-columns: 1fr; gap: 4px; }
  .res-left .mx { font-size: clamp(40px, 12vw, 54px); }
  .res-lower .brow { grid-template-columns: 1fr; gap: 0; }
  .stat-row .stat .k { font-size: 30px; }
  .skill { grid-template-columns: 1fr; gap: 0; border-radius: 16px; }
  .skill .vid { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .skill-body { padding: 14px 16px 16px; min-height: 262px; justify-content: flex-start; }
  .skill-h { font-size: 21px; margin-bottom: 8px; }
  .skill-t { margin-bottom: 8px; }
  .skill-t .big { font-size: 40px; }
  .skill-p { font-size: 14px; margin: 0; }
  .skill-c { display: none; }
  .bench-ctl { margin-top: 24px; gap: 8px; }
  .bench-hint { display: none; }
  .bench { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .bench-grid { gap: 5px; }
  .bt { border-radius: 9px; }
  .bt .tn { margin: 4px 5px 1px; font-size: 8.5px; }
  .bt .tm { margin: 0 5px 5px; font-size: 10px; }
  .bt .tm b { border-left-width: 2px; padding-left: 3px; }
  .bt .tm span { font-size: 9.5px; }
  .bt .tv .ph { font-size: 8px; }
  .bench-detail { border-radius: 14px; padding: 12px 14px 12px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .bench-detail .eyebrow, .bench-detail .bd-h { grid-column: 1 / -1; }
  .bd-h { font-size: 15px; min-height: 0; margin-bottom: 4px; }
  .bench-detail .sub2 { font-size: 10.5px; margin-top: 4px; }
  #bd-min-k { grid-column: 1; grid-row: 3; }
  #bd-min { grid-column: 1; grid-row: 4; }
  #bd-ret-k { grid-column: 2; grid-row: 3; }
  #bd-ret { grid-column: 2; grid-row: 4; }
  .bench-detail .brow .name, .bench-detail .brow .val, .bench-detail .brow .na { font-size: 11px; }
  .bench-detail .brow .lane { height: 18px; }
  .bench-detail .brow .fill { top: 3px; height: 11px; }
  .real-grid figcaption { display: none; }
  .win { border-radius: 14px; padding: 10px 4px 4px; }
  .pillars { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .pillar { padding: 14px 16px; border-radius: 14px; }
  .pillar h4 { font-size: 16px; margin-bottom: 6px; }
  .pillar p { font-size: 13.5px; margin-bottom: 6px; }
  .pillar .eqn { font-size: 11.5px; padding-top: 8px; }
  .tr, .falls { margin-top: 48px; }
  .tr-body { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .tr-c { min-height: 6.4em; font-size: 14.5px; }
  .falls { grid-template-columns: 1fr; gap: 10px; }
  .falls-text p { font-size: 14.5px; margin-bottom: 12px; }
  .tails-pair { grid-template-columns: 1fr; gap: 14px; }
  .grad-pair { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .grad-pair .subhead { min-height: 0; }
  .quote { margin-top: 36px; font-size: 20px; }
  summary { font-size: 15.5px; }
  details p { font-size: 14.5px; }
}

/* reduced motion on a wide screen: the same static stack as on phones */
html { scroll-padding-top: var(--nav); }
.static .opening { height: auto; }
.static .opening .stage { position: relative; height: auto; overflow: visible; }
.static .opening .layer { position: relative; inset: auto; }
.static .hero-layer { height: 100vh; height: 100svh; }
.static .res-layer { opacity: 1; pointer-events: auto; }
.static .res-chart { flex: none; height: 380px; }
.bench-key { margin: 0; font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 14px; }
.bench-key i { display: inline-block; width: 3px; height: 13px; background: var(--accent); margin-right: 6px; vertical-align: -2px; }
.dots svg { display: block; width: 100%; height: auto; }
@media (max-width: 759px) { .static .res-chart { height: 250px; } .bench-key { font-size: 11px; } }
.brow.m-wm .fill { background: #6b7280; }
.brow.paper .fill, .brow.m-wm.paper .fill { background: none; border: 1px dashed #9ca3af; box-sizing: border-box; }   /* a time reported in another paper, not measured here */
.napo { --mono: "NablaMark", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.chart svg, .res-chart svg, .win svg, .dots svg, .tr-viz svg, .falls-chart svg { font-family: "NablaMark", "Inter", sans-serif; }
/* brand: blue is reserved for the nabla, the word Nabla and one multiplier per comparison; links are ink */
.napo a { color: var(--ink); }
.napo a:hover { text-decoration: underline; text-underline-offset: 3px; }
.napo .cta a { font-weight: 600; }
.napo sup a, .napo .fnm a { color: var(--muted); }
.napo .navlinks a { color: var(--ink2); }
.napo .navlinks a:hover, .napo .navlinks a.on { color: var(--ink); text-decoration: none; }
.napo .brand:hover, .napo .lab:hover { text-decoration: none; }
.napo .lab { color: var(--ink2); } .napo .lab:hover { color: var(--ink); }
#speed-sub { min-height: 1.5em; }
@media (max-width: 759px) { .res-top .lvl-name { min-height: 2.8em; } #speed-sub { min-height: 2.6em; } }

/* ===== 11-26 layout: the opening is a plain screen; many tasks come first ===== */
.opening { height: auto; }
.opening .stage { position: relative; height: auto; overflow: visible; }
.opening .layer { position: relative; inset: auto; }
.hero-layer { height: 78vh; height: 78svh; min-height: 460px; }
#tasks { padding-top: 24px; }

/* one window that opens into four */
.mt-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 8px 0 22px; }
.mt-tile { position: absolute; margin: 0; overflow: hidden; border-radius: 22px; background: var(--card); transition: left 0.9s cubic-bezier(.3,.8,.25,1), top 0.9s cubic-bezier(.3,.8,.25,1), width 0.9s cubic-bezier(.3,.8,.25,1), height 0.9s cubic-bezier(.3,.8,.25,1), opacity 0.7s ease, transform 0.9s cubic-bezier(.3,.8,.25,1), border-radius 0.9s ease; }
.mt-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-tile figcaption { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 10px; align-items: baseline; padding: 6px 12px; border-radius: 980px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; color: var(--ink2); white-space: nowrap; }
.mt-tile figcaption b { color: var(--ink); font-weight: 600; }
.mt-tile figcaption span { font-family: var(--mono); font-size: 13px; }
.mt-tile.t0 { left: 0; top: 0; width: 100%; height: 100%; z-index: 2; }
.mt-tile.t1 { left: calc(50% + 6px); top: 0; }
.mt-tile.t2 { left: 0; top: calc(50% + 6px); }
.mt-tile.t3 { left: calc(50% + 6px); top: calc(50% + 6px); }
.mt-tile.t1, .mt-tile.t2, .mt-tile.t3 { width: calc(50% - 6px); height: calc(50% - 6px); opacity: 0; transform: scale(0.94); pointer-events: none; }
.mt-stage.quad .mt-tile.t0 { width: calc(50% - 6px); height: calc(50% - 6px); border-radius: 18px; }
.mt-stage.quad .mt-tile.t1, .mt-stage.quad .mt-tile.t2, .mt-stage.quad .mt-tile.t3 { opacity: 1; transform: none; pointer-events: auto; border-radius: 18px; }
.mt-stage.quad .mt-tile.t1 { transition-delay: 0.15s; } .mt-stage.quad .mt-tile.t2 { transition-delay: 0.3s; } .mt-stage.quad .mt-tile.t3 { transition-delay: 0.45s; }
.mt-stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 759px) {
  .hero-layer { height: 72vh; height: 72svh; }
  .mt-stage { margin-bottom: 16px; }
  .mt-tile { border-radius: 14px; }
  .mt-stage.quad .mt-tile { border-radius: 10px; }
  .mt-stage.quad .mt-tile.t0, .mt-tile.t1, .mt-tile.t2, .mt-tile.t3 { width: calc(50% - 3px); height: calc(50% - 3px); }
  .mt-tile.t1, .mt-tile.t3 { left: calc(50% + 3px); } .mt-tile.t2, .mt-tile.t3 { top: calc(50% + 3px); }
  .mt-tile figcaption { left: 8px; bottom: 8px; padding: 3px 8px; font-size: 11px; gap: 6px; }
  .mt-tile figcaption span { font-size: 10.5px; }
  .mt-stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mt-tile { transition: none !important; } }

/* the tracking result as a normal block inside the tracking section */
.res-block { opacity: 1; pointer-events: auto; padding: 0; max-width: none; margin: 34px 0 0; }
.res-block .res-chart { flex: none; height: 400px; }
@media (max-width: 759px) { .res-block { padding: 0; } .res-block .res-chart { height: 250px; } }
.stable-in { margin-top: 44px; }
.stable-in .subhead { margin-bottom: 14px; }
.brow.m-it .fill { background: #c2457a; }

/* drift comparison (from the NablaMimic page) */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.videos figure { margin: 0; }
.videos video { width: 100%; display: block; border-radius: 20px; background: var(--card); aspect-ratio: 16 / 9; }
.videos figcaption { font-size: 15px; font-weight: 600; color: var(--ink2); margin-top: 8px; }
.ov-grid { margin-top: 16px; }
.ov-grid figcaption.ours { color: var(--ink); }
.ov-grid figcaption small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.callout { margin: 0 0 14px; font-size: 16px; color: var(--ink2); max-width: 760px; }
.compare-tabs { margin: 4px 0 0; }
.ebars { margin-top: 12px; display: grid; gap: 8px; }
.eb { display: grid; grid-template-columns: 132px 1fr 104px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.et { height: 8px; border-radius: 980px; background: #e5e7eb; overflow: hidden; }
.et i { display: block; height: 100%; width: 0; border-radius: 980px; background: #e8630a; transition: width 0.12s linear; }
.ov-grid figure:first-child .et i { background: var(--accent); }
.ev { font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
@media (max-width: 759px) { .videos { grid-template-columns: 1fr; } .eb { grid-template-columns: 112px 1fr 92px; font-size: 12px; } }

/* toggles never wrap: one row that scrolls sideways when it does not fit */
.tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 759px) { .tabs button { padding: 7px 12px; font-size: 13px; } }
.bones { margin-top: 8px; }
.bones-chart { margin-top: 12px; }
.bones-chart svg { display: block; width: 100%; height: auto; }
@media (max-width: 759px) { .mt-stage.quad .mt-tile figcaption span { display: none; } .mt-stage.quad .mt-tile figcaption { max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; } }

/* ===== 11-26 b: the NablaMimic opening; pinned many-tasks screen; one screen per module ===== */
.hero2 { position: relative; height: 300vh; }
.h2-inner { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--nav) 22px 0; overflow: hidden; }
.hl2 { position: relative; width: 100%; height: 1.25em; margin: 0; font-family: var(--display); font-size: clamp(40px, 8vw, 104px); font-weight: 800; line-height: 1.25; letter-spacing: -0.04em; white-space: nowrap; color: var(--ink); }
.hl2 .w { position: absolute; top: 0; left: 50%; display: block; white-space: nowrap; opacity: 0; transition: transform 0.3s cubic-bezier(.25,.8,.25,1), opacity 0.25s ease; will-change: transform, opacity; }
.hl2 .v { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(0.12em); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.25,.8,.25,1); pointer-events: none; }
.hl2 .v.on { opacity: 1; transform: none; }
.hl2 .v-nabla, .hl2 .v-grad { color: var(--accent); }
.hl2 svg.nab { width: 0.9em; height: 0.83em; margin: 0; vertical-align: -0.03em; color: var(--accent); }
.hsub { font-size: clamp(17px, 2vw, 24px); color: var(--ink2); margin: 26px 0 0; max-width: 760px; opacity: 0; transition: opacity 0.6s ease; }
.hsub.in { opacity: 1; }
.static .hero2 { height: auto; }
.static .h2-inner { position: relative; height: 100svh; min-height: 520px; }
@media (max-width: 759px) { .hl2 { font-size: clamp(34px, 10.5vw, 46px); } .hl2.two { height: 2.5em; } .hl2.two .w-tail { top: 1.25em; } }

/* many tasks: pinned on wide screens, the stage fills what the heading leaves */
.mt-sec { padding-top: 0; }
.mt-sec:not(.x) { height: 280vh; }
.mt-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav) + 26px) 0 18px; box-sizing: border-box; }
.mt-pin .claim { margin: 0; font-size: clamp(36px, 4.6vw, 60px); }
.mt-pin .mt-lede { margin: 10px 0 14px; font-size: clamp(16px, 1.5vw, 19px); }
.mt-stage { position: relative; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; margin: 0; }
.mt-tile { position: absolute; margin: 0; transition: left 0.85s cubic-bezier(.3,.8,.25,1), top 0.85s cubic-bezier(.3,.8,.25,1), width 0.85s cubic-bezier(.3,.8,.25,1), opacity 0.6s ease; opacity: 0; pointer-events: none; }
.mt-tile.on { opacity: 1; pointer-events: auto; }
.mt-tile .mt-v { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: var(--card); transition: height 0.85s cubic-bezier(.3,.8,.25,1); }
.mt-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-tile figcaption { position: static; display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 10px; align-items: baseline; margin: 8px 2px 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 15px; color: var(--ink2); white-space: nowrap; }
.mt-tile .mt-t { color: var(--ink); font-weight: 600; }
.mt-tile .mt-m { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.mt-tile .mt-d { grid-column: 1 / -1; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.mt-sec > .fine { margin-top: 0; }
.static .mt-sec:not(.x) { height: auto; }
.static .mt-pin { position: relative; height: auto; padding-top: 56px; }
.static .mt-stage { flex: none; height: 118vw; max-height: 560px; }
@media (max-width: 759px) {
  .mt-tile .mt-v { border-radius: 10px; }
  .mt-tile figcaption { margin-top: 5px; font-size: 12px; column-gap: 6px; }
  .mt-tile .mt-m { font-size: 11.5px; } .mt-tile .mt-d { font-size: 11px; }
}

/* benchmarks: a calmer selection */
.bt { transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.bt[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--ink), 0 6px 18px rgba(17,19,24,0.10); transform: translateY(-1px); }
.bt:focus-visible { outline: 2px solid var(--accent); }
.bt .tm b { border-left: 0; padding-left: 0; }

/* tracking chart: fits one screen with its heading */
.res-block .res-chart { height: min(46vh, 400px); }

/* benchmarks and BONES: each fits one wide screen */
@media (min-width: 760px) {
  #bench .stat-row { margin-top: 16px; }
  #bench .stat .k { font-size: 38px; }
  #bench .stat .cap { margin-top: 4px; font-size: 13px; }
  .bench-ctl { margin-top: 16px; }
  .bench { margin-top: 12px; }
  .bt .tv { aspect-ratio: 2 / 1; }
  .bt .tn { margin-top: 6px; }
  .bt .tm { margin-bottom: 7px; font-size: 13px; }
  .bones-chart { margin-top: 8px; }
}
.mt-tile { background: none; border-radius: 0; overflow: visible; }
.mt-tile figcaption { font-family: "Inter", sans-serif; }
.mt-tile .mt-m { font-family: var(--mono); }
.mt-pin .mt-lede { max-width: 980px; }
.mt-fine { margin: 6px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); max-width: none; }
.mt-tile figcaption, .mt-tile .mt-t, .mt-tile .mt-d { font-family: "Inter", system-ui, sans-serif !important; letter-spacing: 0; }
.mt-tile .mt-m { font-family: "IBM Plex Mono", ui-monospace, monospace !important; }
.bench-stats { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.bench-stats b { color: var(--ink2); font-weight: 600; }
.bench-stats .sep { color: var(--muted); margin: 0 6px; }
@media (min-width: 1100px) {
  .bench { grid-template-columns: 1fr 270px; }
  .bench-grid { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .bt .tn { font-size: 11px; margin: 5px 8px 1px; }
  .bt .tm { margin: 0 8px 6px; font-size: 12px; }
  .bt .tm span { font-size: 11px; }
}
.bench { align-items: start; }
.bench-grid { align-content: start; }
@media (max-width: 759px) { .mt-tile figcaption { grid-template-columns: minmax(0, 1fr) auto; } .mt-tile .mt-t { overflow: hidden; text-overflow: ellipsis; } }

/* ===== 11-26 c ===== */
/* opening: NablaPO -> ∇PO, then the subtitle; short pinned screen, the tasks follow quickly */
.hero2 { height: 165vh; }
/* tasks: windows that appear wait until the others have moved (no overlap); big numbers under each window */
.mt-tile { transition: left 0.75s cubic-bezier(.3,.8,.25,1), top 0.75s cubic-bezier(.3,.8,.25,1), width 0.75s cubic-bezier(.3,.8,.25,1), opacity 0.45s ease; }
.mt-tile:not(.on) { transition-duration: 0s, 0s, 0s, 0.2s; }
.mt-tile.on { transition-delay: 0s, 0s, 0s, 0.7s; }
.mt-tile figcaption { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: baseline; margin-top: 8px; white-space: nowrap; }
.mt-tile .mt-k { grid-row: 1 / span 2; font-family: var(--display) !important; font-weight: 800; font-size: 34px; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.mt-tile .mt-k small { font-size: 0.42em; font-weight: 700; color: var(--ink2); margin-left: 3px; letter-spacing: 0; }
.mt-tile .mt-t { font-size: 15px; }
.mt-tile .mt-d { grid-column: 2; font-size: 13px; }
@media (max-width: 759px) { .mt-tile .mt-k { font-size: 22px; } .mt-tile figcaption { column-gap: 7px; grid-template-columns: auto minmax(0, 1fr); } .mt-tile .mt-t { font-size: 11.5px; } .mt-tile .mt-d { font-size: 10.5px; } }

/* benchmarks: a regular 4 x 4 grid; selection = shadow and lift */
@media (min-width: 760px) {
  .bench { grid-template-columns: 1fr 270px; }
  .bench-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .bt .tv { aspect-ratio: 2.4 / 1; }
}
.bt { box-shadow: 0 0 0 0 rgba(17,19,24,0); }
.bt[aria-pressed="true"] { box-shadow: 0 10px 26px rgba(17,19,24,0.16), 0 2px 6px rgba(17,19,24,0.08); transform: translateY(-3px); background: #fff; }
.bt:hover:not([aria-pressed="true"]) { box-shadow: 0 4px 12px rgba(17,19,24,0.08); }

/* ∇Mimic: eyebrow + title + one link */
.res-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13px; color: var(--ink2); }
.res-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: 4px; margin-right: 6px; }
.res-legend .l-ours { background: #2997ff; height: 4px; } .res-legend .l-it { background: #c2457a; } .res-legend .l-sm { background: #6b7280; } .res-legend .l-ppo { background: #e8630a; }
.res-legend .l-bm2 { background: #8e5bd6; } .res-legend .l-smp { background: repeating-linear-gradient(90deg, #6b7280 0 5px, transparent 5px 8px); border-radius: 0; }
.res-left .mx { font-size: inherit; }
.mxr { display: flex; align-items: baseline; gap: 10px; }
.mxr .x { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); letter-spacing: -0.04em; color: var(--ink); line-height: 1.05; }
.mxr .vs { font-size: 15px; color: var(--ink2); }
.mxr.sm .x { font-size: clamp(26px, 2.6vw, 34px); }
.drift-h { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.callout b { color: var(--ink); }
#mimic .videos { margin-bottom: 10px; }

/* toggles: the selected glass copy never wraps either */
.tabs .glass-in > span, .tabs.grid .glass-in > span { white-space: nowrap !important; }
.tabs button { white-space: nowrap !important; }
.mt-tile .mt-k { font-size: clamp(40px, 4.2vw, 58px); }
.mt-tile figcaption { column-gap: 16px; margin-top: 10px; align-items: center; }
.mt-tile .mt-t { font-size: 17px; } .mt-tile .mt-d { font-size: 14px; }
@media (max-width: 759px) { .mt-tile .mt-k { font-size: 26px; } .mt-tile figcaption { column-gap: 7px; margin-top: 6px; } .mt-tile .mt-t { font-size: 11.5px; } .mt-tile .mt-d { font-size: 10.5px; } }

/* ===== 11-26 d: polish pass. One vertical rhythm, one type scale, one screen per module ===== */
:root { --sp: clamp(56px, 9vh, 104px); }
@media (max-width: 759px) { :root { --sp: 64px; } }
.sec { padding-top: var(--sp); }
.sec.mt-sec, #tasks { padding-top: 0; }
.spaced { margin-top: var(--sp); }
.notes { margin-top: var(--sp); }

/* type: statements share one size, product names keep the large one; balanced line breaks */
.claim, .subhead, .reach, .title-cite { text-wrap: balance; }
.lede, .mt-tile .mt-d { text-wrap: balance; }
.callout, .stat .cap { text-wrap: pretty; }
.claim { margin-bottom: 18px; }
.claim.mid, .mt-pin .claim { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 12px; }
.eyebrow { margin-bottom: 12px; }
.lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 880px; margin-bottom: 24px; }
.sub2 { font-size: 12px; letter-spacing: 0.08em; }
/* note markers: one small size wherever they sit */
.fnm { font-size: 11px; line-height: 1; vertical-align: top; position: relative; top: 0.25em; margin-left: 3px; font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 0; }
.napo .fnm a { color: #9ca3af; font-size: inherit; margin-left: 0; }
.claim .fnm, .reach .fnm, .subhead .fnm { top: 0.8em; }
/* a product name with its link on the same baseline */
.title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 26px; margin: 0 0 6px; }
.title-row .claim { margin: 0; }
.title-row .cta { margin: 0; font-size: 18px; }
.napo .title-row .cta a { color: var(--ink2); font-weight: 600; }
.napo .title-row .cta a:hover { color: var(--ink); }
.title-row + .lede { margin-top: 16px; }
/* a toggle with its legend on one row */
.ctl-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.ctl-row .res-legend { margin: 0; }
.stat-row.three { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); gap: 30px; }

/* many tasks: centred like the opening it follows; captions scale with their window and never collide */
.mt-pin .claim, .mt-pin .mt-lede { text-align: center; margin-left: auto; margin-right: auto; }
.mt-pin .mt-lede { margin-top: 12px; margin-bottom: 20px; }
.mt-tile { container-type: inline-size; }
.mt-tile figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(10px, 3.6cqw, 18px); row-gap: 2px; align-items: center; margin: 10px 2px 0; white-space: normal; }
.mt-tile .mt-k { grid-row: 1 / span 2; font-size: clamp(30px, 10.4cqw, 54px); white-space: nowrap; }
.mt-tile .mt-t { align-self: end; font-size: clamp(13px, 3.9cqw, 17px); line-height: 1.2; overflow: visible; }
.mt-tile .mt-d { grid-column: 2; align-self: start; font-size: clamp(12px, 3.3cqw, 14px); line-height: 1.3; color: var(--ink2); white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@container (max-width: 250px) {
  .mt-tile figcaption { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 3px; margin-top: 7px; }
  .mt-tile .mt-k { grid-row: auto; font-size: 26px; }
  .mt-tile .mt-t { font-size: 12.5px; }
  .mt-tile .mt-d { grid-column: 1; font-size: 11.5px; }
}
@media (min-width: 760px) and (max-height: 800px) {
  .mt-pin { padding-top: calc(var(--nav) + 18px); padding-bottom: 14px; }
  .mt-pin .claim { font-size: 44px; }
  .mt-pin .mt-lede { margin: 6px auto 14px; font-size: 16px; }
}
@media (max-width: 759px) { .static .mt-pin { padding-top: var(--sp); padding-bottom: 0; } }

/* benchmarks */
#bench .lede { margin-bottom: 0; }
.bench-stats { margin-top: 10px; }
.bench-ctl { margin-top: 22px; }
.bench { margin-top: 14px; }
@media (min-width: 760px) {
  .bench { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
  .bench-detail { padding: 20px 20px 16px; border-radius: 20px; }
  .bench-detail .eyebrow { margin-bottom: 6px; font-size: 11px; }
  .bd-h { font-size: 17px; min-height: 0; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bench-detail .sub2 { margin: 16px 0 6px; font-size: 11px; white-space: nowrap; }
  .bench-detail .brow { grid-template-columns: 62px minmax(0, 1fr); gap: 8px; padding: 2px 0; }
}
@media (min-width: 760px) and (max-height: 800px) { .bt .tv { aspect-ratio: 3.3 / 1; } .bt .tn { margin-top: 5px; } .bt .tm { margin-bottom: 6px; } .bench-ctl { margin-top: 16px; } .bench { margin-top: 12px; } }
@media (max-width: 759px) {
  .bt .tv { aspect-ratio: 2 / 1; }
  .bt .tm { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.3; }
}

/* ∇Mimic: the result block */
.res-block { margin-top: 0; padding-top: 30px; }
.res-top .eyebrow { margin-bottom: 8px; }
.res-top .reach { font-size: clamp(30px, 4vw, 52px); margin-bottom: 14px; }
.res-legend { margin-top: 16px; gap: 6px 20px; }
.res-block .res-chart { height: min(42vh, 400px); margin-top: 8px; }
.res-chart text.mk, .res-chart text.thr { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.res-lower { margin-top: 14px; }
.mxr .vs { font: 500 15px/1.3 "NablaMark", "Inter", sans-serif; letter-spacing: 0; }
@media (min-width: 760px) and (max-height: 800px) { .res-block { padding-top: 22px; } .res-block .res-chart { height: 35vh; } .res-lower .brow { padding: 2px 0; } }
@media (max-width: 759px) { .res-legend { font-size: 12px; gap: 4px 12px; } .res-legend i { width: 14px; margin-right: 5px; } }
@media (min-width: 760px) {
  .res-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
  .res-top > .eyebrow, .res-top > .reach, .res-top > .res-legend { grid-column: 1 / -1; }
  .res-top .lvl-name { margin: 0; font-size: 15px; min-height: 0; }
  .res-lower { grid-template-columns: minmax(240px, 350px) minmax(0, 1fr); align-items: start; }
  .res-lower .brow { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .res-left { padding-top: 22px; }
}
/* the one highlighted multiplier of the comparison */
.mxr:first-child .x { color: var(--accent); }
.mxr .x:has(.nb) { color: var(--ink); }

/* drift comparison */
.drift-h { margin-bottom: 14px; }
.callout { font-size: clamp(15.5px, 1.4vw, 17px); max-width: 820px; margin-bottom: 18px; }
#mimic .videos { margin-bottom: 0; }

/* BONES */
#bones .lede { max-width: 960px; margin-bottom: 20px; }
.bones-chart { margin-top: 14px; }

/* real robot: the strip never grows past the screen */
#real .lede { margin-bottom: 26px; }
.real-grid .vid { width: 100%; max-height: min(340px, 34vh); }
@media (max-width: 759px) { .real-grid .vid { max-height: none; } .stat-row.three { gap: 10px; padding-top: 16px; margin-top: 20px; } }

/* NablaEngine */
#engine .lede { margin-bottom: 0; }
#gpu-tabs { margin-top: 20px; }
.eng-pair { margin-top: 26px; gap: 48px; }
.eng-pair .eyebrow { margin-bottom: 6px; }
.eng-x { font-size: clamp(34px, 4vw, 52px); margin-bottom: 0; }
.eng-pair .bars { margin-top: 12px; }
@media (min-width: 760px) { .eng-pair .brow { grid-template-columns: 182px minmax(0, 1fr); gap: 12px; padding: 3px 0; } }
@media (max-width: 759px) { .eng-pair { gap: 18px; margin-top: 18px; } }

/* questions and citation */
#faq .subhead, #cite .subhead { margin-bottom: 16px; }
/* user 11-26: "给个蓝色连接 learn more" */
.learn-more a, #mimic .learn-more a { color: var(--accent) !important; font-weight: 600; }

/* ===== 11-27 e: user round 3 ===== */
/* nav: Paper + Code, as on the ∇Mimic page */
.pill.solid.soon { background: var(--ink); border-color: var(--ink); color: #fff !important; cursor: default; }
.pill .pill-s { opacity: 0.62; white-space: pre; }
@media (max-width: 759px) { .navcta { gap: 6px; } .pill { padding: 0 11px; } .pill .pill-l { display: none; } }

/* tasks: a dwell after the four windows (page.js shortens it once they have settled); one number per window, text columns aligned */
.mt-sec:not(.x) { height: 310vh; }
.static .mt-sec:not(.x) { height: auto; }
.mt-tile figcaption { grid-template-columns: clamp(76px, 26cqw, 134px) minmax(0, 1fr); column-gap: clamp(6px, 2cqw, 12px); }
@container (max-width: 250px) { .mt-tile figcaption { grid-template-columns: minmax(0, 1fr); } }

/* benchmarks: taller windows; a dot per method on every tile, the key above the grid */
@media (min-width: 760px) {
  .bt .tv { aspect-ratio: 1.9 / 1; }
  .bench-ctl { margin-top: 16px; }
  .bench { margin-top: 12px; }
  .bt .tn { margin-top: 6px; }
  .bt .tm { margin-bottom: 7px; }
}
@media (min-width: 760px) and (max-height: 800px) {
  #bench .claim { font-size: 44px; margin-bottom: 4px; }
  #bench .lede { font-size: 17px; }
  .bench-stats { margin-top: 6px; font-size: 12.5px; }
  .bench-ctl { margin-top: 10px; } .bench { margin-top: 8px; }
  .bench-grid { gap: 8px; }
  .bt .tv { aspect-ratio: 2.6 / 1; }
  .bt .tn { margin-top: 4px; } .bt .tm { margin-bottom: 5px; }
}
.kd { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; vertical-align: 0.14em; flex: none; }
.kd.o { background: var(--accent); } .kd.p { background: #e8630a; }
.bt .tm b, .bt .tm span { display: inline-flex; align-items: center; }
.bt .tm .kd { vertical-align: 0; }
.bench-key { gap: 16px; font-size: 13.5px; }
.bench-key span { display: inline-flex; align-items: center; }
.bench-key b { font-weight: 700; color: var(--ink); }
.bench-key .kd { width: 7px; height: 7px; margin-right: 6px; background-clip: border-box; }
.bench-key i.kd.o { background: var(--accent); } .bench-key i.kd.p { background: #e8630a; }
@media (max-width: 759px) { .bt .tm b, .bt .tm span { display: flex; } }

/* ∇Mimic: title, result headline with the legend beside it, levels, chart and times on one screen */
.res-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.res-head .reach { margin: 0; }
.res-head .res-legend { margin: 0 0 6px; }
.res-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.res-ctl .lvl-name { margin: 0; }
@media (min-width: 760px) {
  #mimic > .title-row .claim { font-size: clamp(40px, min(5vw, 8.4vh), 68px); }
  .res-top { display: block; }
  .res-block { padding-top: 16px; }
  .res-top .reach { font-size: clamp(28px, min(3.2vw, 5.4vh), 44px); }
  .res-block .res-chart { height: clamp(190px, calc(100vh - var(--nav) - var(--sp) - 424px), 400px); margin-top: 10px; }
  .res-lower { margin-top: 8px; align-items: center; }
  .res-left { padding-top: 0; }
  .res-lower .brow { padding: 2px 0; }
  .res-lower .brow .lane { height: 28px; } .res-lower .brow .fill { top: 5px; }
  .mxr .x { font-size: clamp(40px, min(4.6vw, 7.4vh), 64px); }
  .mxr.sm .x { font-size: clamp(22px, min(2.2vw, 3.6vh), 30px); }
  .mxr.sm { gap: 8px; }
  .mxr.sm .vs { font-size: 14px; }
}
@media (min-width: 760px) and (max-height: 800px) { .res-block { padding-top: 10px; } .res-block .res-chart { height: clamp(190px, calc(100vh - var(--nav) - var(--sp) - 392px), 400px); } .res-ctl { margin-top: 8px; } }
@media (max-width: 759px) { .res-head { display: block; } .res-head .res-legend { margin: 8px 0 0; } .res-ctl { display: block; margin-top: 10px; } .res-ctl .lvl-name { margin-top: 8px; } }

/* real robot: the link to the ∇Mimic page closes the section */
#real .learn-more { margin: 22px 0 0; font-size: 18px; }
@media (min-width: 760px) and (max-height: 800px) { .real-grid .vid { max-height: 29vh; } #real .learn-more { margin-top: 14px; } #real .stat-row { margin-top: 22px; } }

/* hover read-out on the line charts */
.hv-l { stroke: #9ca3af; stroke-width: 1; }
.hv-tip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 11px 9px; border-radius: 12px; background: rgba(255,255,255,0.94); box-shadow: 0 6px 22px rgba(17,19,24,0.14), 0 0 0 1px rgba(17,19,24,0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; line-height: 1.5; color: var(--ink2); white-space: nowrap; }
.hv-tip[hidden] { display: none; }
.hv-tip p { display: flex; align-items: center; gap: 7px; margin: 0; }
.hv-tip .hv-t { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.hv-tip i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.hv-tip b { margin-left: auto; padding-left: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* NablaEngine: all simulators on the left, the gradient and the three facts on the right */
.eng-pair.eng-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 22px; }
.eng-x small { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink2); margin-left: 4px; white-space: nowrap; }
.eng-u { font-weight: 500; color: var(--muted); letter-spacing: 0.06em; }
.eng-wide .bars { margin-top: 10px; }
.eng-wide #fwd-bars .brow { grid-template-columns: 190px 1fr; gap: 14px; padding: 1px 0; }
.eng-wide #fwd-bars .brow .lane { height: 25px; }
.eng-wide #fwd-bars .brow .fill { top: 5px; height: 15px; }
.eng-wide #fwd-bars .brow .val { top: 2px; font-size: 14.5px; }
.eng-wide #fwd-bars .brow .na { top: 3px; font-size: 13px; }
.eng-wide #fwd-bars .brow.ref .name { font-style: normal; color: var(--ink2); }
.eng-stats { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.eng-stats .stat { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.eng-stats .stat .k { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.eng-stats .stat .cap { margin: 0; font-size: 13.5px; line-height: 1.35; }
@media (max-width: 759px) {
  .eng-pair.eng-wide { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 14px; }
  .eng-wide #fwd-bars .brow { grid-template-columns: 132px 1fr; gap: 8px; }
  .eng-wide #fwd-bars .brow .name { font-size: 12.5px; }
  .eng-stats .stat { grid-template-columns: 84px minmax(0, 1fr); } .eng-stats .stat .k { font-size: 24px; }
  .hv-tip { font-size: 12px; padding: 6px 9px 7px; }
}

/* GPU toggle: a row that gains or loses its measurement swaps bar and "not measured" one after the other, never both at once */
.eng-wide .bars.live .brow .fill { transition: width 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.18s ease 0.2s; }
.eng-wide .bars.live .brow .val { transition: left 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.18s ease 0.2s; }
.eng-wide .bars.live .brow .na { transition: opacity 0.15s ease; }
.eng-wide .bars.live .brow.none .fill, .eng-wide .bars.live .brow.none .val { transition: opacity 0.15s ease; }
.eng-wide .bars.live .brow.none .na { transition: opacity 0.18s ease 0.2s; }
.eng-wide .bars.live .brow.swap .fill, .eng-wide .bars.live .brow.swap .val { transition: opacity 0.18s ease 0.2s; }

/* the first module appears only once the reader scrolls to it */
.mt-sec .mt-pin > .claim, .mt-sec .mt-pin > .mt-lede, .mt-sec .mt-pin > .mt-stage { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.mt-sec .mt-pin > .mt-lede { transition-delay: 0.08s; } .mt-sec .mt-pin > .mt-stage { transition-delay: 0.16s; }
.mt-sec:not(.seen) .mt-pin > .claim, .mt-sec:not(.seen) .mt-pin > .mt-lede, .mt-sec:not(.seen) .mt-pin > .mt-stage { opacity: 0.001; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .mt-sec .mt-pin > * { transition: none !important; } }
/* phones: the opening fills the whole screen whatever the browser bars do, and the task module is pinned like on wide screens */
.static .h2-inner { height: 100vh; height: 100lvh; }
.static.mtp .mt-sec:not(.x) { height: 310vh; height: 310svh; }
.static.mtp .mt-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--nav) + 14px) 0 10px; }
.static.mtp .mt-stage { flex: 1 1 auto; height: auto; max-height: none; min-height: 0; }
@media (max-width: 759px) {
  .static.mtp .mt-pin .claim { font-size: clamp(28px, 8.4vw, 34px); margin-bottom: 0; }
  .static.mtp .mt-pin .mt-lede { margin: 8px auto 12px; font-size: 14.5px; line-height: 1.4; }
}
/* the tracking block: the title row sits close to its result, and on phones the whole block is one screen */
.res-block { padding-top: 8px; }
@media (min-width: 760px) { .res-block { padding-top: 8px; } }
@media (max-width: 759px) {
  #mimic > .eyebrow { font-size: 10.5px; letter-spacing: 0.08em; margin-bottom: 6px; }
  #mimic > .title-row { margin-bottom: 0; gap: 2px 18px; } #mimic > .title-row .claim { font-size: 38px; } #mimic > .title-row .cta { font-size: 16px; }
  #speed.res-block { padding-top: 6px; }
  #speed .res-top .reach { font-size: 27px; margin-bottom: 0; }
  #speed .res-head .res-legend { margin-top: 6px; }
  #speed .res-ctl { margin-top: 8px; } #speed .res-ctl .lvl-name { margin-top: 5px; min-height: 1.4em; font-size: 13px; }
  #speed .res-chart { height: 186px; margin-top: 2px; }
  #speed .res-lower { margin-top: 4px; gap: 2px; }
  #speed .mxr { gap: 8px; } #speed .mxr .x { font-size: 38px; } #speed .mxr.sm .x { font-size: 20px; } #speed .mxr .vs { font-size: 13px; }
  #speed .mxr.long .vs { font-size: clamp(11.5px, 3.3vw, 13px); }   /* the longest comparison stays on one line on a 360px screen */
  #speed #speed-sub { min-height: 1.3em; margin: 0; font-size: 13px; }
  #speed .res-right .sub2 { margin: 6px 0 0; font-size: 11px; }
  #speed .res-lower .bars { margin: 2px 0 0; }
  #speed .res-lower .brow { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; padding: 0; }
  #speed .res-lower .brow .name { font-size: 13px; } #speed .res-lower .brow .lane { height: 24px; } #speed .res-lower .brow .fill { top: 5px; height: 14px; } #speed .res-lower .brow .val, #speed .res-lower .brow .na { top: 2px; font-size: 13px; }
}
/* phones: the three benchmark results as a left-aligned list, one per line */
@media (max-width: 759px) {
  .bench-stats { text-align: left; line-height: 1.45; }
  .bench-stats .bs { display: block; white-space: nowrap; font-size: min(12px, 3.15vw); }
  .bench-stats .sep { display: none; }
}

/* the Code dropdown (as on the NablaMimic page): opens on hover, pins on click */
.code-menu { position: relative; display: flex; align-items: center; }
.code-menu .pill.solid { cursor: pointer; }
.code-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 252px; padding: 6px; border-radius: 15px; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); border: 1px solid rgba(17, 19, 24, 0.08); box-shadow: 0 14px 44px rgba(17, 19, 24, 0.14);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; }
.code-menu.open .code-panel { opacity: 1; transform: none; pointer-events: auto; }
.code-panel a, .code-panel .cp-soon { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); white-space: nowrap; text-align: left; }
.code-panel a:hover, .code-panel a:focus-visible { background: rgba(17, 19, 24, 0.05); text-decoration: none; outline: 0; }
.code-panel .cp-soon { color: var(--muted); cursor: default; }
.code-panel .t { display: block; font: 600 14px/1.3 "NablaMark", "Inter", sans-serif; }
.code-panel .ne { font-weight: inherit; }
.code-panel .d { display: block; font-size: 12px; color: var(--ink2); margin-top: 1px; }
.code-panel .cp-soon .d { color: var(--muted); }
@media (max-width: 759px) { .code-panel { right: -4px; min-width: 232px; } }
/* NablaEngine code: both versions share one cell, so switching never changes the height */
.code-head { margin-top: var(--sp); }
.code-tabs { margin: 0 0 12px; }
.code-wrap { display: grid; }
.code-wrap > pre { grid-area: 1 / 1; margin: 0; }
.code-wrap > pre[hidden] { display: block; visibility: hidden; }

/* tasks: nine windows (one → 2×2 → 3×3). Every caption line stays on one line at every size: a long form (.l) in wide windows,
   a short form (.s) below 270px. Four width bands; page.js (BANDS) reserves the matching caption height for each. */
.mt-tile .mt-t, .mt-tile .mt-d { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: none; min-width: 0; text-wrap: nowrap; }
.mt-tile .s { display: none; }
.mt-tile figcaption .l, .mt-tile figcaption .s { font: inherit; letter-spacing: inherit; }
.mt-tile figcaption { grid-template-columns: clamp(76px, 28.5cqw, 134px) minmax(0, 1fr); }
.mt-tile .mt-d { font-size: clamp(11px, 3.1cqw, 14px); }
.mt-tile.mt-ph .mt-k { color: var(--bar); }
@container (max-width: 270px) {   /* 3×3 on wide screens: the number beside two short lines */
  .mt-tile .l { display: none; } .mt-tile .s { display: inline; }
  .mt-tile figcaption { grid-template-columns: 31cqw minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 2.4cqw; row-gap: 1px; margin: 7px 2px 0; }
  .mt-tile .mt-k { grid-row: 1 / span 2; font-size: 10.6cqw; }
  .mt-tile .mt-t { font-size: clamp(10.5px, 4.7cqw, 12.5px); }
  .mt-tile .mt-d { grid-column: 2; font-size: clamp(10px, 4.2cqw, 11.5px); }
  .mt-tile .mt-v { border-radius: 12px; }
}
@container (max-width: 190px) {   /* 2×2 on phones: number, title, line stacked */
  .mt-tile figcaption { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 3px; margin: 7px 2px 0; }
  .mt-tile .mt-k { grid-row: auto; font-size: 26px; }
  .mt-tile .mt-t { font-size: 12.5px; }
  .mt-tile .mt-d { grid-column: 1; font-size: 11.5px; }
  .mt-tile .mt-v { border-radius: 10px; }
}
@container (max-width: 130px) {   /* 3×3 on phones */
  .mt-tile figcaption { row-gap: 2px; margin: 5px 1px 0; }
  .mt-tile .mt-k { font-size: 20px; }
  .mt-tile .mt-t { font-size: clamp(10px, 9.8cqw, 11px); }
  .mt-tile .mt-d { font-size: clamp(9.5px, 9.2cqw, 10.5px); }
  .mt-tile .mt-v { border-radius: 8px; }
}
/* new windows fly in during the zoom (page.js flyIn): position, width and video height share one duration and easing,
   they show up as they move, and anything still outside the stage is clipped */
.mt-tile.on { transition-delay: 0s; transition-duration: 0.75s, 0.75s, 0.75s, 0.3s; }
.mt-tile .mt-v { transition: height 0.75s cubic-bezier(.3,.8,.25,1); }
.mt-pin .mt-stage { overflow: clip; overflow-clip-margin: 2px; }

/* Many tasks: "Minutes each." gives way to "And more tasks." once the nine windows open */
.cl-swap { display: inline-grid; }
.cl-swap > span { grid-area: 1 / 1; transition: opacity .5s ease; }
.cl-swap .cl-b { opacity: 0; }
.mt-all .cl-swap .cl-a { opacity: 0; }
.mt-all .cl-swap .cl-b { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cl-swap .cl-a { display: none; } .cl-swap .cl-b { opacity: 1; } }

/* tasks: in the nine-window layout a window opens to the size of a 2×2 window, floating over the grid on a white card,
   with a longer description under its number and title (page.js: show / shut). The others dim. */
.mt-tile figcaption .mt-x { display: none; grid-column: 1 / -1; margin: 10px 0 0; font-family: "Inter", system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--ink2); white-space: normal; text-wrap: pretty; }
.mt-tile .mt-p { position: absolute; right: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); opacity: 0; transition: opacity 0.3s ease, background 0.2s ease, transform 0.6s cubic-bezier(.3,.8,.25,1); pointer-events: none; }
.mt-tile .mt-p::before, .mt-tile .mt-p::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; border-radius: 1px; background: var(--ink2); }
.mt-tile .mt-p::after { transform: rotate(90deg); }
.mt-tile figcaption { position: relative; left: auto; bottom: auto; }
.mt-stage.mt-live { overflow: visible; }
.mt-stage.mt-live .mt-tile.on { cursor: pointer; transition-duration: 0.6s, 0.6s, 0.6s, 0.3s; -webkit-tap-highlight-color: transparent; }
.mt-stage.mt-live .mt-tile .mt-v { transition: height 0.6s cubic-bezier(.3,.8,.25,1), transform 0.25s ease, box-shadow 0.25s ease; }
.mt-stage.mt-live .mt-tile.on .mt-p { opacity: 1; }
.mt-tile::before { content: ""; position: absolute; z-index: -1; inset: -12px -12px -14px; border-radius: 28px; background: #fff; box-shadow: 0 18px 50px rgba(17,19,24,0.18), 0 2px 8px rgba(17,19,24,0.08), 0 0 0 1px rgba(17,19,24,0.05); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mt-tile.x { z-index: 4; cursor: default; }
.mt-tile.xc { z-index: 3; }
.mt-tile.x::before { opacity: 1; pointer-events: auto; }
.mt-stage.mt-zoomed .mt-tile.on:not(.x) { opacity: 0.3; }
.mt-tile.x .mt-d { display: none; }
.mt-tile.x figcaption { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(8px, 3cqw, 14px); }
.mt-tile.x .mt-t { align-self: center; white-space: normal; text-wrap: balance; overflow: visible; padding-right: 30px; }
.mt-tile.x .mt-x .ne { font: inherit; }
.mt-tile.x .mt-x { display: block; animation: mt-x-in 0.4s ease 0.22s both; }
.mt-tile.xc .mt-x { display: block; animation: mt-x-out 0.16s ease both; }
.mt-tile.x .mt-p { transform: rotate(45deg); top: 14px; }
.mt-tile.mt-meas, .mt-tile.mt-meas * { transition: none !important; animation: none !important; }
.mt-tile:focus { outline: none; }
.mt-tile:focus-visible .mt-v { outline: 2px solid var(--ink); outline-offset: 2px; }
@keyframes mt-x-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes mt-x-out { from { opacity: 1; } to { opacity: 0; } }
@media (hover: hover) {
  .mt-stage.mt-live:not(.mt-zoomed) .mt-tile.on:hover .mt-v { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(17,19,24,0.14); }
  .mt-stage.mt-live .mt-tile.on:hover { opacity: 1; }
  .mt-stage.mt-live .mt-tile.on:hover .mt-p { background: #e8e8ed; }
}
@container (max-width: 270px) {
  .mt-tile figcaption .mt-x { font-size: 12.5px; line-height: 1.45; margin-top: 6px; }
  .mt-tile .mt-p { top: 2px; }
  .mt-tile.x .mt-p { top: 2px; }
  .mt-tile.x .mt-t { font-size: 13.5px; padding-right: 26px; }
}
@container (max-width: 190px) {
  .mt-tile figcaption .mt-x { font-size: 12px; line-height: 1.42; margin-top: 4px; }
  .mt-tile .mt-p { width: 20px; height: 20px; top: 3px; }
  .mt-tile.x .mt-p { top: 3px; }
  .mt-tile .mt-p::before, .mt-tile .mt-p::after { width: 9px; margin-left: -4.5px; }
}
@container (max-width: 130px) {
  .mt-tile .mt-p { width: 17px; height: 17px; top: 1.5px; }
  .mt-tile .mt-p::before, .mt-tile .mt-p::after { width: 8px; margin-left: -4px; }
}
@media (max-width: 759px) { .mt-tile::before { inset: -8px -8px -10px; border-radius: 18px; } }
.reduced .mt-tile, .reduced .mt-tile *, .reduced .mt-tile::before { transition: none !important; animation: none !important; }

/* benchmarks on phones: the selected task's comparison opens as a popover tied to its card (page.js: popShow) */
.bd-arrow { display: none; }
@media (max-width: 759px) {
  .bench { position: relative; }
  .bench-detail { display: block; padding: 12px 14px 11px; }
  .bench-detail .eyebrow { font-size: 10px; margin: 0 0 2px; }
  .bench-detail .bd-h { font-size: 15px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bench-detail .sub2 { font-size: 10px; margin: 9px 0 2px; white-space: nowrap; }
  .bench-detail .brow { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 0; align-items: center; }
  .bench-detail .brow .name, .bench-detail .brow .val, .bench-detail .brow .na { font-size: 11.5px; }
  .bench-detail .brow .lane { height: 19px; }
  .bench-detail .brow .fill { top: 4.5px; height: 10px; }
  .bench-detail .brow .val, .bench-detail .brow .na { top: 2px; }
  .bench-detail { position: absolute; z-index: 6; left: 0; top: 0; width: min(280px, 100%); background: #fff; box-shadow: 0 14px 40px rgba(17,19,24,0.20), 0 2px 8px rgba(17,19,24,0.08), 0 0 0 1px rgba(17,19,24,0.06);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px) scale(0.97); transform-origin: var(--ax, 50%) 0;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(.3,.8,.25,1), visibility 0s 0.2s; }
  .bench-detail.up { transform: translateY(-6px) scale(0.97); transform-origin: var(--ax, 50%) 100%; }
  .bench-detail.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 0.2s ease, transform 0.3s cubic-bezier(.3,.8,.25,1), visibility 0s; }
  .bench-detail.open.move { transition: opacity 0.2s ease, transform 0.3s cubic-bezier(.3,.8,.25,1), visibility 0s, left 0.35s cubic-bezier(.3,.8,.25,1), top 0.35s cubic-bezier(.3,.8,.25,1); }
  .bd-arrow { display: block; position: absolute; left: var(--ax, 50%); top: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); border-radius: 2px 0 0 0; box-shadow: -1px -1px 0 rgba(17,19,24,0.07); }
  .bench-detail.up .bd-arrow { top: auto; bottom: -6px; border-radius: 0 0 2px 0; box-shadow: 1px 1px 0 rgba(17,19,24,0.07); }
  .bench-detail.open.move .bd-arrow { transition: left 0.35s cubic-bezier(.3,.8,.25,1); }
  .bench-hint { display: block; flex-basis: 100%; font-size: 11.5px; }
  .reduced .bench-detail, .reduced .bd-arrow { transition: none !important; }
}
/* kept plain (user 11-28): no +/× mark on the task tiles, no pointer on the benchmark popover */
.mt-tile .mt-p, .bd-arrow { display: none !important; }
.mt-tile.x .mt-t { padding-right: 0; }
/* opening a task window (page.js show / shut): one physical motion, no fades of the window itself */
.mt-tile::before { display: none !important; }
.mt-tile.mt-fix, .mt-tile.mt-fix .mt-v { transition: none !important; }
.mt-tile.x .mt-x { animation: none !important; }
.mt-card { position: absolute; z-index: 3; background: #fff; pointer-events: auto; --sh: 0;
  box-shadow: 0 18px 50px rgba(17,19,24,calc(0.18 * var(--sh))), 0 2px 8px rgba(17,19,24,calc(0.08 * var(--sh))), 0 0 0 1px rgba(17,19,24,calc(0.05 * var(--sh))); }
/* the open window: the number and the title share one line, the longer description runs under both */
.mt-tile.x figcaption { grid-template-rows: auto auto; align-items: baseline; }
.mt-tile.x .mt-k { grid-row: 1; }
.mt-tile.x .mt-t { grid-row: 1; align-self: baseline; }
.mt-tile.x .mt-x { grid-row: 2; }
@media (min-width: 760px) { .mt-tile.x figcaption .mt-x { font-size: 15px; } .mt-tile.x .mt-t { font-size: 17px; } }
.mt-tile.mt-fix:focus-visible .mt-v { outline: none; }
.mt-ghost { pointer-events: none; }
.mt-ghost .mt-v { visibility: hidden; }
.mt-stage.mt-live .mt-tile.on { transition-duration: 0.6s, 0.6s, 0.6s, 0.45s; }
/* layout changes of the task grid are transform zooms (page.js morph) */
.mt-tile .mt-v, .mt-tile > figcaption { transform-origin: 0 0; }
.mt-snap .mt-tile, .mt-snap .mt-tile .mt-v { transition-property: opacity !important; }
.mt-oc { position: absolute; left: 0; container-type: inline-size; transform-origin: 0 0; pointer-events: none; }
/* BONES-SEED: the two multipliers above the chart */
.bx { display: flex; gap: clamp(28px, 5vw, 64px); margin: 18px 0 6px; }
.bx > div { display: grid; grid-template-columns: auto; row-gap: 2px; }
.bx b { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.bx span { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.bx i { font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 759px) { .bx { gap: 18px; margin: 12px 0 4px; } .bx b { font-size: 30px; } .bx span { font-size: 13px; margin-top: 4px; } .bx i { font-size: 11.5px; } }
.res-legend .l-bm2r { width: 9px; height: 9px; background: #8e5bd6; transform: rotate(45deg); border-radius: 1px; margin: 0 3px; }
@media (max-width: 759px) { .bx { gap: 14px; } .bx b { font-size: 26px; } .bx span { font-size: 12px; } .bx i { font-size: 11px; } }
.bx em { font-style: normal; } .bx .s { display: none; }
@media (max-width: 759px) { .bx .l { display: none; } .bx .s { display: inline; } .bx > div { min-width: 0; } .bx span, .bx i { white-space: nowrap; } .bx { justify-content: space-between; } }

.res-legend .l-bm2a { width: 9px; height: 9px; border: 2px solid #8e5bd6; border-radius: 50%; background: transparent; margin: 0 3px; box-sizing: border-box; }
#bones .res-legend { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: 12px; }
#bones .res-legend .bm2g { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; }
#bones .bx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#bones .lede.bones-hybrid { margin: 12px 0 0; }
@media (max-width: 759px) { #bones .bx { gap: 8px; } #bones .res-legend { font-size: 10.5px; gap: 2px 12px; } #bones .res-legend .bm2g { gap: 2px 7px; flex-wrap: nowrap; white-space: nowrap; } #bones .res-legend .lk { gap: 4px; } #bones .res-legend .lk:not(.dia):not(.ring) i { width: 12px; } #bones .lede.bones-hybrid { margin-top: 8px; } }
#bones .res-legend .l-bm2r, #bones .res-legend .l-bm2a { vertical-align: -1px; }
