:root {
  --paper: #f6f8fa;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #5d646b;
  --line: #d7dee5;
  --accent: #145c52;
  --accent-strong: #8c2d24;
  --soft: #e8f2ef;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: #dfe5ea;
}

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

a {
  color: #155f91;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  width: min(1080px, calc(100% - 36px));
  margin: 28px auto;
  padding: 42px 54px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(33, 31, 24, 0.08);
}

.profile {
  max-width: 820px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--line);
}

.eyebrow {
  margin: 8px 0 18px 4px;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 25px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.links,
.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a,
.paper-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #b9c7c3;
  border-radius: 6px;
  padding: 5px 12px;
  background: var(--soft);
  color: #174c45;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.inline-link {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-left: 6px;
  border: 1px solid #c6d2ce;
  border-radius: 999px;
  padding: 1px 9px;
  background: #f5faf8;
  color: #174c45;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 0.08em;
}

.section {
  padding: 34px 0 4px;
}

.section__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: baseline;
  justify-content: space-between;
}

.section__heading h2 {
  margin-bottom: 0;
}

.note,
.muted {
  color: var(--muted);
}

.note {
  margin: 0;
  font-size: 15px;
}

.publication {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication:last-child {
  border-bottom: 0;
}

.publication__body p {
  margin-bottom: 7px;
}

.highlight {
  color: var(--accent-strong);
  font-weight: 700;
}

.compact-list,
.timeline {
  margin: 0;
  padding-left: 22px;
}

.compact-list li,
.timeline li {
  margin: 10px 0;
}

.timeline span {
  display: block;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.timeline p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .page {
    width: 100%;
    margin: 0;
    padding: 28px 22px;
    border-width: 0;
  }

  .profile {
    max-width: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

}
