:root {
  color: #17253a;
  background: #f3ebdd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, #2352d1 0 18px, transparent 18px),
    #f3ebdd;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 84px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(23, 37, 58, 0.18);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.legal-brand img {
  width: 46px;
  height: 46px;
  padding: 8px;
  border-radius: 14px;
  background: #2352d1;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-hero {
  padding: 64px 0 34px;
}

.legal-kicker {
  margin: 0 0 18px;
  color: #2352d1;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.legal-summary {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(23, 37, 58, 0.76);
  font-size: clamp(1.08rem, 3vw, 1.35rem);
  line-height: 1.55;
}

.legal-card,
.legal-content section {
  margin-top: 20px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(23, 37, 58, 0.16);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(23, 37, 58, 0.08);
}

.legal-card--signal {
  color: #fff;
  background: #2352d1;
}

.legal-card--signal a {
  color: #f2b743;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.04em;
}

p,
li {
  color: rgba(23, 37, 58, 0.78);
  line-height: 1.72;
}

.legal-card--signal p,
.legal-card--signal li {
  color: rgba(255, 255, 255, 0.82);
}

ul {
  padding-left: 22px;
}

.legal-updated {
  margin-top: 34px;
  color: rgba(23, 37, 58, 0.58);
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  body {
    background:
      linear-gradient(90deg, #2352d1 0 10px, transparent 10px),
      #f3ebdd;
  }

  .legal-shell {
    width: min(100% - 38px, 820px);
    padding-top: 24px;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 48px;
  }
}
