/* Public site: landing + legal pages. Matches the Studio's dark palette. */
:root {
  --bg: #090a10;
  --bg-card: #0f111a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

a { color: #a5b4fc; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text);
  text-decoration: none;
}

.site-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.site-brand .brand-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--text); }

.btn, .site-nav a.btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: center;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

.site-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
}

.hero { text-align: center; padding: 64px 0 48px; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 64px;
}

.feature, .plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.feature h3, .plan h3 { font-family: var(--font-heading); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

.pricing h2 { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 24px; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.plan { display: flex; flex-direction: column; gap: 14px; }
.plan ul { list-style: none; color: var(--muted); flex: 1; }
.plan li { padding: 4px 0 4px 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: #34d399; }
.plan-featured { border-color: rgba(99, 102, 241, 0.55); box-shadow: 0 0 30px rgba(99, 102, 241, 0.18); }

.price { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; min-height: 2.6rem; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.fineprint { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

.legal { max-width: 760px; margin: 0 auto; padding: 24px 0 48px; }
.legal h1 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 6px; }
.legal h2 { font-family: var(--font-heading); font-size: 1.25rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #cbd5e1; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 20px 0; }
.contact-list dt { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .site-header, .site-footer, .site-main { padding-left: 16px; padding-right: 16px; }
  .site-nav { gap: 12px; }
}
