:root {
  --ink: #162944;
  --body: #415460;
  --soft: #536779;
  --deep: #184878;
  --teal: #067766;
  --plum: #684599;
  --pink: #ef476f;
  --orange: #f28e2b;
  --line: #cedbe4;
  --paper: #fcfdff;
  --serif: 'STIX Two Text', Georgia, 'Times New Roman', serif;
  --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button, a, input, select, summary { touch-action: manipulation; }
a { color: inherit; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 500; }
:focus-visible { outline: 3px solid #7060ca; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1360px, calc(100% - clamp(40px, 8.5vw, 150px))); margin-inline: auto; }
.skip { position: fixed; top: -10rem; left: .5rem; z-index: 8; padding: 12px; background: white; }
.skip:focus { top: .5rem; }
.top { position: sticky; top: 0; z-index: 6; background: #fcfdff; border-bottom: 1px solid #cfdce7; }
main[id], main section[id], main #score-explorer, main #environments, main .cs-board {
  scroll-margin-top: calc(var(--nav-height, 68px) + 10px);
}
.top nav a[aria-current="location"]:not(.nav-install) { text-decoration: underline; text-underline-offset: 5px; }
@media print { .top { position: static; } }
.top-in, .brand, .top nav, .actions, .btn { display: flex; align-items: center; }
.top-in { height: 68px; justify-content: space-between; }
.brand { font-size: 30px; font-weight: 650; gap: 8px; letter-spacing: -.06em; text-decoration: none; }
.brand img { width: 33px; height: 33px; }
.top nav { gap: clamp(15px, 2.7vw, 42px); font-size: 14px; font-weight: 560; }
.top nav a, .btn, .footer-links a, .install-links a { text-decoration: none; }
.top nav a:hover, .footer-links a:hover, .subtle:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.top nav .nav-install { padding: 9px 16px; border-radius: 24px; color: white; background: var(--deep); }
.nav-install span { padding-left: 3px; }
.institutions { background: #fff; border-top: 1px solid #e0e6eb; }
.institution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 12px 0;
  list-style: none;
}
.institution-list li { display: grid; place-items: center; min-width: 0; padding-inline: clamp(8px, 2vw, 28px); }
.institution-list li + li { border-left: 1px solid #dce2e7; }
.institution-list a { display: grid; place-items: center; width: 100%; min-height: 48px; }
.institution-list img { display: block; width: auto; max-width: 100%; height: auto; max-height: 44px; }
.institution-list .sjtu-mark { max-height: 59px; }
.institution-list .nus-mark { max-height: 49px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 3% 96%, #ffe5e155, transparent 39%), radial-gradient(ellipse at 96% 18%, #c5e8ffcc, transparent 51%), radial-gradient(ellipse at 78% 96%, #d9d2f998, transparent 53%), linear-gradient(130deg, #f8f6fc, #f8ffff 49%, #eef4fb); }
.hero-inner { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(25px, 4vw, 70px); align-items: center; padding-block: clamp(42px, 4.3vw, 74px) clamp(46px, 4.5vw, 80px); }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(80px, 8.5vw, 145px); line-height: .94; margin-left: -.045em; }
.wordmark { display: inline-flex; letter-spacing: -.066em; font-weight: 700; }
.wordmark i { display: inline-block; font-style: normal; animation: letter-in .65s backwards; }
.wordmark i:nth-child(1) { color: #dd3766; }
.wordmark i:nth-child(2) { color: #e56537; animation-delay: .035s; }
.wordmark i:nth-child(3) { color: #e68820; animation-delay: .07s; }
.wordmark i:nth-child(4) { color: #008d7d; animation-delay: .105s; }
.wordmark i:nth-child(5) { color: #8954d7; animation-delay: .14s; }
.wordmark i:nth-child(6) { color: var(--deep); animation-delay: .175s; }
@keyframes letter-in { from { transform: translateY(.16em); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h2 { color: #182b49; font-size: clamp(40px, 3.9vw, 67px); line-height: .99; letter-spacing: -.05em; margin-top: clamp(13px, 1.6vw, 26px); }
.hero h2 em { font-weight: 400; }
.hero-copy p { margin-top: 18px; max-width: 44ch; color: #3a4a5a; line-height: 1.65; font-size: clamp(15px, 1.15vw, 18px); }
.actions, .install-links { gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; justify-content: center; gap: 9px; min-height: 43px; border: 1px solid #9eaec1; border-radius: 32px; padding: 10px 17px; background: #ffffff94; color: var(--ink); font-size: 13px; font-weight: 650; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px #1f507220; }
.btn.primary { color: #fff; border-color: transparent; background: linear-gradient(110deg, #c12c65, #bd4937); }
.screen-column { min-width: 0; }
.screen { border: 1px solid #283d53; border-radius: 16px; overflow: hidden; color: white; background: #101d30; box-shadow: 0 24px 55px -23px #1534546b, 0 4px 10px #223b5a1a; }
.screen-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; gap: 8px; font: 500 10px/1.2 var(--mono); letter-spacing: .045em; background: #16263b; color: #c6d5e4; }
.capture { display: inline-flex; gap: 8px; align-items: center; color: #eef7fb; }
.capture i, .state-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef6281; }
.screen-glass, .env-frame { aspect-ratio: 16/9; background: #101924; }
.screen-glass video, .env-frame :is(video,img) { height: 100%; width: 100%; object-fit: contain; display: block; }
.transport { display: flex; align-items: center; gap: 10px; padding: 3px 9px; min-height: 40px; background: #101d30; }
.transport button { width: 34px; height: 34px; border-radius: 50%; color: #f2f8fe; display: grid; place-items: center; }
.transport button:hover { background: #ffffff1f; }
#reel-icon { font: 13px var(--sans); }
.clock { flex-shrink: 0; font: 500 10px var(--mono); color: #c9d9e6; }
#reel-seek { flex: 1; min-width: 48px; height: 24px; margin: 0 3px; cursor: pointer; background: transparent; accent-color: #8bdbcf; }
.expand-icon { width: 14px; height: 13px; background: linear-gradient(white,white) left top/5px 1.5px,linear-gradient(white,white) right top/5px 1.5px,linear-gradient(white,white) left bottom/5px 1.5px,linear-gradient(white,white) right bottom/5px 1.5px,linear-gradient(white,white) left top/1.5px 5px,linear-gradient(white,white) right top/1.5px 5px,linear-gradient(white,white) left bottom/1.5px 5px,linear-gradient(white,white) right bottom/1.5px 5px; background-repeat:no-repeat; }
.screen:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; }
.screen:fullscreen .screen-glass { flex: 1; min-height: 0; }
.section { padding-block: clamp(52px, 6vw, 94px); scroll-margin-top: 12px; }
.section-id, .source-note { font-family: var(--mono); }
.section-id { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
.section-id > span { width: 23px; height: 3px; background: currentColor; }
.section-intro { display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 55px; margin: 17px 0 32px; }
.section h2, .install h2 { font-size: clamp(45px, 4.8vw, 76px); letter-spacing: -.055em; line-height: .98; }
.section h2 em, .install h2 em { color: var(--teal); font-weight: 400; }
.section-intro p, .install p { font-size: 16px; line-height: 1.67; color: var(--body); max-width: 56ch; }
.env-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.env { --accent: #086d65; --wash: #e4f5f0; border-top: 3px solid var(--accent); padding: 21px 0 0; min-width: 0; }
.env.deferred { --accent: #694294; --wash: #f1eafa; }
.env-top { display: flex; align-items: center; gap: 10px; }
.state-dot { display: block; background: var(--accent); width: 9px; height: 9px; }
.env h3 { font-size: clamp(26px, 2.4vw, 39px); letter-spacing: -.045em; }
.env-tabs, .env-pair { display: flex; gap: 5px; flex-wrap: wrap; }
.env-tabs { margin: 14px 0; }
.env-tabs button, .env-pair button { border-radius: 18px; font-size: 12px; padding: 7px 12px; color: var(--body); background: #edf2f5; }
.env-tabs button[aria-pressed=true], .env-pair button[aria-pressed=true] { background: var(--wash); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 650; }
.env-tabs button:hover, .env-pair button:hover { color: var(--accent); }
.env-frame { border-radius: 8px; overflow: hidden; }
.env-frame:has(.observation:not([hidden])) { background: #e8edf1; border: 1px solid #d7e1e8; }
.env-pair { margin: 10px 0; }
.source-note { color: var(--soft); font-size: 11px; line-height: 1.6; }
.env-meta { margin-top: 12px; }
.env-text { margin-top: 7px; max-width: 57ch; color: var(--body); font-size: 15px; line-height: 1.58; }
.lavender { background: linear-gradient(130deg,#f8f3fc,#f2f4fc 61%,#edf7fa); border-block: 1px solid #d8dce8; }
#method .section-id, #method h2 em { color: var(--plum); }
.switch { display: inline-flex; background: #e8edf5; border: 1px solid #d3dce7; border-radius: 9px; padding: 3px; gap: 2px; }
.switch button { border-radius: 6px; padding: 8px 12px; font-size: 12px; color: #405469; font-weight: 550; }
.switch button[aria-pressed=true] { background: white; color: var(--deep); box-shadow: 0 1px 4px #223a6125; }
.fig-links, .results-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fig-links { margin-top: 16px; }
.text-link, .subtle, .results-source a { font: 600 13px var(--sans); color: var(--deep); text-decoration: none; padding: 2px 0; }
.subtle, .results-source a { font-size: 12px; font-weight: 500; }
#results .section-id, #results h2 em { color: var(--deep); }
.results-box { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff; }
.results-header, .results-foot { padding: 17px 23px; background: #f2f6f9; }
.results-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.metric { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--soft); }
.metric select { max-width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 6px; background: white; color: var(--ink); cursor: pointer; }
.results-body { display: grid; grid-template-columns: .8fr 1.75fr; gap: 30px; padding: 32px; }
.stat { align-self: center; }
.stat > span { font: 550 12px var(--mono); color: var(--soft); }
.stat > strong { display: block; color: var(--deep); font: 500 clamp(56px,6vw,98px)/1.1 var(--serif); letter-spacing: -.065em; }
.stat > strong span { font-size: .44em; }
.stat > div { font-size: 14px; font-weight: 600; }
.stat > p { margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--soft); }
.chart-wrap { min-width: 0; }
.chart { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 114px 1fr 38px; align-items: center; gap: 9px; font-size: 12px; }
.bar-track { height: 12px; background: #edf2f6; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; display: block; background: #a5b9cb; transition: width .49s cubic-bezier(.2,.8,.2,1); }
.bar-row.best { font-weight: 700; color: var(--deep); }
.best .bar-fill { background: linear-gradient(90deg,#184878,#218d8c); }
.bar-value { font: 550 12px var(--mono); text-align: right; }
.axis { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin: 12px 47px 0 123px; padding-top: 4px; font: 10px var(--mono); color: var(--soft); }
.results-foot { border-top: 1px solid var(--line); font-size: 12px; color: var(--soft); }
.results-foot a { color: var(--deep); font-weight: 600; }
.table-fold { margin-top: 16px; border-block: 1px solid var(--line); }
.table-fold summary { padding: 13px 0; display: flex; justify-content: space-between; cursor: pointer; font-size: 14px; font-weight: 550; list-style: none; }
.table-fold summary::-webkit-details-marker { display: none; }
.table-fold[open] summary span { transform: rotate(45deg); }
.table-scroller { overflow: auto; padding-bottom: 12px; }
.table-scroller table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-scroller caption { text-align: left; color: var(--soft); margin-block: 5px 12px; }
.table-scroller :is(td,th) { padding: 8px; text-align: right; border-bottom: 1px solid var(--line); }
.table-scroller :is(td,th):first-child { text-align: left; }
.table-scroller tbody tr:last-child { color: var(--deep); font-weight: 650; }
.results-source { margin-top: 12px; }
.results-source a { margin-left: 5px; }
.install { background: #172e49; color: white; }
.install-inner { padding-block: clamp(48px,5vw,78px); display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(26px,6vw,90px); align-items: center; }
.install .section-id, .install h2 em { color: #a1e9d7; }
.install h2 { margin: 17px 0 10px; }
.install p { font-size: 15px; color: #dae5ef; }
.install-links { display: flex; align-items: center; }
.install-links a { font-size: 13px; }
.btn.light { background: #eefdf7; color: #15384b; }
.terminal { min-width: 0; background: #101f32; border: 1px solid #4e617a; border-radius: 9px; overflow: hidden; }
.terminal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid #3e5066; padding: 12px 15px; font: 500 14px var(--sans); }
.terminal-head button { font: 14px var(--sans); background: #324963; color: white; border: 1px solid #556c82; border-radius: 5px; padding: 6px 9px; }
.terminal pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 18px 16px 10px; font: 14px/1.65 var(--mono); color: #e6f4ff; }
.terminal p { margin: 0 16px 18px; color: #bdccda; font-size: 12px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; }
.footer .brand { font-size: 24px; }
.footer .brand img { width: 26px; }
.footer p { color: var(--soft); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; color: var(--deep); font-size: 14px; }
dialog { border: 1px solid var(--line); border-radius: 12px; max-width: min(1040px,94vw); width: 100%; padding: 0; background: #fbfdff; color: var(--ink); }
dialog::backdrop { background: #102137b3; }
.dialog-head, dialog > p { padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.dialog-head button { padding: 7px; border: 1px solid var(--line); border-radius: 5px; }
.diagram-scroll { overflow: auto; border-block: 1px solid var(--line); max-height: 70vh; background: white; }
.diagram-scroll img { width: 100%; }
dialog a { font-size: 12px; color: var(--deep); }
@media(max-width: 900px) {
  .hero-inner { grid-template-columns: .85fr 1.15fr; gap: 22px; }
  .hero-copy h1 { font-size: clamp(72px,9.5vw,90px); }
  .hero-copy p { font-size: 14px; }
  .section-intro { gap: 26px; }
  .actions .btn { padding-inline: 12px; }
}
@media(max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .top-in { height: 59px; }
  .brand { font-size: 24px; gap: 5px; }
  .brand img { width: 26px; height: 26px; }
  .top nav { gap: 12px; font-size: 12px; }
  .top nav .nav-install { padding: 7px 10px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 35px 38px; gap: 26px; }
  .hero-copy h1 { font-size: clamp(84px,16vw,106px); }
  .hero h2 { font-size: clamp(37px,7.4vw,50px); margin-top: 10px; }
  .hero h2 br { display: none; }
  .hero-copy p { margin-top: 12px; max-width: 53ch; }
  .actions { margin-top: 16px; }
  .screen { border-radius: 11px; }
  .section-intro, .env-grid, .results-body, .install-inner { grid-template-columns: 1fr; }
  .section-intro { gap: 15px; margin: 15px 0 23px; }
  .section-intro p { font-size: 15px; }
  .env-grid { gap: 29px; }
  .env { padding-top: 13px; }
  .fig-links, .results-header, .results-foot { flex-wrap: wrap; }
  .results-header, .results-foot { padding: 12px; }
  .switch button { padding-inline: 8px; }
  .results-body { padding: 18px; gap: 25px; }
  .bar-row { grid-template-columns: 100px 1fr 34px; gap: 6px; font-size: 11px; }
  .axis { margin-left: 106px; margin-right: 40px; }
  .diagram-scroll img { min-width: 700px; }
  .footer { align-items: start; flex-direction: column; gap: 12px; }
}
@media(max-width: 460px) {
  .institution-list { padding-block: 7px; }
  .institution-list li { padding-inline: 8px; }
  .institution-list a { min-height: 34px; }
  .institution-list img { max-height: 31px; }
  .institution-list .sjtu-mark { max-height: 41px; }
  .institution-list .nus-mark { max-height: 35px; }
  .top nav { gap: 10px; font-size: 11px; }
  .nav-install span { display: none; }
  .switch button { font-size: 11px; }
  .screen-head { font-size: 9px; }
}
@media(max-width: 355px) {
  .wrap { width: calc(100% - 24px); }
  .top nav { gap: 7px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.observation-caption { color: var(--ink); font-size: 13px; line-height: 1.55; }
@media (max-width: 460px) {
  .actions .btn { padding-inline: 11px; font-size: 12px; gap: 6px; }
}
@media (max-width: 365px) {
  .top-in { height: auto; flex-wrap: wrap; row-gap: 6px; padding-block: 10px 8px; }
  .top nav { width: 100%; justify-content: space-between; }
  .top nav a { padding-block: 5px; }
  .top nav .nav-install { padding: 5px 10px; }
}
.library { border-block: 1px solid var(--line); }
.library { margin-bottom: clamp(38px,4vw,64px); }
.library summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--deep); padding: 16px 1px; }
.library summary::-webkit-details-marker { display: none; }
.library[open] > summary span { transform: rotate(45deg); }
.library-body { padding: 17px 0 25px; }
.revision-lab { background: #fff; padding: clamp(18px,2.4vw,35px); border: 1px solid #ccd5e2; border-radius: 14px; }
.revision-menu { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.revision-menu button { border-bottom: 3px solid transparent; padding: 10px 6px; color: var(--soft); font-weight: 550; font-size: 14px; }
.revision-menu button[aria-pressed=true] { color: #624491; border-color: #9471c4; background: #f6f2fc; }
.revision-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,60px); align-items: center; }
.revision-example { display: grid; place-items: center; background: #edf0f7; padding: clamp(12px,1.6vw,24px); border-radius: 9px; min-height: 245px; }
.note-example { width: min(350px,100%); background: #fff; border-left: 3px solid #9274bb; padding: 15px 20px; }
.note-example span,.crop-example figcaption,.view-example figcaption { color: var(--soft); font: 11px/1.5 var(--mono); }
.note-example p { margin: 5px 0 12px; font-size: 16px; }
.note-example p:last-child { margin-bottom: 1px; }
.crop-example { display: flex; align-items: center; gap: 16px; }
.crop-example img { border-radius: 5px; width: min(40%,140px); }
.view-example { max-width: 340px; }
.view-example div { position: relative; }
.view-example i { position: absolute; top: 33.5%; left: 27%; width: 18.5%; height: 32%; border: 3px solid #ffdb72; }
.view-example figcaption { margin-top: 5px; }
.revision-copy h3 { font-size: clamp(27px,2.8vw,42px); line-height: 1.05; margin: 9px 0; letter-spacing: -.045em; }
.revision-copy p { color: var(--body); font-size: 15px; line-height: 1.6; max-width: 48ch; }
.revision-score { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.revision-score strong { color: var(--plum); font: 500 35px/1.1 var(--serif); }
.revision-score span,.revision-source { font: 11px/1.5 var(--mono); color: var(--soft); }
.revision-source { display: inline-block; margin-top: 14px; }
.explorer-title { font-size: clamp(25px,2.6vw,39px); letter-spacing: -.04em; margin: 22px 0 14px; }
#score-explorer { scroll-margin-top: 12px; }
@media(max-width: 720px){
  .revision-body { grid-template-columns: 1fr; gap: 15px; }
  .revision-example { min-height: 160px; }
  .revision-menu button { font-size: 12px; }
  .revision-source { font-size: 10px; }
}
@media(max-width: 440px){
  .top-in { height: auto; flex-wrap: wrap; row-gap: 4px; padding-block: 7px 6px; }
  .top nav { width: 100%; justify-content: space-between; }
  .top nav a { padding-block: 4px; }
  .top nav .nav-install { padding: 5px 10px; }
}
.score-picks { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 25px 0 13px; }
.score-picks .explorer-title { margin: 0; }
.score-picks [role=group] { display: flex; flex-wrap: wrap; gap: 5px; }
.score-picks button { background: #f2f6f9; color: var(--deep); border: 1px solid #b8cbd9; border-radius: 20px; padding: 7px 11px; font-size: 12px; }
.score-picks button[aria-pressed=true] { background: #dbeceb; border-color: #69a49b; }
#result-reading { padding: 0 24px 16px; color: var(--body); font-size: 14px; line-height: 1.55; }
@media(max-width: 460px){.gallery-result { gap: 10px; } .gallery-result small { font-size: 10px; } #result-reading { padding-inline: 16px; }}

.problem-strip {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(24px,6vw,96px);
  align-items: start;
  padding-block: clamp(36px,5vw,78px);
}
.problem-heading h2 {
  max-width: 15ch; font-size: clamp(32px,3.4vw,53px);
  line-height: 1.04; letter-spacing: -.045em;
}
.problem-heading em { color: var(--plum); }
.problem-heading p,.revision-trace p {
  color: var(--body); font: 400 15px/1.63 var(--sans);
  max-width: 55ch; margin-top: 12px;
}
.problem-heading q { font-style: italic; }
.problem-heading a,.revision-trace a {
  display: inline-block; margin-top: 11px; color: var(--plum);
  font: 600 12px/1.5 var(--sans); text-underline-offset: 3px;
}
.problem-examples { margin: 0; }
.problem-examples > div { display: grid; grid-template-columns: minmax(110px,.62fr) minmax(0,1.38fr); gap: clamp(12px,2.2vw,32px); padding: 13px 0; border-top: 1px solid #d9d4df; }
.problem-examples dt { color: #44314f; font: 650 15px/1.4 var(--sans); }
.problem-examples dd { margin: 0; color: var(--body); font: 400 14px/1.55 var(--sans); }
.revision-trace { margin: 24px 0 16px; padding-left: clamp(13px,1.7vw,25px); border-left: 2px solid #a184bc; }
.revision-trace h3 { font-size: clamp(24px,2.3vw,34px); line-height: 1.08; letter-spacing: -.035em; }
.revision-trace p { max-width: 86ch; margin-top: 8px; }
@media (max-width: 720px) {
  .problem-strip { grid-template-columns: 1fr; }
  .problem-heading h2 { max-width: 20ch; }
  .problem-examples > div { grid-template-columns: 1fr; gap: 4px; }
}
