:root {
  --ink: #253447;
  --muted: #5b6b7b;
  --green: #214e43;
  --green-light: #edf4ef;
  --blue: #527cab;
  --orange: #bc7549;
  --border: #e0e7e5;
  --tint: #f7f9f8;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #458477;
  outline-offset: 4px;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
button,
summary {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 15px;
  background: var(--green);
  color: white;
  padding: 10px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.hero {
  background: radial-gradient(ellipse at 50% 0, #f0f6f3 0, transparent 63%);
  text-align: center;
}
.hero-inner {
  padding-top: 66px;
  padding-bottom: 42px;
}
.venue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 25px;
  padding: 6px 14px;
  border: 1px solid #dce7df;
  border-radius: 99px;
  color: #496657;
  background: #f5f9f4;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.venue-dot {
  width: 6px;
  height: 6px;
  background: #67946d;
  border-radius: 50%;
}
h1 {
  margin: 0;
  color: #233241;
  letter-spacing: -0.045em;
  line-height: 1.27;
  font-weight: 650;
}
.brand-title {
  display: block;
  color: var(--green);
  font-size: clamp(44px, 5.2vw, 64px);
  font-weight: 750;
  letter-spacing: -0.055em;
  margin-bottom: 13px;
}
.paper-title {
  display: block;
  font-size: clamp(24px, 3.1vw, 36px);
  font-weight: 600;
  letter-spacing: -0.027em;
}
.authors {
  display: flex;
  justify-content: center;
  gap: 9px 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 17px;
  color: #355b75;
}
.authors span {
  white-space: nowrap;
}
sup {
  font-size: 0.63em;
  line-height: 0;
  position: relative;
  vertical-align: super;
  margin-left: 2px;
}
.affiliations {
  display: flex;
  justify-content: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin: 11px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.author-note {
  font-size: 12px;
  color: #586c5f;
  margin: 8px 0 0;
}
.resource-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce4e0;
  border-radius: 99px;
  background: white;
  color: #364f46;
  padding: 9px 19px;
  font-weight: 550;
  font-size: 14px;
  min-height: 44px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: #f1f5f2;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px #18362809;
}
.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button-primary:hover {
  background: #163c33;
}
.button-detail {
  font-size: 12px;
  opacity: 0.8;
}
.arxiv-icon {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1;
}
.hero-summary {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 30px 0 3px;
}
.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.film {
  max-width: 1040px;
  margin: 38px auto 0;
}
.film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
@media (max-width: 700px) {
  .film {
    margin-top: 26px;
  }
}
.section-nav {
  position: sticky;
  top: 0;
  background: #fffffff5;
  backdrop-filter: blur(14px);
  border-top: 1px solid #edf0ee;
  border-bottom: 1px solid #e8eeea;
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: var(--green);
  font-weight: 750;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.nav-brand:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 550;
  color: #5a6a66;
  position: relative;
  padding-block: 21px;
}
.nav-links a:hover,
.nav-links a[aria-current="location"] {
  color: var(--green);
  text-decoration: none;
}
.nav-links a[aria-current="location"]:after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section {
  padding: 84px 0;
}
.overview-section {
  padding-top: 63px;
  padding-bottom: 58px;
}
.tinted {
  background: var(--tint);
  border-top: 1px solid #f0f3f1;
  border-bottom: 1px solid #f0f3f1;
}
.section-heading {
  text-align: center;
  max-width: 830px;
  margin: 0 auto 38px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  color: #586c5f;
  margin: 0 0 13px;
}
h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.032em;
  margin: 0 0 17px;
  color: #243a32;
}
.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.018em;
  line-height: 1.4;
  margin: 0 0 10px;
}
p {
  margin-top: 0;
}
.overview-figure {
  margin: 0;
}
.figure-link {
  display: block;
  position: relative;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: white;
  padding: 14px 14px 40px;
  overflow: hidden;
}
.figure-link:hover {
  text-decoration: none;
}
.figure-link img {
  display: block;
  width: 100%;
  height: auto;
}
.figure-zoom {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: white;
  border: 1px solid #d9e3df;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  color: #4d655c;
  opacity: 1;
  transition: opacity 0.2s;
}
figcaption a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
figcaption {
  font-size: 12px;
  text-align: center;
  color: #586c5f;
  margin-top: 14px;
}
.paper-figure {
  margin: 28px 0;
}
.paper-figure-section {
  margin-top: 38px;
}
.paper-figure-section .paper-figure {
  margin-bottom: 0;
}
.paper-results-figure {
  max-width: 500px;
  margin: 0 auto 36px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 38px 0 0;
  padding: 20px 0 0;
  gap: 18px;
}
.stat-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #e5ebe7;
}
.stat-grid > div:last-child {
  border: 0;
}
.stat-grid dt {
  order: 1;
  font-size: 13px;
  font-weight: 600;
  color: #3c534a;
  margin: 2px 0 4px;
}
.stat-grid dd {
  font-size: 43px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--green);
  margin: 0;
}
.stat-grid .stat-detail {
  order: 2;
  color: #586c5f;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  margin: 0;
}
.abstract-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 70px;
}
.abstract-copy p {
  font-size: 15px;
  color: #586961;
  line-height: 1.95;
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.text-link .icon {
  width: 17px;
  height: 17px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.method-card {
  padding: 26px;
  background: white;
  border: 1px solid #e1e8e3;
  border-radius: var(--radius);
}
.step-number {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: #586c5f;
  margin-bottom: 18px;
}
.method-card h3 {
  font-size: 17px;
}
.method-card p {
  font-size: 13px;
  color: #586c5f;
  margin-bottom: 0;
  line-height: 1.8;
}
.explorer {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 26px;
  align-items: start;
}
.risk-group + .risk-group {
  margin-top: 23px;
}
.risk-group h3 {
  font-size: 12px;
  color: #557060;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font-weight: 650;
  letter-spacing: 0;
}
.risk-group h3 > span:last-child {
  font-size: 10px;
  color: #586c5f;
  font-weight: 400;
  margin-left: auto;
}
.group-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  flex-shrink: 0;
}
.group-dot.adversarial {
  background: var(--orange);
}
.risk-buttons {
  display: grid;
  gap: 6px;
}
.risk-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4eae6;
  border-radius: 8px;
  text-align: left;
  color: #566a5f;
  font-size: 12px;
  min-height: 44px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.risk-button:hover {
  background: #f5f8f6;
  border-color: #b7cbbf;
}
.risk-button[aria-pressed="true"] {
  background: #edf5ef;
  border-color: #8faf9b;
  color: var(--green);
  box-shadow: inset 3px 0 var(--green);
}
.risk-code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: 29px;
  color: #48685b;
}
.risk-count {
  margin-left: auto;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #586c5f;
}
.case-card {
  padding: 27px 30px;
  border: 1px solid #dce6df;
  border-radius: var(--radius);
  min-width: 0;
  box-shadow: 0 9px 32px #223e2f04;
}
.case-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.case-kicker {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #586c5f;
}
.case-topline a {
  font-size: 11px;
  white-space: nowrap;
}
.case-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #294537;
}
.case-card > p {
  color: #586c5f;
  font-size: 13px;
  margin-bottom: 15px;
  line-height: 1.7;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}
