:root {
  color-scheme: light;
  --brand-950: #120b54;
  --brand-900: #1b1174;
  --brand-800: #28208a;
  --brand-700: #3931a3;
  --brand-300: #a0a5dd;
  --brand-100: #eceeff;
  --brand-050: #f6f6ff;
  --ink: #202124;
  --muted: #656777;
  --line: #e3e4ec;
  --surface: #ffffff;
  --canvas: #f5f5fa;
  --shadow: 0 20px 60px rgb(24 16 87 / 10%);
  --font: "Roboto", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-800);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-950);
}

:focus-visible {
  outline: 3px solid rgb(77 123 214 / 45%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand-900);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  background: linear-gradient(112deg, var(--brand-950), var(--brand-900) 55%, #242287);
  color: #fff;
}

.header-inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: var(--brand-900);
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgb(0 0 0 / 16%);
}

.brand-copy {
  display: grid;
  line-height: 1.18;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: #cfd2ff;
  font-size: 13px;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  border-color: #fff;
  color: #fff;
  background: rgb(255 255 255 / 10%);
}

.legal-hero {
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 88% 20%, rgb(160 165 221 / 30%), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--brand-050) 100%);
  border-bottom: 1px solid var(--line);
}

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

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--brand-950);
  font-size: clamp(2.35rem, 6vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: #4d4f60;
  font-size: clamp(1.05rem, 2vw, 1.27rem);
  line-height: 1.6;
}

.effective-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding-block: 64px 88px;
}

.summary-card {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-card h2 {
  margin: 0;
  padding: 22px 22px 16px;
  color: var(--brand-950);
  font-size: 18px;
}

.summary-card dl {
  margin: 0;
}

.summary-card dl > div {
  display: grid;
  gap: 3px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
}

.summary-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.summary-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.rate-note {
  margin: 0;
  padding: 17px 22px;
  background: var(--brand-050);
  color: var(--brand-900);
  font-size: 14px;
  font-weight: 700;
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
}

.legal-content section + section {
  padding-top: 38px;
}

.legal-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--brand-950);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.legal-content p {
  max-width: 74ch;
  margin: 0;
}

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

.legal-content strong {
  color: #17115f;
}

.privacy-highlight {
  position: relative;
  margin: 38px 0;
  padding: 28px 30px !important;
  border: 1px solid #d7daf2 !important;
  border-left: 5px solid var(--brand-700) !important;
  border-radius: 14px;
  background: var(--brand-050);
}

.privacy-highlight + section {
  padding-top: 0 !important;
}

address {
  font-style: normal;
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: var(--brand-950);
  color: #d8daf7;
}

.footer-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

@media (max-width: 760px) {
  .legal-shell,
  .header-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .contact-link {
    padding-inline: 13px;
    font-size: 14px;
  }

  .legal-hero {
    padding: 52px 0 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 42px 64px;
  }

  .summary-card {
    position: static;
  }

  .footer-inner {
    min-height: 122px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .contact-link {
    min-height: 42px;
    padding-inline: 11px;
  }

  h1 {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
