/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens (exact match: ai-development.io) ─────── */
:root {
  --bg:          #0a0a0a;
  --bg-elevated: #141414;
  --text:        #ffffff;
  --muted:       #999999;
  --border:      rgba(255,255,255,0.05);
  --border-mid:  rgba(255,255,255,0.08);
  --brand:       #b500c9;
  --brand-end:   #ff00c8;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; align-items: start; }
}

.footer-logo { margin-bottom: 20px; display: inline-block; }
.footer-logo img { height: 28px; width: auto; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text); }

/* ── Prose (legal pages) ─────────────────────────── */
.prose {
  max-width: 720px;
  padding: 80px 0 120px;
}
.prose h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  line-height: 1.1;
}
.prose h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}
.prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text);
}
.prose p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose a { color: var(--brand); }
.prose a:hover { text-decoration: underline; }
