:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d667a;
  --border: #dfe5ef;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34rem),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

a:hover {
  text-decoration: underline;
}

.page-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 48px 0;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.policy-header {
  padding: 44px 48px 28px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.02)),
    #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.meta-item {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.meta-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-weight: 600;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.92rem;
}

.language-switcher a.active {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.policy-content {
  padding: 38px 48px 48px;
}

.notice {
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #1d3f83;
}

h2 {
  margin: 36px 0 12px;
  padding-top: 6px;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  margin: 26px 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 8px 0 18px;
  padding-left: 1.35rem;
}

li {
  margin: 5px 0;
}

strong {
  font-weight: 700;
}

.footer-note {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, var(--max-width));
    padding: 20px 0;
  }

  .policy-header,
  .policy-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .policy-header {
    padding-top: 30px;
  }

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

@media print {
  body {
    background: #ffffff;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .policy-card {
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .language-switcher {
    display: none;
  }
}
