/* COMOVO legal pages — a bold frame with a calm reading surface. */

.legal-page {
  --legal-paper: #f3f5ed;
  --legal-card: #ffffff;
  --legal-ink: #0a131c;
  --legal-muted: #53616c;
  --legal-line: rgba(17, 27, 39, .13);
  --legal-night: #09131c;
  --legal-green: #92ea62;
  --legal-green-dark: #287b3d;
  --legal-blue: #168bd2;
  margin: 0;
  overflow-x: clip;
  color: var(--legal-ink);
  background: var(--legal-paper);
  font-family: var(--comovo-sans, "Inter", "Segoe UI", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}

.legal-page .legacy-skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  color: white;
  background: var(--comovo-blue-dark, #126da3);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.legal-page .legal-nav {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(32px, calc((100% - 1220px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: white;
  background: rgba(9, 19, 28, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-page .legal-nav .logo,
.legal-page .legal-footer .logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: white;
  text-decoration: none;
}

.legal-page .legal-nav .logo-icon,
.legal-page .legal-footer .logo-icon {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 10px;
}

.legal-page .legal-nav .logo-text,
.legal-page .legal-footer .logo-text {
  width: auto;
  height: 19px;
  display: block;
  filter: brightness(0) invert(1);
}

.legal-page .legal-nav .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.legal-page .legal-nav .nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d7e0e6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-page .legal-nav .nav-links a:hover {
  color: var(--legal-green);
}

.legal-page .legacy-language-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.legal-page .legacy-language-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}

.legal-page .legal-nav .cta-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--legal-ink);
  background: var(--legal-green);
  box-shadow: 0 12px 28px rgba(146, 234, 98, .18);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}

.legal-page .legal-nav .cta-button:hover {
  transform: translateY(-2px);
}

.legal-page .page-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.legal-page .legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 630px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px max(32px, calc((100% - 1220px) / 2)) 112px;
  color: white;
  background:
    radial-gradient(circle at 80% 24%, rgba(22, 139, 210, .3), transparent 28%),
    radial-gradient(circle at 12% 96%, rgba(146, 234, 98, .16), transparent 30%),
    var(--legal-night);
}

.legal-page .legal-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 88%);
  mask-image: linear-gradient(90deg, black, transparent 88%);
}

