:root {
  --ink: #0a1642;
  --ink-2: #122058;
  --blue: #1b34a8;
  --blue-bright: #2f4fe0;
  --sky: #93aaff;
  --spark: #ffc64b;
  --paper: #f3f5ff;
  --paper-2: #ffffff;
  --line: rgba(147, 170, 255, 0.22);
  --line-dark: rgba(10, 22, 66, 0.1);
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: #eaeeff;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  border-radius: 6px;
  outline: 2.5px solid var(--spark);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 66, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.brand span,
.foot-brand span {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  font-size: 1.22rem;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(234, 238, 255, 0.72);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.btn:hover {
  background: var(--spark);
  transform: translateY(-2px);
}

.legal-hero {
  padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 7vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--sky);
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 13px;
  height: 13px;
  background: var(--spark);
  clip-path: polygon(
    50% 0,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0 50%,
    38% 38%
  );
  content: "";
}

.legal-hero h1 {
  max-width: 14ch;
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.legal-updated {
  margin: 0;
  color: rgba(234, 238, 255, 0.7);
  font-size: 1rem;
}

.legal-shell {
  background: var(--paper);
  color: var(--ink);
}

.legal-document {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(52px, 8vw, 88px) 24px clamp(72px, 10vw, 112px);
  color: rgba(10, 22, 66, 0.78);
  overflow-wrap: anywhere;
}

.legal-document *,
.legal-document *::before,
.legal-document *::after {
  background-color: transparent !important;
  font-family: inherit !important;
  white-space: normal !important;
}

.legal-document p {
  margin: 0 0 1.15em !important;
  padding: 0 !important;
  color: inherit;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.legal-document h2,
.legal-document h3,
.legal-document h4 {
  margin: 2.35em 0 0.7em !important;
  padding: 0 !important;
  color: var(--ink);
  font-family: "Outfit", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25 !important;
}

.legal-document h2 {
  padding-top: 0.25em !important;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(1.45rem, 3vw, 1.9rem) !important;
}

.legal-document h3 {
  font-size: 1.25rem !important;
}

.legal-document h4 {
  font-size: 1.08rem !important;
}

.legal-document h2 *,
.legal-document h3 *,
.legal-document h4 *,
.legal-document p *,
.legal-document li * {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.legal-document ul,
.legal-document ol {
  margin: 0.5em 0 1.6em !important;
  padding-left: 1.45em !important;
}

.legal-document li {
  margin: 0.55em 0;
  padding-left: 0.3em;
}

.legal-document li::marker {
  color: var(--blue-bright);
}

.legal-document li p {
  margin: 0 !important;
}

.legal-document a {
  color: var(--blue-bright) !important;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document a:hover {
  color: var(--blue);
}

.legal-document br + br {
  display: none;
}

.site-footer {
  padding: 52px 0 40px;
  border-top: 1px solid var(--line);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.foot-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.foot-brand span {
  font-size: 1.08rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  color: rgba(234, 238, 255, 0.66);
  font-size: 0.9rem;
  text-decoration: none;
}

.foot-links a:hover,
.foot-links a[aria-current="page"] {
  color: #ffffff;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: rgba(234, 238, 255, 0.45);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-in {
    gap: 14px;
  }

  .brand span {
    font-size: 1.08rem;
  }

  .btn {
    padding-inline: 14px;
  }

  .legal-document {
    padding-inline: 20px;
  }

  .foot-links {
    gap: 14px 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
