/* SizeBreak site: the support page and the privacy policy. Colors follow the app's accent. */

:root {
  color-scheme: light dark;
  --bg: #f6f6fa;
  --surface: #ffffff;
  --text: #1c1c22;
  --secondary: #5c5c68;
  --border: #e2e2ea;
  --accent: #4f46e5;
  --accent-soft: #eeedfd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e13;
    --surface: #18181f;
    --text: #f2f2f7;
    --secondary: #a3a3ae;
    --border: #2b2b35;
    --accent: #8b85ff;
    --accent-soft: #1f1d3a;
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

header img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  flex: none;
}

header p { margin: 0; color: var(--secondary); }

h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.2em 0 0.5em;
  font-size: 1.2rem;
  line-height: 1.3;
}

h3 {
  margin: 1.4em 0 0.3em;
  font-size: 1rem;
}

p, ul { margin: 0 0 0.9em; }
ul { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

a { color: var(--accent); text-underline-offset: 2px; }

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px 6px;
  margin: 0 0 8px;
}

.summary h2 { margin-top: 0; }

.updated { color: var(--secondary); font-size: 0.95rem; }

/* A place in Settings, like Settings › Storage › Clear Cache. */
.path { font-weight: 600; }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.9rem;
}
