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

:root {
  --ink:        #0a0a0a;
  --panel:      #111111;
  --surface:    #1c1c1c;
  --border:     rgba(255,255,255,0.08);
  --border-s:   rgba(255,255,255,0.12);
  --signal:     #9BF763;
  --signal-d:   #7ed946;
  --text:       #e2e8f0;
  --text-d:     #ffffff;
  --muted:      #737373;
  --max-w:      720px;
}

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .logo-wordmark { font-family: 'Space Grotesk', sans-serif; }
a { color: inherit; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────── */
.header {
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: calc(var(--max-w) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.logo-wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-d);
  letter-spacing: -0.3px;
}
.header-spacer { flex: 1; }
.back-link {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.back-link:hover { color: var(--text); }

/* ── Legal content ───────────────────────────────────────── */
.legal-main {
  padding: 56px 24px 80px;
}
.legal-content {
  max-width: var(--max-w);
  margin: 0 auto;
}
.legal-content h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-d);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.legal-content .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.legal-content section {
  margin-bottom: 36px;
}
.legal-content h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-d);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 10px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.legal-content ul li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}
.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.legal-content a { color: var(--signal); }
.legal-content a:hover { text-decoration: underline; }

/* ── Pricing card ────────────────────────────────────────── */
.pricing-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--border-s);
  border-radius: 20px;
  padding: 40px;
}
.pricing-badge {
  display: inline-block;
  background: rgba(155,247,99,0.08);
  border: 1px solid rgba(155,247,99,0.22);
  color: var(--signal);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 58px;
  font-weight: 700;
  color: var(--text-d);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-price .period {
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.pricing-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.feat-check { color: var(--signal); font-weight: 700; flex-shrink: 0; }
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--signal);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  padding: 15px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-primary:hover { background: var(--signal-d); transform: translateY(-1px); }
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.pricing-page-header {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-d);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.pricing-page-header p {
  font-size: 16px;
  color: var(--muted);
}
.pricing-main {
  padding: 56px 24px 80px;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}
.footer-inner {
  max-width: calc(var(--max-w) + 48px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--muted); opacity: 0.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: 13px; color: var(--muted); opacity: 0.7; transition: opacity 0.15s; }
.footer-links a:hover { opacity: 1; color: var(--text); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-price { font-size: 48px; }
}