.case-meta span {
  background: #f2f6f3;
  border: 1px solid #e8eee9;
  border-radius: 5px;
  font-size: 10px;
  padding: 3px 7px;
  color: #52675a;
}
.field-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #586c5f;
  font-weight: 650;
  margin: 0 0 11px;
}
.instruction {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.85;
  color: #465f50;
  background: #f8faf8;
  padding: 17px 19px;
  border-left: 2px solid #91b49e;
  max-height: 244px;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: #c7d5cb transparent;
}
.criterion {
  border-top: 1px solid #e5ece7;
  border-bottom: 1px solid #e5ece7;
  margin-top: 21px;
}
.criterion summary,
.results-table-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  color: #3b5948;
  font-weight: 600;
  padding: 15px 0;
  min-height: 44px;
}
.criterion summary::-webkit-details-marker,
.results-table-details summary::-webkit-details-marker {
  display: none;
}
.criterion summary .icon {
  width: 17px;
  height: 17px;
}
.details-plus {
  margin-left: auto;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
details[open] > summary .details-plus {
  transform: rotate(45deg);
}
.criterion p {
  font-size: 12px;
  color: #5c7263;
  line-height: 1.9;
  max-height: 230px;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 18px;
}
.case-card .case-note {
  font-size: 10px;
  color: #586c5f;
  margin: 16px 0 0;
}
.domain-strip {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #e9eeea;
}
.domain-strip > .field-label {
  text-align: center;
  margin-bottom: 16px;
}
.domain-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.domain-list > span {
  padding: 6px 11px;
  background: #f6f8f6;
  border-radius: 6px;
  border: 1px solid #e9eeea;
  font-size: 11px;
  color: #607467;
}
.domain-list b {
  font-weight: 500;
  color: #284d38;
  margin-left: 7px;
  font-variant-numeric: tabular-nums;
}
.notice {
  color: var(--muted);
  font-size: 13px;
}
.skill-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 75px;
  align-items: center;
}
.skill-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: #62756a;
  line-height: 1.9;
}
.skill-copy .text-link {
  margin-top: 8px;
}
.skill-panel {
  background: white;
  border: 1px solid #dfe8e2;
  border-radius: var(--radius);
  padding: 28px;
}
.skill-panel-header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e6ece8;
}
.skill-total {
  font-size: 55px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.06em;
  line-height: 1;
}
.skill-panel-header strong {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.skill-panel-header div > span {
  font-size: 11px;
  color: #586c5f;
  display: block;
}
.skill-risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 26px 0;
}
.skill-risk-grid > div > span {
  color: #50755c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.skill-risk-grid h3 {
  font-size: 14px;
  margin: 6px 0;
}
.skill-risk-grid p {
  font-size: 12px;
  color: #586c5f;
  line-height: 1.7;
  margin: 0;
}
.capability-modes {
  display: flex;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #e6ece8;
}
.capability-modes span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: #4f6d59;
  background: #f3f7f3;
  border-radius: 4px;
  padding: 5px 8px;
}
.results-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px solid #e2e8ed;
  background: #f7f9fb;
  border-radius: 10px;
  padding: 17px 20px;
  margin-bottom: 24px;
  color: #567087;
}
.results-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.results-note p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.results-note a {
  color: #436a92;
}
.results-panel {
  border: 1px solid #e1e8e4;
  border-radius: var(--radius);
  padding: 30px;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.results-toolbar h3 {
  font-size: 19px;
  margin: 0 0 5px;
}
.results-toolbar p {
  font-size: 11px;
  color: #586c5f;
  margin: 0;
}
.results-table-details {
  border-top: 1px solid #e8eeea;
  margin-top: 17px;
}
.results-table-details summary {
  font-size: 11px;
  color: #586c5f;
  font-weight: 500;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  color: #586c5f;
  font-size: 11px;
  margin-bottom: 12px;
}
th,
td {
  border-bottom: 1px solid #e7eee9;
  padding: 11px 13px;
}
thead th {
  background: #f7faf7;
  font-weight: 600;
}
tbody th {
  font-weight: 450;
}
td,
thead th:not(:first-child) {
  text-align: right;
}
tbody tr:nth-child(even) {
  background: #fcfdfc;
}
.finding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 36px;
}
.finding-grid article {
  padding-left: 17px;
  border-left: 2px solid #d2dfd6;
}
.finding-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #586c5f;
  font-weight: 650;
}
.finding-grid h3 {
  font-size: 16px;
  margin: 10px 0;
}
.finding-grid p {
  font-size: 12px;
  color: #586c5f;
  line-height: 1.85;
  margin: 0;
}
.start-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 68px;
  align-items: center;
}
.start-layout > div:not(.code-panel) > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  color: #586c5f;
}
.start-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
}
.start-links .button {
  font-size: 12px;
}
.code-panel {
  background: #20362e;
  border: 1px solid #294437;
  border-radius: var(--radius);
  color: #e5eee7;
  min-width: 0;
  box-shadow: 0 8px 25px #1f362510;
}
.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid #ffffff16;
  font-size: 11px;
}
.code-toolbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #80a58c;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: inherit;
  background: #ffffff0d;
  border: 1px solid #ffffff20;
  border-radius: 5px;
  padding: 6px 9px;
  min-height: 32px;
}
.copy-button .icon {
  width: 12px;
  height: 12px;
}
.copy-button:hover {
  background: #ffffff20;
}
.code-panel pre {
  margin: 0;
  padding: 24px 20px 10px;
  font-size: 11px;
  line-height: 2;
  overflow: auto;
}
.code-panel > p {
  padding: 10px 20px 20px;
  color: #a9c0af;
  font-size: 10px;
  margin: 0;
  line-height: 1.8;
}
pre,
code {
  font-family:
    ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.citation-section {
  padding-bottom: 58px;
}
.citation-section .section-lead {
  font-size: 13px;
}
.bibtex-panel {
  background: #f7f9f7;
  border: 1px solid #e0e8e2;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 920px;
  margin: auto;
}
.bibtex-panel .code-toolbar {
  color: #607565;
  border-color: #e1e9e3;
}
.bibtex-panel .copy-button {
  background: white;
  border-color: #d4dfd7;
  color: #52705c;
}
.bibtex-panel .copy-button:hover {
  background: #edf3ee;
}
.bibtex-panel pre {
  padding: 22px 24px;
  margin: 0;
  overflow: auto;
  font-size: 12px;
  line-height: 1.9;
  color: #415b48;
}
.copy-status {
  min-height: 24px;
  text-align: center;
  font-size: 11px;
  margin: 10px 0 0;
  color: #597961;
}
footer {
  border-top: 1px solid #e7ede8;
  padding: 35px 0 20px;
  background: #fafcfb;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-inner p {
  font-size: 11px;
  color: #586c5f;
  margin: 8px 0;
}
.footer-links {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 11px;
  color: #586c5f;
}
.footer-credit {
  text-align: center;
  font-size: 10px;
  color: #586c5f;
  margin: 28px 0 0;
}
.footer-credit a {
  color: #586c5f;
}
.figure-dialog {
  width: min(1400px, 95vw);
  max-height: 90vh;
  border: 1px solid #d1dfd6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 90px #0003;
}
.figure-dialog::backdrop {
  background: #162c2385;
  backdrop-filter: blur(3px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.dialog-toolbar h2 {
  font-size: 15px;
  margin: 0;
}
.dialog-close {
  background: #f2f6f2;
  border: 1px solid #dce5de;
  padding: 7px 12px;
  border-radius: 6px;
  color: #3c5a44;
  font-size: 12px;
  min-height: 40px;
}
.dialog-close span {
  font-size: 17px;
  margin-left: 6px;
}
.figure-dialog img {
  width: 100%;
  height: auto;
}
.figure-dialog > a {
  display: inline-block;
  font-size: 12px;
  margin-top: 12px;
}
.dialog-image-scroll {
  overflow: auto;
  max-height: 70vh;
}
.dialog-image-scroll img {
  min-width: var(--figure-min-width, 1100px);
}
@media (min-width: 1500px) {
  .hero-inner {
    padding-top: 82px;
    padding-bottom: 50px;
  }
}
@media (max-width: 950px) {
  .container {
    width: calc(100% - 44px);
  }
  .nav-links {
    gap: 18px;
  }
  .explorer {
    grid-template-columns: 280px 1fr;
    gap: 18px;
  }
  .case-card {
    padding: 23px;
  }
  .abstract-layout {
    gap: 35px;
  }
  .skill-layout,
  .start-layout {
    gap: 35px;
  }
  .method-card {
    padding: 22px;
  }
  .paper-title {
    font-size: 29px;
  }
  .authors {
    font-size: 15px;
    gap: 7px 18px;
  }
  .affiliations {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }
  .hero-inner {
    padding-top: 42px;
    padding-bottom: 33px;
  }
  .venue {
    font-size: 10px;
    margin-bottom: 19px;
  }
  .brand-title {
    font-size: 45px;
    margin-bottom: 12px;
  }
  .paper-title {
    font-size: 25px;
    line-height: 1.35;
  }
  .desktop-break {
    display: none;
  }
  .authors {
    margin-top: 24px;
    gap: 6px 17px;
    font-size: 14px;
  }
  .affiliations {
    font-size: 11px;
    gap: 5px 18px;
    margin-top: 13px;
  }
  .author-note {
    font-size: 10px;
  }
  .resource-links {
    gap: 7px;
    margin-top: 22px;
  }
  .resource-links .button {
    padding: 8px 13px;
    font-size: 12px;
    min-height: 40px;
  }
  .resource-links .icon {
    width: 16px;
    height: 16px;
  }
  .button-detail {
    font-size: 10px;
  }
  .hero-summary {
    font-size: 16px;
    margin-top: 24px;
  }
  .hero-subtitle {
    font-size: 12px;
    max-width: 330px;
    margin: auto;
  }
  .nav-inner {
    gap: 16px;
    min-height: 54px;
  }
  .nav-brand {
    font-size: 13px;
  }
  .nav-brand .icon {
    width: 17px;
    height: 17px;
  }
  .nav-links {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 4px;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    font-size: 11px;
    padding-block: 18px;
  }
  .nav-links a[aria-current="location"]:after {
    bottom: 9px;
  }
  .section {
    padding: 57px 0;
  }
  .overview-section {
    padding: 45px 0;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .section-lead {
    font-size: 14px;
  }
  figcaption {
    font-size: 10px;
    margin-top: 11px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 10px;
    margin-top: 23px;
    padding-top: 12px;
  }
  .stat-grid > div:nth-child(2) {
    border: 0;
  }
  .stat-grid dd {
    font-size: 36px;
  }
  .stat-grid dt {
    font-size: 12px;
  }
  .stat-grid .stat-detail {
    font-size: 10px;
  }
  .abstract-layout {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .abstract-copy p {
    font-size: 14px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
  }
  .method-card {
    padding: 22px;
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 0 15px;
  }
  .step-number {
    grid-row: 1/3;
    margin: 2px 0 0;
  }
  .method-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .method-card p {
    grid-column: 2;
    font-size: 12px;
  }
  .explorer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .risk-buttons {
    grid-template-columns: 1fr 1fr;
  }
  .risk-group + .risk-group {
    margin-top: 16px;
  }
  .risk-button {
    font-size: 11px;
    padding: 9px;
    gap: 6px;
  }
  .risk-code {
    width: 22px;
    font-size: 9px;
  }
  .risk-count {
    font-size: 9px;
  }
  .case-card {
    padding: 23px;
  }
  .case-topline {
    margin-bottom: 15px;
  }
  .case-card h3 {
    font-size: 22px;
  }
  .instruction {
    max-height: 230px;
    font-size: 12px;
    padding: 15px;
  }
  .domain-strip {
    margin-top: 26px;
  }
  .domain-list {
    gap: 6px;
  }
  .domain-list > span {
    font-size: 10px;
    padding: 5px 8px;
  }
  .skill-layout,
  .start-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .skill-copy h2 br,
  .start-layout h2 br {
    display: none;
  }
  .skill-panel {
    padding: 24px;
  }
  .skill-panel-header {
    gap: 18px;
    padding-bottom: 20px;
  }
  .skill-total {
    font-size: 47px;
  }
  .skill-risk-grid {
    gap: 22px;
    padding: 22px 0;
  }
  .results-note {
    padding: 14px;
    gap: 9px;
  }
  .results-note p {
    font-size: 11px;
  }
  .results-panel {
    padding: 21px 16px;
  }
  .results-toolbar {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .results-toolbar h3 {
    font-size: 18px;
  }
  .results-toolbar p {
    font-size: 10px;
  }
  .finding-grid {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 27px;
  }
  .finding-grid h3 {
    margin: 6px 0;
  }
  .start-links {
    margin-top: 20px;
  }
  .code-panel pre {
    font-size: 10px;
    padding: 20px 16px 10px;
  }
  .code-panel > p {
    padding-inline: 16px;
  }
  .code-toolbar {
    padding: 13px 16px;
  }
  .bibtex-panel pre {
    font-size: 10px;
    padding: 17px;
    line-height: 1.9;
  }
  .citation-section .section-lead {
    font-size: 12px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .footer-links {
    gap: 22px;
  }
  .footer-credit {
    font-size: 9px;
    margin-top: 23px;
  }
  .figure-dialog {
    padding: 14px;
  }
  .dialog-toolbar h2 {
    font-size: 13px;
  }
}
@media (max-width: 390px) {
  .container {
    width: calc(100% - 28px);
  }
  .nav-brand {
    display: none;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
  }
  .paper-title {
    font-size: 23px;
  }
  .resource-links {
    gap: 6px;
  }
  .resource-links .button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .risk-button {
    font-size: 10px;
  }
  .case-card {
    padding: 19px;
  }
  .case-topline a {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.start-layout > .code-panel > p {
  color: #b8cfbe;
  font-size: 11px;
}
