*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ========================================
   CSS VARIABLES (matches system of record)
   ======================================== */
:root {
  --hf: 'Space Grotesk', sans-serif;
  --bf: 'Inter', sans-serif;
  --deep-sea: #0a1628;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --blue: #00adff;
  --mint: #00d9c0;
  --white: #ffffff;
  --body-text: #d1d5db;
  --muted-text: #9ca3af;
  --border-subtle: rgba(255,255,255,0.1);
  --surface-glass: rgba(255,255,255,0.05);
}

/* ========================================
   ACCESSIBILITY (Cross-Page Spec §9)
   ======================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========================================
   BACKGROUND LAYERS
   ======================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}
::selection {
  background: rgba(139,92,246,0.35);
  color: var(--white);
}
body {
  background: linear-gradient(135deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
  font-family: var(--bf);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-glow--top {
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(139,92,246,0.06) 0%, transparent 50%);
}
.bg-glow--bottom {
  background: radial-gradient(ellipse 60% 40% at 30% 70%, rgba(139,92,246,0.04) 0%, transparent 50%);
}
#neuralCanvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}

/* ========================================
   SKIP LINK (Cross-Page Spec)
   ======================================== */
.ge-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--purple);
  color: var(--white);
  font-family: var(--bf);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.ge-skip-link:focus {
  top: 0;
}

/* ========================================
   POLICY PAGE CONTENT
   ======================================== */
.ge-policy-page {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 10rem 1.5rem 0;
}

/* ── Typography ── */
.ge-policy-page h1 {
  font-family: var(--hf);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.ge-policy-page .ge-date {
  font-family: var(--bf);
  font-size: 0.875rem;
  color: var(--purple-light);
  margin-bottom: 2.5rem;
}

.ge-policy-page h2 {
  font-family: var(--hf);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--white);
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

.ge-policy-page h3 {
  font-family: var(--hf);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.35;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--purple);
}

.ge-policy-page p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ge-policy-page strong {
  font-weight: 700;
  color: var(--white);
}

/* ── Intro paragraph (slightly larger) ── */
.ge-policy-page .ge-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ── Links ── */
/* NOTE: focus-visible uses --blue here (not --purple) intentionally —
   link focus should match link colour for visual consistency.
   Global focus (§9 above) uses --purple for buttons/nav. */
.ge-policy-page a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ge-policy-page a:hover {
  color: #33c0ff;
  text-decoration: underline;
}
.ge-policy-page a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Lists ── */
.ge-policy-page ul,
.ge-policy-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.ge-policy-page li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}
.ge-policy-page li::marker {
  color: var(--muted-text);
}

/* ── Tables ── */
.ge-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}
.ge-policy-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.ge-policy-page th {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--bf);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.ge-policy-page td {
  background: rgba(255,255,255,0.02);
  color: var(--body-text);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  line-height: 1.6;
}
.ge-policy-page tr:last-child td {
  border-bottom: none;
}

/* ── Table total row (CRP-specific — bold white text with top border) ── */
.ge-policy-page .ge-table-total td {
  font-weight: 700;
  color: var(--white);
  border-top: 1px solid var(--border-subtle);
}

/* ── Signoff block (CRP-specific — glass surface card) ── */
.ge-signoff {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--surface-glass);
}
.ge-signoff p {
  margin-bottom: 0.4rem;
}
.ge-signoff p:last-child {
  margin-bottom: 0;
}

/* ── Section dividers (subtle gradient accent under h2) ── */
.ge-policy-page h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--purple);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* ── Page-end spacer (Cross-Page Spec §12) ── */
.ge-page-end-spacer {
  height: 6rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ge-policy-page {
    padding-top: 7rem;
  }
}