/* Shared legal page styles — XPLORE brand */
:root {
  --primary-blue: #062C52;
  --secondary-blue: #034E95;
  --accent-blue: #197FC5;
  --light-blue: #64BFE9;
  --primary-green: #649B2D;
  --ink: #040910;
  --paper: #f4f7f8;
  --muted: #5a6a78;
  --line: rgba(6, 44, 82, 0.12);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(100, 155, 45, 0.08), transparent 50%),
    radial-gradient(80% 50% at 100% 0%, rgba(25, 127, 197, 0.1), transparent 45%),
    var(--paper);
  color: var(--primary-blue);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-blue); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--secondary-blue); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  background: rgba(4, 9, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar a.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.topbar a.brand img {
  height: clamp(52px, 7vw, 68px);
  width: auto;
  display: block;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  justify-content: flex-end;
}

.topbar nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar nav a:hover,
.topbar nav a[aria-current="page"] {
  color: #fff;
}

.wrap {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.legal > p:first-of-type {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}

.legal h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: var(--primary-blue);
}

.legal p,
.legal ul,
.legal ol {
  margin-bottom: 0.85rem;
  color: rgba(6, 44, 82, 0.92);
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li { margin-bottom: 0.35rem; }

.legal strong { color: var(--primary-blue); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer .inner {
  width: min(820px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer a {
  color: var(--secondary-blue);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar nav { justify-content: flex-start; }
}
