@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0c0c0c;
  color: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #0c0c0c;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.privacy-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.legal-background-video {
  position: fixed;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.legal-background-overlay {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 210, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.4), rgba(5, 7, 10, 0.72));
  pointer-events: none;
}

.masthead {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1152px, calc(100% - 48px));
  min-height: 80px;
  margin: 0 auto;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
}

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

.brand-mark {
  display: contents;
}

.brand img,
.brand-mark img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.document-tag {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(14px);
}

.document-tag {
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
}

main {
  position: relative;
  z-index: 1;
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 76px);
  margin-top: 28px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 6%, rgba(0, 210, 255, 0.15), transparent 36%),
    rgba(12, 14, 18, 0.58);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #a4f4fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(46px, 7.4vw, 88px);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.75;
}

.metadata {
  align-self: stretch;
  margin: 0;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.metadata div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metadata div:last-child {
  border-bottom: 0;
}

.metadata dt {
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metadata dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.5;
}

.metadata a {
  color: #a4f4fd;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0 80px;
}

.index {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(12, 14, 18, 0.52);
  backdrop-filter: blur(14px);
}

.index > p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.index li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.index a {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 7px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
}

.index a:hover {
  color: #fff;
}

.index a span {
  color: rgba(164, 244, 253, 0.6);
  font-size: 9px;
}

.policy {
  min-width: 0;
}

.notice {
  margin-bottom: 12px;
  padding: 20px 22px;
  border: 1px solid rgba(164, 244, 253, 0.18);
  border-radius: 20px;
  background: rgba(164, 244, 253, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  color: #a4f4fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.75;
}

.policy-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(12, 14, 18, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  scroll-margin-top: 20px;
  backdrop-filter: blur(12px);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.policy-section:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(18, 21, 27, 0.58);
}

.section-number {
  color: rgba(164, 244, 253, 0.72);
  font-size: 10px;
  font-weight: 700;
}

h2 {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: clamp(21px, 2.8vw, 31px);
  font-weight: 580;
  letter-spacing: -0.035em;
}

.policy-section p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.85;
}

.policy-section p:last-of-type {
  margin-bottom: 0;
}

.policy-links,
.contact-link,
.privacy-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.policy-links a,
.contact-link,
.privacy-link {
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #a4f4fd;
  font-size: 10px;
  font-weight: 650;
  text-decoration: none;
}

.policy-links a:hover,
.contact-link:hover,
.privacy-link:hover {
  border-color: rgba(164, 244, 253, 0.3);
  background: rgba(164, 244, 253, 0.1);
}

.privacy-footer,
.legal-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1152px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto 24px;
  padding: 18px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(12, 14, 18, 0.52);
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  backdrop-filter: blur(14px);
}

.privacy-footer p {
  margin: 0;
}

.privacy-footer a,
.legal-footer a {
  color: rgba(164, 244, 253, 0.72);
  text-decoration: none;
}

[data-language] {
  display: none;
}

html[data-locale='zh'] [data-language='zh'],
html[data-locale='en'] [data-language='en'] {
  display: block;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .index {
    position: static;
  }

  .index ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
}

@media (max-width: 560px) {
  .masthead,
  main,
  .privacy-footer,
  .legal-footer {
    width: calc(100% - 28px);
  }

  .masthead {
    min-height: 70px;
  }

  .document-tag {
    display: none;
  }

  .hero {
    margin-top: 12px;
    padding: 24px 18px;
    border-radius: 23px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .metadata {
    padding: 4px 14px;
  }

  .metadata div {
    grid-template-columns: 88px 1fr;
    gap: 8px;
  }

  .policy-layout {
    padding: 14px 0 50px;
  }

  .index {
    padding: 16px;
    border-radius: 18px;
  }

  .index ol {
    grid-template-columns: 1fr;
  }

  .policy-section {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .privacy-footer,
  .legal-footer {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
    gap: 9px;
    padding: 16px;
  }
}
