/* ============================
   Shared policy-page styles
   ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Courier New', monospace;
  background: #1a1a2e;
  color: #e8e8e8;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(124, 252, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 252, 0, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* nav */
nav {
  position: sticky;
  top: 0;
  background: rgba(26, 26, 46, 0.95);
  border-bottom: 3px solid #7CFC00;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(6px);
}
nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #7CFC00;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.15s;
}
nav .brand:hover { color: #FFD700; }
nav .brand .nav-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
nav ul li a {
  color: #e8e8e8;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 6px 10px;
  border: 2px solid transparent;
  transition: all 0.15s;
}
nav ul li a:hover,
nav ul li a.active {
  border: 2px solid #FFD700;
  color: #FFD700;
}

/* layout */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  position: relative;
  z-index: 1;
}
.doc-header {
  border-bottom: 3px solid #FFD700;
  padding-bottom: 16px;
  margin-bottom: 32px;
}
.doc-header .tag {
  display: inline-block;
  background: #7CFC00;
  color: #1a1a2e;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.doc-header h1 {
  font-size: 32px;
  color: #7CFC00;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-shadow: 3px 3px 0 #2a2a2a;
}
.doc-header .meta {
  color: #FFD700;
  font-size: 12px;
  letter-spacing: 2px;
}
.doc-header .meta strong {
  color: #e8e8e8;
}

/* body */
.doc-body h2 {
  font-size: 20px;
  color: #FFD700;
  letter-spacing: 2px;
  margin: 32px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #7CFC00;
}
.doc-body h3 {
  font-size: 16px;
  color: #7CFC00;
  margin: 20px 0 8px;
  letter-spacing: 1px;
}
.doc-body p {
  margin-bottom: 14px;
  font-size: 14px;
}
.doc-body ul, .doc-body ol {
  margin: 0 0 16px 24px;
  font-size: 14px;
}
.doc-body li {
  margin-bottom: 8px;
}
.doc-body strong {
  color: #FFD700;
}
.doc-body em {
  color: #7CFC00;
  font-style: normal;
}
.doc-body a {
  color: #7CFC00;
  text-decoration: none;
  border-bottom: 1px dashed #7CFC00;
}
.doc-body a:hover { color: #FFD700; border-bottom-color: #FFD700; }

/* contact box at end of each policy */
.contact-box {
  margin-top: 48px;
  padding: 20px;
  background: #2a2a2a;
  border: 3px solid #7CFC00;
  text-align: center;
}
.contact-box .lbl {
  color: #FFD700;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.contact-box .email {
  color: #FFD700;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 2px solid #7CFC00;
  padding-bottom: 2px;
}
.contact-box .email:hover { color: #fff; }

/* footer */
footer {
  text-align: center;
  padding: 28px 24px;
  background: #0f0f1f;
  color: #888;
  font-size: 12px;
  letter-spacing: 2px;
  border-top: 3px solid #7CFC00;
}
footer a {
  color: #7CFC00;
  text-decoration: none;
}
footer a:hover { color: #FFD700; }

/* mobile */
@media (max-width: 640px) {
  .doc-header h1 { font-size: 24px; letter-spacing: 1px; }
  nav ul { gap: 8px; }
  nav ul li a { font-size: 12px; padding: 4px 6px; }
  nav .brand { font-size: 14px; letter-spacing: 1px; }
  nav .brand .nav-logo { height: 26px; width: 26px; }
}
