:root {
  --header-height: 61px;
  --page-max: 1152px;
  --navy-950: #0b1220;
  --navy-900: #0f172a;
  --navy-800: #14233f;
  --navy-700: #1e3a5f;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --light-text: #94a3b8;
  --line: #e2e8f0;
  --soft-line: #eef2f7;
  --surface: #f8fafc;
  --blue: #2563eb;
  --blue-bright: #60a5fa;
  --blue-soft: #dbeafe;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
  background: #fff;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    "DM Sans",
    "PayChain Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--navy-950);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(var(--page-max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  color: #f8fafc;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

.header-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav .apply-button {
  display: inline-flex;
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.header-nav .apply-button:hover {
  border-color: rgba(147, 197, 253, 0.65);
  background: #2f6ff0;
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  align-items: center;
  background: rgba(30, 41, 59, 0.74);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.language-switch span {
  display: inline-flex;
  width: 31px;
  height: 25px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}

.language-switch .is-active {
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  color: #fff;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(30, 41, 59, 0.72);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: #cbd5e1;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.menu-button.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 990;
  display: none;
  padding: 20px;
  background: rgba(15, 23, 42, 0.985);
  backdrop-filter: blur(16px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .mobile-apply {
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.privacy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 448px;
  padding: 104px 0 94px;
  background:
    radial-gradient(
      880px 480px at 88% -12%,
      rgba(37, 99, 235, 0.25),
      transparent 62%
    ),
    radial-gradient(
      640px 384px at 4% 112%,
      rgba(37, 99, 235, 0.1),
      transparent 58%
    ),
    linear-gradient(
      160deg,
      var(--navy-900) 0%,
      var(--navy-800) 55%,
      var(--navy-700) 100%
    );
  color: #e2e8f0;
}

.privacy-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.76), transparent 88%);
}

.hero-inner {
  width: min(var(--page-max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 18px rgba(37, 99, 235, 0.06);
  color: #a9b8cd;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow:
    0 0 0 4px rgba(96, 165, 250, 0.1),
    0 0 12px rgba(96, 165, 250, 0.74);
}

.privacy-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
  word-break: keep-all;
}

.privacy-hero h1 span {
  color: var(--blue-bright);
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: #a9b8cd;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  gap: 12px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.hero-primary-action {
  border: 1px solid rgba(96, 165, 250, 0.34);
  background: var(--blue);
  box-shadow: 0 12px 30px -16px rgba(37, 99, 235, 0.95);
  color: #fff;
}

.hero-primary-action:hover {
  background: #2f6ff0;
  transform: translateY(-1px);
}

.hero-secondary-action {
  border: 1px solid transparent;
  color: #a9b8cd;
}

.hero-secondary-action:hover {
  color: #fff;
  transform: translateX(2px);
}

.hero-index {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--page-max)) / 2));
  display: grid;
  gap: 15px;
  transform: translateY(-50%);
}

.hero-index span {
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.44);
}

.hero-index .is-active {
  background: rgba(96, 165, 250, 0.84);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.35);
}

.privacy-section {
  padding: 94px 0 116px;
  background: #fff;
}

.page-wrap {
  width: min(var(--page-max), calc(100% - 40px));
  margin: 0 auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  align-items: start;
  gap: 66px;
}

.privacy-toc {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
}

.toc-label {
  margin: 0 0 14px -1px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.privacy-toc li {
  margin: 0;
}

.privacy-toc a {
  display: block;
  margin-left: -19px;
  padding: 7px 8px 7px 18px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color 0.16s ease,
    border-color 0.16s ease;
}

.privacy-toc__ordinal {
  display: inline-block;
  width: 29px;
  color: #64748b;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: 0.03em;
  transition: color 0.16s ease;
}

.privacy-toc a:hover {
  color: var(--ink);
}

.privacy-toc a.is-active {
  border-left-color: var(--blue);
  color: var(--ink);
  font-weight: 650;
}

.privacy-toc a.is-active .privacy-toc__ordinal {
  color: var(--blue);
}

.privacy-main {
  min-width: 0;
}

.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 26px;
  gap: 8px;
}

.meta-item {
  display: inline-flex;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #7a889c;
  font-size: 11px;
  letter-spacing: -0.005em;
}

.meta-item strong {
  color: var(--ink);
  font-weight: 650;
}

.privacy-intro {
  position: relative;
  margin-bottom: 72px;
  padding: 25px 28px 25px 31px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.82;
  word-break: keep-all;
}

.privacy-intro strong {
  color: var(--ink);
  font-weight: 700;
}

.privacy-article {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--soft-line);
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.privacy-article:last-of-type {
  border-bottom: 0;
}

