:root {
  color-scheme: light;
  --bg: #f4f6fa;
  --card: #fff;
  --text: #172033;
  --body: #364153;
  --muted: #5b6678;
  --line: #e3e9f2;
  --accent: #315fbd;
  --accent-soft: #edf3ff;
  --notice: #f5f8fd;
  --positive: #23613e;
  --positive-bg: #eef8f2;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 50% -80px, rgba(49, 95, 189, .12), transparent 60%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(49, 95, 189, .34);
  outline-offset: 3px;
}

.skipLink {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 14px;
  color: #fff;
  background: var(--text);
  border-radius: 9px;
  text-decoration: none;
  transform: translateY(-160%);
}

.skipLink:focus { transform: translateY(0); }

.privacyInner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px calc(56px + env(safe-area-inset-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.languageSwitch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #d9e1ed;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(28, 36, 48, .05);
}

.languageSwitch button {
  min-width: 76px;
  min-height: 44px;
  padding: 8px 12px;
  color: #4e5a6d;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.languageSwitch button[aria-pressed="true"] {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(49, 95, 189, .22);
}

.hero { margin-bottom: 20px; }

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.16;
}

.lead {
  max-width: 680px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 7px 11px;
  color: #687489;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.meta time {
  color: var(--text);
  font-weight: 650;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.summaryItem {
  padding: 14px;
  color: var(--positive);
  background: var(--positive-bg);
  border: 1px solid #dbe9df;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.card {
  margin-bottom: 14px;
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(28, 36, 48, .05);
}

.cardHead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cardHead h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.index {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.card p {
  margin: 0 0 12px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.78;
}

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

.card h3 {
  margin: 18px 0 7px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.5;
}

.card h3:first-of-type { margin-top: 4px; }

.card ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding: 8px 0 8px 19px;
  color: var(--body);
  border-bottom: 1px solid #eef2f7;
  font-size: 15px;
  line-height: 1.72;
}

.card li:last-child { border-bottom: 0; }

.card li::before {
  position: absolute;
  top: 18px;
  left: 1px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.note {
  margin-top: 10px !important;
  padding: 13px 15px;
  color: #425069 !important;
  background: var(--notice);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  font-size: 14px !important;
}

.contactList {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.contactRow {
  display: grid;
  grid-template-columns: minmax(88px, 128px) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 15px;
  line-height: 1.6;
}

.contactRow:last-child { border-bottom: 0; }
.contactLabel { color: #687489; font-weight: 650; }
.contactValue { min-width: 0; color: var(--body); overflow-wrap: anywhere; }

.mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 15px;
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.languagePanel + .languagePanel {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 2px dashed #d8e0ec;
}

.js .languagePanel[hidden] { display: none; }

.foot {
  margin-top: 22px;
  color: #647084;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 640px) {
  .privacyInner { padding: 22px 15px calc(40px + env(safe-area-inset-bottom)); }
  .topbar { align-items: flex-start; }
  .languageSwitch button { min-width: 66px; padding-right: 9px; padding-left: 9px; }
  .summary { grid-template-columns: 1fr; }
  .summaryItem { text-align: left; }
  .card { padding: 19px 16px 17px; }
  .contactRow { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  body { background: #fff; }
  .privacyInner { max-width: none; padding: 0; }
  .languageSwitch, .skipLink { display: none; }
  .languagePanel[hidden] { display: block; }
  .card { break-inside: avoid; box-shadow: none; }
}
