:root {
  --bg: #f7f9fb;
  --text: #191c1e;
  --muted: #4a4455;
  --primary: #630ed4;
  --border: #e0e3e5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
.rs-legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.rs-legal-header-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rs-legal-header a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}
.rs-legal-header a:hover { text-decoration: underline; }
.rs-legal-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.rs-legal-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  object-fit: contain;
}
.rs-legal-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
.rs-legal-main h1 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
}
.rs-legal-note {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: #eceef0;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}
#legal-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}
