:root {
  --canvas: #ffffff;
  --paper: #fff;
  --ink: #20242d;
  --muted: #606673;
  --line: #e1e4eb;
  --signal: #385bd6;
  --amber: #826124;
  font:
    16px/1.6 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #385bd6;
  outline-offset: 5px;
}
button {
  transition:
    background 0.15s,
    color 0.15s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 24px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.brand svg {
  width: 34px;
  height: 34px;
  stroke: var(--signal);
  stroke-width: 2.5;
  fill: none;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 1px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}
.navlinks a {
  text-decoration: none;
}
.navlinks a:hover {
  color: var(--signal);
}
.source-link {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 5px;
}
.source-link span {
  margin-left: 8px;
}
.project-context {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 24px;
}
.hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.summary {
  font-size: 15px;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 18px;
}
.monitor {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  color: var(--ink);
  min-width: 0;
  scroll-margin-top: 24px;
}
.monitor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.monitor-heading h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.simulation-label {
  color: #606673;
  font-size: 10px;
  border: 1px solid #dce1ed;
  padding: 3px 7px;
  border-radius: 4px;
}
.scenario-control {
  display: flex;
  border: 1px solid #dce1ed;
  border-radius: 5px;
  padding: 3px;
  gap: 3px;
}
.scenario-control button {
  flex: 1;
  border: 0;
  background: none;
  color: #606673;
  font-size: 12px;
  padding: 7px 3px;
  border-radius: 3px;
  white-space: nowrap;
}
.scenario-control button[aria-pressed="true"] {
  background: #eaf0ff;
  color: #20242d;
  font-weight: 650;
}
.scenario-control button:hover:not([aria-pressed="true"]) {
  background: #f0f3fa;
}
.monitor-readout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 21px;
}
.readout-label {
  display: block;
  font-size: 10px;
  color: #606673;
  margin-bottom: 2px;
}
.monitor-readout strong {
  font-size: 31px;
  line-height: 1.2;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.monitor-readout small {
  font-size: 13px;
  color: #606673;
}
.decision {
  text-align: right;
  font-size: 12px;
  max-width: 60%;
}
.decision #status {
  color: #385bd6;
}
.chart-wrap {
  margin-top: 10px;
}
#chart {
  display: block;
  width: 100%;
  height: 185px;
  overflow: visible;
}
.grid path {
  stroke: #ebedf2;
  stroke-width: 1;
  fill: none;
}
.threshold {
  fill: none;
  stroke: #826124;
  stroke-dasharray: 5 5;
}
.threshold-text {
  fill: #826124;
  font-size: 14px;
}
.baseline {
  stroke: #b1bacb;
  stroke-width: 1;
}
.axis-labels {
  fill: #606673;
  font-size: 14px;
}
#trace {
  fill: none;
  stroke: #4566d9;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
