:root {
  color: #102a4d;
  background: #f4f7fc;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(79, 140, 255, .14), transparent 30rem),
    #f4f7fc;
}

a { color: #1554d8; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid rgba(20, 87, 230, .3); outline-offset: 3px; }

.legal-header,
.legal-main,
.legal-footer {
  width: min(calc(100% - 32px), 860px);
  margin-inline: auto;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.legal-brand {
  color: #12335f;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}

.legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; font-size: .9rem; }

.legal-main {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid #dce6f5;
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 55px rgba(34, 65, 116, .10);
}

.legal-kicker {
  margin: 0 0 8px;
  color: #1554d8;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 { margin: 0; color: #102a50; font-size: clamp(2rem, 7vw, 3.3rem); line-height: 1.05; }
.legal-lead { margin: 18px 0 30px; color: #526a89; font-size: 1.05rem; line-height: 1.7; }
h2 { margin: 32px 0 10px; color: #17365f; font-size: 1.2rem; }
p, li { color: #526a70; line-height: 1.72; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: 7px; }
.legal-callout { margin: 24px 0; padding: 18px; border-left: 4px solid #1554d8; border-radius: 10px; background: #f3f7ff; }
.legal-callout p { margin: 0; }
.legal-updated { margin-top: 36px; color: #6b7f9c; font-size: .86rem; }
.legal-footer { padding: 24px 0 38px; color: #6b7f9c; font-size: .86rem; text-align: center; }

@media (max-width: 620px) {
  .legal-header { align-items: flex-start; flex-direction: column; }
  .legal-nav { justify-content: flex-start; }
  .legal-main { border-radius: 18px; }
}
