:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", Arial, sans-serif;
  color: #202124;
  background: #ffffff;
}

* { box-sizing: border-box; }

body { margin: 0; }

header {
  border-bottom: 1px solid #dadce0;
  background: #f8f9fa;
}

header div,
main,
footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

header div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

header a,
footer a { color: #174ea6; }

header strong { font-size: 18px; }

main { padding: 48px 0 56px; }

h1 {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  font-weight: 650;
}

h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}

p, li, dd, dt {
  font-size: 16px;
  line-height: 1.7;
}

.subtitle { color: #5f6368; font-size: 18px; }
.author { margin: 24px 0 4px; font-size: 18px; font-weight: 600; }
.affiliation { margin-top: 0; color: #5f6368; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #1a73e8;
  border-radius: 4px;
  color: #ffffff;
  background: #1a73e8;
  font-weight: 600;
  text-decoration: none;
}

.button.secondary {
  color: #174ea6;
  background: #ffffff;
}

dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 0;
  border-top: 1px solid #dadce0;
}

dt, dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #dadce0;
}

dt { color: #5f6368; font-weight: 600; }

.paper-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #dadce0;
}

.paper-list li {
  padding: 20px 0;
  border-bottom: 1px solid #dadce0;
}

.paper-list a { color: #174ea6; font-weight: 650; }
.paper-list p { margin: 4px 0 0; color: #5f6368; }

footer {
  padding: 24px 0 40px;
  border-top: 1px solid #dadce0;
  color: #5f6368;
}

@media (max-width: 640px) {
  main { padding-top: 32px; }
  header div { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; gap: 4px; }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; border-bottom: 0; }
  dd { padding-top: 2px; }
}
