/* BritishIPTV – shared layout for legal / policy pages */
.page-hero {
  background: linear-gradient(160deg, #05071a 0%, #0d1640 60%, #07091e 100%);
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero-orb-1 { width: 480px; height: 480px; top: -200px; left: -100px; background: radial-gradient(circle, rgba(0,48,135,0.28) 0%, transparent 70%); }
.page-hero-orb-2 { width: 380px; height: 380px; top: -100px; right: -90px; background: radial-gradient(circle, rgba(207,20,43,0.18) 0%, transparent 70%); }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.12); margin-bottom: 22px;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -1px; margin: 0 0 16px; }
.page-hero h1 span { color: #CF142B; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.62); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.legal-section { background: #fff; padding: 56px 0 80px; }
.legal-wrap { max-width: 720px; margin: 0 auto; }
.legal-wrap .legal-meta { font-size: 14px; color: #64748b; margin-bottom: 28px; }
.legal-wrap .lead {
  font-size: 17px; color: #374151; line-height: 1.75; margin: 0 0 28px;
}
.legal-wrap h2 {
  font-size: 20px; font-weight: 900; color: #0a1225; margin: 36px 0 14px;
  letter-spacing: -0.3px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap h3 {
  font-size: 17px; font-weight: 800; color: #0a1225; margin: 28px 0 10px;
}
.legal-wrap p { font-size: 16px; color: #475569; line-height: 1.75; margin: 0 0 16px; }
.legal-wrap ul { margin: 0 0 20px; padding-left: 22px; color: #475569; line-height: 1.75; font-size: 16px; }
.legal-wrap ol { margin: 0 0 20px; padding-left: 22px; color: #475569; line-height: 1.75; font-size: 16px; }
.legal-wrap li { margin-bottom: 10px; }
.legal-wrap li:last-child { margin-bottom: 0; }
.legal-wrap strong { color: #0a1225; }
.legal-wrap a { color: #003087; font-weight: 600; text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-callout {
  background: #f8faff; border: 2px solid #e8eef8; border-radius: 14px;
  padding: 20px 22px; margin: 24px 0;
}
.legal-callout p { margin-bottom: 0; font-size: 15px; }
.legal-callout p + p { margin-top: 12px; }
.legal-contact-line { margin-top: 8px; font-size: 16px; }
.legal-contact-line a { color: #003087; font-weight: 800; text-decoration: none; }
.legal-contact-line a:hover { text-decoration: underline; }

.legal-crosslinks {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 2px solid #e8eef8;
}
.legal-crosslinks > h3 {
  font-size: 12px; font-weight: 800; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 1px; margin: 0 0 16px;
}
.legal-crosslinks ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 0;
}
.legal-crosslinks li {
  display: inline-flex; align-items: center;
  font-size: 14px; color: #cbd5e1;
}
.legal-crosslinks li:not(:last-child)::after {
  content: '·';
  margin: 0 14px;
  font-weight: 400;
  pointer-events: none;
}
.legal-crosslinks a {
  font-weight: 700; color: #003087; text-decoration: none;
}
.legal-crosslinks a:hover { text-decoration: underline; }
.legal-crosslinks a[aria-current="page"] {
  color: #0a1225;
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}

/* 404 / 500 error pages */
.error-page-section {
  background: #f4f6fb;
  padding: 40px 0 96px;
}
.error-page-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.error-code-display {
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #003087 0%, #001a52 55%, #CF142B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.error-page-inner h2 {
  font-size: 22px;
  font-weight: 900;
  color: #0a1225;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.error-page-inner > p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 20px;
}
.error-page-path {
  font-size: 13px;
  color: #94a3b8;
  word-break: break-all;
  margin: 0 0 28px;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid #e8eef8;
  border-radius: 12px;
  text-align: left;
  font-family: ui-monospace, monospace;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.error-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  background: #003087;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.error-btn-primary:hover {
  background: #002070;
  transform: translateY(-2px);
}
.error-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  color: #0a1225;
  border: 2px solid #e8eef8;
  text-decoration: none;
  transition: border-color 0.2s;
}
.error-btn-secondary:hover {
  border-color: #003087;
  color: #003087;
}
