@font-face {
  font-family: Inter;
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --scene: #b65b25;
  --scene-wash: #fff4e9;
  --pixels: #285bd4;
  --pixel-wash: #eef4ff;
  --positive: #12704b;
  --negative: #b13d40;
}
body,
button,
input,
select {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
/* Retain the original title treatment and mosaic composition. */
.paper-section {
  font-size: 17px;
  line-height: 1.75;
  padding-top: 88px;
  padding-bottom: 88px;
}
.paper-section h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.16;
}
.paper-section h3 {
  font-weight: 640;
  letter-spacing: -0.025em;
}
.paper-section .section-intro {
  max-width: 850px;
  margin-bottom: 44px;
}
.paper-section .section-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: #596579;
}
.paper-section .eyebrow {
  color: #41628e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.paper-section .small-note,
.paper-section figcaption {
  font-size: 13px;
  color: #667085;
}
.paper-section.tinted {
  background: #f6f8fb;
}
.paper-section .result-study > p,
.paper-section .section-lead {
  max-width: 78ch;
}
.paper-section .result-study > h3 {
  font-size: 30px;
  line-height: 1.25;
}
.paper-details {
  border: 1px solid #dce3ed;
  border-radius: 10px;
  box-shadow: 0 2px 4px #192f5103;
}
.paper-details summary {
  font-size: 15px;
  color: #304867;
}
.paper-details + .paper-details {
  margin-top: -13px;
}
.paper-table {
  border: 1px solid #e0e5ed;
  border-radius: 10px;
}
.paper-table table {
  font-size: 14px;
}
.paper-table thead th {
  font-size: 12px;
  background: #edf1f7;
}
.paper-table caption {
  font-size: 14px;
  padding: 18px;
}
.paper-table tbody tr:hover {
  background: #f1f5fa;
}
.paper-table td.delta-positive {
  color: var(--positive);
  background: #eaf7ef;
  font-weight: 650;
}
.paper-table td.delta-negative {
  color: var(--negative);
  background: #fff0ef;
  font-weight: 650;
}
.delta-legend {
  font-size: 13px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.delta-legend .up {
  color: var(--positive);
}
.delta-legend .down {
  color: var(--negative);
}
.stat-row strong {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.stat-row > div {
  border: 0;
  border-top: 3px solid #bccce3;
  padding: 16px 0;
}
.stat-row span {
  font-size: 14px;
}
.campaign-flow li {
  border: 0;
  background: #f0f4fa;
  border-radius: 12px;
  padding: 24px;
}
.campaign-flow p {
  font-size: 14px;
}
.program-columns pre {
  font-size: 13px;
  line-height: 1.75;
  background: #f1f3f7;
}
.program-columns .forward-code h4 {
  color: var(--scene);
}
.program-columns .inverse-code h4 {
  color: var(--pixels);
}
.program-columns .forward-code pre {
  border-top-color: var(--scene);
}
.program-columns .inverse-code pre {
  border-top-color: var(--pixels);
}
.chapter-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 18px;
  background: #e9f0ff;
  border: 1px solid #cbdcfa;
  border-radius: 8px;
  margin-bottom: 26px;
}
.verification-map {
  background: white;
  border: 1px solid #dce3ec;
  border-radius: 20px;
  box-shadow: 0 14px 40px #1c36580a;
  padding: 32px;
  margin: 40px 0;
  overflow: hidden;
}
.map-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #e3e9f0;
  padding-bottom: 25px;
}
.map-topline h3 {
  font-size: 24px;
  margin: 10px 0 0;
  max-width: 590px;
}
.map-instances {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.map-instances button {
  border: 1px solid #d5dce8;
  background: white;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 12px;
}
.map-instances button[aria-pressed="true"] {
  background: #24354c;
  color: white;
  border-color: #24354c;
}
.map-scene {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  gap: 25px;
  align-items: center;
  padding: 35px 25px;
}
.map-step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7a8798;
  display: block;
  margin-bottom: 14px;
}
.scene-spec h4 {
  font-size: 23px;
  margin-bottom: 8px;
}
.scene-spec p {
  font-size: 14px;
  color: #637084;
}
.scene-code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 20px;
  background: var(--scene-wash);
  border-left: 3px solid var(--scene);
  border-radius: 7px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8c4d28;
}
.scene-code strong {
  font-size: 28px;
  line-height: 1;
}
.scene-code span:nth-child(3) {
  color: #907866;
}
.input-tag {
  font-size: 11px;
  display: block;
  margin-top: 14px;
}
.scene-tag {
  color: var(--scene);
}
.pixel-tag {
  color: var(--pixels);
}
.render-arrow {
  text-align: center;
  color: #8293aa;
}
.render-arrow span {
  font-size: 13px;
  color: #354966;
  font-weight: 650;
}
.render-arrow svg {
  width: 100%;
  height: 35px;
  margin-top: 10px;
}
.render-arrow small {
  font-size: 10px;
}
.scene-render {
  text-align: center;
  background-image: radial-gradient(#c8d5e2 0.7px, transparent 0.7px);
  background-size: 12px 12px;
  border-radius: 12px;
  padding: 16px;
}
.scene-render img {
  height: 215px;
  width: 100%;
  object-fit: contain;
}
.scene-render .map-step,
.scene-render .input-tag {
  background: white;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 8px;
  border-radius: 5px;
}
.method-lanes {
  display: grid;
  gap: 12px;
}
.answer-lane {
  display: grid;
  grid-template-columns: 220px 1fr 25px 68px;
  gap: 22px;
  align-items: center;
  border-radius: 11px;
  padding: 23px;
}
.forward-lane {
  background: var(--scene-wash);
  color: var(--scene);
}
.inverse-lane {
  background: var(--pixel-wash);
  color: var(--pixels);
}
.lane-title {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lane-title h4 {
  font-size: 17px;
  margin: 0 0 3px;
}
.lane-title span:not(.lane-letter) {
  font-size: 11px;
}
.lane-letter {
  display: grid;
  place-items: center;
  font-weight: 650;
  border: 1px solid currentColor;
  border-radius: 8px;
  width: 35px;
  height: 42px;
  flex-shrink: 0;
}
.lane-work code {
  background: transparent;
  color: inherit;
  font-size: 15px;
}
.lane-work p {
  font-size: 12px;
  margin: 8px 0 0;
  color: #866c5c;
}
.lane-arrow {
  font-size: 24px;
}
.answer-token {
  text-align: center;
  border-left: 1px solid currentColor;
}
.answer-token span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.answer-token strong {
  display: block;
  font-size: 39px;
  font-weight: 650;
  line-height: 1.25;
}
.pixel-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.run-signal {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 12px 0;
  background: #d9e6fc;
  border-radius: 5px;
  padding: 8px 13px;
  width: fit-content;
}
.run-signal i {
  display: block;
  height: 22px;
  width: 3px;
  background: #244d98;
}
.lane-work small {
  font-size: 9px;
  display: block;
  color: #657ea5;
}
.map-verdict {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #dce3ec;
  margin-top: 24px;
  padding-top: 25px;
}
.verdict-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ed;
  color: #25734d;
  font-size: 30px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.map-verdict strong {
  font-size: 16px;
}
.map-verdict p {
  font-size: 12px;
  margin: 4px 0 0;
}
.map-verdict a {
  font-size: 12px;
  margin-left: auto;
  max-width: 150px;
}
.verification-map figcaption {
  font-size: 11px;
  margin-top: 20px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .answer-lane {
    grid-template-columns: 175px 1fr 16px 50px;
    gap: 12px;
    padding: 18px;
  }
  .map-scene {
    grid-template-columns: 1fr 70px 1fr;
    gap: 12px;
    padding: 25px 0;
  }
  .map-topline {
    align-items: flex-start;
  }
  .map-topline h3 {
    font-size: 22px;
  }
  .map-instances button {
    padding: 8px;
  }
}
@media (max-width: 700px) {
  .paper-section {
    font-size: 16px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .paper-section h2 {
    font-size: 31px;
  }
  .paper-section .section-intro p {
    font-size: 16px;
  }
  .paper-table table {
    font-size: 12px;
  }
  .verification-map {
    padding: 20px 15px;
    border-radius: 14px;
    margin-left: -5px;
    margin-right: -5px;
  }
  .map-topline {
    display: block;
  }
  .map-instances {
    margin-top: 18px;
  }
  .map-scene {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .scene-spec {
    padding: 0 10px;
  }
  .render-arrow {
    margin: 6px auto;
  }
  .render-arrow svg {
    width: 45px;
    transform: rotate(90deg);
    display: block;
    margin: 10px auto;
  }
  .render-arrow small {
    display: none;
  }
  .scene-render img {
    height: 205px;
  }
  .answer-lane {
    grid-template-columns: 1fr 45px;
    gap: 15px;
    padding: 18px 14px;
  }
  .lane-title {
    grid-column: 1 / -1;
  }
  .lane-work {
    grid-column: 1;
  }
  .lane-arrow {
    display: none;
  }
  .answer-token {
    grid-column: 2;
  }
  .lane-work code {
    font-size: 12px;
  }
  .pixel-steps {
    gap: 5px;
    font-size: 9px;
    flex-wrap: wrap;
  }
  .map-verdict {
    flex-wrap: wrap;
    gap: 12px;
  }
  .map-verdict > div {
    flex: 1;
  }
  .map-verdict a {
    max-width: none;
    margin-left: 60px;
  }
  .paper-section .result-study > h3 {
    font-size: 27px;
  }
  .site-nav {
    height: auto;
    min-height: 62px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
.answer-token strong,.scene-code strong {color:inherit;}
