:root {
  color-scheme: light;
  --ink: #1d302c;
  --muted: #526660;
  --brand: #14533e;
  --line: #c8d6cd;
  --paper: #fcfbf6;
  --wash: #edf4eb;
  --radius: 0.7rem;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
}
a {
  color: var(--brand);
  text-underline-offset: 0.22em;
}
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #aa540b;
  outline-offset: 4px;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
header > div,
main {
  max-width: 68rem;
  margin: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
header > div {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 4.5rem;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font:
    700 1.4rem Georgia,
    serif;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  font: 500 0.93rem system-ui;
  padding-inline-start: 0.7rem;
  color: var(--muted);
  letter-spacing: 0;
}
main {
  padding-block: clamp(2rem, 6vw, 4rem);
}
h1,
h2,
h3 {
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font:
    550 clamp(2.2rem, 6vw, 4rem)/1.07 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 0.35rem 0 1.25rem;
}
h2 {
  font:
    600 1.55rem Georgia,
    serif;
  margin-top: 2rem;
}
p,
article {
  max-width: 75ch;
}
.intro,
.meta {
  color: var(--muted);
}
.meta {
  font-size: 0.91rem;
}
.panel,
.course {
  margin-block: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.course {
  display: block;
  text-decoration: none;
}
.course strong {
  display: block;
  font:
    600 1.35rem Georgia,
    serif;
}
.course:hover {
  background: var(--wash);
}
.narrow {
  max-width: 38rem;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.85fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}
label {
  display: block;
  font-weight: 650;
  margin: 1rem 0 0.25rem;
}
input,
select,
textarea {
  font: inherit;
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #84998c;
  border-radius: 0.4rem;
  padding: 0.65rem 0.8rem;
}
textarea {
  resize: vertical;
}
button,
.button {
  font: 650 1rem system-ui;
  background: var(--brand);
  color: white;
  border: 0;
  border-radius: 0.45rem;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  display: inline-block;
  margin-block: 0.8rem;
  text-decoration: none;
}
.quiet {
  color: var(--brand);
  background: transparent;
  text-decoration: underline;
  padding: 0.35rem;
  margin: 0;
}
.skip {
  position: absolute;
  left: -999em;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: white;
  padding: 0.5rem;
  z-index: 2;
}
.source {
  padding-inline-start: 1.25rem;
}
.reading {
  white-space: pre-wrap;
}
.notice {
  padding: 1rem;
  background: var(--wash);
  border-inline-start: 4px solid var(--brand);
}
.scroll {
  max-width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
}
td,
th {
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
}
code,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
details {
  margin-block: 1rem;
}
summary {
  cursor: pointer;
  color: var(--brand);
}
.crumb {
  font-size: 0.95rem;
}
.row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 45rem) {
  .two {
    grid-template-columns: 1fr;
  }
  header > div {
    gap: 0.5rem;
  }
  header nav {
    gap: 0.5rem;
  }
}
@media (prefers-contrast: more) {
  :root {
    --line: #59675f;
    --muted: #273b30;
  }
}
