/* Shared look for the standalone legal pages: privacy, terms, delete-account.
   Those pages carry no app shell and no script on purpose — someone who has
   uninstalled the app, or cannot get into it, still has to be able to read
   them. A stylesheet is the one dependency they take, and if it fails to load
   the markup is still perfectly readable prose. */

:root { color-scheme: light dark; }
* { box-sizing: border-box; }

body {
  margin: 0; padding: 32px 20px 64px;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #EDE7FB; color: #241C3D;
}
main { max-width: 640px; margin: 0 auto; }

.mark { width: 72px; height: auto; display: block; margin-bottom: 18px; }
h1 { font-size: 27px; line-height: 1.25; margin: 0 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 22px 0 6px; }
.lede { color: #5A4F7A; margin: 0 0 8px; }
.updated { color: #6E6391; font-size: 13.5px; margin: 0 0 4px; }

ol, ul { padding-left: 22px; margin: 10px 0; }
li { margin-bottom: 7px; }

.card {
  background: rgba(255,255,255,.72); border-radius: 16px;
  padding: 16px 18px; margin: 18px 0;
}
.warn {
  background: rgba(214,69,90,.09); border: 1px solid rgba(214,69,90,.22);
  color: #8E2438; border-radius: 14px; padding: 14px 16px; margin: 18px 0;
}
code { background: rgba(88,70,160,.10); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
a { color: #6B47D6; }

/* Tables of "what we hold" get wide on a phone. Let the table scroll inside
   its own box rather than letting the page scroll sideways. */
.scroll { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 460px; }
th, td { text-align: left; padding: 9px 12px; vertical-align: top; }
th { font-weight: 600; }
tbody tr { border-top: 1px solid rgba(88,70,160,.16); }

.sep { height: 1px; background: rgba(88,70,160,.16); margin: 44px 0 0; border: 0; }
footer { margin-top: 30px; font-size: 13.5px; color: #6E6391; }
[lang="tr"] { margin-top: 8px; }

@media (prefers-color-scheme: dark) {
  body { background: #17122A; color: #EDE9F8; }
  .lede { color: #A99FC8; }
  .updated, footer { color: #9990B5; }
  .card { background: rgba(255,255,255,.06); }
  code { background: rgba(255,255,255,.10); }
  a { color: #B49BFF; }
  .warn { background: rgba(255,120,140,.12); border-color: rgba(255,120,140,.28); color: #FFB3BF; }
  tbody tr { border-top-color: rgba(255,255,255,.14); }
}
