/* Latch's privacy and support pages. They open from inside the iOS app, so
   they have no site nav, but they share the main site's colors and type. */
:root{
  --ink: #0e0b16;
  --ink-2: #17121f;
  --paper: #fff6ea;
  --muted: #b9adc4;
  --faint: #8a7f96;
  --line: rgba(255,246,234,0.12);
  --coral: #ff6b4a;
  --sun: #ffb23e;
  --pink: #ff4fa3;
  --violet: #7b5cff;
  --sea: #2fd3c5;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

/* Soft sunset glow behind the header, like the main site's blobs. */
body::before,
body::after{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
body::before{ width: 70vw; height: 70vw; max-width: 560px; max-height: 560px; top: -30vw; left: -20vw; background: var(--coral); opacity: .35; }
body::after{ width: 55vw; height: 55vw; max-width: 440px; max-height: 440px; top: -18vw; right: -18vw; background: var(--violet); opacity: .35; }

::selection{ background: var(--pink); color: var(--ink); }

a{ color: var(--sea); text-underline-offset: 3px; }
a:hover{ color: var(--paper); }

.wrap{
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.doc .kicker{
  margin: 0;
  font: 500 13px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun);
}

.pageTitle{
  margin: 10px 0 16px;
  font-size: clamp(40px, 9vw, 72px);
  line-height: .95;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.pageTitle em{ font-family: var(--serif); font-weight: 400; color: var(--pink); }

.doc .pageLede{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 19px;
  max-width: 60ch;
}

.doc h3{
  margin: 36px 0 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  position: relative;
}
/* Short accent bar on each section, cycling through the site's colors. */
.doc h3::before{
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 40px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--coral);
}
.doc h3:nth-of-type(4n+2)::before{ background: var(--violet); }
.doc h3:nth-of-type(4n+3)::before{ background: var(--sea); }
.doc h3:nth-of-type(4n+4)::before{ background: var(--sun); }

.doc p, .doc li{ color: var(--muted); max-width: 64ch; }
.doc p{ margin: 0 0 12px; }
.doc ul{ margin: 0 0 12px; padding-left: 20px; }
.doc li{ margin-bottom: 6px; }
.doc li::marker{ color: var(--coral); }

.doc .fine{
  margin-top: 44px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}

@media (min-width: 700px){
  .wrap{ padding-top: 88px; }
}
