/* ── BLACK SYNTAX — legal pages (privacy / terms) ─────────────────
   The void, made readable. Same grey-mono voice as the experience,
   but here the dark holds still so the words can be read. */

:root {
  --void: #000000;
  --grey: #6e6e6e;
  --grey-dim: #3a3a3a;
  --grey-lit: #a8a8a8;
  --glow: #e9e9e9;
  --line: #1e1e1e;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--void);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--void);
  color: var(--grey);
  font-family: var(--mono);
  font-size: clamp(0.9rem, 0.55rem + 1vw, 1rem);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  /* a whisper of light at the very top — as if the orb passed through */
  background-image: radial-gradient(120vw 60vh at 50% -18vh,
                    rgba(233, 233, 233, 0.05), rgba(0, 0, 0, 0) 60%);
  background-repeat: no-repeat;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5rem) clamp(1.4rem, 5vw, 3rem) 5rem;
}

/* ── masthead ── */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.6rem, 7vw, 4.5rem);
}

.brand {
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 0.34em;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.brand:hover,
.brand:focus-visible {
  color: var(--glow);
  text-shadow: 0 0 18px rgba(233, 233, 233, 0.4);
  outline: none;
}

.top__back {
  color: var(--grey-dim);
  text-decoration: none;
  letter-spacing: 0.28em;
  font-size: 0.66rem;
  transition: color 0.4s ease;
}
.top__back:hover,
.top__back:focus-visible { color: var(--grey-lit); outline: none; }

/* ── title block ── */
.doc__kicker {
  font-size: 0.64rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.doc__title {
  font-weight: normal;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--grey-lit);
  letter-spacing: 0.12em;
  margin: 0.7rem 0 1.4rem;
  text-shadow: 0 0 40px rgba(233, 233, 233, 0.1);
}
.doc__lede {
  color: var(--grey);
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
  margin-bottom: 2.6rem;
}

/* ── sections ── */
.doc h2 {
  font-weight: normal;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--grey-lit);
  margin: 2.6rem 0 0.9rem;
}
.doc p { margin: 0 0 1rem; }

.doc a {
  color: var(--grey-lit);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s ease, border-color 0.4s ease, text-shadow 0.4s ease;
}
.doc a:hover,
.doc a:focus-visible {
  color: var(--glow);
  border-color: var(--grey);
  text-shadow: 0 0 14px rgba(233, 233, 233, 0.35);
  outline: none;
}

.doc strong { color: var(--grey-lit); font-weight: normal; }

/* ── footer ── */
.doc__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--grey-dim);
}
.doc__foot a { color: var(--grey); }

@media (max-width: 480px) {
  .doc h2 { letter-spacing: 0.24em; }
}
