/* ============================================
   RISK DIMENSIONS — Shared Styles
   Design System: Dark luxury, gold accent
   Fonts: Cormorant Garamond (headings), Raleway (body), Overpass Mono (labels)
   ============================================ */

:root {
  --black: #0a0a0a;
  --gold: #c8a84e;
  --gold-light: #d4b85c;
  --gold-dim: rgba(200, 168, 78, 0.6);
  --gold-border: rgba(200, 168, 78, 0.1);
  --gold-border-hover: rgba(200, 168, 78, 0.3);
  --white: #f0ece4;
  --white-dim: rgba(240, 236, 228, 0.8);
  --white-muted: rgba(240, 236, 228, 0.6);
  --white-faint: rgba(240, 236, 228, 0.35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Raleway', 'Helvetica Neue', sans-serif;
  --mono: 'Overpass Mono', monospace;
  --max-width: 1100px;
  --max-prose: 900px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
img { max-width: 100%; display: block; }

/* ===== NAVIGATION ===== */
.rd-nav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rd-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.rd-nav a:hover,
.rd-nav a.active { color: var(--gold); }

.rd-nav-divider {
  color: rgba(200, 168, 78, 0.3);
  font-size: 0.7rem;
}

/* ===== SECTION LABELS ===== */
.rd-section-num {
  font-family: var(--mono);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== DISCLAIMER ===== */
.rd-disclaimer {
  background: var(--black);
  padding: 40px 20px;
  border-top: 1px solid rgba(200, 168, 78, 0.06);
}

.rd-disclaimer-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
}

.rd-disclaimer h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.5);
  margin-bottom: 12px;
  margin-top: 24px;
}

.rd-disclaimer h3:first-child { margin-top: 0; }

.rd-disclaimer p {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-faint);
}

/* ===== FOOTER ===== */
.rd-footer {
  background: var(--black);
  border-top: 1px solid var(--gold-border);
  padding: 40px 20px;
  text-align: center;
}

.rd-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.rd-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.rd-footer-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white-muted);
}

.rd-footer-links a:hover { color: var(--gold); }

.rd-footer-copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--white-faint);
}

/* ===== CTA BUTTON ===== */
.rd-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 15px 36px;
  border: 1px solid var(--gold);
  transition: all 0.35s ease;
  cursor: pointer;
}

.rd-cta:hover {
  background: transparent;
  color: var(--gold);
}

.rd-cta .arrow {
  margin-left: 8px;
  transition: margin-left 0.3s ease;
}

.rd-cta:hover .arrow { margin-left: 14px; }

/* ===== ANIMATIONS ===== */
@keyframes rdFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rdScaleIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

.rd-fade-up {
  opacity: 0;
  animation: rdFadeUp 0.8s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .rd-nav {
    gap: 20px;
    padding: 14px 20px;
  }
  .rd-nav a { font-size: 0.72rem; }
}
