:root {
  --text: #1a1a1a;
  --muted: #666;
  --rule: #e2e2e2;
  --link-rule: #b8b8b8;
  --link-hover: #e7eef8;
  --panel: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  background: #fff;
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  padding: 0 16px;
}

#content {
  max-width: 40rem;
  margin: 0 auto;
  padding: 40px 0 48px;
}

/* Header */

header {
  text-align: center;
  margin-bottom: 28px;
}
header h1 {
  font-size: 1.9em;
  font-weight: normal;
  line-height: 1.25;
  margin: 0;
}
header h1 a {
  color: inherit;
}
.tagline {
  color: var(--muted);
  margin: 8px 0 0;
}
nav {
  margin-top: 14px;
  font-size: 0.95em;
}
nav a {
  margin: 0 10px;
  color: var(--muted);
}
nav a[aria-current="page"] {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

/* Body */

figure {
  margin: 0 0 24px;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
}
figcaption {
  margin-top: 6px;
  font-size: 0.85em;
  color: var(--muted);
  text-align: center;
}

h2 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--text);
  text-decoration: none;
}
main a {
  border-bottom: 1px solid var(--link-rule);
}
main a:hover {
  background: var(--link-hover);
}
header h1 a,
nav a {
  border-bottom: none;
}

/* Key facts */

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 0 0 14px;
}
.facts dt {
  font-weight: bold;
}
.facts dd {
  margin: 0;
}

/* People */

.people {
  list-style: none;
  margin: 0;
  padding: 0;
}
.people li {
  margin-bottom: 8px;
}
.people .affil {
  display: block;
  color: var(--muted);
  font-size: 0.9em;
}

/* Registration */

.button {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--text);
  border-radius: 4px;
}
main a.button:hover {
  background: var(--text);
  color: #fff;
}

.form {
  background: var(--panel);
  border-radius: 6px;
  padding: 8px;
  margin: 0;
}
