:root {
  --bg: #0a0a0f;
  --bg-secondary: #14141c;
  --text: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --accent: #0a84ff;
  --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Landing hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.logo {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.tagline {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.subtagline {
  font-size: 1rem;
  color: var(--text-tertiary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

footer nav { margin-bottom: 0.5rem; }
footer nav a { color: var(--text-secondary); margin: 0 0.25rem; }
footer span { color: var(--text-tertiary); margin: 0 0.25rem; }
.copyright { font-size: 0.8125rem; }

/* Legal pages (privacy, terms) */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
  width: 100%;
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-header a {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal .last-updated {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--text);
}

.legal p, .legal li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal ul, .legal ol {
  margin: 0 0 1rem 1.5rem;
}

.legal li { margin-bottom: 0.5rem; }

.legal strong { color: var(--text); }

.legal address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--bg-secondary);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.legal .toc {
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.legal .toc ol { margin-left: 1.25rem; }
.legal .toc li { margin-bottom: 0.375rem; color: var(--text-secondary); }
.legal .toc a { color: var(--accent); }

.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
