/* ============================================================
   Legal and support pages.

   These are read by Play reviewers, by people who followed a link from the
   store listing, and occasionally by a player looking for the delete button —
   often on a phone. So: one column, real line length, large tap targets, and
   nothing that needs JavaScript.
   ============================================================ */

:root {
  --ink: #cfe3f7;
  --dim: #8ba4c0;
  --accent: #6fc0ff;
  --edge: rgba(110, 190, 255, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: #05080f;
  background-image:
    radial-gradient(1200px 600px at 20% -10%, rgba(40, 90, 160, 0.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(120, 40, 160, 0.16), transparent 60%);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 760px; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eaf6ff;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img { height: 28px; width: auto; }

header nav { display: flex; flex-wrap: wrap; gap: 16px; }
header nav a { color: var(--dim); font-size: 13px; text-decoration: none; }
header nav a:hover { color: var(--accent); }

h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  color: #eaf6ff;
}

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

h2 {
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  font-size: 19px;
  color: #b8dcff;
}

h3 { margin: 22px 0 6px; font-size: 16px; color: #d7e9fb; }

p, li { color: #bcd3e8; }
li { margin: 5px 0; }
ul, ol { padding-left: 22px; }

a { color: var(--accent); }

strong { color: #eaf6ff; }

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--edge);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: rgba(20, 40, 70, 0.35);
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { margin-top: 0; }

table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 9px 12px;
  border: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
}
th { background: rgba(30, 60, 100, 0.35); color: #d7e9fb; font-weight: 600; }

/* A table is the clearest way to present "what we collect and why", but it
   cannot be allowed to widen the page on a phone. */
.tableScroll { overflow-x: auto; }

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  color: var(--dim);
  font-size: 13px;
}
footer a { color: var(--dim); }
footer a:hover { color: var(--accent); }

.btnRow { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid rgba(110, 190, 255, 0.4);
  border-radius: 8px;
  background: rgba(30, 70, 120, 0.35);
  color: #dff0ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.btn:hover { background: rgba(50, 110, 180, 0.5); }
