@font-face {
  font-family: "OFR Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: "OFR Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: #f7f9fc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: #f7f9fc;
  letter-spacing: 0;
  font-family: inherit;
  font-synthesis: none;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  padding: 0 24px;
  backdrop-filter: blur(18px);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.legal-brand img {
  display: block;
  width: 122px;
  height: 32px;
}

.legal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.legal-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.legal-header nav a {
  color: #5b6474;
  font-size: 13px;
  text-decoration: none;
}

.legal-header nav a[aria-current="page"] { color: #1559b7; font-weight: 800; }

.legal-language-toggle {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.legal-language-toggle:hover {
  border-color: rgba(21, 89, 183, 0.32);
  background: #f7f9fc;
  color: #1559b7;
}

.legal-header a:focus-visible,
.legal-language-toggle:focus-visible,
.legal-main a:focus-visible {
  outline: 3px solid rgba(21, 89, 183, 0.2);
  outline-offset: 3px;
}

.legal-main {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-main > header {
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  padding-bottom: 26px;
}

.legal-main h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-main header p,
.legal-main header small { color: #657084; line-height: 1.65; }

.legal-main article { padding-top: 18px; }

.legal-main section {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  padding: 20px 0;
}

.legal-main h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: 0; }
.legal-main p, .legal-main li { color: #465064; font-size: 14px; line-height: 1.75; }
.legal-main ul { margin: 8px 0 0; padding-left: 22px; }
.legal-main a { color: #1559b7; }

.legal-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  color: #6b7280;
  padding: 22px 16px;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 640px) {
  .legal-header { align-items: flex-start; flex-direction: column; padding: 12px 16px; }
  .legal-brand img { width: 114px; height: 30px; }
  .legal-header-actions { justify-content: space-between; width: 100%; gap: 10px; }
  .legal-header nav { flex: 1 1 auto; gap: 8px 12px; }
  .legal-main { padding-top: 34px; }
  .legal-main h1 { font-size: 30px; }
}
