:root {
  --gold: #c9a227;
  --gold-light: #e4c05a;
  --gold-dim: #8a6e1a;
  --green-deep: #1a5c2e;
  --green-mid: #2d7a45;
  --charcoal: #1e2022;
  --navy: #0d1117;
  --navy-mid: #141b26;
  --navy-card: #151e2e;
  --white-soft: #f0ece4;
  --white-dim: #c8c4bc;
  --border: rgba(201, 162, 39, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.policy-body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 14%, rgba(45, 122, 69, 0.16) 0%, rgba(45, 122, 69, 0) 30%),
    var(--navy);
  color: var(--white-soft);
  font-family: "Lato", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.policy-shell {
  min-height: 100vh;
}

.policy-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 48px;
  background: rgba(13, 17, 23, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.policy-nav-inner,
.policy-footer-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.policy-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.04);
}

.policy-brand span {
  font-family: "Rajdhani", sans-serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  white-space: nowrap;
}

.policy-links {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}

.policy-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-soft);
  opacity: 0.86;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.policy-links a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.policy-main {
  padding: 0 48px 96px;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 52px;
  border-bottom: 1px solid var(--border);
}

.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 122, 69, 0.22) 0%, rgba(45, 122, 69, 0) 42%);
  pointer-events: none;
}

.policy-hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.policy-label {
  margin: 0 0 16px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.policy-hero h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.policy-intro {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--white-dim);
  font-size: 17px;
  line-height: 1.75;
}

.policy-hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  background: url("/uploads/Natal Charts-header .png") center bottom / cover no-repeat;
  opacity: 0.24;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 40%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 40%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
}

.policy-content-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding-top: 42px;
}

.policy-card {
  background: rgba(21, 30, 46, 0.72);
  border: 1px solid var(--border);
  padding: 38px 40px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.policy-card p {
  margin: 0 0 14px;
  color: var(--white-dim);
  font-size: 15px;
  line-height: 1.82;
}

.policy-card h2 {
  margin: 30px 0 12px;
  font-family: "Rajdhani", sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  color: var(--white-soft);
}

.policy-card h2:first-of-type {
  margin-top: 22px;
}

.policy-updated {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(201, 162, 39, 0.06);
  color: var(--gold-light);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card a {
  color: var(--gold-light);
}

.policy-card a:hover {
  color: var(--white-soft);
}

.policy-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

.policy-footer-copy {
  text-align: center;
  font-size: 13px;
  color: var(--white-dim);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .policy-nav-inner,
  .policy-footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .policy-links {
    gap: 20px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .policy-nav,
  .policy-main,
  .policy-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .policy-brand span {
    font-size: 24px;
  }

  .policy-links {
    display: none;
  }

  .policy-hero {
    padding-top: 60px;
    padding-bottom: 38px;
  }

  .policy-card {
    padding: 26px 20px;
  }

  .policy-card p {
    font-size: 14px;
    line-height: 1.72;
  }

  .policy-card h2 {
    font-size: 23px;
  }

  .policy-footer-copy {
    white-space: normal;
  }
}
