/* ============ shared: tokens + booktabs ============ */
:root {
  --body-font-size: 1.02rem;
  --figure-width: 1076px;
  --text: #171717;
  --muted: #666;
  --line: #e8e8e8;
  --surface: #f7f7f7;
  --link: #2457c5;
  --ink: #1a1a1a;
  --ink-soft: #5c5c5c;
  --ink-faint: #8e8e8e;
  --rule: #1a1a1a;
  --rule-thin: #c8c8c8;
  --marbo: #b3241f;
  --marbo-wash: #f9ecea;
  --panel: #f4f2ee;
  --page: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e6e3; --ink-soft: #a09c97; --ink-faint: #6f6b66;
    --rule: #e8e6e3; --rule-thin: #4a4744;
    --marbo: #ff8a80; --marbo-wash: #2c1d1c;
    --panel: #1e1d18; --page: #16150f;
  }
}
 
body {
  background: var(--page); color: var(--ink);
  font-family: "Charter", "Source Serif 4", Georgia, serif;
  line-height: 1.55; margin: 0; padding: 3rem 1.25rem 6rem;
}
.tbl-wide { max-width: 68rem; margin: 0 auto 5rem; }
.variant-label {
  font-size: .8125rem; color: var(--ink-faint);
  border-bottom: 1px solid var(--rule-thin);
  padding-bottom: .4rem; margin-bottom: 1.5rem;
}
.tbl-caption { font-size: .875rem; color: var(--ink-soft); margin: 0 0 .8rem; max-width: 46em; }
.tbl-caption b { color: var(--ink); font-weight: 600; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
 
table {
  border-collapse: collapse; width: 100%; min-width: 54rem;
  font-size: var(--body-font-size); font-variant-numeric: tabular-nums lining-nums;
}
.grp { font-weight: 600; text-align: center; padding: .5rem .4rem .3rem; border-top: 1.5px solid var(--rule); }
.grp span { display: block; padding-bottom: .3rem; border-bottom: .75px solid var(--rule-thin); }
.grp-blank { border-top: 1.5px solid var(--rule); }
thead .cols th {
  font-weight: 600; text-align: center; padding: .45rem .4rem .55rem;
  border-bottom: .75px solid var(--rule-thin); white-space: nowrap;
}
thead .cols th:first-child { text-align: left; }
tbody th { font-weight: 400; text-align: left; white-space: nowrap; padding: .45rem 1.2rem .45rem 0; }
tbody td { text-align: center; padding: .45rem .4rem; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 1.5px solid var(--rule); }
.gsep { padding-left: 1.5rem; }
th[scope="row"], thead .cols th:first-child, .grp-blank {
  position: sticky; left: 0; background: var(--page); z-index: 1;
}
.sd { font-size: inherit; color: var(--ink-faint); margin-left: .1em; }
.tbl-note { font-size: .8125rem; color: var(--ink-soft); margin: .8rem 0 0; max-width: 46em; }
  
 
/* ============ C. block panels ============ */
.v-panels .blk-b { background: var(--panel); }
.v-panels thead .blk-b { background: var(--panel); }
.v-panels .marbo-row th { color: var(--marbo); font-weight: 600; }
.v-panels .marbo-row td { font-weight: 600; }
.v-panels .marbo-row td:not(.blk-b) { background: var(--marbo-wash); }
.v-panels .marbo-row td.blk-b { background: #efe4e1; }
@media (prefers-color-scheme: dark) {
  .v-panels .marbo-row td.blk-b { background: #322320; }
}
.v-panels tbody tr:not(.marbo-row):hover td { outline: 1px solid var(--rule-thin); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--body-font-size);
  line-height: 1.65;
}

.container { margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 860px; }
.wide { max-width: calc(var(--figure-width) + 44px); }
.center { text-align: center; }

.hero { padding: 72px 0 30px; }
h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.subtitle {
  margin: 18px auto;
  max-width: 900px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.2;
}
.authors { margin-top: 28px; font-size: var(--body-font-size); }
.authors span { margin: 0 6px; color: #aaa; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.affiliation, .venue { margin: 7px 0; color: var(--muted); }

.buttons { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.button {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  background: #222;
  font-weight: 600;
  font-size: var(--body-font-size);
}
.button:hover { text-decoration: none; opacity: .88; }

section { padding: 38px 0; }
h2 {
  margin: 0 0 22px;
  text-align: center;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
}
h3 { margin-top: 0; }
p { font-size: var(--body-font-size); }
.body-copy { text-align: left; }
.hero-image, .content-image {
  display: block;
  width: 100%;
  max-width: var(--figure-width);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.caption { max-width: 900px; margin: 14px auto 0; color: var(--muted); text-align: center; font-size: .95rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card p { margin-bottom: 0; color: #444; font-size: var(--body-font-size); }

pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 12px;
  background: #f3f3f3;
  border: 1px solid var(--line);
  text-align: left;
}
code { font-family: Consolas, Monaco, monospace; font-size: var(--body-font-size); }

footer { margin-top: 42px; padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); }
footer p { font-size: var(--body-font-size); }

@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 28px 0; }
}

.belief-evaluation {
  --marbo-brown: #8b5e3c;
  margin: 0;
}

.belief-evaluation .variant-label {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.belief-evaluation .marbo-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--marbo-brown);
  font-weight: 600;
}

.belief-evaluation .marbo-line {
  width: 1.5rem;
  border-top: 3px solid var(--marbo-brown);
}

.belief-evaluation .marbo-row > th,
.belief-evaluation .marbo-row > td {
  background-color: #f5ebe2;
  border-top: 2px solid var(--marbo-brown);
  border-bottom: 2px solid var(--marbo-brown);
}

.belief-evaluation .marbo-row > th {
  color: var(--marbo-brown);
  font-weight: 700;
}