.privacy-article h2 {
  display: block;
  margin: 0 0 25px;
  color: var(--ink);
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.3;
  word-break: keep-all;
}

.pp-num {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.pp-num::after {
  content: " -";
}

.privacy-article p,
.privacy-article li {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.006em;
  line-height: 1.82;
  word-break: keep-all;
}

.privacy-article ul,
.privacy-article ol {
  margin: 10px 0 18px;
  padding-left: 21px;
}

.privacy-article li {
  margin-bottom: 7px;
  padding-left: 2px;
}

.privacy-article li::marker {
  color: var(--blue);
}

.privacy-article strong {
  color: var(--ink);
  font-weight: 700;
}

.privacy-article a,
.site-footer a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.privacy-subheading {
  display: flex;
  margin: 28px 0 12px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.privacy-subheading::before {
  width: 7px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--blue);
  content: "";
}

.table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  scrollbar-width: thin;
}

.privacy-table {
  width: 100%;
  min-width: 660px;
  margin: 16px 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
}

.privacy-table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: #475569;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.005em;
  text-align: left;
}

.privacy-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--soft-line);
  color: #475569;
  line-height: 1.65;
  vertical-align: middle;
}

.privacy-table tr:last-child td {
  border-bottom: 0;
}

.privacy-table th + th,
.privacy-table td + td {
  border-left: 1px solid var(--soft-line);
}

.privacy-table:not(.two-column) th:nth-child(1) {
  width: 39%;
}

.privacy-table:not(.two-column) th:nth-child(2) {
  width: 17%;
}

.privacy-table.two-column th:first-child {
  width: 25%;
}

.status {
  display: inline-flex;
  min-width: 46px;
  padding: 4px 9px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.status.required {
  background: #fee2e2;
  color: #b91c1c;
}

.status.optional {
  background: var(--blue-soft);
  color: #1d4ed8;
}

.contact-box {
  margin: 18px 0 22px;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-box dl {
  display: grid;
  margin: 0;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 22px;
}

.contact-box dt {
  padding-top: 2px;
  color: #7a889c;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.contact-box dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.005em;
}

.organization-list {
  display: grid;
  margin: 15px 0 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.organization-list li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.organization-list li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.privacy-note {
  margin-top: 48px;
  padding: 24px 27px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(
      420px 180px at 100% 0%,
      rgba(37, 99, 235, 0.2),
      transparent 66%
    ),
    var(--navy-900);
  color: #a9b8cd;
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.75;
}

.privacy-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 58px 0 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: var(--navy-950);
  color: #7f8da1;
}

.footer-inner {
  width: min(var(--page-max), calc(100% - 40px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 19px;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-top nav a {
  color: #7f8da1;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}

.footer-top nav a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-bottom p {
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom a {
  color: #a9b8cd;
}

.footer-bottom small {
  flex-shrink: 0;
  color: #64748b;
  font-size: 11px;
}

@media (max-width: 1024px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-toc {
    position: relative;
    top: 0;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .toc-label {
    margin: 0 0 10px;
  }

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

  .privacy-toc a {
    margin-left: 0;
    padding: 6px 0;
    border-left: 0;
  }

  .privacy-toc a.is-active {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .header-nav,
  .language-switch {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero-index {
    display: none;
  }

  .privacy-hero {
    min-height: 410px;
    padding: 88px 0 80px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .hero-inner,
  .page-wrap,
  .footer-inner {
    width: min(100% - 32px, var(--page-max));
  }

  .privacy-hero {
    min-height: auto;
    padding: 70px 0 68px;
  }

  .hero-eyebrow {
    margin-bottom: 20px;
  }

  .privacy-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .privacy-section {
    padding: 64px 0 80px;
  }

  .privacy-toc ol {
    grid-template-columns: 1fr;
  }

  .privacy-meta {
    margin-bottom: 20px;
  }

  .meta-item {
    font-size: 10px;
  }

  .privacy-intro {
    margin-bottom: 54px;
    padding: 21px 19px 21px 22px;
  }

  .privacy-article {
    margin-bottom: 48px;
    padding-bottom: 48px;
  }

  .privacy-article h2 {
    font-size: 23px;
  }

  .privacy-article p,
  .privacy-article li {
    font-size: 14px;
    line-height: 1.78;
  }

  .contact-box dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-box dt {
    padding-top: 10px;
  }

  .organization-list {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .table-scroll {
    mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* preserved from the earlier privacy rebuild */


.privacy-toc a::before {
  display: inline-block;
  width: 29px;
  color: #64748b;
  content: counter(privacy-toc, decimal-leading-zero);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: 0.03em;
  transition: color 0.16s ease;
}


.privacy-toc a.is-active::before {
  color: var(--blue);
}
