:root {
  color-scheme: light;
  --ink: #1b2836;
  --muted: #5b6977;
  --line: #dbe3eb;
  --brand: #0b5f93;
  --brand-dark: #12355b;
  --accent: #b63c32;
  --band: #f4f7fa;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

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

header {
  background: var(--brand-dark);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.school-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.22));
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.subtitle {
  margin: 8px 0 0;
  color: #d8e6f1;
  font-size: 17px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: Arial, Helvetica, sans-serif;
}

nav a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}

nav a.active {
  background: #fff;
  color: var(--brand-dark);
}

main {
  padding: 36px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.lede {
  font-size: 20px;
  color: #35495d;
  margin: 0 0 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 14px;
  min-height: 94px;
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--brand-dark);
  line-height: 1.1;
  font-family: Arial, Helvetica, sans-serif;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.figure {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.protocol-image {
  display: block;
  object-fit: contain;
}

section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}

h2 {
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--brand-dark);
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  color: var(--brand-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.note,
.callout {
  border-left: 4px solid var(--accent);
  background: var(--band);
  padding: 14px 16px;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--band);
  color: var(--brand-dark);
}

code,
pre {
  font-family: Consolas, Monaco, "Courier New", monospace;
}

pre {
  background: #f7f9fb;
  border: 1px solid var(--line);
  padding: 14px;
  overflow-x: auto;
  border-radius: 6px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.button.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 20px 0 36px;
  font-size: 14px;
}

footer p {
  margin: 0 0 6px;
}

@media (max-width: 820px) {
  .topbar,
  .hero,
  .grid {
    grid-template-columns: 1fr;
    display: block;
  }

  nav {
    justify-content: flex-start;
    margin-top: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .brand {
    align-items: flex-start;
  }

  .school-logo {
    width: 68px;
    height: 68px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
