/* ── RASA Official Policy Pages ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0d1f3c;
  --gold: #c8982a;
  --gold-l: #e8bb5a;
  --cream: #faf7f2;
  --off: #f0ebe1;
  --mid: #7a8899;
  --dark: #07121f;
  --white: #ffffff;
  --trans: 0.35s cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* Site nav */
.policy-site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5dc;
  border-bottom: 1px solid rgba(200, 152, 42, .35);
}

.policy-site-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.policy-site-nav .nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.policy-site-nav .nav-logo-text span:first-child {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.policy-site-nav .nav-logo-text span:last-child {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.policy-site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.policy-site-nav .nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .4px;
  transition: var(--trans);
}

.policy-site-nav .nav-links a:hover { color: var(--gold); }

/* Document header */
.policy-doc-header {
  margin-top: 72px;
  padding: 56px 0 48px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy) 55%, #122a4d 100%);
  border-bottom: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.policy-doc-header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(rgba(200, 152, 42, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 152, 42, 1) 1px, transparent 1px);
  background-size: 48px 48px;
}

.policy-doc-header .container { position: relative; z-index: 1; }

.policy-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 20px;
  background: rgba(200, 152, 42, .12);
  border: 1px solid rgba(200, 152, 42, .35);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-l);
}

.policy-doc-badge i { font-size: 11px; }

.policy-doc-header h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.policy-doc-header .subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, .62);
  max-width: 680px;
  line-height: 1.75;
}

.policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.policy-breadcrumb a {
  color: var(--gold-l);
  text-decoration: none;
}

.policy-breadcrumb a:hover { color: var(--white); }

/* Policy cross-navigation */
.policy-nav-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(13, 31, 60, .1);
  box-shadow: 0 2px 16px rgba(13, 31, 60, .05);
  position: sticky;
  top: 72px;
  z-index: 900;
}

.policy-nav-bar .container {
  display: flex;
  align-items: stretch;
}

.policy-nav-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 3px solid transparent;
  transition: var(--trans);
}

.policy-nav-bar a i { font-size: 14px; opacity: .7; }

.policy-nav-bar a:hover {
  color: var(--navy);
  background: rgba(200, 152, 42, .04);
}

.policy-nav-bar a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  background: rgba(200, 152, 42, .06);
}

/* Document body */
.policy-wrap { padding: 48px 0 80px; }

.policy-document {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(13, 31, 60, .1);
  box-shadow: 0 8px 40px rgba(13, 31, 60, .07);
}

.policy-document-header {
  padding: 40px 48px 32px;
  border-bottom: 1px solid rgba(13, 31, 60, .08);
  background: linear-gradient(180deg, #fdfcfa 0%, var(--white) 100%);
}

.policy-document-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.policy-document-header .doc-org {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 31, 60, .07);
}

.policy-meta-item label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.policy-meta-item span {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.policy-body { padding: 40px 48px 48px; }

.policy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(13, 31, 60, .07);
}

.policy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.policy-section h3 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.35;
}

.policy-section-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.policy-section p {
  font-size: 15px;
  line-height: 1.85;
  color: #2a3d57;
}

.policy-section p + p { margin-top: 14px; }

.policy-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-section a:hover { color: var(--navy); }

.policy-section ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.policy-section li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #2a3d57;
}

.policy-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.policy-section li strong { color: var(--navy); }

.policy-doc-footer {
  padding: 22px 48px;
  background: var(--off);
  border-top: 1px solid rgba(13, 31, 60, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--mid);
}

.policy-doc-footer .legal-name {
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .3px;
}

/* Responsive */
@media (max-width: 900px) {
  .policy-site-nav { padding: 0 18px; height: 64px; }
  .policy-doc-header { margin-top: 64px; padding: 44px 0 36px; }
  .policy-nav-bar { top: 64px; }
  .policy-nav-bar a { font-size: 10px; padding: 14px 8px; gap: 6px; }
  .policy-nav-bar a span { display: none; }
  .container { padding: 0 18px; }
  .policy-document-header,
  .policy-body,
  .policy-doc-footer { padding-left: 24px; padding-right: 24px; }
  .policy-meta { grid-template-columns: 1fr; gap: 16px; }
  .policy-site-nav .nav-links { gap: 14px; }
  .policy-site-nav .nav-links a { font-size: 12px; }
}

@media print {
  .policy-site-nav,
  .policy-nav-bar { display: none; }
  .policy-doc-header { margin-top: 0; }
  .policy-document { box-shadow: none; border: none; }
}
