:root {
  color-scheme: dark;
  --bg: #050a0d;
  --surface: #0b1318;
  --surface-2: #101a20;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8fa;
  --muted: #aab4bd;
  --quiet: #7f8c95;
  --blue: #49a8ff;
  --purple: #ae73ff;
  --green: #62de87;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(123, 67, 226, 0.15), transparent 28rem),
    radial-gradient(circle at 14% 18%, rgba(33, 143, 255, 0.1), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #79bdff;
  text-underline-offset: 3px;
}

a:hover {
  color: #b6dbff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 11px 15px;
  border-radius: 10px;
  background: #fff;
  color: #050a0d;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.legal-header {
  width: min(92%, 1180px);
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-header img {
  width: 142px;
  height: auto;
  display: block;
}

.legal-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-header nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.legal-header nav a:hover,
.legal-header nav a[aria-current="page"] {
  color: #fff;
}

.legal-shell {
  width: min(92%, 1180px);
  margin: 0 auto;
}

.legal-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(42px, 7vw, 82px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--quiet);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3.15rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.legal-hero h1 span {
  background: linear-gradient(100deg, var(--blue), var(--purple));
  background-clip: text;
  color: transparent;
}

.legal-hero .lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.updated {
  margin: 20px 0 0;
  color: var(--quiet);
  font-size: 0.84rem;
}

.notice {
  margin: 0 0 38px;
  padding: 20px 22px;
  border: 1px solid rgba(73, 168, 255, 0.28);
  border-radius: 16px;
  background: rgba(73, 168, 255, 0.07);
  color: #ccdfef;
  line-height: 1.6;
}

.notice strong {
  color: #fff;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
  padding-bottom: 96px;
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 36px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.legal-content p,
.legal-content li,
.legal-content dd,
.legal-content dt {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content strong,
.legal-content dt {
  color: var(--text);
}

.legal-content ul,
.legal-content ol {
  margin: 13px 0 20px;
  padding-left: 1.35rem;
}

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

.legal-content dl {
  margin: 18px 0;
}

.legal-content dt {
  margin-top: 16px;
  font-weight: 780;
}

.legal-content dd {
  margin: 2px 0 0;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 20, 25, 0.86);
  backdrop-filter: blur(16px);
}

.toc strong {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.toc li + li {
  margin-top: 10px;
}

.toc a {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
}

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

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 96px;
}

.policy-card {
  min-height: 240px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(155, 77, 255, 0.12), transparent 45%),
    var(--surface);
  text-decoration: none;
}

.policy-card small {
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card h2 {
  margin: 17px 0 11px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.policy-card span {
  margin-top: auto;
  padding-top: 24px;
  color: #91caff;
  font-weight: 760;
}

.policy-card:hover {
  border-color: rgba(73, 168, 255, 0.5);
  transform: translateY(-2px);
}

.data-table {
  width: 100%;
  margin: 18px 0 26px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.data-table th {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.data-table td {
  color: var(--muted);
}

.contact-panel {
  padding: 26px;
  border: 1px solid rgba(98, 222, 135, 0.28);
  border-radius: 18px;
  background: rgba(98, 222, 135, 0.06);
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  width: min(92%, 1180px);
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.legal-footer p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.55;
}

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

.legal-footer a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

@media (max-width: 820px) {
  .legal-header {
    padding: 20px 0;
    align-items: flex-start;
  }

  .legal-header nav {
    gap: 10px 14px;
  }

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

  .toc {
    position: static;
    grid-row: 1;
  }

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

  .legal-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .legal-header {
    min-height: 78px;
    align-items: center;
  }

  .legal-header img {
    width: 112px;
  }

  .legal-header nav a:not(:last-child) {
    display: none;
  }

  .legal-hero {
    padding-top: 54px;
  }

  .legal-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .policy-card {
    min-height: 220px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal-header nav,
  .toc,
  .legal-footer nav,
  .skip-link {
    display: none;
  }

  .legal-layout {
    display: block;
  }

  .legal-content p,
  .legal-content li,
  .legal-content dd,
  .legal-content dt,
  .legal-hero .lede,
  .updated,
  .legal-footer p {
    color: #222;
  }

  .legal-content section {
    break-inside: avoid;
    border-color: #bbb;
  }
}
