/* /privacy/ — the policy article.
   Everything else (nav, footer, colours, type) comes from /grow-vsl/v2/'s
   styles.css + dark.css, so this file only has to set the reading column. */

/* The bar carries v2's wide measure. Here the only thing in it is the wordmark, so it
   takes the article's measure instead and the logo starts on the copy's left edge.
   The container keeps .nav__inner's own gutter, hence the + 2 * --gutter. */
.nav__inner { max-width: calc(900px + 2 * var(--gutter)); }

/* Glows -------------------------------------------------------------------
   The /grow-vsl/v2/ hero washes, on a fixed viewport-sized layer, so they
   hold the edges of the screen the whole way down instead of scrolling past.
   The layer clips its own children, which is what keeps a glow hanging off
   the side from widening the page.

   Two on the wide layout, where they sit clear of the 900px column and no
   tint lands on the type. Four on a phone, pulled in far enough to actually
   read: the column runs edge to edge there, so some wash does fall behind the
   copy and the alphas stay low enough that it costs nothing.
   -------------------------------------------------------------------------- */
.legal { position: relative; isolation: isolate; }

.glows {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  filter: blur(42px);
}

/* green, off the top-left */
.glow--1 {
  width: 62vw;
  max-width: 820px;
  top: -26vh;
  left: -34vw;
  background: radial-gradient(closest-side, rgba(195, 217, 70, .20), rgba(195, 217, 70, .06) 55%, transparent 78%);
}

/* blue, off the bottom-right, so the pair brackets the column */
.glow--2 {
  width: 54vw;
  max-width: 720px;
  bottom: -28vh;
  right: -30vw;
  background: radial-gradient(closest-side, rgba(0, 211, 255, .16), rgba(0, 211, 255, .05) 55%, transparent 76%);
}

/* The other two are for the phone only. */
.glow--3,
.glow--4 { display: none; }

.legal { padding-top: 56px; padding-bottom: 72px; }

.legal__inner {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.legal__h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* Roman-numeral sections. The hairline separates them without a heavy rule. */
.legal__h2 {
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
}

.legal__h3 {
  margin: 28px 0 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
}

.legal__inner p { margin: 0 0 16px; }
.legal__inner strong { color: var(--white); font-weight: 700; }

.legal__list { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal__list li { margin-bottom: 8px; }
.legal__list li::marker { color: var(--dim-3); }

.legal__updated {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--dim-2);
}

@media (max-width: 759.98px) {
  /* /grow-vsl/v2/ centres running copy below 760px, which suits a landing page but
     not a policy: long-form legal text has to stay ranged left to be readable. */
  .legal,
  .legal__inner,
  .legal__inner * { text-align: left; }

  .legal { padding-top: 36px; padding-bottom: 52px; }
  .legal__inner { font-size: 15px; line-height: 1.65; }
  .legal__h1 { font-size: 27px; }
  .legal__h2 { margin-top: 34px; padding-top: 22px; font-size: 19px; }
  .legal__h3 { font-size: 16px; }

  /* Glows are off on a phone for now. The wide-layout pair above is untouched;
     dropping this one rule brings them back, and glow--3/--4 are the extra pair
     that only ever showed at this size. */
  .glows { display: none; }
}
