/* Shared styles for Votenir's static legal/info pages (privacy, terms, about, contact).
   Self-contained, no JS, no build step — served straight from /public so search-engine
   and corporate-filter crawlers get fully-rendered HTML. Colours mirror the app's dark theme. */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-app: hsl(224, 25%, 12%);
  --bg-gradient: linear-gradient(135deg, hsl(224, 25%, 12%) 0%, hsl(224, 30%, 8%) 100%);
  --bg-card: hsla(224, 20%, 18%, 0.6);
  --text-main: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 20%, 65%);
  --primary: hsl(250, 85%, 65%);
  --primary-hover: hsl(250, 85%, 72%);
  --primary-glow: hsla(250, 85%, 65%, 0.15);
  --border-light: hsla(217, 30%, 60%, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-app);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-light);
  background: hsla(224, 30%, 8%, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.25rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--primary-hover); }

/* Content */
main { padding: 3rem 0 4rem; }
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.updated { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 2.5rem; }
h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-main);
}
p, li { color: var(--text-muted); }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
strong { color: var(--text-main); font-weight: 600; }

.lead { font-size: 1.1rem; color: var(--text-main); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--primary-hover); color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--primary-hover); }
.site-footer .links a { margin-left: 1.25rem; }
.site-footer .links a:first-child { margin-left: 0; }

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  .nav a { margin-left: 0.9rem; font-size: 0.85rem; }
}