#cursor {
  fill: #385bd6;
  stroke: #20242d;
  stroke-width: 2;
}
#area {
  fill: #4566d9;
  fill-opacity: 0.08;
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  color: #606673;
  font-size: 10px;
  gap: 10px;
}
.chart-foot i {
  display: inline-block;
  width: 12px;
  height: 2px;
  background: #4566d9;
  margin: 0 6px 3px 0;
}
.scrub-label {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  color: #606673;
  font-size: 10px;
}
input[type="range"] {
  width: 100%;
  height: 20px;
  accent-color: #4566d9;
  cursor: pointer;
  display: block;
  margin: 0;
}
.monitor-controls {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.monitor-controls button {
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 12px;
}
.run-button {
  background: #385bd6;
  color: #ffffff;
  border: 1px solid #385bd6;
  flex: 1;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.run-button:hover {
  background: #294bbd;
}
.step-button,
.reset-button {
  background: transparent;
  color: #303846;
  border: 1px solid #dce1ed;
}
.step-button:hover,
.reset-button:hover {
  background: #f0f3fa;
}
.reset-button {
  font-size: 20px !important;
  padding: 2px 12px !important;
}
.scenario-note {
  font-size: 11px;
  color: #606673;
  margin: 15px 0 9px;
  min-height: 35px;
}
.simulation-details {
  border-top: 1px solid #e1e4eb;
  padding-top: 9px;
  color: #606673;
  font-size: 10px;
}
.simulation-details summary {
  cursor: pointer;
  width: fit-content;
}
.simulation-details p {
  margin: 8px 0 0;
  max-width: 64ch;
}
.setup-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid #e1e4eb;
  border-bottom: 1px solid #e1e4eb;
  padding: 22px 0;
  gap: 42px;
}
.setup-title {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}
.setup-title strong {
  color: var(--ink);
  font-weight: 600;
}
.setup-strip dl {
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
  margin: 0;
}
.setup-strip dt {
  font-size: 11px;
  color: var(--muted);
}
.setup-strip dd {
  font-size: 18px;
  margin: 4px 0 0;
  font-weight: 600;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.setup-strip dd small {
  font-size: 12px;
  font-weight: 400;
}
.section {
  padding-block: 80px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 35px;
}
.section-heading h2,
.about h2 {
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.8px;
  font-weight: 500;
  margin: 0;
}
.section-heading > p {
  max-width: 460px;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.section-kicker {
  display: block;
  font-size: 12px;
  color: var(--signal);
  margin-bottom: 10px;
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
}
.method-steps article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}
.step-top span {
  font-size: 12px;
  color: var(--muted);
}
.step-top svg {
  width: 110px;
  height: 36px;
  stroke: var(--signal);
  stroke-width: 1.7;
  fill: none;
  opacity: 0.75;
}
.method-steps h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 18px 0 8px;
}
.method-steps p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 35ch;
}
.interpretation {
  font-size: 12px;
  color: var(--muted);
  margin: 30px 0 0;
  padding-left: 12px;
  border-left: 2px solid #aab9c8;
}
.interpretation strong {
  color: var(--ink);
  font-weight: 600;
}
.results-section {
  background: #f8f9fc;
  border-block: 1px solid #e1e4eb;
}
.results-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  overflow: hidden;
}
.results-sidebar {
  padding: 26px 18px;
  background: #fafbfe;
  border-right: 1px solid #e1e4eb;
}
.results-sidebar h3 {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 12px 16px;
}
.result-choices {
  display: grid;
  gap: 8px;
}
.result-choices button {
  text-align: left;
  padding: 13px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--ink);
}
.result-choices button[aria-pressed="true"] {
  background: #edf1ff;
  border-color: #d1dbfa;
  box-shadow: inset 3px 0 var(--signal);
}
.result-choices button:hover:not([aria-pressed="true"]) {
  background: #f2f4fa;
}
.result-choices span {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.result-choices small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.reading-guide {
  margin: 27px 12px 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.reading-guide > span {
  font-size: 11px;
  font-weight: 600;
}
.reading-guide p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.provenance-link {
  font-size: 11px;
  margin: 0 12px;
  display: block;
}
.provenance-link span {
  float: right;
}
.figure-panel {
  padding: 27px 30px;
  min-width: 0;
}
.figure-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.historical-label {
  font-size: 10px;
  color: var(--muted);
}
.figure-heading h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 3px 0 0;
}
.image-link {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
figure {
  margin: 24px 0 0;
}
.image-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  background: white;
}
.image-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 590px;
  object-fit: contain;
}
figcaption {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 22px;
  max-width: 85ch;
}
.robustness-controls {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
.robustness-controls label {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
}
.robustness-controls select {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 12px;
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid #bbc8d6;
  border-radius: 4px;
  background: white;
}
.evidence-note {
  font-size: 11px;
  color: var(--muted);
  max-width: 930px;
  margin: 20px 0 0;
}
.evidence-note > span {
  margin-right: 6px;
}
.evidence-note a {
  white-space: nowrap;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 100px;
}
.about p {
  font-size: 14px;
  color: var(--muted);
  max-width: 65ch;
}
.about .contributors {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.6;
  margin-top: 0;
}
.resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  margin-top: 30px;
}
.resources a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.resources a:hover {
  color: var(--signal);
}
.resources span {
  color: var(--muted);
  font-size: 10px;
}
footer {
  padding-block: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
footer small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 14px;
}
footer a {
  color: var(--muted);
}

