/* ============================================================================
   dean.school — legal pages
   Privacy notice and accessibility statement. Deliberately plain: these are
   documents someone has to be able to read and act on, not brand surfaces.
   ========================================================================= */

.legal { padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 10vh, 7rem); }

.legal__head {
  max-width: 46rem;
  padding-bottom: clamp(2rem, 5vh, 3.25rem);
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.legal__head .t-micro { margin-bottom: 1.25rem; }
.legal__head h1 { margin-bottom: 1.25rem; max-width: 18ch; }

.legal__meta {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: var(--t-nano);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

.legal__body { max-width: 46rem; display: flex; flex-direction: column; gap: clamp(2.5rem, 6vh, 4rem); }

.legal__body h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 550;
  letter-spacing: -0.028em;
  line-height: 1.14;
  margin-bottom: 1rem;
}
.legal__body p { color: var(--chalk-dim); margin-bottom: 1rem; max-width: 62ch; }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body a { color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair-strong); }
.legal__body a:hover { text-decoration-color: var(--violet-lift); }
.legal__body b { color: var(--chalk); font-weight: 550; }
.legal__body code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: rgba(196, 178, 255, 0.1);
}

.legal__quick { display: flex; flex-direction: column; gap: 0.875rem; }
.legal__quick li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--chalk-dim);
  line-height: 1.6;
}
.legal__quick li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--violet);
}

.legal__rights { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1rem; }
.legal__rights li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--chalk-dim);
  line-height: 1.6;
}
.legal__rights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: var(--t-small);
}
.legal__table th,
.legal__table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--hair);
}
.legal__table th {
  font-family: var(--mono);
  font-size: var(--t-nano);
  font-weight: 450;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk-mute);
}
.legal__table td:first-child { color: var(--chalk); font-weight: 500; width: 38%; }
.legal__table td:last-child { color: var(--chalk-dim); }

.legal__opt {
  font-family: var(--mono);
  font-size: var(--t-nano);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-faint);
  margin-left: 0.4rem;
}

.legal__note {
  padding: 1rem 1.25rem;
  border-radius: var(--r-panel);
  border: 1px solid var(--hair);
  background: rgba(196, 178, 255, 0.045);
  font-size: var(--t-small);
}

/* Anything still to be confirmed is marked, not hidden. These must all be
   resolved before the site is published. */
.legal__todo {
  background: var(--alert-wash);
  color: var(--alert);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  border: 1px solid rgba(240, 149, 92, 0.3);
}

.legal__back {
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
  border-top: 1px solid var(--hair);
}
.legal__back a {
  color: var(--chalk-mute);
  text-decoration: none;
  font-size: var(--t-small);
  transition: color var(--dur-fast) var(--ease-state);
}
.legal__back a:hover { color: var(--chalk); }
