:root {
  --brand: #2d7ff9;
  --brand-600: #1f6ae0;
  --brand-700: #1a56c4;
  --navy: #0d1b2e;
  --ink: #0d1b2e;
  --muted: #5c6b82;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --line: #e7eef8;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 46, .06);
  --shadow: 0 20px 55px -28px rgba(20, 60, 120, .42);
  --maxw: 920px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg-soft);
  font-family: var(--font);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 238, 248, .92);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
}
.header-inner {
  width: min(100% - 40px, 1160px);
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand b { color: var(--brand); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; }
.back-link svg { width: 17px; height: 17px; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -290px;
  right: -100px;
  border-radius: 50%;
  background: #cfe2ff;
  filter: blur(70px);
  opacity: .7;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
  padding: 70px 0 62px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-600);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
h1 {
  max-width: 760px;
  margin: 14px 0 13px;
  font-size: clamp(2.25rem, 5.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.intro { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 7px 12px;
  border: 1px solid #d8e7ff;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--brand-700);
  font-size: .8rem;
  font-weight: 700;
}
.updated svg { width: 15px; height: 15px; }

.layout {
  width: min(100% - 40px, 1160px);
  margin: 44px auto 70px;
  display: grid;
  grid-template-columns: 230px minmax(0, var(--maxw));
  align-items: start;
  gap: 34px;
}
.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.toc strong { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: .86rem; font-weight: 600; line-height: 1.4; }
.toc a:hover { color: var(--brand-700); text-decoration: none; }

.policy {
  min-width: 0;
  padding: 42px clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.notice {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid #d8e7ff;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: #f6f9ff;
  color: #30415b;
  font-size: .94rem;
}
.policy section { scroll-margin-top: 98px; }
.policy section + section { margin-top: 38px; padding-top: 36px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 14px; font-size: 1.38rem; line-height: 1.3; letter-spacing: -.015em; }
h3 { margin: 23px 0 7px; font-size: 1rem; line-height: 1.45; }
p { margin: 10px 0; }
.policy p, .policy li { color: #40516a; }
.policy ul { margin: 12px 0; padding-left: 22px; }
.policy li { margin: 8px 0; padding-left: 3px; }
.policy strong { color: var(--ink); }
.contact-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), #163967);
  color: rgba(255, 255, 255, .78);
}
.contact-card strong { color: var(--white); }
.contact-card a { color: var(--white); font-weight: 800; }

.site-footer { padding: 32px 20px; background: var(--navy); color: rgba(255,255,255,.62); text-align: center; font-size: .86rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.82); font-weight: 600; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc strong { margin-bottom: 8px; }
  .toc a { display: inline-block; margin-right: 16px; }
}
@media (max-width: 560px) {
  .header-inner, .hero-inner, .layout { width: min(100% - 28px, 1160px); }
  .back-link span { display: none; }
  .hero-inner { padding: 50px 0 46px; }
  .layout { margin-top: 28px; margin-bottom: 44px; gap: 20px; }
  .policy { padding: 30px 20px; border-radius: 18px; }
  .policy section + section { margin-top: 30px; padding-top: 28px; }
}

@media print {
  .site-header, .toc, .site-footer { display: none; }
  body { background: #fff; }
  .hero { border: 0; }
  .hero-inner { padding: 20px 0; }
  .layout { display: block; width: 100%; margin: 0; }
  .policy { padding: 0; border: 0; box-shadow: none; }
}