.paper-header {
  text-align: center;
  padding: 70px 0 52px;
}
.paper-header h1 {
  max-width: 940px;
  margin: 0 auto 20px;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  font-weight: 600;
}
.paper-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0 auto 28px;
}
.paper-authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 6px;
  font-size: 15px;
  color: var(--signal);
  margin: 0;
}
.affiliation {
  font-size: 14px;
  color: var(--muted);
  margin: 9px 0 24px;
}
.paper-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.paper-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 17px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: white;
}
.paper-action:hover {
  background: #f4f6fb;
}
.primary-action {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.primary-action:hover {
  background: #38404f;
}
.abstract {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 0 38px;
  border-top: 1px solid var(--line);
}
.abstract h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-align: center;
  margin: 0 0 16px;
}
.abstract p {
  font-size: 16px;
  color: #505765;
  line-height: 1.85;
  margin: 0;
}
.hero-copy h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 22px;
  max-width: 330px;
}
.demo-disclaimer {
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid #d1dbfa;
  padding-left: 14px;
  max-width: 40ch;
  margin: 24px 0 0;
}
@media (min-width: 1500px) {
  .hero {
    gap: 90px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 30px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .monitor {
    padding: 20px;
  }
  .setup-strip {
    gap: 24px;
  }
  .setup-strip dd {
    font-size: 16px;
  }
  .section-heading {
    gap: 35px;
  }
  .results-workspace {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .figure-panel {
    padding: 24px;
  }
  .image-stage {
    min-height: 240px;
  }
  .about {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .navigation {
    min-height: 78px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small {
    font-size: 10px;
  }
  .navlinks {
    gap: 20px;
    font-size: 12px;
    width: 100%;
    justify-content: space-between;
  }
  .source-link {
    padding: 4px 10px;
  }
  .project-context {
    font-size: 10px;
    padding-top: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 28px;
  }
  .summary {
    max-width: 540px;
    font-size: 14px;
    margin-bottom: 18px;
  }
  .monitor {
    padding: 20px;
  }
  #chart {
    height: auto;
  }
  .setup-strip {
    display: block;
    padding: 18px 0;
  }
  .setup-title br {
    display: none;
  }
  .setup-title strong {
    margin-left: 4px;
  }
  .setup-strip dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
    margin-top: 16px;
  }
  .setup-strip dt {
    font-size: 10px;
  }
  .setup-strip dd {
    font-size: 15px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2,
  .about h2 {
    font-size: 31px;
  }
  .section-heading > p {
    margin-top: 18px;
    max-width: 60ch;
  }
  .method-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .method-steps article {
    display: grid;
    grid-template-columns: 74px 1fr;
    column-gap: 16px;
    padding-top: 18px;
  }
  .step-top {
    grid-row: span 2;
    display: block;
    height: auto;
  }
  .step-top svg {
    width: 64px;
    display: block;
    margin-top: 10px;
  }
  .method-steps h3 {
    margin: 0 0 6px;
  }
  .method-steps p {
    max-width: 55ch;
  }
  .results-workspace {
    grid-template-columns: 1fr;
  }
  .results-sidebar {
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .results-sidebar h3,
  .reading-guide,
  .provenance-link {
    display: none;
  }
  .result-choices {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .result-choices button {
    padding: 10px 7px;
  }
  .result-choices span {
    font-size: 11px;
  }
  .result-choices small {
    font-size: 9px;
    line-height: 1.5;
  }
  .result-choices button[aria-pressed="true"] {
    box-shadow: inset 0 -3px var(--signal);
  }
  .figure-panel {
    padding: 20px 16px;
  }
  .figure-heading {
    align-items: start;
    gap: 12px;
  }
  .figure-heading h3 {
    font-size: 17px;
  }
  .image-link {
    font-size: 10px;
  }
  .image-stage {
    min-height: 180px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about h2 br {
    display: none;
  }
  .about p {
    font-size: 13px;
  }
  .about .contributors {
    font-size: 18px;
  }
  .resources {
    column-gap: 20px;
  }
  .evidence-note {
    font-size: 10px;
  }
  .interpretation {
    font-size: 11px;
  }
  footer {
    font-size: 11px;
  }
  footer small {
    display: block;
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .monitor {
    padding: 15px;
  }
  .monitor-heading {
    align-items: flex-start;
  }
  .monitor-heading h2 {
    font-size: 14px;
  }
  .simulation-label {
    font-size: 9px;
  }
  .monitor-controls button {
    padding: 9px 8px;
    font-size: 11px;
  }
  .scenario-control button {
    font-size: 11px;
  }
  .setup-strip dl {
    grid-template-columns: repeat(2, 1fr);
  }
  .figure-heading {
    flex-wrap: wrap;
  }
  .resources {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .monitor,
  .navlinks,
  .result-choices,
  .robustness-controls,
  .image-link {
    display: none;
  }
  .hero,
  .about,
  .results-workspace {
    display: block;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding: 24px 0;
  }
  .results-sidebar {
    display: none;
  }
  body {
    background: white;
  }
  .image-stage {
    min-height: 0;
  }
}

#image-status {
  font-size: 13px;
  color: var(--muted);
  max-width: 40ch;
  text-align: center;
  padding: 24px;
}

@media (max-width: 760px) {
  .paper-header {
    padding: 42px 0 32px;
  }
  .paper-header h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .title-break {
    display: none;
  }
  .paper-subtitle {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .paper-authors {
    font-size: 13px;
    gap: 8px 16px;
  }
  .project-context {
    font-size: 12px;
    padding-top: 0;
    margin-bottom: 20px;
  }
  .paper-action {
    padding: 9px 12px;
    font-size: 12px;
  }
  .abstract {
    padding: 26px 0;
  }
  .abstract p {
    font-size: 14px;
    line-height: 1.85;
  }
  .hero-copy h2 {
    font-size: 28px;
    max-width: none;
  }
  .monitor-heading h2 {
    font-size: 13px;
  }
}
