:root {
  --bg: #05070a;
  --surface: #0c1118;
  --surface-strong: #111923;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.17);
  --text: #f4f7fa;
  --muted: #a8b2bf;
  --dim: #788492;
  --accent: #42e8c9;
  --accent-blue: #63a4ff;
  --max-width: 1180px;
  --reading-width: 820px;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% -5%, rgba(66, 232, 201, 0.13), transparent 34rem),
    radial-gradient(circle at 92% 10%, rgba(99, 164, 255, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

a:hover {
  color: #8ff5e3;
}

a:focus-visible,
.data-table-wrap:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.policy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(5, 7, 10, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.back-link {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
}

.policy-hero {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 58px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 780px;
  margin-bottom: 30px;
  color: #d8e0e8;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.65;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-meta span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading-width));
  gap: 54px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 104px;
  justify-content: center;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(12, 17, 24, 0.74);
}

.policy-nav > p {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-nav ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-nav;
}

.policy-nav li {
  counter-increment: policy-nav;
}

.policy-nav a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.policy-nav a::before {
  content: counter(policy-nav, decimal-leading-zero);
  color: var(--dim);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 2;
}

.policy-nav a:hover {
  color: var(--accent);
}

.policy-card {
  min-width: 0;
}

.notice {
  margin-bottom: 30px;
  padding: 22px 24px;
  border: 1px solid rgba(66, 232, 201, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: rgba(66, 232, 201, 0.06);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
}

.notice p {
  margin-bottom: 0;
  color: #d5e2e0;
}

.policy-card > section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.policy-card > section:first-of-type {
  border-top: 0;
}

.policy-card h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.policy-card h2 span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.policy-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.policy-card p,
.policy-card li,
.policy-card td,
.policy-card th {
  color: var(--muted);
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-left: 24px;
}

.policy-card li::marker {
  color: var(--accent);
}

.policy-card strong {
  color: var(--text);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 26px 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
}

thead th {
  background: var(--surface-strong);
  color: var(--text) !important;
  font-size: 12px;
  letter-spacing: 0.06em;
}

tbody th {
  width: 136px;
  color: #e3eaf0 !important;
  font-weight: 700;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.fineprint {
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--dim) !important;
  font-size: 13px;
}

.third-party-grid {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.third-party-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.third-party-grid article p {
  margin-bottom: 12px;
  font-size: 14px;
}

.third-party-grid article a {
  font-size: 14px;
  font-weight: 700;
}

.request-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 26px 0;
  padding: 24px;
  border: 1px solid rgba(99, 164, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 164, 255, 0.09), rgba(66, 232, 201, 0.045));
}

.request-card h3 {
  margin-bottom: 6px;
}

.request-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  box-shadow: 0 10px 32px rgba(66, 232, 201, 0.16);
  color: #03100d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  color: #03100d;
  transform: translateY(-1px);
}

address {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-style: normal;
}

.policy-footer {
  position: relative;
  z-index: 1;
  padding: 46px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--border);
  background: #030508;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner strong {
  font-size: 19px;
}

.footer-inner p,
.copyright {
  margin: 7px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 920px) {
  .policy-layout {
    grid-template-columns: minmax(0, var(--reading-width));
  }

  .policy-nav {
    position: static;
  }

  .policy-nav ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 15px;
  }

  .policy-header {
    min-height: 60px;
    padding: 10px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .policy-hero,
  .policy-layout {
    width: min(100% - 32px, var(--max-width));
  }

  .policy-hero {
    padding: 56px 0 42px;
  }

  .policy-layout {
    gap: 28px;
    padding: 36px 0 72px;
  }

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

  .policy-card > section {
    padding: 36px 0;
  }

  .policy-card h2 {
    align-items: flex-start;
    gap: 9px;
  }

  th,
  td {
    padding: 15px;
  }

  .request-card {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --surface-strong: #f2f4f6;
    --border: #d7dbe0;
    --text: #111;
    --muted: #333;
    --dim: #555;
    --accent: #087a68;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  .policy-header,
  .policy-nav,
  .policy-footer,
  .button,
  .skip-link {
    display: none;
  }

  .policy-hero,
  .policy-layout {
    width: 100%;
  }

  .policy-hero {
    padding: 24px 0;
  }

  .policy-layout {
    display: block;
    padding: 20px 0;
  }

  .policy-card > section {
    break-inside: avoid;
  }

  .data-table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
  }

  a {
    color: #111;
  }
}
