/* Shared CallSafeMe legal/static pages — matches landing dark brand. */
:root {
  --bg: #0b0f12;
  --panel: #171a1f;
  --panel-2: #0f1418;
  --border: #262b31;
  --text: #d4d4d8;
  --muted: #a1a1aa;
  --white: #ffffff;
  --emerald: #34d399;
  --emerald-dim: #064e3b;
  --link: #34d399;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(38, 43, 49, 0.9);
  background: rgba(11, 15, 18, 0.92);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: 56rem;
  margin: 0 auto;
  height: 4rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: 0.92; }
.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #269e54;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}
.wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.tab:hover { color: var(--white); text-decoration: none; }
.tab.active {
  background: #022c22;
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.45);
}
.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #171a1f;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.card-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.card-head h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}
.card-head .meta {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  font-size: 0.95rem;
}
.card-body h2 {
  margin: 1.75rem 0 0.55rem;
  color: var(--white);
  font-size: 1.1rem;
}
.card-body h2:first-child { margin-top: 0; }
.card-body h3 {
  margin: 1.15rem 0 0.4rem;
  color: var(--white);
  font-size: 1rem;
}
.card-body p, .card-body li { color: var(--text); }
.card-body ul, .card-body ol { padding-left: 1.2rem; }
.card-body .meta { color: var(--muted); font-size: 0.9rem; }
.box {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 0.75rem;
  background: rgba(6, 78, 59, 0.28);
}
.box h2 { margin-top: 0; color: #a7f3d0; }
.notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
}
.notice strong { display: block; margin-bottom: 0.35rem; }
.notice p { margin: 0; color: var(--text); }
.notice-warn {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(120, 53, 15, 0.35);
  color: #fde68a;
}
.card-foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--panel-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 0.55rem;
  background: #10b981;
  color: #052e1c;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: #34d399; text-decoration: none; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
th { background: #11151a; color: var(--white); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: #a7f3d0;
}
