/* web/public/styles.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --fg: #e5e5e5;
  --muted: #888;
  --accent: #4ade80;
  --border: #222;
  --font: system-ui, -apple-system, sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

nav .wordmark { font-weight: 600; letter-spacing: -0.01em; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a { color: var(--muted); }
nav ul li a:hover { color: var(--fg); text-decoration: none; }

/* Main */
main { flex: 1; }

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--fg); text-decoration: none; }

/* Page */
.page { padding: 3rem 2rem; max-width: 760px; margin: 0 auto; }
.page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Hero (home page) */
.hero { text-align: center; padding: 4rem 2rem; }
.hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.hero p.tagline { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; }

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
}
.cta:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
.cta-disabled { opacity: 0.5; cursor: default; }
.cta-disabled:hover { background: none; color: var(--accent); text-decoration: none; }

/* Prose sections (home, support) */
.prose { margin-bottom: 2.5rem; }
.prose:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.prose p { font-size: 0.9375rem; line-height: 1.7; color: var(--muted); margin-bottom: 0.75rem; }

/* Legal pages (privacy policy, terms of service) */
.legal { font-size: 0.875rem; }
.legal .effective-date { color: var(--muted); margin-bottom: 2rem; }
.legal section { margin-bottom: 2rem; }
.legal h2 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.legal p { line-height: 1.7; color: var(--muted); margin-bottom: 0.5rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 0.5rem; }
.legal li { line-height: 1.7; color: var(--muted); margin-bottom: 0.25rem; }

/* FAQ (support page) */
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; }
.faq-item p { font-size: 0.9375rem; line-height: 1.7; color: var(--muted); }
