/* Unevee public legal pages — privacy policy, terms of service, account deletion.
   One stylesheet so the documents share the same type, color and spacing. */

:root {
  color-scheme: dark;
  --ink: #0f0f0f;
  --text: #f2eeea;
  --body: #c6c1ba;
  --muted: #8d8a83;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #e50914;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Header */

.top { border-bottom: 1px solid var(--line); }

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding-block: 14px;
}

.wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.wordmark b { color: var(--accent); }

.top .home {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.top .home:hover { color: var(--text); }

/* Title block */

.doc { padding: 64px 0 36px; }

h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 17px;
}

.updated {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Contents */

.toc {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toc p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.toc li {
  margin: 0 0 8px;
  break-inside: avoid;
}

.toc a {
  color: var(--body);
  text-decoration: none;
}
.toc a:hover { color: var(--text); }

@media (max-width: 560px) {
  .toc ul { columns: 1; }
}

/* Body copy */

section { padding-top: 40px; scroll-margin-top: 24px; }

section h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul, ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
li { margin: 0 0 8px; }
li:last-child { margin: 0; }

strong { color: var(--text); font-weight: 600; }

.note {
  margin: 22px 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--accent);
  color: var(--text);
}
.note p { margin: 0; }

/* Tables */

.table {
  margin: 22px 0;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

thead th {
  padding: 0 20px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

tbody th, tbody td {
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tbody th {
  width: 38%;
  color: var(--text);
  font-weight: 500;
}

tr:last-child th, tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { padding-right: 0; }

/* Footer */

footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 28px calc(40px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover { color: var(--text); }
footer a[aria-current="page"] { color: var(--text); }

footer p { margin: 0; }

@media print {
  :root {
    color-scheme: light;
    --ink: #fff;
    --text: #000;
    --body: #111;
    --muted: #555;
    --line: #ccc;
  }
  .top, .toc, footer nav { display: none; }
  .doc { padding-top: 0; }
  a { color: #000; text-decoration: none; }
}
