/* Shared styles for the Privacy and Terms pages. Layout: one readable column on the site's dark ground. */
:root {
  --ink: #0b0d14;
  --panel: #12151f;
  --paper: #f6f4ff;
  --muted: rgba(246, 244, 255, .72);
  --faint: rgba(246, 244, 255, .45);
  --line: rgba(246, 244, 255, .12);
  --accent: #b866ff;
  --accent-text: #d2a6ff;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(184, 102, 255, .16), transparent 70%),
    var(--ink);
  color: var(--paper);
  font: 400 17px/1.65 var(--body);
  min-height: 100vh;
}
.wrap {
  max-width: 760px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-block: 28px 56px;
}
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.top img { display: block; width: min(300px, 70vw); height: auto; }
.back {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.back:hover { color: var(--paper); }
h1 {
  margin: 40px 0 6px;
  font: 800 clamp(36px, 6vw, 56px)/1 var(--display); letter-spacing: -.03em;
  text-wrap: balance;
}
.updated { margin: 0 0 28px; color: var(--faint); font-size: 14px; }
.intro { font-size: 19px; color: var(--muted); max-width: 62ch; }
h2 {
  margin: 44px 0 10px; font: 700 24px/1.2 var(--display); letter-spacing: -.01em;
  scroll-margin-top: 24px;
}
h3 { margin: 24px 0 6px; font: 600 17px/1.3 var(--body); color: var(--paper); }
p, li { max-width: 68ch; color: var(--muted); }
p strong, li strong { color: var(--paper); font-weight: 600; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
th { color: var(--paper); font-weight: 600; background: var(--panel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td code { font-size: 14px; color: var(--paper); }
.btn {
  display: inline-block; margin-top: 8px;
  font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--ink); border: 0; text-decoration: none;
}
.btn:hover { background: #c98aff; }
.foot {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--faint); text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--paper); }
