:root {
  color-scheme: light;
  --ink: #202324;
  --body: #414648;
  --muted: #686f71;
  --line: #dfe3e3;
  --accent: #365e62;
  --accent-soft: #edf3f2;
  --cover: #171a1b;
  --white: #fff;
  --surface: #f6f7f7;
  --page: 1180px;
  --narrow: 840px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: Calibri, "Carlito", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--ink); background: #d8e7e4; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, pre, code { font-family: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.page-width {
  width: min(var(--page), calc(100% - 80px));
  margin-inline: auto;
}
.page-width.narrow { width: min(var(--narrow), calc(100% - 80px)); }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(40px, calc((100% - var(--page)) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  color: #f5f6f6;
  background: var(--cover);
  transition: background 180ms ease;
}
.site-header.is-scrolled {
  background: rgb(23 26 27 / 96%);
  backdrop-filter: blur(16px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.brand-icon { flex: none; object-fit: contain; filter: brightness(0) invert(1); }
.site-header nav { display: flex; gap: 32px; color: #b9bfc0; font-size: 14px; }
.site-header nav a { padding-block: 6px; transition: color 160ms ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--white); }
.paper-header {
  width: 100%;
  max-width: none;
  padding: 88px 40px 90px;
  color: #f5f6f6;
  background: var(--cover);
  text-align: center;
}
.preprint-label {
  margin: 0 0 30px;
  color: #aab5b6;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.paper-header h1 {
  max-width: 1100px;
  margin: 0 auto 34px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.title-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  font-size: clamp(64px, 7.2vw, 100px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}
.title-brand .brand-icon { width: 0.88em; height: 0.88em; }
.title-subtitle { display: block; color: #e5e8e8; font-size: clamp(25px, 3.2vw, 44px); }
.title-subtitle > span { display: block; }
.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 23px;
  margin-bottom: 13px;
  color: #dce0e0;
  font-size: 17px;
}
.authors sup, .affiliations sup { padding-left: 2px; color: #a3aeaf; font-size: 0.65em; }
.affiliations { color: #a8b0b1; font-size: 14px; line-height: 1.65; }
.affiliations p { margin: 3px 0; }
.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px auto 0;
}
.resource-links a {
  display: grid;
  gap: 4px;
  min-width: 124px;
  padding: 11px 22px;
  border: 1px solid #4c5355;
  border-radius: 4px;
  background: transparent;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease;
}
.resource-links a:not([aria-disabled="true"]):hover {
  border-color: #bec9ca;
  background: rgb(255 255 255 / 6%);
}
.resource-links span { color: #edf0f0; font-size: 15px; font-weight: 500; }
.resource-links small { color: #a8b0b1; font-size: 11px; }
.resource-links a[aria-disabled="true"] { cursor: default; }
.paper-section { padding-block: 96px; }
.paper-section#abstract { padding-block: 96px 64px; }
.paper-section#abstract h2, .citation-section > h2 {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.abstract-text p { margin: 0; font-size: 18px; line-height: 1.85; }
.section-title {
  margin-bottom: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.paper-figure, .paper-figure.inset { margin: 0; }
.paper-figure button {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  cursor: zoom-in;
  transition: border-color 180ms ease;
}
.paper-figure button:hover { border-color: #9daead; }
.paper-figure img { width: 100%; height: auto; }
.paper-figure figcaption, .table-caption {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}
.paper-figure figcaption strong, .table-caption strong { color: var(--ink); font-weight: 600; }
#figure-1 { margin: 0 auto; }
#method { padding-bottom: 0; }
.analysis-text {
  width: min(var(--narrow), 100%);
  margin: 40px auto 0;
  color: var(--body);
  line-height: 1.85;
}
#analysis .figure-spaced { margin-top: 76px; }
.results-section { padding-top: 0; padding-bottom: 100px; }
.result-tabs {
  display: flex;
  gap: 36px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--line);
}
.result-tabs button {
  position: relative;
  flex: none;
  margin-bottom: -1px;
  padding: 14px 0 17px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.result-tabs button:hover { color: var(--ink); }
.result-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.result-tabs button:focus-visible { outline-offset: -3px; }
.result-panel { min-width: 0; animation: panel-in 180ms ease-out; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.result-panel h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.result-panel > .table-caption { width: 100%; max-width: none; margin: 0 0 24px; padding: 0; }
.table-wrap {
  overflow-x: auto;
  width: 100%;
  border-block: 1px solid #7e8a8b;
  background: var(--white);
  scrollbar-width: thin;
  scrollbar-color: #aab7b6 var(--surface);
}
.table-continuation { margin-top: 32px; }
table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  color: var(--body);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
  text-align: center;
}
th, td { padding: 14px 10px; border-bottom: 1px solid #e7eaea; white-space: nowrap; }
thead th {
  border-bottom: 1px solid #cbd2d2;
  color: var(--ink);
  background: var(--surface);
  font-weight: 600;
  white-space: normal;
}
tbody th {
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: #fafbfb;
  font-weight: 600;
  vertical-align: middle;
}
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.group-start td, .group-start th { border-top: 1px solid #aab5b6; }
.ours td { color: #294e50; background: var(--accent-soft); }
.ours strong { font-weight: 600; }
.chemistry-table { min-width: 1450px; }
.chemistry-table thead tr:first-child th:not(:first-child),
.chemistry-table tbody td:nth-child(even) { border-left: 1px solid var(--line); }
.citation-section.page-width.narrow {
  width: 100%;
  max-width: none;
  padding: 72px max(40px, calc((100% - var(--narrow)) / 2)) 80px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.citation-box {
  overflow: hidden;
  border: 1px solid #d7dddd;
  border-radius: 3px;
  background: transparent;
}
.citation-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.citation-box button {
  padding: 4px 8px;
  border: 1px solid #c8d0d0;
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}
.citation-box button:not(:disabled) { color: var(--accent); cursor: pointer; }
.citation-box pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px 20px;
  color: var(--body);
  font-size: 14px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding: 32px max(40px, calc((100% - var(--page)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
}
.site-footer .wordmark { color: var(--ink); }
.lightbox {
  width: min(95vw, 1560px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--white);
}
.lightbox::backdrop { background: rgb(15 18 19 / 88%); }
.lightbox > div { overflow: auto; max-height: 94vh; padding: 42px 28px 24px; }
.lightbox img { width: 100%; }
.lightbox p { margin: 16px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
:focus-visible { outline: 2px solid #639699; outline-offset: 5px; }
@media (max-width: 780px) {
  html { scroll-padding-top: 80px; }
  .page-width, .page-width.narrow { width: calc(100% - 40px); }
  .site-header { min-height: 62px; padding-inline: 20px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .paper-header { width: 100%; padding: 66px 24px 64px; }
  .title-brand { gap: 14px; margin-bottom: 26px; }
  .title-subtitle { font-size: clamp(23px, 3.5vw, 30px); line-height: 1.3; }
  .authors { gap: 5px 18px; font-size: 16px; }
  .paper-section { padding-block: 64px; }
  .paper-section#abstract { padding-block: 64px 48px; }
  .abstract-text p, .analysis-text { font-size: 17px; line-height: 1.8; }
  .section-title { margin-bottom: 32px; padding-top: 26px; }
  .paper-figure button { padding: 10px; }
  .paper-figure figcaption, .table-caption { font-size: 14px; }
  .analysis-text { margin-top: 28px; }
  #analysis .figure-spaced { margin-top: 54px; }
  .result-tabs { gap: 26px; overflow-x: auto; margin-bottom: 30px; scrollbar-width: thin; }
  .result-tabs button { font-size: 16px; }
  .results-section { padding-block: 0 64px; }
  .citation-section.page-width.narrow { padding: 56px 20px; }
  .site-footer { padding: 26px 20px; }
  .lightbox > div { padding: 45px 10px 20px; }
}
@media (max-width: 480px) {
  .site-header nav { gap: 12px; font-size: 12px; }
  .wordmark { font-size: 18px; }
  .title-brand { font-size: clamp(48px, 14vw, 64px); }
  .resource-links { display: grid; grid-template-columns: 1fr 1fr; max-width: 340px; }
  .resource-links a { min-width: 0; }
  .result-tabs { gap: 20px; }
  .result-tabs button { font-size: 14px; }
  .paper-section#abstract h2, .citation-section > h2 { font-size: 30px; }
  .citation-box > div { padding-inline: 14px; }
  .site-footer { gap: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
