:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #0b1b36;
  --muted: #5d6f8c;
  --line: #dbe5f2;
  --brand: #1477f8;
  --brand-dark: #0b4fae;
  --navy: #081428;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.legal-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.legal-header-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
}

.legal-brand img {
  width: 132px;
  height: auto;
  display: block;
}

.back-link,
.inline-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.legal-header .back-link {
  color: #cfe1ff;
}

.back-link:hover,
.inline-link:hover {
  text-decoration: underline;
}

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

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 18px 50px rgba(11, 27, 54, .06);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -.035em;
}

h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

p,
li {
  font-size: 16px;
}

.lead,
.updated {
  color: var(--muted);
}

.updated {
  margin-top: 0;
  font-size: 14px;
}

ul,
ol {
  padding-left: 22px;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #bfdbff;
  border-radius: 16px;
  background: #eef6ff;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.primary-link:hover {
  background: var(--brand-dark);
}

.legal-footer {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 40px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.legal-footer a {
  color: inherit;
}

@media (max-width: 640px) {
  .legal-header-inner {
    min-height: 74px;
  }

  .legal-brand img {
    width: 112px;
  }

  .legal-main {
    margin-top: 24px;
  }

  .legal-card {
    border-radius: 20px;
  }
}

