* {
  box-sizing: border-box;
}

:root {
  --rr-purple: #6237cc;
  --rr-purple-dark: #1a1040;
  --rr-purple-soft: #f5f3ff;
  --rr-border: rgba(98, 55, 204, 0.16);
  --rr-text: #1a1040;
  --rr-muted: #6f6598;
  --rr-card: #ffffff;
}

html {
  background: #120630;
  color: var(--rr-text);
  font-family: Nunito, Arial, sans-serif;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(155, 114, 255, 0.26), transparent 36rem),
    linear-gradient(150deg, #1a0840 0%, #6237cc 54%, #0f0520 100%);
  margin: 0;
  min-height: 100vh;
  padding: 32px 18px;
}

a {
  color: var(--rr-purple);
  font-weight: 800;
}

.policy-shell {
  background: var(--rr-card);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  margin: 0 auto;
  max-width: 920px;
  overflow: hidden;
}

.policy-header {
  background: linear-gradient(135deg, #1a1040 0%, #6237cc 62%, #2d1060 100%);
  color: #ffffff;
  padding: 34px clamp(22px, 5vw, 48px);
}

.policy-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.policy-brand img {
  height: 36px;
  width: 36px;
}

.policy-brand strong {
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.policy-header h1 {
  font-size: clamp(31px, 6vw, 54px);
  line-height: 0.98;
  margin: 0 0 16px;
  max-width: 760px;
}

.policy-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 740px;
}

.policy-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--rr-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px clamp(18px, 5vw, 48px);
}

.policy-nav a {
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  color: var(--rr-purple-dark);
  font-size: 13px;
  padding: 8px 12px;
  text-decoration: none;
}

.policy-nav a[aria-current="page"] {
  background: var(--rr-purple);
  border-color: var(--rr-purple);
  color: #ffffff;
}

.policy-content {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 48px);
}

.policy-alert {
  background: #fff8db;
  border: 1px solid rgba(196, 139, 20, 0.26);
  border-radius: 16px;
  color: #5a4210;
  font-weight: 800;
  line-height: 1.55;
  padding: 16px 18px;
}

.policy-section {
  border-top: 1px solid var(--rr-border);
  padding-top: 26px;
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-section h2 {
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.policy-section h3 {
  color: var(--rr-purple-dark);
  font-size: 17px;
  margin: 22px 0 8px;
}

.policy-section p,
.policy-section li {
  color: var(--rr-muted);
  font-size: 16px;
  line-height: 1.72;
}

.policy-section p {
  margin: 0 0 13px;
}

.policy-section ul,
.policy-section ol {
  margin: 10px 0 0;
  padding-left: 23px;
}

.policy-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card {
  background: var(--rr-purple-soft);
  border: 1px solid var(--rr-border);
  border-radius: 16px;
  padding: 16px;
}

.policy-card h3 {
  margin-top: 0;
}

.pending {
  background: rgba(98, 55, 204, 0.08);
  border: 1px dashed rgba(98, 55, 204, 0.28);
  border-radius: 10px;
  color: var(--rr-purple-dark);
  display: inline-block;
  font-weight: 900;
  padding: 2px 7px;
}

.policy-footer {
  background: #f5f3ff;
  border-top: 1px solid var(--rr-border);
  color: var(--rr-muted);
  font-size: 13px;
  line-height: 1.55;
  padding: 22px clamp(22px, 5vw, 48px);
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .policy-shell {
    border-radius: 0;
    min-height: 100vh;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}
