:root {
  color-scheme: light;
  --ink: #07111f;
  --muted: #536174;
  --line: #dce4ea;
  --paper: #ffffff;
  --wash: #f4f8f8;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #ccfbf1;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --navy: #0f172a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

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

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

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.nav-links {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #334155;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 3px;
}

.language-switch a[aria-current="page"] {
  background: var(--teal-dark);
  color: white;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 700;
}

.hero-summary {
  max-width: 780px;
  margin: 0;
  color: #334155;
  font-size: 19px;
  line-height: 1.75;
}

:lang(zh-CN) > body h1 {
  font-family: inherit;
  font-size: 44px;
  line-height: 1.35;
}

.study-facts {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--teal);
}

.study-facts dt {
  color: var(--muted);
  font-size: 14px;
}

.study-facts dd {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.study-facts dd span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.action-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.action-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 9px 14px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #1e293b;
  color: white;
}

.button.secondary {
  border-color: #b7c3ce;
  background: white;
  color: var(--navy);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.doi-line {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.content-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: 72px;
  padding: 64px 0 80px;
}

.article-body section {
  padding: 0 0 52px;
}

.article-body,
.sidebar {
  min-width: 0;
}

.article-body section + section {
  border-top: 1px solid var(--line);
  padding-top: 52px;
}

h2 {
  margin-bottom: 20px;
  font-size: 34px;
}

h3 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.article-body p,
.article-body li {
  color: #334155;
  font-size: 16px;
}

.article-body p {
  margin: 0 0 18px;
}

.abstract-label {
  color: var(--ink);
  font-weight: 800;
}

.result-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 22px 0;
  margin: 24px 0 18px;
  border-block: 1px solid var(--line);
}

.result-highlights span,
.result-highlights strong {
  display: block;
}

.result-highlights span {
  font-size: 14px;
}

.result-highlights strong {
  color: var(--teal-dark);
  font-size: 36px;
  font-variant-numeric: tabular-nums;
}

.article-body .result-context {
  color: var(--muted);
  font-size: 14px;
}

.key-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.key-points li {
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.key-points strong,
.key-points span {
  display: block;
}

.key-points strong {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 25px;
}

.key-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.arm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.arm {
  border-top: 3px solid #94a3b8;
  padding: 18px 0 6px;
}

.arm.primary {
  border-color: var(--teal);
}

.arm h3 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef4f5;
  color: var(--ink);
  font-weight: 800;
}

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

.note {
  margin-top: 18px;
  border-left: 4px solid var(--teal);
  padding: 14px 18px;
  background: #f0fdfa;
  color: #334155;
  font-size: 14px;
}

.warning {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.limitations {
  margin: 0;
  padding-left: 22px;
}

.limitations li + li {
  margin-top: 10px;
}

.sidebar {
  align-self: start;
}

.sidebar-block {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.sidebar-block:first-child {
  border-top: 3px solid var(--teal);
}

.sidebar h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.metadata {
  margin: 0;
}

.metadata div {
  padding: 9px 0;
}

.metadata dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metadata dd {
  margin: 3px 0 0;
  color: #1e293b;
  font-size: 14px;
}

.citation {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid #1e293b;
  background: var(--navy);
  color: #cbd5e1;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-inner a {
  color: #99f6e4;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  h1 {
    font-size: 42px;
  }

  :lang(zh-CN) > body h1 {
    font-size: 36px;
  }

  .study-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }

  .hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding: 38px 0;
  }

  .content-grid {
    gap: 26px;
    padding-top: 48px;
  }

  .sidebar {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-inner,
  .action-inner,
  .content-grid,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 62px;
    gap: 12px;
    padding-block: 10px;
  }

  .brand {
    font-size: 14px;
    line-height: 1.35;
    gap: 8px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-links .home-link {
    display: none;
  }

  .language-switch a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 34px;
  }

  :lang(zh-CN) > body h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .study-facts {
    gap: 12px;
  }

  .study-facts dd {
    font-size: 28px;
  }

  .study-facts dd span {
    display: block;
    margin-top: 6px;
  }

  .result-highlights strong {
    font-size: 28px;
  }

  .hero-summary {
    font-size: 17px;
  }

  .key-points,
  .arm-list {
    grid-template-columns: 1fr;
  }

  .key-points li {
    min-height: 0;
  }

  .button-group,
  .button {
    width: 100%;
  }

  .article-body section {
    padding-bottom: 40px;
  }

  .article-body section + section {
    padding-top: 40px;
  }
}

@media print {
  .site-header,
  .action-bar,
  .site-footer {
    display: none;
  }

  .hero,
  .note,
  .citation,
  th {
    background: white;
  }

  .content-grid {
    width: 100%;
    display: block;
    padding: 30px 0;
  }

  .sidebar {
    margin-top: 30px;
  }
}
