/* CallAssist public pages — same palette as the Android app's "Signature" theme
   (Brand.Primary #6C5CFF, Brand.Secondary #22D3EE, launch background #07071C). */

:root {
  --bg: #07071c;
  --surface: #12122b;
  --surface-border: rgba(255, 255, 255, 0.10);
  --text: #f5f5fa;
  --text-muted: #a6a6c6;
  --primary: #6c5cff;
  --primary-bright: #a79bff;
  --secondary: #22d3ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.65;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 72px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 0.85rem;
}

.lang-switch a {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--surface-border);
}

.lang-switch a.active {
  color: var(--text);
  background: rgba(108, 92, 255, 0.22);
  border-color: rgba(108, 92, 255, 0.45);
}

main.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 32px clamp(20px, 5vw, 40px);
  margin-top: 16px;
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 4px;
}

.updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 28px;
}

h2 {
  font-size: 1.08rem;
  margin-top: 2.1em;
  color: var(--primary-bright);
}

p {
  color: var(--text);
}

a {
  color: var(--secondary);
}

footer.site {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 28px;
}

footer.site a {
  color: var(--text-muted);
  margin: 0 8px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fb;
    --surface: #ffffff;
    --surface-border: #e4e3f1;
    --text: #15152b;
    --text-muted: #5c5c78;
    --primary: #4a3bd9;
    --primary-bright: #4a3bd9;
    --secondary: #0891a8;
  }
}
