/* ═══════════════════════════════════════════════════════════════════════
   The legal pages.

   Same palette and same typefaces as the landing page, but none of its
   layout. That page is a piece of argument and breaks its own grid on
   purpose; these two are documents somebody reads under pressure — before
   installing, or while closing their account — and the only thing that
   matters is that a paragraph can be found and quoted.

   So: one column, one measure, numbered sections, and nothing that moves.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --void:    #030906;
  --deep:    #061310;
  --glass:   #0A1B14;
  --rule:    #143025;
  --rule-2:  #1F4C38;
  --bone:    #EAF4EE;
  --fog:     #85A295;
  --fog-2:   #587467;
  --volt:    #2BE884;
  --amber:   #F5B63F;

  --display: Archivo, "Arial Narrow", system-ui, sans-serif;
  --text:    "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --void:  #E9EFEA;
    --deep:  #FFFFFF;
    --glass: #FFFFFF;
    --rule:  #CDDCD2;
    --rule-2:#AFC6B7;
    --bone:  #051310;
    --fog:   #3C5A4C;
    --fog-2: #5D7A6B;
    --volt:  #0B7A3F;
    --amber: #8A5B05;
    color-scheme: light;
  }
}

* { box-sizing: border-box }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ── masthead ─────────────────────────────────────────────────────── */

header.masthead {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  padding-block: 28px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--volt);
  flex: none;
}

.brand:hover { color: var(--bone) }

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 26px 0 14px;
}

.standfirst {
  color: var(--fog);
  font-size: 17px;
  max-width: 58ch;
  margin: 0;
}

.stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog-2);
  margin-top: 22px;
}

/* ── sections ─────────────────────────────────────────────────────── */

section { margin-bottom: 44px }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 14px;
  align-items: baseline;
}

h2 .mark {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--volt);
  flex: none;
}

h3 {
  font-family: var(--text);
  font-weight: 600;
  font-size: 16px;
  margin: 26px 0 8px;
}

p { margin: 0 0 14px; max-width: 68ch }

ul { margin: 0 0 16px; padding-left: 20px; max-width: 68ch }
li { margin-bottom: 7px }

strong { font-weight: 600 }

a { color: var(--volt); text-underline-offset: 3px }

/* ── the data table ───────────────────────────────────────────────── */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 14.5px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--rule);
}

th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fog-2);
  border-bottom-color: var(--rule-2);
}

td:first-child { width: 34%; color: var(--bone) }
td:last-child { color: var(--fog) }

/* ── callouts ─────────────────────────────────────────────────────── */

.note {
  border: 1px solid var(--rule-2);
  border-left-width: 3px;
  border-left-color: var(--volt);
  background: var(--glass);
  padding: 16px 18px;
  margin: 0 0 20px;
  border-radius: 3px;
}

.note p:last-child { margin-bottom: 0 }

.note.warn { border-left-color: var(--amber) }

.note .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog-2);
  display: block;
  margin-bottom: 7px;
}

/* ── steps ────────────────────────────────────────────────────────── */

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 22px }

ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
  max-width: 66ch;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--volt);
}

/* ── footer ───────────────────────────────────────────────────────── */

footer.band {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--fog-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
}

footer.band nav { display: flex; flex-wrap: wrap; gap: 18px }

@media (max-width: 600px) {
  body { font-size: 15.5px }
  td:first-child { width: 42% }
  th, td { padding-right: 10px }
}
