:root {
  --navy: #0d3762;
  --text: #1f2933;
  --muted: #5f6b78;
  --line: #e2e6eb;
  --col: 880px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }
a { color: #2a6fb8; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

/* ---------- header ---------- */
header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 20px 0;
  text-align: center;
}
h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.22;
}
.igg-i { color: #95c5ec; }
.igg-g1 { color: #7ecdae; }
.igg-g2 { color: #ec9778; }

.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 1.4em; margin: 0; font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.authors span { white-space: nowrap; }
.authors a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.authors a:hover { color: #2a6fb8; }
.affil { margin: 2px 0 0; font-size: 1.05rem; color: var(--navy); }
.affil .eq { font-size: 0.9rem; color: var(--muted); }
.venue { margin: 10px 0 24px; font-size: 1.05rem; font-weight: 700; color: var(--navy); }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.btn.off { opacity: 0.45; cursor: default; }
.soon { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- body column ---------- */
main {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 20px 64px;
}
section { margin-top: 56px; }

h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}
h3 {
  margin: 32px 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}
h2 + h3 { margin-top: 0; }

figure { margin: 24px auto 0; }
figure.mid { max-width: 760px; }
figure.small { max-width: 560px; }
figure.table-fig { max-width: 640px; }
figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}
.teaser { margin-top: 28px; }
.benchmark-intro { text-align: center; }

/* ---------- research conversations ---------- */
.applications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.applications li { padding-top: 14px; border-top: 1px solid var(--line); }
.applications h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.15rem; }
.applications p { margin: 0; }
.contact {
  padding: 28px 24px;
  border: 1px solid #cfe4dc;
  border-radius: 12px;
  background: #edf7f3;
  text-align: center;
  scroll-margin-top: 24px;
}
.contact h2 { margin-bottom: 10px; }
.contact p { margin-bottom: 8px; }
.contact-email {
  display: inline-block;
  margin-top: 8px;
  color: #24654f;
  font-weight: 600;
  text-underline-offset: 4px;
}

pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  background: #f5f6f8;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .wide-only { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  header { padding-top: 44px; }
  h1 { font-size: 1.75rem; }
  section { margin-top: 40px; }
  h2 { font-size: 1.45rem; }
  .applications { grid-template-columns: 1fr; gap: 16px; }
}

/* Large figures break out of the text column, all to the same width. */
figure.wide {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
p.after-fig { margin-top: 28px; }

/* ---------- task distribution + environments ---------- */
.dist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 28px;
}
.dist figure { margin: 0; }
.dist img { max-width: 380px; margin: 0 auto; }
.apps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.apps li {
  padding: 7px 10px;
  background: #e4e6fb;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .dist { grid-template-columns: 1fr; gap: 32px; }
}
.caps {
  list-style: none;
  margin: 14px auto 0;
  padding: 0;
  max-width: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
  text-align: left;
}
.caps li { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: center; }
.dist .caps img { width: 26px; height: 26px; max-width: none; margin: 0; grid-row: span 2; }
.caps b { color: var(--text); font-weight: 600; }
