:root {
  --privacy-ink: #111827;
  --privacy-muted: #374151;
  --privacy-navy: #0b2c4a;
  --privacy-paper: #ffffff;
  --privacy-panel: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--privacy-paper);
  color: var(--privacy-ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0;
}

body {
  overflow-x: hidden;
}

button {
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 24px;
  pointer-events: none;
}

.nav-shell {
  width: min(1120px, 100%);
  height: 76px;
  margin: 0 auto;
  padding: 0 14px 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr 142px;
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(12, 10, 20, 0.74);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  color: #fff;
}

.brand-logo {
  width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: #ff4fa3;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 48%, #f553a8 100%);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.22);
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(245, 83, 168, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  filter: brightness(1.08);
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.nav-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-menu-toggle span + span {
  margin-top: 4px;
}

.nav-links .nav-mobile-contact {
  display: none;
}

.page-privacy {
  min-height: 100vh;
  background: var(--privacy-paper);
  padding: 142px 24px 74px;
}

.privacy-document {
  width: min(100%, 1120px);
  margin: 0 auto;
  color: var(--privacy-ink);
}

.privacy-document h1 {
  margin: 0 0 42px;
  color: var(--privacy-navy);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0;
}

.privacy-section {
  margin-top: 34px;
}

.privacy-section:first-of-type {
  margin-top: 0;
}

.privacy-section h2 {
  margin: 0 0 18px;
  color: #000;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.privacy-section p {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0;
  word-break: keep-all;
}

.privacy-section p + p {
  margin-top: 18px;
}

.privacy-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #000;
}

.privacy-section li {
  padding-left: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.privacy-manager {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--privacy-panel);
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.privacy-manager strong {
  font-weight: 900;
}

.privacy-manager span {
  display: block;
}

.privacy-addendum {
  margin-top: 38px;
}

@media (max-width: 980px) {
  .site-header .nav-shell {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 44px;
    height: 64px;
    gap: 12px;
    padding-right: 10px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .nav-button {
    display: none;
  }

  .site-header .nav-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-self: end;
  }

  .site-header .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(12, 10, 20, 0.94);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(22px);
  }

  .site-header.is-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-header .nav-links a,
  .site-header .nav-links .nav-mobile-contact {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 18px;
  }

  .site-header.is-menu-open .nav-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 14px;
    padding: 0 16px;
  }

  .site-header .nav-shell {
    padding-left: 14px;
  }

  .site-header .brand {
    width: min(210px, 100%);
  }

  .page-privacy {
    padding: 112px 22px 58px;
  }

  .privacy-document h1 {
    margin-bottom: 34px;
    font-size: 28px;
  }

  .privacy-section {
    margin-top: 30px;
  }

  .privacy-section h2 {
    font-size: 18px;
  }

  .privacy-section p,
  .privacy-section li,
  .privacy-manager {
    font-size: 15px;
  }

  .privacy-manager {
    padding: 18px 20px;
  }
}
