/* Shared styles for Privacy Policy, Terms of Use and Support pages */
:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --card: #f2f2f7;
  --accent: #0a3cff;
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --shot-border: rgba(0, 0, 0, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #f5f5f7;
    --muted: #98989d;
    --line: #232326;
    --card: #1c1c1e;
    --accent: #5b82ff;
    --btn-bg: #ffffff;
    --btn-text: #000000;
    --shot-border: rgba(255, 255, 255, .08);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom));
}

/* Top bar */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 650; font-size: 16px;
  padding: 6px 0 22px;
}
.brand img {
  width: 36px; height: 36px; border-radius: 9px;
  box-shadow: 0 0 0 1px var(--shot-border);
}

h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
h2 { font-size: 19px; letter-spacing: -.01em; margin: 32px 0 8px; }
h3 { font-size: 16.5px; margin: 22px 0 6px; }
p, li { font-size: 16px; }
h2[id] { scroll-margin-top: 16px; }

/* "At a glance" summary box */
.glance { margin: 8px 0 8px; }
.glance h2 { margin: 0 0 10px; font-size: 17px; }
.glance ul { margin: 0; }
.glance li:last-child { margin-bottom: 0; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 8px; }
strong { font-weight: 650; }

/* Support */
.lead { font-size: 17px; color: var(--muted); margin: 12px 0 24px; }
.card { background: var(--card); border-radius: 20px; padding: 22px 20px; margin-bottom: 14px; }
.card .label { color: var(--muted); font-size: 14px; margin: 0 0 2px; }
.card .email { font-size: 18px; font-weight: 600; margin: 0 0 16px; word-break: break-all; }
.card .email a { color: var(--text); text-decoration: none; }
.button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text);
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.button:hover { opacity: .88; }
.button:active { transform: scale(.98); }
.button svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer */
footer {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center; font-size: 13px; color: var(--muted);
}
footer a { color: inherit; text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--text); }
footer span { margin: 0 6px; opacity: .6; }
footer p { font-size: 13px; margin: 10px 0 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