.legal-page .legal-hero::after {
  content: attr(data-label);
  position: absolute;
  z-index: -1;
  right: -.02em;
  bottom: -.12em;
  color: transparent;
  font: 400 clamp(150px, 20vw, 300px)/.75 var(--comovo-display, Impact, sans-serif);
  letter-spacing: .01em;
  opacity: .12;
  -webkit-text-stroke: 1px white;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-page .legal-kicker {
  color: var(--legal-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-page .legal-hero h1 {
  max-width: 11ch;
  margin: 24px 0 0;
  color: white;
  font-family: var(--comovo-display, Impact, sans-serif);
  font-size: clamp(82px, 9vw, 132px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .82;
  text-transform: uppercase;
}

.legal-page .legal-hero .last-updated {
  margin: 34px 0 0;
  color: #aebcc6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-page .legal-document {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 64px));
  margin: -58px auto 130px;
  padding: clamp(44px, 7vw, 78px);
  border: 1px solid var(--legal-line);
  border-radius: 34px;
  background: var(--legal-card);
  box-shadow: 0 32px 90px rgba(9, 19, 28, .13);
}

.legal-page .legal-document > :first-child {
  margin-top: 0;
}

.legal-page .legal-document h2 {
  max-width: 22ch;
  margin: 70px 0 20px;
  padding-top: 26px;
  border-top: 1px solid var(--legal-line);
  color: var(--legal-ink);
  font-family: var(--comovo-display, Impact, sans-serif);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .95;
  text-transform: uppercase;
}

.legal-page .legal-document h3 {
  margin: 34px 0 12px;
  color: var(--legal-ink);
  font-size: 18px;
  line-height: 1.3;
}

.legal-page .legal-document p,
.legal-page .legal-document li {
  color: var(--legal-muted);
  font-size: 15px;
  line-height: 1.82;
}

.legal-page .legal-document p {
  margin: 0 0 18px;
}

.legal-page .legal-document ul,
.legal-page .legal-document ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-page .legal-document li {
  margin-bottom: 8px;
  padding-left: 6px;
}

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

.legal-page .legal-document a {
  color: var(--legal-green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.legal-page .policy-note {
  position: relative;
  overflow: hidden;
  margin: 0 0 46px;
  padding: 26px 28px 26px 70px;
  border: 0;
  border-radius: 22px;
  color: #d7e0e6;
  background: var(--legal-night);
  font-size: 13px;
  line-height: 1.72;
}

.legal-page .policy-note::before {
  content: "i";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--legal-ink);
  background: var(--legal-green);
  font: 800 13px/1 var(--comovo-sans, sans-serif);
}

.legal-page .policy-note a {
  color: var(--legal-green);
}

.legal-page .data-table {
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 30px 0 34px;
  border: 1px solid var(--legal-line);
  border-radius: 20px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--legal-paper);
  font-size: 13px;
  -webkit-overflow-scrolling: touch;
}

.legal-page .data-table thead,
.legal-page .data-table tbody {
  display: table;
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
}

.legal-page .data-table th,
.legal-page .data-table td {
  padding: 17px 18px;
  border-right: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
  color: var(--legal-muted);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.legal-page .data-table th {
  color: white;
  background: var(--legal-night);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-page .data-table tr:last-child td {
  border-bottom: 0;
}

.legal-page .data-table th:last-child,
.legal-page .data-table td:last-child {
  border-right: 0;
}

.legal-page .legal-footer {
  padding: 76px max(32px, calc((100% - 1220px) / 2)) 30px;
  border-top: 0;
  color: #d8e2e9;
  background: var(--legal-night);
}

.legal-page .legal-footer .footer-content {
  max-width: none;
  display: grid;
  grid-template-columns: 1.3fr .7fr .9fr;
  gap: clamp(36px, 7vw, 90px);
  margin: 0 0 54px;
}

.legal-page .legal-footer .footer-brand .logo {
  margin: 0 0 14px;
}

.legal-page .legal-footer .footer-brand p {
  max-width: 42ch;
  margin: 0;
  color: #93a4af;
  font-size: 11px;
  line-height: 1.7;
}

.legal-page .legal-footer .footer-column h2,
.legal-page .legal-footer .footer-column h4 {
  margin: 0 0 18px;
  color: var(--legal-green);
  font-family: var(--comovo-sans, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-page .legal-footer .footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-page .legal-footer .footer-column li {
  margin: 0;
}

.legal-page .legal-footer .footer-column a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #d5e0e6;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.legal-page .legal-footer .footer-column a:hover {
  color: var(--legal-green);
}

.legal-page .legal-footer .footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #81929d;
  text-align: left;
}

.legal-page .legal-footer .footer-bottom p {
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
}

.legal-page .legal-footer .footer-bottom .rincon-link {
  color: var(--legal-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

@media (max-width: 900px) {
  .legal-page .legal-nav {
    padding-inline: 24px;
  }

  .legal-page .legal-nav .nav-links {
    display: none;
  }

  .legal-page .legacy-language-links {
    margin-left: auto;
  }

  .legal-page .legal-nav > .legacy-language-link {
    margin-left: auto;
  }

  .legal-page .legal-hero {
    padding-inline: 32px;
  }

  .legal-page .legal-footer {
    padding-inline: 32px;
  }

  .legal-page .legal-footer .footer-content {
    grid-template-columns: 1.15fr .85fr;
  }

  .legal-page .legal-footer .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .legal-page .legal-nav {
    height: 68px;
    gap: 10px;
    padding-inline: 14px;
  }

  .legal-page .legal-nav .logo-icon {
    width: 34px;
    height: 34px;
  }

  .legal-page .legal-nav .logo-text {
    height: 17px;
  }

  .legal-page .legal-nav .cta-button {
    display: none;
  }

  .legal-page .legal-hero {
    min-height: 530px;
    padding: 120px 18px 76px;
  }

  .legal-page .legal-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(58px, 17vw, 84px);
  }

  .legal-page .legal-hero::after {
    right: -.04em;
    font-size: 34vw;
  }

  .legal-page .legal-document {
    width: calc(100% - 28px);
    margin: -30px auto 80px;
    padding: 38px 22px;
    border-radius: 25px;
  }

  .legal-page .legal-document h2 {
    margin-top: 54px;
    font-size: clamp(36px, 12vw, 48px);
  }

  .legal-page .legal-document p,
  .legal-page .legal-document li {
    font-size: 14px;
    line-height: 1.75;
  }

  .legal-page .policy-note {
    padding: 62px 20px 22px;
  }

  .legal-page .policy-note::before {
    top: 20px;
    left: 20px;
  }

  .legal-page .data-table {
    width: calc(100% + 12px);
    margin-left: -6px;
  }

  .legal-page .legal-footer {
    padding: 64px 20px 26px;
  }

  .legal-page .legal-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .legal-page .legal-footer .footer-column:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page *,
  .legal-page *::before,
  .legal-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
