@font-face { font-family: 'Cormorant Garamond'; src: url('/lab-fonts/cormorant-garamond.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/lab-fonts/ibm-plex-sans.ttf') format('truetype'); font-weight: 400; font-display: swap; }
/* Shared visual treatment for the standalone Polaris course pages. */
:root {
  --lab-paper: #fafbf9;
  --lab-ink: #223f42;
  --lab-muted: #4b6161;
  --lab-rule: #d4dfd9;
  --lab-accent: #2b6469;
  --lab-serif: 'Cormorant Garamond', Georgia, serif;
}
body {
  padding: clamp(1.25rem, 5vw, 4rem);
  background: var(--lab-paper);
  color: var(--lab-ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
}
h1, h2, h3, h4 { font-family: var(--lab-serif); font-weight: 400; }
.container > h1 { color: var(--lab-ink) !important; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; }
.container > h1 strong { font-weight: 400 !important; }
a, a:hover { color: var(--lab-accent); text-underline-offset: 0.2em; }
h3 { padding-bottom: 0.6rem; border-bottom: 1px solid var(--lab-rule); }
.header-row { border-color: var(--lab-rule); padding-block: 1.5rem; }
.course-info h5 { color: var(--lab-muted) !important; font-size: 0.85rem; line-height: 1.6; }
.namecard, .namecard-2x { border-radius: 2px; border-color: var(--lab-rule); background: transparent; }
.namecard-header { background: #eae5db; color: var(--lab-ink); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.table { color: var(--lab-ink); }
.table th, .table td { border-color: var(--lab-rule); }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(135, 96, 59, 0.045); }
:focus-visible { outline: 2px solid var(--lab-accent); outline-offset: 3px; }
@media (max-width: 650px) {
  .namecard-container { grid-template-columns: 1fr; padding-inline: 0; }
  .container { padding-inline: 0; }
  .table-responsive { overflow-x: auto; }
}
