:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #5f6368;
  --rule: #d8dce1;
  --link: #1b5dab;
  --paper: #ffffff;
  --soft: #f6f7f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

main {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

header {
  text-align: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 6px 0 18px;
  font-size: 1.22rem;
}

.authors { color: var(--muted); }

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 22px;
}

a { color: var(--link); text-underline-offset: 3px; }

section { margin-top: 50px; }

h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  font-weight: 500;
}

p { margin: 0 0 12px; }

figure { margin: 0; }

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: white;
}

figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.wide { margin-bottom: 28px; }

.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
}

.protocol {
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

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

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

thead { background: var(--soft); }

ul { margin: 0; padding-left: 24px; }
li { margin: 8px 0; }

pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--rule);
  background: var(--soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  main { padding-top: 36px; }
  .figure-grid { grid-template-columns: 1fr; }
}
