:root {
  --background: #f6f5f1;
  --surface: #fff;
  --ink: #25252b;
  --text: #55515c;
  --muted: #6d6873;
  --accent: #6758dc;
  --accent-soft: #eeecf8;
  --border: #e7e5e0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 15px/1.85 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
::selection { background: #e5defa; color: #332b59; }
a { color: #5848bd; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #46379f; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 16px; color: #fff; }
.skip-link:hover { color: #fff; }

.container { max-width: 920px; margin: 0 auto; padding: 48px 32px 64px; }
.header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}
.logo:hover { color: var(--ink); text-decoration: none; }
.logo img { width: 35px; height: 35px; padding: 5px; border-radius: 9px; background: var(--ink); flex: none; }
.logo-word span { color: var(--accent); }
.lang-switch { display: inline-flex; gap: 3px; padding: 4px; background: var(--accent-soft); border-radius: 9px; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 5px 11px;
  border-radius: 6px;
  color: #706784;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.lang-switch a.active { color: #fff; background: var(--accent); }
.lang-switch a:hover:not(.active) { color: var(--ink); background: #e5e0f5; }
.header h1 { grid-column: 1 / -1; margin: 34px 0 2px; font-size: clamp(30px, 4vw, 40px); font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.update-date { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }

main { max-width: 75ch; }
h2 { margin: 38px 0 14px; color: var(--ink); font-size: 21px; font-weight: 650; line-height: 1.45; letter-spacing: -.015em; }
h3 { margin: 26px 0 11px; font-size: 17px; font-weight: 600; }
p, li { color: var(--text); overflow-wrap: anywhere; }
p { margin: 0 0 17px; }
ul, ol { margin: 0 0 20px; padding-left: 24px; }
li { padding-left: 3px; margin-bottom: 8px; }
strong { color: var(--ink); }
.highlight-box {
  padding: 22px 24px;
  margin: 0 0 34px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.highlight-box p:last-child { margin-bottom: 0; }

.data-table {
  width: 100%;
  margin: 20px 0 26px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
}
.data-table th, .data-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.data-table th { color: #544a71; background: var(--accent-soft); font-weight: 650; }
.data-table td { color: var(--text); }
.data-table tr:last-child td { border-bottom: 0; }

.footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.copyright { margin: 15px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 640px) {
  .container { padding: 20px 18px 42px; }
  .header { padding-bottom: 23px; margin-bottom: 25px; }
  .logo { font-size: 21px; }
  .logo img { width: 32px; height: 32px; }
  .lang-switch a { min-height: 40px; }
  .header h1 { margin-top: 25px; font-size: 30px; }
  body { font-size: 16px; line-height: 1.75; }
  h2 { margin-top: 32px; font-size: 20px; }
  .highlight-box { padding: 19px; margin-bottom: 29px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; }
  .data-table { font-size: 15px; }
  .data-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .data-table tr { padding: 18px; border-bottom: 1px solid var(--border); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { padding: 0; border: 0; }
  .data-table td:first-child { color: var(--ink); font-weight: 650; }
  .data-table td + td { margin-top: 13px; }
  .data-table td + td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #5a4cb8; font-size: 12px; font-weight: 650; line-height: 1.5; }
  .footer-links { gap: 4px 16px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Every legal document has a visible, keyboard-accessible language link. */
.header{grid-template-columns:auto minmax(0,1fr);align-items:start}
.header>div{min-width:0}
.lang-switch{display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:100%;gap:3px}
.lang-switch a{flex:none;white-space:nowrap}
@media(max-width:640px){.header{grid-template-columns:minmax(0,1fr);row-gap:14px}.lang-switch{justify-content:flex-start}.lang-switch a{padding-inline:10px}.header h1{margin-top:10px}}
@media(min-width:641px){.data-table th:first-child,.data-table td:first-child{width:22%;min-width:132px}}
