/* Shared styles for the static pages (privacy, support, delete-account)
   served alongside the Flutter web app. Palette matches manifest.json. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #FBF3EA;
  --surface: #FFFAF4;
  --text:    #2A2420;
  --muted:   #7A6F66;
  --border:  #E8DCCD;
  --accent:  #2F6FB0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #121212;
    --surface: #1B1B1B;
    --text:    #EEEEEE;
    --muted:   #8C8C8C;
    --border:  #2E2E2E;
    --accent:  #6FA8E0;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  padding: 48px 24px 80px;
}

.container { max-width: 620px; margin: 0 auto; }

header { margin-bottom: 40px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 32px;
}

.logo img { width: 36px; height: 36px; border-radius: 8px; }

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

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

.intro {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

section { padding: 28px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

p, li { font-size: 15px; opacity: 0.85; }
p + p { margin-top: 12px; }

ul { list-style: none; margin-top: 8px; }
ul li { padding: 6px 0 6px 18px; position: relative; }
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

ol { margin: 8px 0 0 20px; }
ol li { padding: 4px 0; }

strong { font-weight: 600; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
}
.button:hover { text-decoration: none; opacity: 0.9; }

footer { margin-top: 48px; font-size: 13px; color: var(--muted); }
