/* Wowiator legal pages (privacy, terms). One stylesheet, light + dark. */
:root {
  --bg: #fbfaf7;
  --card: #ffffff;
  --ink: #16141f;
  --muted: #5b5868;
  --line: #e6e3ec;
  --accent: #6d3df5;
  --accent-ink: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0d14;
    --card: #17151f;
    --ink: #f2f0f7;
    --muted: #a9a5b8;
    --line: #2a2735;
    --accent: #a98bff;
    --accent-ink: #0e0d14;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
header.top {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
nav.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
nav.tabs a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
}
nav.tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: 760px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
main { padding-top: 36px; padding-bottom: 56px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.02em; }
.meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
h2 { font-size: 22px; line-height: 1.3; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 22px 0 6px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 8px;
}
.summary ul { margin: 8px 0 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--muted); font-weight: 600; }
footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 22px 0 40px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  /* The 3-column data table becomes one card per row on phones. */
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack { border: 0; background: none; font-size: 15px; }
  table.stack thead { display: none; }
  table.stack tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 0 12px;
    padding: 12px 14px;
  }
  table.stack td { border: 0; padding: 0; }
  table.stack td + td { margin-top: 8px; }
  table.stack td:nth-child(2)::before,
  table.stack td:nth-child(3)::before {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  table.stack td:nth-child(2)::before { content: "What we use it for"; }
  table.stack td:nth-child(3)::before { content: "How long we keep it"; }
}

/* Generic stacked table on phones: one card per row, cell labels from data-label. */
@media (max-width: 560px) {
  table.stack td:nth-child(2)::before,
  table.stack td:nth-child(3)::before { content: none; }
  table.stack td + td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  table.stack td:first-child::before { content: none; }
}
ol { padding-left: 22px; }

/* Landing page */
.hero { padding: 56px 0 28px; }
.hero h1 { font-size: 46px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.badge { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0 8px; padding: 0; list-style: none; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0; }
.cards strong { display: block; margin-bottom: 4px; }
@media (max-width: 560px) { .hero { padding-top: 32px; } .hero h1 { font-size: 34px; } .hero p.lead { font-size: 18px; } }
