:root {
  --bg: #fbfaf8;
  --text: #1f1f1d;
  --muted: #5c5b57;
  --line: #e3e1db;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  line-height: 1.65;
  font-size: 18px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch span.active {
  color: var(--text);
  font-weight: 600;
}

header.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}

header.hero h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}

header.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 34em;
}

header.hero p.cta {
  margin-top: 28px;
}

.cta-button {
  display: inline-block;
  padding: 10px 22px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}

.cta-button:hover {
  opacity: 0.85;
}

main section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

main section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 20px;
}

section p {
  margin: 0 0 14px;
}

section p:last-child {
  margin-bottom: 0;
}

ul.research-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.research-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

ul.research-list li:first-child {
  border-top: none;
}

a {
  color: var(--text);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--text);
}

.contact-email {
  font-size: 20px;
}

footer {
  padding: 40px 0 80px;
}

footer .footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 14px;
}

footer .footer-links a {
  color: var(--muted);
}

footer .copyright {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.page-content h1 {
  font-size: 24px;
  margin: 96px 0 32px;
}

.page-content section {
  padding: 0 0 56px;
  border-bottom: none;
}

.page-content p {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.glossary-list {
  margin: 0 0 32px;
}

.glossary-list dt {
  color: var(--text);
  font-weight: 600;
  margin: 24px 0 6px;
}

.glossary-list dt:first-child {
  margin-top: 0;
}

.glossary-list dd {
  margin: 0;
  color: var(--muted);
}
