:root {
  color-scheme: light;
  --ink: #1c1c1c;
  --secondary: #555;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  width: min(100% - 3rem, 42rem);
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
a[aria-current="page"] { font-weight: 600; }

nav, footer, .links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.2rem;
}

nav, footer { font-size: .9375rem; }
main { margin-top: clamp(2.75rem, 7vw, 4.5rem); }
section { margin-top: 2.75rem; scroll-margin-top: 1.25rem; }

h1, h2, h3, p { margin: 0; }
h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.045em;
}
h2 { margin-bottom: .65rem; font-size: 1.3rem; font-weight: 650; line-height: 1.35; }
h3 { margin: 1.05rem 0 .5rem; font-size: .9375rem; font-weight: 650; }
p + p { margin-top: .65rem; }

.entries { padding: 0; margin: 0; list-style: none; }
.entries > li + li { margin-top: .85rem; }
.entries p, .links, time, .secondary { color: var(--secondary); font-size: .875rem; }
.links { margin-top: .2rem; }
.papers li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); column-gap: .9rem; }
.papers time { padding-top: .08rem; font-variant-numeric: tabular-nums; }

footer { margin-top: 3rem; }
.skip {
  position: absolute;
  top: .4rem;
  left: .5rem;
  transform: translateY(-200%);
  padding: .25rem .5rem;
  background: #fff;
}
.skip:focus { transform: none; }

@media (max-width: 480px) {
  body { width: calc(100% - 2rem); padding-top: 1.3rem; }
  .papers li { grid-template-columns: 1fr; }
}

.supporters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}
.supporters a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  gap: .55rem;
}
.supporters img { display: block; max-width: 100%; height: auto; }
.supporters-label + .supporters { margin-top: .25rem; }
