/* Shared styles for GNET legal pages + the cookie notice bar.
   Palette and type follow the main site: #0f2167 navy, #1559a8 link blue (AA on light),
   Inter for body, Cormorant Garamond for display. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #23325e; background: #fff; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: #1559a8; }
img { display: block; max-width: 100%; }

/* Keyboard focus — visible on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #1559a8;
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1200;
  background: #0f2167; color: #fff; padding: 12px 20px;
  font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px; background: #0f2167;
}
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.92); text-decoration: none;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: #7ec8f7; }
.nav-cta { background: #1a6fcc; color: #fff !important; padding: 9px 22px; border-radius: 4px; }
.nav-cta:hover { background: #1455a4 !important; }

/* PAGE */
.legal-hero { background: #0f2167; padding: 140px 6% 56px; color: #fff; }
.legal-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1; margin-bottom: 14px;
}
.legal-hero p { color: rgba(255,255,255,0.88); font-size: 0.95rem; max-width: 640px; }
.legal-updated {
  display: inline-block; margin-top: 18px; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #9fd0ff; font-weight: 600;
}

.legal-body { max-width: 820px; margin: 0 auto; padding: 60px 6% 90px; }
.legal-body h2 {
  font-weight: 800; font-size: 1.18rem; color: #0f2167;
  margin: 46px 0 14px; letter-spacing: 0.01em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-weight: 700; font-size: 1rem; color: #0f2167; margin: 26px 0 10px; }
.legal-body p, .legal-body li { font-size: 0.97rem; line-height: 1.85; color: #23325e; }
.legal-body p { margin-bottom: 1rem; }
.legal-body ul, .legal-body ol { margin: 0 0 1rem 1.3rem; }
.legal-body li { margin-bottom: 0.45rem; }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: 0.9rem;
}
.legal-body th, .legal-body td {
  text-align: left; padding: 11px 14px; border: 1px solid #d5dbf0; vertical-align: top;
}
.legal-body th { background: #eef1fb; color: #0f2167; font-weight: 700; }

/* Callout. Deliberately not the thick-coloured-left-border treatment: a hairline
   box on a warm ground reads as a note without shouting. */
.legal-note {
  background: #fdf8ef;
  border: 1px solid #e4d3b4;
  border-radius: 4px;
  padding: 16px 20px; margin: 1.4rem 0;
  color: #5c3f11; font-size: 0.92rem; line-height: 1.75;
}
.legal-toc {
  background: #eef1fb; border-radius: 8px; padding: 20px 24px; margin-bottom: 40px;
}
.legal-toc h2 { margin: 0 0 10px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-toc ul { margin: 0; list-style: none; }
.legal-toc li { margin-bottom: 6px; font-size: 0.92rem; }

footer {
  background: #0f2167; color: #fff; text-align: center;
  padding: 30px 5%; font-size: 0.85rem; line-height: 1.9;
}
footer a { color: #9fd0ff; }
.footer-legal-links { margin-top: 8px; }
.footer-legal-links a { margin: 0 10px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .legal-hero { padding-top: 116px; }
}
/* The cookie bar styles itself from consent.js so it renders on every page. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
