@font-face{font-family:Inter;src:url('/assets/fonts/inter-latin-400-800.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/manrope-latin-500-800.woff2') format('woff2');font-weight:500 800;font-display:swap}
:root{--ink:#0a1008;--pearl:#f7f9f4;--line:#dce1d8;--blue:#496b1a;--shadow-small:0 2px 10px #15210b05}*{box-sizing:border-box}a{color:inherit}img{max-width:100%}:focus-visible{outline:3px solid #668f19;outline-offset:3px}
.legal-body {
  margin: 0;
  color: var(--ink);
  background: var(--pearl);
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.legal-header {
  width: min(1080px, calc(100vw - 40px));
  min-height: 64px;
  margin: 22px auto 0;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-small);
}

.legal-header nav {
  display: flex;
  gap: 20px;
}

.legal-header nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Keep the legal header lockup isolated from the homepage brand overrides. */
.legal-header > .brand {
  width: 154px !important;
  min-width: 154px;
  height: 48px;
  min-height: 48px;
  display: inline-flex;
  overflow: hidden;
}

.legal-header > .brand img {
  width: 154px !important;
  height: 48px !important;
  max-width: none !important;
  object-fit: contain;
}

.legal-page {
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 110px 0 140px;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: 0;
}

.legal-page h1 {
  max-width: 820px;
  margin: 0;
  font-size: 88px;
  line-height: 0.92;
}

.legal-page h2 {
  margin: 62px 0 14px;
  font-size: 30px;
}

.legal-page h3 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  color: #4e5966;
  overflow-wrap: anywhere;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page a:not(.brand) {
  text-underline-offset: 3px;
}

.legal-status {
  margin: 0 0 22px;
  color: var(--blue) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-lead {
  margin: 32px 0 0;
  font-size: 22px;
  line-height: 1.55;
}

.legal-page aside {
  margin: 38px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: white;
}

.legal-page aside strong {
  color: var(--ink);
}

.legal-todo {
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed rgba(22, 115, 230, 0.42);
  border-radius: 16px;
  background: #edf6ff;
}

.legal-todo p {
  margin: 6px 0;
}

.legal-footer {
  padding: 30px max(20px, calc((100vw - 1080px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #aeb6c1;
  background: #090c11;
  font-size: 13px;
}

.legal-footer > div {
  display: grid;
  gap: 4px;
}

.legal-footer strong {
  color: #f7f9f4;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.legal-footer span {
  color: #89919b;
  font-size: 12px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #c7ff3d;
}

@media (max-width: 700px) {
  .legal-header nav {
    display: none;
  }

  .legal-page {
    padding-top: 40px;
    padding-inline: 20px;
  }

  .legal-page h1 {
    font-size: clamp(32px, 9vw, 46px);
    overflow-wrap: anywhere;
  }

  .legal-lead {
    font-size: 18px;
  }

  .legal-page h2 {
    font-size: 26px;
  }

  .legal-footer {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .legal-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .legal-body { font-size: 16px; }
  .legal-header { padding-inline: 20px; }
  .legal-footer { padding-inline: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .legal-footer nav a { min-height: 44px; display: inline-flex; align-items: center; line-height: 1.5; }
}
