/* FlowDrive legal/support pages — shared styles */
:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --border: #2d3a4d;
  --text: #e7ecf3;
  --muted: #9aa8bc;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --draft: #f59e0b;
  --draft-bg: rgba(245, 158, 11, 0.12);
  --link: #60a5fa;
  --radius: 8px;
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.85rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--accent-hover); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
}
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.draft-banner {
  background: var(--draft-bg);
  border: 1px solid var(--draft);
  color: #fcd34d;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.draft-banner strong { color: #fbbf24; }

h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 650;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.35rem 0 0.45rem;
  color: #c5d0e0;
}

p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; }
li { margin-bottom: 0.35rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1.25rem 0;
}

.card h3 { margin-top: 0; }

.muted { color: var(--muted); }
.editable {
  background: rgba(59, 130, 246, 0.12);
  border-bottom: 1px dashed var(--accent);
  padding: 0 0.15em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--link); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  .nav { width: 100%; }
}
