:root {
  --navy: #0D1B2A;
  --navy-light: #1E3250;
  --white: #F8F9FA;
  --slate: #E8EDF2;
  --slate-mid: #B8C5D6;
  --red: #C8102E;
  --gold: #D4A843;
  --gold-light: #E8C46A;
  --text-body: #2C3E50;
  --text-muted: #5D7A9A;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--gold); }

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--white); }
.nav-back svg { width: 16px; height: 16px; }

.breadcrumb-bar {
  background: var(--slate);
  border-bottom: 1px solid #DDE5EF;
  padding: 12px 24px;
}

.breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--navy); font-weight: 600; }

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #DDE5EF;
}

.legal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.legal-header h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.legal-nav a {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--slate);
  color: var(--text-body);
  text-decoration: none;
  border: 1px solid #DDE5EF;
  transition: all 0.2s;
}

.legal-nav a:hover,
.legal-nav a.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.legal-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}

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

.legal-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}

.legal-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 16px 1.4rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-body li { margin-bottom: 6px; }

.legal-body a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover { color: var(--red); }

.legal-callout {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.legal-callout.warn {
  background: #FFF5F5;
  border-left-color: var(--red);
  color: #7D1A1A;
}

.legal-callout strong { color: var(--navy); }
.legal-callout.warn strong { color: #7D1A1A; }

.rp-trust-bar {
  background: var(--slate);
  border-top: 1px solid #DDE5EF;
  border-bottom: 1px solid #DDE5EF;
  padding: 28px 24px;
}

.rp-trust-bar__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.rp-trust-bar__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
}

.rp-trust-bar__badge {
  display: flex;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.rp-trust-bar__badge:hover { opacity: 1; transform: translateY(-2px); }

.rp-trust-bar__badge img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.rp-trust-bar__links {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

.rp-trust-bar__links a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.rp-trust-bar__links a:hover { color: var(--red); text-decoration: underline; }

footer {
  background: var(--navy);
  padding: 80px 24px 32px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  font-size: 12px;
  color: var(--slate-mid);
  line-height: 1.65;
  margin-bottom: 8px;
}

.footer-inner a { color: var(--gold-light); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  font-size: 12px;
  color: var(--slate-mid);
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

@media (max-width: 640px) {
  .legal-wrap { padding: 32px 16px 48px; }
  nav { padding: 0 16px; }
}
