:root {
  color-scheme: light;
  --text: #202124;
  --muted: #5f6368;
  --line: #dfe3ea;
  --soft: #f6f8fb;
  --blue: #2d6cdf;
  --blue-dark: #164ea8;
  --green: #1f9d7a;
  --gold: #d7971e;
  --shadow: 0 18px 42px rgba(35, 47, 62, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 4px;
  text-align: left;
}

.more-link {
  color: #555;
  font-size: 15px;
}

main {
  width: min(1000px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

main > * {
  max-width: 100%;
}

.hero {
  padding: 10px 0 24px;
  text-align: center;
}

.logo-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 6px;
  color: #111;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

.geo-logo {
  display: block;
  width: clamp(44px, 6vw, 64px);
  height: clamp(44px, 6vw, 64px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(45, 108, 223, 0.24);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin: 10px auto 12px;
  color: #222;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.venue {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 600;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 12px auto 8px;
  max-width: 960px;
  color: #333;
  font-size: 18px;
}

.author-entry {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.authors a {
  color: #2367c7;
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.authors sup {
  margin-left: 4px;
  color: #333;
  font-size: 13px;
}

.affiliations {
  max-width: 960px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 14px;
}

.affiliations p {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.affiliations sup {
  margin-right: 2px;
  color: #333;
}

.affiliations .contact-label {
  margin-top: 8px;
}

.affiliations .email-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.affiliations .email-list a {
  color: #444;
}

.affiliations .correspondence {
  margin-top: 0;
  color: #333;
  font-weight: 600;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.link-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  color: #fff;
  background: #343a40;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(52, 58, 64, 0.18);
}

.link-buttons a:hover {
  background: #111;
}

.link-buttons svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-block,
.content-section,
.main-figure,
.news-box,
.stat-grid,
.figure-grid {
  margin: 36px auto;
}

.media-block h2,
.content-section h2,
.main-figure h2,
.news-box h2,
.figure-grid h2 {
  margin-bottom: 14px;
  text-align: center;
  color: #222;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 650;
}

.news-box {
  width: 100%;
  max-width: 900px;
  padding: 18px 22px;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-box h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.news-box ul {
  margin: 0;
  padding-left: 20px;
}

.news-box li {
  margin: 6px 0;
  color: #333;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.tldr {
  margin: 0 0 18px;
  padding: 14px 16px;
  color: #26313f;
  background: #eef7ff;
  border: 1px solid #cfe7ff;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.tldr strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--blue-dark);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 980px;
}

.stat-grid article {
  padding: 18px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(35, 47, 62, 0.07);
}

.stat-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.1;
}

.stat-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.overview-figure {
  overflow: hidden;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.overview-figure img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.overview-caption {
  max-width: 880px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.content-section {
  max-width: 920px;
}

.content-section p {
  margin-bottom: 14px;
  color: #333;
  font-size: 17px;
  text-align: justify;
}

.main-figure {
  max-width: 980px;
  text-align: center;
}

.main-figure img {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.main-figure figcaption {
  max-width: 920px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
}

.figure-grid figure {
  margin: 0;
  text-align: center;
}

.figure-grid img {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.figure-grid figcaption {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.insight-grid article {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.insight-grid h3 {
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 18px;
}

.insight-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(35, 47, 62, 0.08);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

caption {
  padding: 12px 14px;
  color: #333;
  background: #f3f6fb;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-align: left;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  color: #25324a;
  background: #f8fafc;
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.ours {
  background: #eef7ff;
}

.examples {
  text-align: center;
}

.example-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.example-row a {
  padding: 9px 14px;
  color: var(--blue-dark);
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  font-weight: 600;
}

pre {
  overflow: auto;
  margin: 0;
  padding: 18px;
  color: #f8fafc;
  background: #222;
  border-radius: 6px;
  text-align: left;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.55;
}

footer {
  width: min(1000px, calc(100% - 32px));
  margin: 48px auto 0;
  padding: 24px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .topbar,
  footer {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .media-block,
  .content-section,
  .main-figure,
  .news-box,
  .stat-grid,
  .figure-grid,
  .overview-figure {
    width: min(340px, calc(100% - 32px));
    max-width: min(340px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .news-box {
    padding: 16px 18px;
  }

  .overview-caption {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .logo-row {
    font-size: 32px;
  }

  h1 {
    font-size: 25px;
  }

  .venue {
    font-size: 18px;
  }

  .authors {
    display: block;
    font-size: 16px;
    gap: 3px 10px;
  }

  .author-entry {
    display: block;
    margin: 2px 0;
    white-space: normal;
  }

  .affiliations {
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
  }

  .affiliations .email-list {
    display: grid;
    gap: 2px;
  }

  .affiliations .email-list a {
    display: block;
  }

  .link-buttons a {
    justify-content: center;
    min-height: 40px;
    padding: 7px 14px;
    font-size: 15px;
  }

  .link-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .content-section p {
    font-size: 16px;
    text-align: left;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .figure-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    gap: 8px;
  }

  .stat-grid article {
    padding: 14px 12px;
  }

  .overview-figure {
    padding: 6px;
  }
}
