/* Legal policy pages (privacy, terms, cookies) */

:root {
  --navy: #120644;
  --blue: #007fff;
  --gray-50: #f9fafb;
  --bolt-header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Nunito, Inter, system-ui, sans-serif;
  color: var(--navy);
  background: var(--gray-50);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.legal-page {
  min-height: 100vh;
  padding: calc(var(--bolt-header-height) + 32px) 16px 64px;
}

.legal-page__inner {
  max-width: 860px;
  margin: 0 auto;
}

.legal-page__content {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 1px 2px rgba(18, 6, 68, 0.06);
  overflow-wrap: anywhere;
}

.legal-page__content h1,
.legal-page__content h2,
.legal-page__content h3 {
  font-family: Nunito, Inter, system-ui, sans-serif !important;
  color: var(--navy) !important;
}

.legal-page__content a {
  color: var(--blue) !important;
}

.legal-page__back {
  margin-top: 28px;
  text-align: center;
}

.legal-page__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.875rem;
}

.legal-page__back-link:hover {
  filter: brightness(1.08);
}
