:root {
  --brand: #2f56d6;
  --brand-dark: #1e3ea5;
  --accent: #18b7a8;
  --bg-soft: #f5f8ff;
  --text-main: #1b2340;
  --text-sub: #6e7794;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main);
  background-color: #fcfdff;
  overflow-x: hidden;
  width: 100%;
}

.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(16, 36, 94, 0.08);
}

.navbar-brand span { color: var(--brand); font-weight: 700; }

.nav-link { color: var(--text-main); font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--brand); }

.policy-hero {
  padding: 7.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 15% 25%, rgba(24, 183, 168, 0.15), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(47, 86, 214, 0.15), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.policy-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.policy-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.policy-lead {
  color: var(--text-sub);
  margin-bottom: 0;
}

.policy-content { padding: 2.5rem 0 5rem; }

.policy-nav {
  background: var(--white);
  border: 1px solid rgba(47, 86, 214, 0.1);
  border-radius: 1rem;
  padding: 1.35rem;
  margin-bottom: 1rem;
  position: sticky;
  top: 5.5rem;
  box-shadow: 0 10px 24px rgba(22, 44, 107, 0.07);
}

.policy-nav h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.policy-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.policy-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.policy-nav a:hover {
  background: rgba(47, 86, 214, 0.06);
  color: var(--brand);
}

.policy-nav a.active {
  background: linear-gradient(135deg, rgba(47, 86, 214, 0.12), rgba(24, 183, 168, 0.12));
  color: var(--brand-dark);
  font-weight: 600;
}

.policy-meta {
  background: var(--white);
  border: 1px solid rgba(47, 86, 214, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(22, 44, 107, 0.06);
}

.policy-meta dl { margin: 0; display: grid; gap: 0.55rem; }
.policy-meta dt { font-weight: 600; font-size: 0.82rem; color: var(--text-main); }
.policy-meta dd { margin: 0; font-size: 0.88rem; color: var(--text-sub); }
.policy-meta a { color: var(--brand); text-decoration: none; font-weight: 600; }
.policy-meta a:hover { text-decoration: underline; }

.policy-body {
  background: var(--white);
  border: 1px solid rgba(47, 86, 214, 0.09);
  border-radius: 1rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 26px rgba(22, 44, 107, 0.07);
}

.policy-intro {
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(47, 86, 214, 0.1);
}

.policy-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.policy-body h3:first-of-type { margin-top: 0; }

.policy-body p, .policy-body li {
  color: var(--text-sub);
  line-height: 1.7;
}

.policy-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-body ul li { margin-bottom: 0.45rem; }

.policy-body a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.policy-body a:hover { text-decoration: underline; }

.policy-updated {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(47, 86, 214, 0.1);
  color: var(--text-sub);
  font-size: 0.92rem;
}

footer {
  background: linear-gradient(180deg, #070b1f 0%, #050817 100%);
  color: #aeb9d6;
}

.footer-main { padding: 3.5rem 0 2rem; }

.footer-brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.2px;
  margin-bottom: 0.75rem;
}

.footer-desc {
  max-width: 300px;
  color: #9eabc9;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #9eabc9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #ffffff; }

.footer-contact p {
  margin-bottom: 0.45rem;
  color: #9eabc9;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #9eabc9;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bar {
  border-top: 1px solid #141f45;
  background: rgba(0, 0, 0, 0.22);
  padding: 1.1rem 0;
}

.footer-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.footer-legal-links a {
  color: #c5d0ea;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-legal-links a:hover { color: #ffffff; }

.footer-copy { color: #7f8db1; font-size: 0.88rem; }
.footer-tagline { color: #6d7ba3; font-size: 0.82rem; }

@media (min-width: 992px) {
  .footer-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 991px) {
  footer .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-bar-inner {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .policy-nav { position: static; }

  .policy-body {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 575px) {
  .policy-hero {
    padding-top: 6.5rem;
  }

  footer .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-main .row {
    --bs-gutter-x: 1.75rem;
  }

  .footer-tagline {
    max-width: 260px;
  }
}
