:root {
  --ink: #222222;
  --muted: #555555;
  --line: #dddddd;
  --soft-line: #eeeeee;
  --accent: #1b5e3c;
  --accent-hover: #237a50;
  --accent-soft: #f0f7f3;
  --accent-line: #d8e9df;
  --ours: #e3f1e8;
}

* {
  box-sizing: border-box;
}

body {
  width: 70%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  background: #ffffff;
  color: var(--ink);
  font-family: "Titillium Web", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

main {
  width: 100%;
  margin: 0 auto;
}

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

h1 {
  margin: 0.67em auto;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.title-accent {
  color: var(--accent);
}

.authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 10px;
  line-height: 1.65;
}

.authors a {
  display: inline-block;
  padding: 5px;
  color: #000000;
  font-size: 22px;
}

.authors sup {
  color: #313436;
  font-size: 12px;
}

.affiliations {
  width: 100%;
  margin: 0 auto 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.notes {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 28px 0;
  font-size: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  transition: color 0.2s, transform 0.2s;
}

.button:hover {
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-figure {
  margin: 12px 0 8px;
}

.hero-caption {
  margin: 8px 0 16px;
  line-height: 1.5;
  text-align: center;
}

.news-item {
  padding: 8px 0 2px;
  font-size: 18px;
}

.news-item .fa-calendar {
  margin-right: 7px;
  color: var(--accent);
}

.section {
  clear: both;
  margin: 40px 0;
  text-align: justify;
}

h2 {
  margin: 24px 0 8px;
  font-size: 1.65em;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

hr {
  height: 1px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

p {
  margin: 12px 0;
  line-height: 1.5;
}

.overview-lead {
  margin: 14px 0 12px;
  line-height: 1.55;
}

blockquote {
  margin: 18px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 1.06em;
  line-height: 1.55;
}

.overview-thesis {
  margin: 18px 0 6px;
}

.overview-points {
  margin: 16px 0 8px;
  padding-left: 1.35em;
  line-height: 1.55;
  text-align: left;
}

.overview-points li {
  margin: 8px 0;
}

.method-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 20px;
}

.method-highlight {
  margin: 0;
  padding: 24px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 17px;
  line-height: 1.6;
}

.method-highlight h3 {
  margin: 18px 0 8px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.method-highlight h3:first-child {
  margin-top: 0;
}

.method-highlight p {
  margin: 0;
  line-height: 1.6;
}

.method-formula {
  margin: -2px 0 2px;
  padding: 0 12px;
  overflow-x: auto;
  text-align: center;
}

.method-formula p {
  margin: 0 0 4px;
  text-align: left;
}

.method-formula .formula-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95em;
}

.method-formula mjx-container {
  margin: 0.4em 0 !important;
}

.method-note {
  margin: -2px 4px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

figure {
  display: block;
  margin: 18px auto 10px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.evidence-grid figure {
  margin: 0;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.table-wrap {
  width: 100%;
  margin: 16px 0 22px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 13.5px;
}

th,
td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--soft-line);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child,
th:nth-child(2),
td:nth-child(2) {
  text-align: left;
}

.results-table {
  min-width: 900px;
  font-size: 12.8px;
}

.results-table th,
.results-table td {
  text-align: right;
}

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

.results-table .best {
  color: var(--accent);
  font-weight: 700;
}

.results-table .second {
  text-decoration: underline;
  text-underline-offset: 2px;
}

thead th {
  border-bottom: 2px solid var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: #fbfbfb;
}

tbody tr.ours {
  background: var(--ours);
  font-weight: 600;
}

.flag {
  text-align: center !important;
  font-size: 16px;
  font-weight: 700;
}

.citation-box {
  position: relative;
  margin-top: 12px;
}

.copy-citation {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #cccccc;
  border-radius: 6px;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  opacity: 0;
  transition: opacity 150ms ease, background 150ms ease, border-color 150ms ease;
}

.citation-box:hover .copy-citation,
.copy-citation:focus-visible {
  opacity: 1;
}

.copy-citation:hover,
.copy-citation:focus-visible {
  border-color: #aaaaaa;
  background: #eeeeee;
}

.copy-citation.copied {
  border-color: #8bc79b;
  background: #eef8f0;
  color: #0b7a33;
  opacity: 1;
}

.copy-citation svg {
  width: 18px;
  height: 18px;
}

pre {
  margin: 0;
  padding: 24px 56px 24px 24px;
  overflow-x: auto;
  border-radius: 3px;
  background: #eeeeee;
  color: #111111;
  font-size: 0.9em;
  line-height: 1.45;
}

code {
  font-family: Consolas, "Liberation Mono", Menlo, monospace;
}

@media (max-width: 1100px) {
  body {
    width: 86%;
  }
}

@media (max-width: 760px) {
  body {
    width: 100%;
    padding: 0 14px;
    font-size: 17px;
  }

  h1 {
    font-size: 34px;
  }

  .authors a {
    font-size: 18px;
  }

  .actions {
    gap: 22px;
    font-size: 20px;
  }

  .section,
  .section p,
  blockquote,
  .method-highlight {
    text-align: left;
  }

  .method-highlight {
    padding: 20px 22px;
  }

  .method-formula {
    padding: 0 4px;
    font-size: 0.9em;
  }

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