/* GATEKEEPER legal pages - styled to match front/front.html */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: url("/common/images/prison.webp") center/cover no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
  line-height: 1.9;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(3px) brightness(0.6);
  background: rgba(0, 0, 0, 0.35);
  z-index: -2;
}

.noise-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  mix-blend-mode: overlay;
  animation: tvNoise 0.25s steps(2) infinite;
  opacity: 0.22;
}

@keyframes tvNoise {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

.page {
  max-width: 760px;
  margin: 40px auto 80px;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  text-align: left;
}

header {
  border-bottom: 2px dashed #ffffffff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.tagline {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  letter-spacing: 0.05em;
  color: #ffb300ff;
}

p {
  margin: 0 0 10px;
}

a {
  color: #a5b4fc;
}

a:hover {
  color: #c7d2fe;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-right: 12px;
  margin-right: 8px;
  text-decoration: underline;
}

.breadcrumb a::after {
  content: ">";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
  opacity: 0.9;
  font-weight: 600;
}

section {
  margin-bottom: 18px;
}

.list {
  margin: 8px 0 0 18px;
  padding: 0;
}

.list li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.policy-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

footer {
  margin-top: 40px;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.footer-links {
  margin-bottom: 6px;
}

footer a {
  text-decoration: underline;
}
