/* Latin Modern (the OpenType Computer Modern), from TeX Live. GUST Font License. */
@font-face { font-family: "LM Roman"; src: url("fonts/lmroman10-regular.otf") format("opentype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LM Roman"; src: url("fonts/lmroman10-italic.otf") format("opentype"); font-weight: normal; font-style: italic; font-display: swap; }
@font-face { font-family: "LM Roman"; src: url("fonts/lmroman10-bold.otf") format("opentype"); font-weight: bold; font-style: normal; font-display: swap; }

:root {
  --text: #16181d;
  --muted: #5b6070;
  --blue: #2a44d4; /* matches the logo */
  --line: #e4e6ec;
  --tint: #f6f7fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "LM Roman", "Latin Modern Roman", Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
}

a { color: var(--blue); }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 5.5rem; }
.site-header .wrap > a { display: block; line-height: 0; }
.logo { height: 3.75rem; width: auto; }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }

/* Hero */
.hero { padding: 2.5rem 0 2.25rem; border-bottom: 1px solid var(--line); text-align: center; }
.hero h1 { font-size: 3rem; line-height: 1.15; font-weight: normal; margin: 0 auto; max-width: 16em; }

/* Body copy */
.prose { max-width: 42rem; padding-top: 3.5rem; padding-bottom: 1rem; }
.prose h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.prose p { margin: 0 0 1.1rem; }

/* Document cards */
.cards { max-width: 42rem; padding-top: 1.5rem; padding-bottom: 4.5rem; }
.card { display: block; padding: 1.5rem 1.5rem 1.25rem; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.card:hover { border-color: var(--blue); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card { display: flex; flex-direction: column; }
.card .more { color: var(--blue); margin-top: auto; }


/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 36rem) {
  body { font-size: 17px; }
  .hero { padding: 1.75rem 0; }
  .logo { height: 3rem; }
  .site-header nav { gap: 1rem; font-size: 0.9rem; }
  .hero h1 { font-size: 2.1rem; }
}
