:root {
  color-scheme: light;
  --rm-navy: #10293d;
  --rm-teal: #0f766e;
  --rm-border: #dce6ec;
  --rm-muted: #627181;
}

* { box-sizing: border-box; }

html { background: #f4f7f9; }

body {
  margin: 0;
  color: #172433;
  background:
    radial-gradient(circle at 5% 0, rgba(15, 118, 110, .08), transparent 28rem),
    #f4f7f9;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.68;
}

.rm-legal-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.rm-legal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--rm-navy);
  text-decoration: none;
}

.rm-legal-brand img {
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 1px solid var(--rm-border);
  border-radius: 14px;
  background: #fff;
}

.rm-legal-brand strong,
.rm-legal-brand span { display: block; }
.rm-legal-brand strong { font-size: 15px; }
.rm-legal-brand span { color: var(--rm-muted); font-size: 11px; }

.rm-legal-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--rm-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 41, 61, .08);
}

.rm-legal-eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0d615b;
  background: #e8f6f3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 5px;
  color: var(--rm-navy);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.18;
}

.rm-legal-date { margin: 0 0 28px; color: var(--rm-muted); font-size: 12px; }
h2 { margin: 28px 0 7px; color: var(--rm-navy); font-size: 18px; line-height: 1.35; }
p, li { color: #445467; font-size: 14px; }
ul { margin: 8px 0; padding-left: 21px; }
a { color: var(--rm-teal); }

.rm-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e8eef3;
}

.rm-legal-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 15px;
  align-items: center;
  border: 1px solid #bddbd7;
  border-radius: 12px;
  color: #0d615b;
  background: #f3fbfa;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.rm-legal-actions a:first-child {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #16324a, #0f766e);
}

.rm-legal-footer {
  margin: 18px 0 0;
  color: #768492;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 560px) {
  .rm-legal-shell { width: min(100% - 20px, 880px); padding-top: 16px; }
  .rm-legal-card { border-radius: 18px; }
  .rm-legal-actions a { width: 100%; justify-content: center; }
}
