/* Shared by terms.html, privacy.html and 404.html. Tokens match index.html. */
:root {
  --ink: #17283A;
  --ink-soft: #435163;
  --muted: #606975;
  --green: #3D5C4C;
  --sage: #E4EAE2;
  --paper: #F9F7F3;
  --line: #E3E0D6;

  --display: "Newsreader", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.logo { font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
/* The wordmark: profpage/ — the slash is where an educator's name goes */
.logo .slash { color: var(--green); font-weight: 500; margin-left: .03em; }

.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.nav > a:last-child { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.nav > a:last-child:hover { color: var(--ink); }

.legal { max-width: 46rem; padding-top: 56px; padding-bottom: 80px; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 54px); letter-spacing: -0.015em; line-height: 1.05; margin: 0; }
.legal .effective { color: var(--muted); font-size: 15px; margin: 12px 0 32px; }
.legal .summary { background: var(--sage); border-left: 3px solid var(--green); padding: 16px 20px; margin: 0 0 36px; }
.legal .summary p { margin: 0; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; line-height: 1.25; margin: 40px 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink-soft); }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .logo { color: var(--ink); font-size: 24px; }
.foot-brand p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; max-width: 22em; }
.foot-col h2 { font-family: var(--body); line-height: 1.3; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 4px 0 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-soft); text-decoration: none; margin-bottom: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; }
@media (max-width: 760px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
}
