/*
 * Shared chrome for /privacy and /terms.
 *
 * A separate file rather than a third copy of the landing page's <style>:
 * these two documents are the same document twice over, and the one thing a
 * privacy page must never do is drift from its sibling.
 *
 * Tokens are the landing page's, verbatim, so the legal pages read as the same
 * product rather than as something bolted on from a template.
 */
:root {
  --bg: #141312;
  --bg-2: #1e1d1b;
  --ink: #f5f4f1;
  --ink-2: rgba(245, 244, 241, 0.62);
  --ink-3: rgba(245, 244, 241, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(26, 25, 23, 0.55);
  --glass-brd: rgba(255, 255, 255, 0.1);
  --accent: #528bfc;
  --cyan: #00afef;
  --sans: "Poppins", system-ui, -apple-system, sans-serif;
  --display: "Raleway", system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6f9ffd; text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding-inline: var(--gut); }

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 19, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 22px; height: 22px; display: block; }
.brand span { font-weight: 600; font-size: 17px; letter-spacing: -0.018em; }
.top nav { margin-left: auto; display: flex; gap: 6px; }
.top nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }

main { padding-block: clamp(40px, 7vh, 72px) clamp(56px, 9vh, 96px); }

h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 5.4vw, 50px); line-height: 1.08;
  letter-spacing: -0.024em; margin: 0; text-wrap: balance;
}
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.8vw, 25px); line-height: 1.2;
  letter-spacing: -0.018em; margin: 44px 0 12px; text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 26px 0 8px; }

p, li { text-wrap: pretty; }
p { margin: 0 0 15px; color: var(--ink-2); }
h2 + p, h3 + p { margin-top: 0; }
strong { color: var(--ink); font-weight: 600; }

.stamp { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.lede { font-size: clamp(16.5px, 2vw, 19px); color: var(--ink-2); margin-top: 20px; }

ul { margin: 0 0 15px; padding-left: 20px; color: var(--ink-2); }
li { margin-bottom: 9px; }
li::marker { color: var(--ink-3); }

/* The plain-language summary each document opens with. Someone who reads only
   this box should not be surprised by anything in the rest of it. */
.gist {
  margin: 30px 0 8px;
  padding: 20px 22px;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-radius: 16px;
}
.gist p:last-child { margin-bottom: 0; }
.gist strong { color: var(--ink); }

.note {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 2px solid var(--cyan);
  background: rgba(0, 175, 239, 0.05);
  border-radius: 0 10px 10px 0;
}
.note p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; white-space: nowrap; }
td { color: var(--ink-2); }

footer { border-top: 1px solid var(--line); padding-block: 30px 44px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.foot-in p { margin: 0; margin-right: auto; font-size: 13.5px; color: var(--ink-3); }
footer a { color: var(--ink-2); font-size: 13.5px; }
