/* The two legal pages.
 *
 * Its own stylesheet rather than the home page's three hundred lines
 * inlined twice. The tokens are the same, deliberately: a privacy policy
 * that looks like it came from somewhere else reads like it came from
 * somewhere else, and the one thing these pages have to be is ours.
 *
 * Set in a measure of about 70 characters and at 17px, because unlike the
 * rest of the site these are meant to be read in full by somebody deciding
 * whether to trust us with their students' records. */

:root {
  --ink:      #0B1220;
  --ink-2:    #45516A;
  --ink-3:    #7C879C;
  --line:     #E2E6ED;
  --paper:    #FFFFFF;
  --paper-2:  #F6F8FB;
  --navy:     #0B3D73;
  --blue:     #1763C6;
  --blue-ink: #0E4E9E;
  --amber:    #9A5B00;
  --radius:   10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EEF2F8; --ink-2: #B4C0D4; --ink-3: #8795AC;
    --line: #233049; --paper: #0A0F1A; --paper-2: #101827;
    --navy: #9FC6F2; --blue: #6FA8EC; --blue-ink: #9FC6F2;
    --amber: #E0A24A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 17px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.bar { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 680; color: var(--ink);
  text-decoration: none; letter-spacing: -0.018em; font-size: 17px;
}
.brand svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.brand .ops { color: var(--ink-3); font-weight: 600; }
.bar .back { margin-left: auto; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.bar .back:hover { color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main { max-width: 40rem; margin: 0 auto; padding: 56px 16px 96px; }

h1 {
  color: var(--ink); font-size: clamp(30px, 4.4vw, 40px); line-height: 1.12;
  letter-spacing: -0.028em; margin: 0; font-weight: 640;
}
h2 {
  color: var(--ink); font-size: 21px; line-height: 1.2; letter-spacing: -0.016em;
  font-weight: 640; margin: 44px 0 0;
}
h3 {
  color: var(--ink); font-size: 17px; letter-spacing: -0.008em; font-weight: 640;
  margin: 26px 0 0;
}
p, ul, ol { margin: 14px 0 0; }
ul, ol { padding-left: 1.3em; }
li { margin-top: 7px; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
strong { color: var(--ink); font-weight: 620; }

.when {
  margin-top: 14px; font-size: 14.5px; color: var(--ink-3);
}
.lede {
  margin-top: 20px; font-size: 19px; color: var(--ink-2);
}

/* A paragraph that is the actual answer to the question somebody came with,
   rather than one of the paragraphs around it. */
.plain {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 16px;
}
.plain p:first-child { margin-top: 0; }

/* Something we want read rather than skimmed past, because somebody will
   otherwise discover it at the worst moment. */
.heed {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--amber) 36%, var(--line));
  background: color-mix(in srgb, var(--amber) 7%, var(--paper));
  font-size: 16px;
}
.heed h3 { margin-top: 0; color: var(--amber); }
.heed p:first-of-type { margin-top: 8px; }

table {
  width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15.5px;
}
th, td {
  text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--ink-3); font-size: 12px; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase;
}
td:first-child { color: var(--ink); font-weight: 560; white-space: nowrap; }
@media (max-width: 560px) {
  td:first-child { white-space: normal; }
  table { font-size: 15px; }
}

footer {
  border-top: 1px solid var(--line); padding: 32px 0 56px;
  font-size: 13.5px; color: var(--ink-3);
}
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
