/* /rights-guard/rg_theme.css */
/* Global white + gold theme for all RightsGuard pages */

:root {
  --rg-gold: #d4af37;
  --rg-ink: #0a0c10;
  --rg-muted: #6a7485;
  --rg-stroke: #e2e6f0;
  --rg-bg: #f5f7fb;
  --rg-card: #ffffff;
  --rg-danger: #c0392b;
  --rg-success: #2e7d32;
  --rg-pill-bg: #f9fafc;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  background: var(--rg-bg);
  color: var(--rg-ink);
}

/* Shared wrapper */
.rg-wrap {
  max-width: 1100px;
  margin: 80px auto 32px;
  padding: 0 16px 32px;
}

/* Page titles / subtitles */
.rg-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

.rg-sub {
  color: var(--rg-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

/* Cards */
.rg-card {
  background: var(--rg-card);
  border-radius: 14px;
  border: 1px solid var(--rg-stroke);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow:
    0 10px 30px rgba(10, 12, 16, 0.06),
    0 1px 0 rgba(212, 175, 55, 0.05);
}

.rg-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

/* Grid helpers */
.rg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .rg-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* KPI tiles */
.rg-k-label {
  font-size: 12px;
  color: var(--rg-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rg-k-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--rg-gold);
}

/* Buttons */
.rg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--rg-gold);
  background: var(--rg-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.rg-btn:hover {
  filter: brightness(1.05);
}

.rg-btn-ghost {
  background: #fff;
  color: var(--rg-gold);
}

.rg-btn-outline {
  background: transparent;
  color: var(--rg-ink);
  border-color: var(--rg-stroke);
}

/* Pills / tags */
.rg-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rg-stroke);
  background: var(--rg-pill-bg);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Tables */
.rg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rg-table th,
.rg-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--rg-stroke);
  vertical-align: top;
}

.rg-table th {
  text-align: left;
  font-weight: 700;
  color: var(--rg-muted);
}

/* Alerts (for email / system status) */
.rg-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.rg-alert-ok {
  border: 1px solid rgba(46, 125, 50, 0.3);
  background: rgba(46, 125, 50, 0.05);
  color: var(--rg-success);
}

.rg-alert-error {
  border: 1px solid rgba(192, 57, 43, 0.3);
  background: rgba(192, 57, 43, 0.05);
  color: var(--rg-danger);
}

/* Tooltip-style helper */
.rg-help {
  font-size: 11px;
  color: var(--rg-muted);
}

/* Pricing layout */
.rg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .rg-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.rg-price-tag {
  font-size: 24px;
  font-weight: 800;
}

.rg-price-period {
  font-size: 12px;
  color: var(--rg-muted);
}

.rg-feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 13px;
}

.rg-feature-list li {
  margin-bottom: 6px;
}

/* Hero / overview */
.rg-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .rg-hero {
    grid-template-columns: 1fr;
  }
}

.rg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rg-stroke);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rg-muted);
}

.rg-hero-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 14px;
}

.rg-hero-list li {
  margin-bottom: 6px;
}

/* Little tag for “we’re not your attorney” */
.rg-disclaimer {
  font-size: 11px;
  color: var(--rg-muted);
  margin-top: 8px;
}
