/* Cribfull — Shared Base Styles for Legal/Support Pages */
:root {
  --black:  #0A0A0A;
  --neon:   #00FF9F;
  --warm:   #FF4D4D;
  --solar:  #FF8C00;
  --purple: #BF5AF2;
  --gold:   #FFD700;
  --white:  #FFFFFF;
  --g400: #9CA3AF;
  --g600: #4B5563;
  --g800: #1C1C1C;
  --g900: #111111;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1rem;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--neon); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

/* ── Nav ────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  background: rgba(10,10,10,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.05em;
  text-decoration: none; color: var(--white);
  display: flex; align-items: center; gap: 0.55rem;
}
.nav-logo .dot {
  width: 28px; height: 28px; border-radius: 7px;
  background: url('app-icon.png') center/cover no-repeat;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.nav-back {
  color: var(--g400); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; display: flex; align-items: center; gap: 0.35rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--white); opacity: 1; }

/* ── Page Layout ───────────────────────────────────────── */
.page-body { max-width: 740px; margin: 0 auto; padding: 8rem 2rem 6rem; }

.page-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 0.9rem;
  display: block;
}
.page-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.page-meta {
  font-size: 0.82rem; color: var(--g400); margin-bottom: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Article Content ───────────────────────────────────── */
.article h2 {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.025em;
  margin: 2.5rem 0 0.75rem; color: var(--white);
}
.article h3 {
  font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.5rem;
  color: rgba(255,255,255,0.85);
}
.article p { color: var(--g400); margin-bottom: 1rem; }
.article ul, .article ol {
  color: var(--g400); margin: 0.75rem 0 1rem 1.5rem;
}
.article li { margin-bottom: 0.4rem; line-height: 1.65; }
.article strong { color: var(--white); font-weight: 600; }
.article a { color: var(--neon); }

.article .highlight-box {
  background: rgba(0,255,159,0.05);
  border: 1px solid rgba(0,255,159,0.15);
  border-radius: 16px; padding: 1.25rem 1.5rem;
  margin: 1.5rem 0; color: var(--g400);
}
.article .highlight-box strong { color: var(--neon); }

.article .warn-box {
  background: rgba(255,77,77,0.05);
  border: 1px solid rgba(255,77,77,0.15);
  border-radius: 16px; padding: 1.25rem 1.5rem;
  margin: 1.5rem 0; color: var(--g400);
}

/* ── Footer ──────────────────────────────────────────── */
.page-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
  max-width: 740px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.page-footer p { font-size: 0.78rem; color: var(--g600); }
.page-footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; }
.page-footer-links a {
  color: var(--g400); text-decoration: none;
  font-size: 0.82rem; transition: color 0.2s;
}
.page-footer-links a:hover { color: var(--white); }

@media (max-width: 600px) {
  .page-footer { flex-direction: column; align-items: flex-start; }
}
