/* Legal pages.
 *
 * Deliberately plain and deliberately not the landing page's dark stage. These
 * documents are read, not looked at -- usually by someone checking a specific
 * clause -- so they get a light background, a long measure and generous
 * leading. The one thing carried over is the brand's teal, so it is obvious
 * whose page this is.
 */

:root {
  --ink: #14181a;
  --ink-dim: #454f52;
  --paper: #f5f3ec;
  --teal: #006d77;
  --rule: rgba(20, 24, 26, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.4rem 6rem;
}

.legal__eyebrow {
  font-family: "Azeret Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 2.2rem;
}

.legal__eyebrow a,
.legal__back a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.legal__eyebrow a:hover,
.legal__back a:hover {
  color: var(--ink);
}

h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

.legal__updated {
  font-family: "Azeret Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin: 0 0 2.4rem;
}

.legal__lede {
  font-size: 1.14rem;
  color: var(--ink-dim);
  margin: 0 0 2.6rem;
}

h2 {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  margin: 2.6rem 0 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

p {
  margin: 0 0 1.1rem;
}

/* The one paragraph a reader must not skim past: putting real customer data
   into a tenant that is wiped every hour is a mistake we should make loud. */
.legal__warning {
  border-left: 3px solid var(--teal);
  padding: 0.85rem 1.1rem;
  background: rgba(0, 109, 119, 0.06);
  font-weight: 500;
}

.legal__back {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae3;
    --ink-dim: #a8b0b2;
    --paper: #0d1113;
    --teal: #82d3de;
    --rule: rgba(236, 234, 227, 0.16);
  }
  .legal__warning {
    background: rgba(130, 211, 222, 0.09);
  }
}
