:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --border: #d9e2ee;
  --border-strong: #bdc9d9;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-soft: #e8f6f4;
  --table-head: #eef6f8;
  --shadow: rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-main,
.site-footer {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand__name {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.brand__meta {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}

.language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
}

.site-main {
  padding-top: 34px;
  padding-bottom: 52px;
}

.legal-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  padding: 34px;
  box-shadow: 0 18px 44px var(--shadow);
}

.hero {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.3;
  margin: 0 0 14px;
}

h1 {
  font-size: 30px;
}

h2 {
  margin-top: 34px;
  padding-top: 4px;
  font-size: 22px;
}

p {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.lead {
  color: #2f3b4a;
  font-size: 17px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 18px 0 26px;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: var(--table-head);
  color: #253142;
  font-weight: 700;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 8px;
}

.link-card {
  display: grid;
  gap: 8px;
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: #fbfdff;
  color: var(--text);
}

.link-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.link-card strong {
  color: var(--accent);
  font-size: 18px;
}

.link-card span {
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}

.meta-list.compact {
  margin-top: 18px;
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 30px;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-header__inner,
  .site-main,
  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

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

  .legal-card {
    padding: 22px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .lead {
    font-size: 16px;
  }

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

  .link-card {
    min-height: auto;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  table {
    display: table;
    max-width: 100%;
    overflow-x: visible;
    white-space: normal;
  }

  th,
  td {
    min-width: 0;
    word-break: break-word;
  }
}
