:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --violet: #7c3aed;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --success: #047857;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 2%, rgba(37, 99, 235, 0.11), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(124, 58, 237, 0.09), transparent 24rem),
    var(--surface-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--violet);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-name {
  background: linear-gradient(115deg, var(--brand-dark), var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.nav-links .home-link {
  margin-left: 4px;
  color: #fff;
  background: var(--ink);
}

.nav-links .home-link:hover {
  color: #fff;
  background: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 70px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: -1;
  width: min(860px, 90vw);
  height: 320px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--brand-dark);
  background: rgba(239, 246, 255, 0.88);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.11);
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-summary {
  max-width: 720px;
  margin: 0 auto;
  color: #475569;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.document-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.document-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
}

.summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 850px;
  margin: 0 auto 58px;
  padding: 24px 26px;
  background: linear-gradient(135deg, #0f172a, #172554 72%, #312e81);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: #cbd5e1;
}

.summary-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  font-size: 1.25rem;
  font-weight: 800;
}

.summary-card h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.summary-card p {
  margin: 0;
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  padding-bottom: 90px;
}

.contents {
  position: sticky;
  top: 98px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
}

.contents-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contents ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents li + li {
  margin-top: 2px;
}

.contents a {
  display: block;
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.contents a:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.legal-document {
  min-width: 0;
  padding: 12px clamp(26px, 5vw, 64px) 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.policy-section {
  position: relative;
  padding-top: 48px;
  scroll-margin-top: 88px;
}

.policy-section + .policy-section {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.section-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  place-items: center;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #dbeafe;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 850;
}

.policy-section h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.policy-section h3 {
  margin: 28px 0 8px;
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.4;
}

.policy-section p {
  margin: 0 0 15px;
}

.policy-section ul,
.policy-section ol {
  margin: 15px 0 20px;
  padding-left: 23px;
}

.policy-section li {
  padding-left: 5px;
}

.policy-section li + li {
  margin-top: 10px;
}

.policy-section li::marker {
  color: var(--brand);
}

.plain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.plain-card {
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.plain-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.98rem;
}

.plain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  color: #1e3a5f;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
}

.notice strong {
  color: #172554;
}

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

.contact-card {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 27px;
  color: #dbeafe;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  border-radius: 20px;
}

.contact-card::after {
  content: "@";
  position: absolute;
  right: 18px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
}

.contact-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.16rem;
}

.contact-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
}

.contact-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 10px 15px;
  color: #1e3a8a;
  background: #fff;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  color: #312e81;
  background: #f8fafc;
}

.back-to-top {
  display: inline-flex;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-shell p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contents {
    position: static;
  }

  .contents ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(100% - 24px, 1180px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-name,
  .nav-links > a:not([aria-current="page"]):not(.home-link) {
    display: none;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 58px 0 48px;
  }

  .summary-card {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    padding: 21px;
    border-radius: 21px;
  }

  .summary-icon {
    width: 42px;
    height: 42px;
  }

  .contents ol,
  .plain-grid {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 4px 21px 44px;
    border-radius: 20px;
  }

  .policy-section {
    padding-top: 38px;
  }

  .policy-section + .policy-section {
    margin-top: 35px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    color: #111827;
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .contents,
  .back-to-top,
  .site-footer {
    display: none;
  }

  .hero {
    padding: 20px 0 26px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 32pt;
  }

  .summary-card {
    color: #111827;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    box-shadow: none;
  }

  .summary-card h2 {
    color: #111827;
  }

  .legal-layout {
    display: block;
    padding-bottom: 0;
  }

  .legal-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

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