
:root {
  --ink: #111933;
  --muted: #5c6476;
  --line: #dde2ec;
  --soft: #f4f6fb;
  --blue: #315ec5;
  --blue-dark: #183c8d;
  --navy: #0c1738;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand-mark {
  align-items: center;
  background: var(--navy);
  border-radius: 9px 9px 9px 3px;
  color: white;
  display: inline-flex;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.header-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-link:hover, .toc a:hover { color: var(--blue); }

.header-actions {
  align-items: center;
  display: flex;
  gap: 22px;
}

.language-switch {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 4px;
  padding: 4px;
}

.language-switch a,
.language-switch span {
  border-radius: 999px;
  padding: 6px 10px;
  text-decoration: none;
}

.language-switch a {
  color: var(--muted);
}

.language-switch a:hover {
  color: var(--blue);
}

.language-switch span {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(12, 23, 56, 0.12);
  color: var(--navy);
}

.hero {
  background:
    radial-gradient(circle at 85% 12%, rgba(86, 125, 220, 0.22), transparent 26%),
    linear-gradient(135deg, #0b1635 0%, #16295c 100%);
  color: white;
  overflow: hidden;
}
.hero-inner {
  margin: 0 auto;
  max-width: 1160px;
  padding: 92px 24px 88px;
}
.eyebrow, .toc-title, .section-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0;
}
.eyebrow { color: #a9c1ff; }
h1 {
  font-size: clamp(46px, 7vw, 76px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 20px 0 24px;
  max-width: 780px;
}
.hero-copy {
  color: #d9e1f7;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}
.updated {
  align-items: center;
  color: #bdc9e7;
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin-top: 36px;
}
.status-dot {
  background: #80e7bd;
  border: 3px solid rgba(128, 231, 189, 0.18);
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.page-layout {
  display: grid;
  gap: 88px;
  grid-template-columns: 220px minmax(0, 760px);
  margin: 0 auto;
  max-width: 1160px;
  padding: 80px 24px 112px;
}
.toc { align-self: start; position: sticky; top: 112px; }
.toc-title { color: #8a91a1; margin-bottom: 20px; }
.toc nav { display: flex; flex-direction: column; gap: 3px; }
.toc a {
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  padding: 9px 0 9px 16px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}
.toc a:hover { border-color: var(--blue); }

.policy section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 64px;
  scroll-margin-top: 110px;
}
.policy section + section { padding-top: 64px; }
.section-number { color: var(--blue); margin-bottom: 12px; }
h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 24px;
}
h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.policy p { color: var(--muted); margin: 0 0 22px; }
.policy strong { color: var(--ink); }
.policy ul { color: var(--muted); margin: 22px 0 28px; padding-left: 24px; }
.policy li { margin-bottom: 12px; padding-left: 6px; }
.policy li::marker { color: var(--blue); }
.notice {
  background: var(--soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  margin-top: 32px;
  padding: 24px 26px 3px;
}
.notice strong { display: block; margin-bottom: 6px; }

.permission-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 28px;
}
.permission-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.permission-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.permission-icon {
  align-items: center;
  background: #e9efff;
  border-radius: 8px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 18px;
  width: 32px;
}
.deletion-card {
  align-items: center;
  background: var(--navy);
  border-radius: 18px;
  color: white;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 30px 0;
  padding: 28px;
}
.deletion-card h3 { color: white; }
.deletion-card p { color: #c5cee4; font-size: 14px; line-height: 1.6; margin: 0; }
.button {
  background: white;
  border-radius: 999px;
  color: var(--navy);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}
.button:hover { background: #dfe8ff; }
.contact-section { border-bottom: 0 !important; padding-bottom: 0 !important; }
.email-link {
  color: var(--blue-dark);
  display: inline-block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.contact-note { font-size: 14px; }
footer {
  align-items: center;
  background: #f4f6fa;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 34px max(24px, calc((100vw - 1160px) / 2));
}
footer p { font-size: 13px; margin: 0; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-mark { height: 30px; width: 30px; }
:focus-visible { outline: 3px solid #7ea2ff; outline-offset: 3px; }

@media (max-width: 800px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .hero-inner { padding: 72px 20px 68px; }
  .page-layout { display: block; padding: 54px 20px 80px; }
  .toc { background: var(--soft); border-radius: 14px; margin-bottom: 54px; padding: 20px; position: static; }
  .toc-title { margin-bottom: 10px; }
  .toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc a { border-left: 0; padding: 7px 8px 7px 0; }
  .policy section { padding-bottom: 50px; }
  .policy section + section { padding-top: 50px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .header-link { display: none; }
  .header-actions { gap: 0; }
  .language-switch { font-size: 11px; }
  h1 { font-size: 44px; }
  .hero-copy { font-size: 17px; }
  .updated { align-items: flex-start; line-height: 1.5; }
  .toc nav, .permission-grid { grid-template-columns: 1fr; }
  .deletion-card { align-items: stretch; flex-direction: column; }
  .button { text-align: center; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .toc, footer { display: none; }
  .hero { background: white; color: var(--ink); }
  .hero-inner { padding: 32px 0; }
  .eyebrow, .hero-copy, .updated { color: var(--muted); }
  .page-layout { display: block; padding: 0; }
  .policy section { break-inside: avoid; }
}
