/* Shared styles for static legal/info pages (matches app palette, not full bundle) */
:root {
  --bg: #0b1220;
  --panel: #111827;
  --muted: #9ca3af;
  --text: #e5e7eb;
  --link: #93c5fd;
  --link-hover: #bfdbfe;
}

* {
  box-sizing: border-box;
}

html {
  background: linear-gradient(135deg, #0b1220 0%, #1a2332 30%, #0f172a 60%, #1e293b 100%);
  min-height: 100%;
}

body {
  margin: 0;
  padding: 24px 16px 48px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
}

.legal-wrap {
  max-width: 40rem;
  margin: 0 auto;
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.legal-logo {
  width: 48px;
  height: 48px;
  border-radius: 22%;
  flex-shrink: 0;
}

.legal-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-back:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.legal-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.legal-card h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  margin: 0.5rem 0;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card a {
  color: var(--link);
}

.legal-card a:hover {
  color: var(--link-hover);
}

.legal-muted {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  color: var(--link);
}
