@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Unbounded:wght@400;500;600&display=swap');

:root {
  --ink: #1f2b4a;
  --muted: #65708a;
  --line: rgba(31, 43, 74, .14);
  --paper: #f8f9ff;
  --blue: #4060c8;
  --blue-deep: #263f9c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.legal-header {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  padding: 27px clamp(24px, 6vw, 96px);
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.brand {
  font: 500 22px/1 Unbounded, sans-serif;
  letter-spacing: -1.3px;
}

.nav-link, .back-link {
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s ease;
}

.nav-link:hover, .back-link:hover { opacity: .62; }

.legal-hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  padding: 168px clamp(24px, 14vw, 220px) 72px;
  background: linear-gradient(145deg, #f9fbff 0%, #eef2ff 56%, #e7edff 100%);
}

.legal-hero::before,
.legal-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(213, 224, 255, .44));
}

.legal-hero::before {
  width: 430px;
  height: 220px;
  right: 7%;
  bottom: 12%;
  box-shadow: -120px 35px 0 -28px rgba(255, 255, 255, .58), 55px -80px 0 -20px rgba(255, 255, 255, .72);
}

.legal-hero::after {
  width: 200px;
  height: 200px;
  right: 24%;
  bottom: 15%;
}

.legal-hero-inner { max-width: 980px; }

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  letter-spacing: -.05em;
}

h1 {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.08;
}

.updated {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.back-link {
  display: inline-block;
  margin-top: 42px;
  color: var(--blue-deep);
}

.legal-content { background: var(--paper); }

.legal-content section {
  display: grid;
  grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr);
  column-gap: clamp(36px, 7vw, 110px);
  row-gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.legal-content section:first-child { border-top: 0; }

h2 {
  color: var(--ink);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
}

.legal-content p {
  grid-column: 2;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.legal-content p + p { margin-top: 16px; }

.legal-content a {
  color: var(--blue-deep);
  font-weight: 700;
}

.legal-content a:hover { text-decoration: underline; }

.legal-content .legal-summary {
  display: block;
  padding-top: 76px;
  padding-bottom: 76px;
}

.legal-summary p {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.legal-footer a { font-weight: 600; }
.legal-footer a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav-link { font-size: 12px; }
  .legal-hero { min-height: 510px; padding-top: 150px; padding-bottom: 60px; }
  .legal-hero::before { right: -50%; bottom: 10%; transform: scale(.72); }
  .legal-hero::after { right: -7%; bottom: 12%; transform: scale(.72); }
  h1 { font-size: clamp(26px, 7.7vw, 34px); }
  .long-title { font-size: clamp(17px, 5.2vw, 24px); }
  .back-link { margin-top: 36px; }
  .legal-content section { display: block; padding-top: 42px; padding-bottom: 44px; }
  .legal-content h2 { margin-bottom: 19px; }
  .legal-content p + p { margin-top: 15px; }
  .legal-content .legal-summary { padding-top: 54px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
