/* Shared by the text pages (privacy, delete-account). Same palette and
   fonts as index.html and the Android app. */
@font-face { font-family: "Plex Sans"; src: url("/fonts/ibm_plex_sans.ttf") format("truetype"); font-weight: 100 700; font-display: swap; }

:root {
  --ground: #F6F5F1; --card: #FFFFFF; --ink: #16161A; --muted: #5A5A55;
  --line: #E2E0D8; --soft: #EEECE5; --accent: #1D4ED8; --accent-soft: #E8EEFC; --accent-ink: #1E3A8A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121214; --card: #1C1C20; --ink: #EDEDEA; --muted: #A8A8A2;
    --line: #34343A; --soft: #29292E; --accent: #7B9BF5; --accent-soft: #1F2A4A; --accent-ink: #C7D5FB;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 "Plex Sans", system-ui, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }

header { padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }

main { padding: 24px 0 56px; }
h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 650; }
.updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.summary { background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 18px 20px; margin: 0 0 36px; }
.summary ul { margin: 6px 0 0; padding-left: 20px; }
.summary p { margin: 0; font-weight: 600; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; font-weight: 650; }
h3 { font-size: 17px; margin: 22px 0 6px; font-weight: 600; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--soft); }
th { font-weight: 600; background: var(--soft); }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; font-size: 15px;
  display: grid; place-items: center;
}

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  table { font-size: 15px; }
}
