
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../../web/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../../web/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../../web/fonts/inter-greek.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../../web/fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../../web/fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../../web/fonts/jetbrains-mono-greek.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }


/* Blog layout: a narrow reading column on white, every figure on the same wide tinted stage with white cards.
   Tokens follow the WordEval homepage (web/css/v12.css). */
:root {
  color-scheme: light;
  --page: #ffffff; --stagebg: #f5f6fa; --card: #ffffff;
  --hairline: #e8eaf0; --border: #e3e6ee; --border-strong: #d3d8e2; --surface-2: #f5f6f9;
  --ink: #0b1020; --body: #3d4559; --muted: #6a7186;
  --accent: #4f46e5; --accent-ink: #4338ca; --accent-soft: #eef0ff;
  --indigo: #4f46e5; --violet: #a855f7; --violet-ink: #7e22ce; --violet-soft: #f3e8ff; --pink: #ec4899; --pink-ink: #be185d; --pink-soft: #fdeaf3;
  --pass: #0f766e; --pass-soft: #e2f3f0; --fail: #e11d48; --fail-soft: #fdecef;
  --missing: #d5d9e3; --incorrect: #4338ca; --invalid: #a5b4fc;
  --grad: linear-gradient(90deg, #4f46e5 0%, #a855f7 55%, #ec4899 100%);
  --num-grad: linear-gradient(110deg, #312e81 0%, #4f46e5 45%, #7e22ce 100%);
  --card-shadow: 0 1px 2px rgba(11,16,32,.04), 0 18px 40px -30px rgba(11,16,32,.24);
  --card-shadow-hover: 0 1px 2px rgba(11,16,32,.05), 0 26px 56px -32px rgba(49,46,129,.34);
  --r-lg: 20px; --r-md: 14px;
  --font: "Inter", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --measure: 680px; --wide: 1080px;
  --note: #8a5a00; --note-bg: #fff8e6; --note-line: #f0d58c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--body); font: 17px/1.88 var(--font); letter-spacing: -.003em; word-break: keep-all; overflow-wrap: break-word; }
::selection { background: #dfe3ff; color: var(--ink); }

/* Review bar (notes hidden by default so the page reads as a post) */
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }
.bar b { color: var(--ink); font-weight: 600; }
.bar button { font: 600 12.5px/1 var(--font); color: var(--note); background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 8px; padding: 7px 11px; cursor: pointer; }
.note { display: none; margin-bottom: 26px; padding: 12px 16px; background: var(--note-bg); border: 1px dashed var(--note-line); border-radius: 10px; color: #5c4400; font-size: 13.5px; line-height: 1.65; }
body.notes .note { display: block; }
.note b.t { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 5px; background: #f6e2a8; color: var(--note); font-size: 12px; font-weight: 700; }
.note ul { margin: 6px 0 0; padding-left: 18px; } .note li { margin-bottom: 3px; } .note b { color: #5c4400; }
.note code { font-family: var(--mono); font-size: 12px; }

/* Post column */
.post { padding: 0 24px 140px; }
.post > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.post > .wide { max-width: var(--wide); }

/* Hero */
.hero { padding: 104px 0 8px; }
.kicker { display: flex; align-items: center; gap: .6rem; margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #818cf8, #c084fc); box-shadow: 0 0 0 3px rgba(129,140,248,.16); }
h1 { margin: 0 0 24px; font-size: 2.5rem; line-height: 1.26; font-weight: 760; letter-spacing: -.037em; color: var(--ink); text-wrap: balance; }
h1 .lo { display: block; margin-top: 6px; font-size: .62em; font-weight: 650; letter-spacing: -.025em; color: #2a3146; }
.dek { margin: 0 0 30px; font-size: 1.16rem; line-height: 1.8; color: #4a5268; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 0 0; border-top: 1px solid var(--hairline); font-size: .84rem; color: var(--muted); }
.byline b { color: var(--ink); font-weight: 600; }

/* Type */
p { margin: 0 0 22px; text-wrap: pretty; }
b, strong { color: var(--ink); font-weight: 650; }
.bm { font-weight: 650; }
.bm.we { color: var(--accent-ink); } .bm.wb { color: var(--pink-ink); }
.part { margin-top: 128px; }
.part-label { display: flex; align-items: center; gap: .7rem; margin: 0 0 12px; font: 650 .76rem/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.part-label::before { content: ""; width: 22px; height: 22px; border-radius: 7px; }
.part-label.we { color: var(--accent-ink); } .part-label.we::before { background: linear-gradient(135deg, #4f46e5, #a855f7); }
.part-label.wb { color: var(--pink-ink); } .part-label.wb::before { background: linear-gradient(135deg, #a855f7, #ec4899); }
.part-label.both { color: var(--violet-ink); } .part-label.both::before { background: var(--grad); }
h2 { margin: 0 0 20px; font-size: 1.85rem; line-height: 1.32; font-weight: 720; letter-spacing: -.032em; color: var(--ink); text-wrap: balance; }
h3 { margin: 60px auto 14px; font-size: 1.24rem; line-height: 1.45; font-weight: 680; letter-spacing: -.02em; color: var(--ink); }
.paper { display: grid; gap: 2px; margin: 0 auto 30px; padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface-2); font-size: .88rem; line-height: 1.6; }
.paper.wbp { border-left-color: var(--pink); }
.paper .row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 10px; }
.paper .k { color: var(--muted); } .paper .v { color: var(--ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .05rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .76rem; font-weight: 600; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #818cf8, #c084fc); }
.tbd { color: var(--note); border-bottom: 1px dashed var(--note-line); }

/* Opening requests */
.asks { display: grid; gap: 10px; margin: 6px auto 30px; padding: 0; list-style: none; }
.asks li { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: #fff; box-shadow: var(--card-shadow); }
.asks .no { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; font: 700 .82rem/1 var(--font); }
.asks .q { color: var(--ink); font-size: 1rem; line-height: 1.55; }
.asks .what { font-size: .74rem; font-weight: 600; white-space: nowrap; padding: .15rem .6rem; border-radius: 999px; }
.tag { display: inline-block; padding: .08rem .5rem; border-radius: 6px; font-size: .74rem; font-weight: 600; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.tag.we { background: var(--accent-soft); color: var(--accent-ink); }
.tag.comp { background: var(--violet-soft); color: var(--violet-ink); }
.tag.wb { background: var(--pink-soft); color: var(--pink-ink); }
ul.ladder, ul.runs { list-style: none; padding: 0; margin-bottom: 26px; }
ul.ladder li, ul.runs li { position: relative; margin-bottom: 14px; padding-left: 26px; }
ul.ladder li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
ul.runs li::before { content: ""; position: absolute; left: 6px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ---------- Figures: one stage for all ---------- */
figure.fig { margin: 64px auto 68px; }
.stagebox { padding: 36px 40px; border-radius: 28px; background: var(--stagebg); }
.card { border: 1px solid var(--hairline); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow); padding: 24px 26px; }
figcaption { max-width: var(--measure); margin: 18px auto 0; font-size: .86rem; line-height: 1.7; color: var(--muted); }
figcaption b { color: var(--ink); font-weight: 650; margin-right: .2rem; }
.caps { margin: 0; font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plabel { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; margin: 0 0 .9rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.plabel b { font-size: 1.02rem; color: var(--accent-ink); }
.plabel b.wbc { color: var(--pink-ink); }
.plabel .sub { font-weight: 500; color: var(--muted); }
.wbadge { display: inline-grid; place-items: center; flex: none; width: 15px; height: 15px; border-radius: 3px; background: #4f6fe0; color: #fff; font: 700 9.5px/1 var(--font); font-style: normal; }
.kchip { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .5rem; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--hairline); font: 500 .71rem/1.5 var(--mono); color: var(--ink); }
.kchip.ref { background: var(--pass-soft); box-shadow: none; color: var(--pass); font-family: var(--font); font-weight: 600; }
.kchip.tgt { background: var(--accent-soft); box-shadow: none; color: var(--accent-ink); font-family: var(--font); font-weight: 600; }
.kchip.c1 { background: var(--accent-soft); box-shadow: none; color: var(--accent-ink); font-family: var(--font); font-weight: 600; }
.kchip.c2 { background: var(--violet-soft); box-shadow: none; color: var(--violet-ink); font-family: var(--font); font-weight: 600; }
.kchip.c3 { background: var(--pink-soft); box-shadow: none; color: var(--pink-ink); font-family: var(--font); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }

/* Figure 1: the three steps */
.pipe-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pipe { display: grid; grid-template-columns: 8.6rem repeat(3, minmax(0, 1fr)); gap: 12px 26px; min-width: 820px; }
.pstep { position: relative; padding: 16px 18px 18px; border: 1px solid var(--hairline); border-radius: 18px; background: #fff; box-shadow: var(--card-shadow); }
.pstep + .pstep::before { content: ""; position: absolute; left: -22px; top: 34px; width: 18px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h12' stroke='%23a3a9b8' stroke-width='1.8'/%3E%3Cpath d='M11 1l6 5-6 5z' fill='%23a3a9b8'/%3E%3C/svg%3E") no-repeat center / contain; }
.pstep .pn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .78rem/1 var(--font); }
.pstep h4 { margin: 10px 0 2px; font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
.pstep .en { margin: 0 0 12px; font-size: .78rem; color: var(--muted); }
.pex { min-height: 74px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .8rem; line-height: 1.5; color: var(--ink); }
.pex .said { font-weight: 600; }
.pex .unsaid { color: var(--muted); font-style: italic; }
.pex .mini { display: grid; gap: 4px; }
.pex .mini span { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.pex .mini span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--indigo); }
.pex .mini span.t::before { background: transparent; box-shadow: inset 0 0 0 1.2px #a3a9b8; }
.cov-label { display: flex; flex-direction: column; justify-content: center; padding-right: 4px; }
.cov-label b { font-size: 1.02rem; letter-spacing: -.02em; }
.cov-label span { font-size: .74rem; line-height: 1.45; color: var(--muted); }
.cov-label.we b { color: var(--accent-ink); } .cov-label.wb b { color: var(--pink-ink); }
.cov { display: flex; align-items: center; min-height: 52px; padding: 8px 14px; border-radius: 12px; font-size: .78rem; font-weight: 600; line-height: 1.45; }
.cov.we-on { background: linear-gradient(100deg, #e9ebff, #efe9ff); color: var(--accent-ink); }
.cov.we-strong { background: linear-gradient(100deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 12px 26px -16px rgba(79,70,229,.7); }
.cov.wb-on { background: linear-gradient(100deg, #f7ecff, #fdeef6); color: var(--pink-ink); }
.cov.wb-strong { background: linear-gradient(100deg, #a855f7, #ec4899); color: #fff; box-shadow: 0 12px 26px -16px rgba(236,72,153,.7); }
.cov.given { background: transparent; border: 1.5px dashed #c7cbe0; color: var(--muted); font-weight: 500; }

/* Figure 2: the homepage stage on our stage */
.stagebox .stage-embed { width: 100%; margin: 0; }
.stagebox .stage-embed .stage-foot { margin-top: 22px; }

/* Step cards (Figures 3 and 6) */
.build-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 18px; align-items: stretch; }
.build-id { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 18px; border-radius: 18px; }
.build-id.we { background: linear-gradient(160deg, #e9ebff, #f1ecff); }
.build-id.wb { background: linear-gradient(160deg, #f6ecff, #fde9f3); }
.build-id .nm { font-size: 1.12rem; font-weight: 760; letter-spacing: -.02em; }
.build-id.we .nm { color: var(--accent-ink); } .build-id.wb .nm { color: var(--pink-ink); }
.build-id .from { font-size: .8rem; font-weight: 600; color: var(--ink); }
.build-id .st { font-size: .74rem; line-height: 1.55; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; padding: 13px 14px 15px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: #fff; }
.step + .step::before { content: ""; position: absolute; left: -19px; top: 30px; width: 16px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h11' stroke='%23a3a9b8' stroke-width='1.6'/%3E%3Cpath d='M10 1l5 4-5 4z' fill='%23a3a9b8'/%3E%3C/svg%3E") no-repeat center / contain; }
.step.on { border: 2px solid var(--pass); padding: 12px 13px 14px; box-shadow: 0 14px 30px -20px rgba(15,118,110,.45); }
.step .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; color: var(--muted); font: 600 .7rem/1 var(--font); }
.step.on .n { background: var(--pass); border-color: var(--pass); color: #fff; }
.step h4 { margin: .5rem 0 .55rem; font-size: .88rem; line-height: 1.35; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.step .sub { margin: .5rem 0 0; font-size: .73rem; line-height: 1.5; color: var(--muted); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.nums > div { padding: .1rem 1rem; text-align: center; }
.nums > div + div { border-left: 1px solid #e1e4ee; }
.nums strong { display: block; font-size: 2.15rem; font-weight: 760; letter-spacing: -.045em; line-height: 1.05; background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums.wb strong { background: linear-gradient(110deg, #7e22ce, #db2777); -webkit-background-clip: text; background-clip: text; }
.nums span { display: block; margin-top: .45rem; font-size: .82rem; font-weight: 600; color: var(--ink); }

/* Figure 7: the inferential example */
.req { padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-2); }
.req p:last-child { margin: 4px 0 0; color: var(--ink); font-size: .92rem; line-height: 1.6; }
.ex-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.dcard { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; overflow: hidden; }
.dhead { display: flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border-bottom: 1px solid var(--hairline); background: #fbfbfd; font: 500 .74rem/1.3 var(--mono); color: var(--muted); }
.dhead.ref { color: var(--pass); }
.dimg { padding: 10px 12px; }
/* Keep overlay percentages relative to the image, excluding the card padding. */
.dimg-frame { position: relative; }
.dimg img { display: block; width: 100%; height: auto; }
.dfoot { padding: .38rem .7rem; border-top: 1px solid var(--hairline); font-size: .72rem; color: var(--muted); }
/* Measured source-image bounds, with equal clear space plus the 2px border on every side. */
.tring { --ring-offset: 6px; position: absolute; left: calc(var(--shape-left) - var(--ring-offset)); top: calc(var(--shape-top) - var(--ring-offset)); width: calc(var(--shape-width) + var(--ring-offset) + var(--ring-offset)); height: calc(var(--shape-height) + var(--ring-offset) + var(--ring-offset)); border-radius: 6px; pointer-events: none; }
@media (max-width: 360px) { .tring { --ring-offset: 5px; } }
.tring.tgt { border: 2px solid var(--pink); } .tring.ref { border: 2px solid var(--pass); }
.tring-tag { margin-left: auto; padding: .05rem .45rem; border-radius: 6px; background: #fff; font: 600 .72rem/1.5 var(--font); white-space: nowrap; pointer-events: none; }
.tring-tag.tgt { color: var(--pink-ink); box-shadow: inset 0 0 0 1.5px var(--pink); }
.tring-tag.ref { color: var(--pass); box-shadow: inset 0 0 0 1.5px var(--pass); }
.attrs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.attrs .caps { margin-right: 6px; }

/* Figures 4 and 8: dumbbells */
.dumb svg { display: block; width: 100%; overflow: visible; font-family: var(--font); }
.d-name { font: 600 12.5px var(--font); fill: var(--ink); }
.d-model { font: 500 11px var(--font); fill: var(--muted); }
.d-grid { stroke: var(--hairline); stroke-width: 1; }
.d-base { stroke: var(--border-strong); stroke-width: 1.2; }
.d-tick { font: 500 10.5px var(--font); fill: var(--muted); }
.d-span { stroke-width: 3; stroke-linecap: round; }
.d-val { font: 600 11px var(--font); font-variant-numeric: tabular-nums; }
.d-mk { stroke: #fff; stroke-width: 1.8; }
.d-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: -2px 0 10px; padding: 0; list-style: none; font-size: .8rem; color: var(--body); }
.d-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.d-legend svg { width: 13px; height: 13px; }

/* Figure 5: failure analysis (homepage Figure 8) */
#outcomes { --fa-gap: .9rem; --fa-val: 3.2rem; --fa-sep: var(--card); }
.fa-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.4rem 3.5rem; }
.fa-panel { min-width: 0; display: grid; align-content: start; gap: .85rem; }
.fa-a { --fa-name: 8.5rem; } .fa-b { --fa-name: 10.5rem; }
.fa-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 .4rem; padding: 0; list-style: none; font-size: .8rem; color: var(--body); }
.fa-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.fa-legend i { width: .7rem; height: .7rem; border-radius: 2px; }
.fa-bars { position: relative; display: grid; gap: .55rem; margin: 0; padding: .35rem 0; list-style: none; }
.fa-b .fa-bars { gap: 1.12rem; padding: .7rem 0; }
.fa-bars::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--fa-name) + var(--fa-gap)); right: calc(var(--fa-val) + var(--fa-gap)); background: linear-gradient(90deg, var(--hairline) 1px, transparent 1px) 0 0 / calc(100% / 3) 100%; box-shadow: inset 1px 0 0 var(--border-strong), inset -1px 0 0 var(--hairline); pointer-events: none; }
.fa-bars li, .fa-axis { position: relative; display: grid; grid-template-columns: var(--fa-name) minmax(0, 1fr) var(--fa-val); align-items: center; gap: var(--fa-gap); }
.fa-name { text-align: right; font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fa-a .fa-name { white-space: normal; overflow: visible; line-height: 1.35; }
.fa-system { display: block; font-weight: 600; }
.fa-model { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.fa-bars li.lead .fa-system, .fa-bars li.lead .fa-model { font-weight: 700; color: var(--ink); }
.fa-bars li.lead .fa-name, .fa-bars li.lead .fa-val { font-weight: 700; color: var(--ink); }
.fa-track { display: flex; align-items: center; height: 1.25rem; }
.fa-stack { display: flex; height: 100%; overflow: hidden; border-radius: 0 3px 3px 0; }
.fa-seg { flex: 1 1 0; min-width: 2px; height: 100%; }
.fa-seg + .fa-seg { box-shadow: inset 1.5px 0 0 var(--fa-sep); }
.incorrect { background: var(--incorrect); } .invalid { background: var(--invalid); } .missing { background: var(--missing); }
.fa-val { text-align: right; font-size: .82rem; font-weight: 500; color: var(--body); font-variant-numeric: tabular-nums; }
.fa-ticks { position: relative; height: 1.1rem; margin-top: .35rem; }
.fa-ticks i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fa-axis-title { margin: .2rem 0 0; padding: 0 calc(var(--fa-val) + var(--fa-gap)) 0 calc(var(--fa-name) + var(--fa-gap)); text-align: center; font-size: .78rem; color: var(--muted); }

/* Figure 9: decomposition */
.probe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.probe > div { padding: 18px 20px 20px; }
.probe .step-k { display: inline-block; margin-bottom: 8px; padding: .05rem .5rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.probe .s2 { background: var(--pink-soft); color: var(--pink-ink); }
.probe .s3 { background: var(--accent-soft); color: var(--accent-ink); }
.probe strong { display: block; font-size: 2rem; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.probe strong small { font-size: .95rem; font-weight: 650; letter-spacing: -.01em; color: var(--muted); }
.probe .k { display: block; margin: .5rem 0 .25rem; font-size: .86rem; font-weight: 650; color: var(--ink); line-height: 1.4; }
.probe .s { display: block; font-size: .78rem; line-height: 1.55; color: var(--muted); }

/* Papers */
.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.paper2 { padding: 18px 20px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: #fff; box-shadow: var(--card-shadow); font-size: .9rem; line-height: 1.6; }
.paper2 .nm { display: block; margin-bottom: 4px; font-size: 1.05rem; font-weight: 760; letter-spacing: -.02em; }
.paper2.we .nm { color: var(--accent-ink); } .paper2.wb .nm { color: var(--pink-ink); }
.paper2 .t { color: var(--ink); font-weight: 600; }
.paper2 .links { display: block; margin-top: 8px; font-size: .84rem; }
.paper2 .pill { margin-top: 8px; }

@media (max-width: 900px) {
  .fa-grid, .papers { grid-template-columns: 1fr; }
  .build-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 14px 22px; }
  .flow .step:nth-child(3)::before { display: none; }
  .probe { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .nums > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .post { padding: 0 18px 100px; }
  .hero { padding-top: 56px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .part { margin-top: 96px; }
  .post > .wide { margin-left: -18px; margin-right: -18px; }
  .stagebox { padding: 18px 14px; border-radius: 0; }
  .card { padding: 16px 14px; }
  figcaption { padding: 0 18px; }
  .ex-docs, .flow { grid-template-columns: 1fr; }
  .flow .step::before { display: none; }
  .asks li { grid-template-columns: 2rem 1fr; }
  .asks .what { grid-column: 2; justify-self: start; }
  .fa-a { --fa-name: 6.6rem; } .fa-b { --fa-name: 9rem; }
  #outcomes { --fa-gap: .55rem; --fa-val: 2.7rem; }
  .paper .row { grid-template-columns: 1fr; gap: 0; }
  .bar .meta { display: none; }
}


/* Figure 1: the request map */
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.map-scroll svg { display: block; width: 100%; min-width: 760px; height: auto; overflow: visible; font-family: var(--font); }
.m-axis { stroke: #c3c8d4; stroke-width: 1.4; fill: none; }
.m-axt { font: 600 11px var(--font); letter-spacing: .1em; text-transform: uppercase; fill: var(--muted); }
.m-end { font: 500 11.5px var(--font); fill: #9aa1b2; }
.m-card { fill: #fff; stroke: var(--hairline); stroke-width: 1.2; filter: drop-shadow(0 8px 14px rgba(11,16,32,.07)); }
.m-q { font: 500 13px var(--font); fill: var(--ink); }
.m-chip { font: 600 11px var(--font); }
.m-big { font: 750 15px var(--font); letter-spacing: -.01em; }
.m-sub { font: 500 12px var(--font); fill: var(--muted); }
.m-dash { fill: none; stroke: #c4b5fd; stroke-width: 1.6; stroke-dasharray: 5 6; }
.m-corner { fill: #fff; stroke: url(#m-grad-corner); stroke-width: 1.8; stroke-dasharray: 6 5; }
.m-arrow { fill: none; stroke-width: 5; stroke-linecap: round; }
.m-stop { stroke: #fff; stroke-width: 2.5; }
.map .m-in { opacity: 0; transform: translateY(6px); transition: opacity .55s var(--ease, ease), transform .55s ease; transform-box: fill-box; }
.map.go .m-in { opacity: 1; transform: none; }
.map .m-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.1s cubic-bezier(.3,.7,.2,1); }
.map.go .m-draw { stroke-dashoffset: 0; }
.map .pulse { transform-box: fill-box; transform-origin: center; }
.map.go .pulse { animation: m-pulse 2.6s ease-in-out 3.6s infinite; }
@keyframes m-pulse { 0%, 100% { opacity: .0; transform: scale(.96); } 50% { opacity: .55; transform: scale(1.03); } }
.map-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 10px; font-size: .8rem; color: var(--body); }
.map-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.map-legend i { width: 1.6rem; height: 5px; border-radius: 3px; }


/* v5 additions */
.gate { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; padding: .1rem .55rem; border-radius: 999px; font: 650 .72rem/1.4 var(--font); letter-spacing: .02em; vertical-align: 2px; text-transform: none; }
.gate.g1 { background: var(--accent-soft); color: var(--accent-ink); }
.gate.g2 { background: var(--pink-soft); color: var(--pink-ink); }
.takeaway { margin: 34px auto 0; padding: 16px 20px; border-radius: 14px; font-size: .97rem; line-height: 1.8; color: var(--ink); }
.takeaway.we { background: linear-gradient(100deg, #eef0ff, #f4f0ff); }
.takeaway.wb { background: linear-gradient(100deg, #f7efff, #fdeef6); }
.takeaway b { font-weight: 700; }
.probe .g1 { background: var(--accent-soft); color: var(--accent-ink); }
.probe .g2 { background: var(--pink-soft); color: var(--pink-ink); }
.map-card .map-legend { margin-top: 12px; }

.bar { gap:24px; display:flex; align-items:center; flex-wrap:wrap; padding:14px max(20px,calc((100vw - 1080px)/2)); }
.bar a { color:inherit; text-decoration:none; font-size:14px; }
.bar .blog-brand { font-weight:800; font-size:17px; color:#4338ca; }
.bar nav { display:flex; gap:18px; align-items:center; }
.bar .languages { margin-left:auto; gap:4px; }
.languages a { padding:6px 10px; border-radius:8px; }
.languages [aria-current="page"] { background:#eef0ff; color:#4338ca; font-weight:700; }
.bar a:focus-visible { outline:2px solid #7c3aed; outline-offset:4px; }
[lang="zh-CN"] .post { --font:"Inter","Microsoft YaHei","PingFang SC",system-ui,sans-serif; }
/* Let Chinese prose wrap naturally within a paragraph. Keep diagram layout independent. */
html[lang="zh-CN"] .post { word-break:normal; line-break:auto; }
html[lang="zh-CN"] .post > p,
html[lang="zh-CN"] .post li,
html[lang="zh-CN"] .post figcaption { white-space:normal; text-wrap:wrap; }
html[lang="zh-CN"] .post > p { line-height:1.95; }
html[lang="zh-CN"] .hero h1 { letter-spacing:-.025em; }
html[lang="zh-CN"] .lo { line-height:1.45; }
[id] { scroll-margin-top:90px; }
@media(max-width:560px) { .bar { gap:14px; padding:12px 16px; } .bar nav {gap:12px;} .bar a {font-size:13px;} .bar .blog-brand {font-size:15px;} .languages a{padding:6px;} }
