:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #111111;
  --muted: #555555;
  --rule: #dddddd;
  --focus: #005fcc;
  --link: #0645ad;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.09em;
}

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

.site-shell {
  margin: 0;
  max-width: 720px;
  padding: 56px 24px 72px;
}

.site-header {
  margin-bottom: 48px;
}

.site-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

.site-header p {
  color: var(--muted);
  margin: 0;
}

.publication-section h2 {
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 22px;
  padding-bottom: 8px;
  text-transform: none;
}

.publication-note {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 560px) {
  .site-shell {
    padding: 36px 18px 56px;
  }

  .site-header {
    margin-bottom: 40px;
  }

  .site-header h1 {
    font-size: 1.375rem;
  }
}
