/* Shared shell for legal / product pages */
:root {
  --bg: #050816;
  --bg2: #0a0f1f;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #cbd5e1;
  --muted: #94a3b8;
  --white: #fff;
  --accent: #22d3ee;
  --accent2: #34d399;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, #111827 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  antialiased: true;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 8, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #22d3ee, #34d399);
  color: #050816;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.nav-links a { color: #94a3b8; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.legal-main {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.legal-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.updated {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem;
  line-height: 1.65;
  font-size: 0.925rem;
  color: #cbd5e1;
}
.legal-card h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 0.5rem 0; }
.legal-card ul, .legal-card ol {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}
.legal-card li { margin: 0.35rem 0; }
.legal-card strong { color: #e2e8f0; }

.contact-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.contact-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  text-decoration: none;
}
.contact-item .label { font-size: 0.7rem; color: var(--muted); margin: 0; }
.contact-item .value { margin: 0.15rem 0 0; color: var(--white); font-weight: 600; }
.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(34, 211, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
}
.price-card .name { color: var(--white); font-weight: 700; margin: 0; }
.price-card .price { color: var(--accent); font-size: 1.5rem; font-weight: 800; margin: 0.5rem 0; }
.price-card .desc { margin: 0; font-size: 0.85rem; color: var(--muted); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #34d399);
  color: #050816;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.92; text-decoration: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--white);
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.4); text-decoration: none; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: #0a0f1f;
  padding: 2.5rem 1.25rem;
}
.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.4rem 0; }
.site-footer a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  max-width: 72rem;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
}
