:root {
  color-scheme: light;
  --legal-blue: #075cf6;
  --legal-text: #111827;
  --legal-muted: #667085;
  --legal-line: #dbe4f2;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8faff 0%, #f4f7fc 58%, #eef4ff 100%) !important;
  color: var(--legal-text) !important;
  font-family: "Geist Sans", "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

body > header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: #e7ebf2 !important;
  backdrop-filter: blur(14px);
}

body > header nav {
  width: 100%;
  max-width: 1120px !important;
  min-height: 66px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body > header nav > a img {
  width: 104px;
  height: auto !important;
}

body > header nav > div:nth-of-type(1) a {
  color: #667085 !important;
  font-size: 13px;
  font-weight: 700;
}

body > header nav > div:nth-of-type(1) a:hover {
  color: var(--legal-blue) !important;
}

.legal-lang-switcher {
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 3px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f7f9fc;
}

.legal-lang-switcher .lang-btn {
  flex: 0 0 auto;
  border: 0 !important;
  color: #687386 !important;
  font-size: 11px !important;
  font-weight: 800;
  white-space: nowrap;
}

.legal-lang-switcher .lang-btn.active {
  background: var(--legal-blue) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(7, 92, 246, 0.22);
}

body > main {
  max-width: 960px !important;
  padding-top: 54px !important;
  padding-bottom: 76px !important;
}

body > main > section:first-child {
  margin-bottom: 28px !important;
}

body > main > section:first-child > p:first-child {
  display: inline-flex;
  margin-bottom: 12px !important;
  padding: 5px 10px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--legal-blue) !important;
  font-size: 11px !important;
  font-weight: 850;
  letter-spacing: 0.02em !important;
}

body > main > section:first-child h1 {
  margin-bottom: 10px !important;
  color: var(--legal-text) !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

body > main > section:first-child p {
  color: var(--legal-muted) !important;
  font-size: 15px;
}

.glass-card {
  padding: 30px !important;
  border: 1px solid var(--legal-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 16px 46px rgba(24, 49, 83, 0.08);
  backdrop-filter: none !important;
}

.legal-section h2 {
  margin-bottom: 0.7rem !important;
  color: var(--legal-text) !important;
  font-size: 1.12rem !important;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.legal-section p,
.legal-section li {
  color: #475467 !important;
  font-size: 0.93rem !important;
  line-height: 1.8 !important;
}

.legal-section a {
  color: var(--legal-blue) !important;
}

.legal-section > section + section {
  margin-top: 2rem !important;
  padding-top: 1.8rem !important;
  border-top: 1px solid #edf0f5;
}

.legal-section table {
  overflow: hidden;
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
}

.legal-section th,
.legal-section td {
  border: 1px solid var(--legal-line) !important;
  padding: 0.85rem;
  color: #475467 !important;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.legal-section th {
  background: #f6f8fb !important;
  color: var(--legal-text) !important;
  font-weight: 800;
}

body > footer {
  border-color: #2b3442 !important;
  background: #1a1f29;
}

.legal-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 58px 24px 34px;
}

.legal-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 46px;
}

.legal-footer-brand img {
  display: block;
  width: 106px;
  height: auto;
  margin-bottom: 16px;
}

.legal-footer-brand p {
  max-width: 230px;
  margin: 0;
  color: #9aa8bc;
  font-size: 12px;
  line-height: 1.7;
}

.legal-footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-footer-links a {
  color: #9aa8bc !important;
  font-size: 12px;
  text-decoration: none;
}

.legal-footer-bottom {
  display: grid;
  gap: 7px;
  padding-top: 25px;
  border-top: 1px solid #2b3442;
  color: #758297;
  font-size: 11.5px;
  line-height: 1.65;
}

.legal-footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
}

.legal-footer-company strong {
  color: #c9d3e1;
}

html[lang="ko"] .legal-global-only,
html:not([lang="ko"]) .legal-ko-only {
  display: none;
}

body > footer a {
  color: #afbbce !important;
}

  body > footer a:hover {
  color: #fff !important;
}

@media (max-width: 639px) {
  body > header nav {
    min-height: 60px;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  body > header nav > a img {
    width: 92px;
    max-width: 92px !important;
  }

  .legal-lang-switcher {
    max-width: none !important;
    gap: 2px !important;
  }

  .legal-lang-switcher .lang-btn {
    padding: 5px 7px !important;
    font-size: 10px !important;
  }

  body > main {
    padding-top: 34px !important;
    padding-bottom: 54px !important;
  }

  .glass-card {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  .legal-section > section + section {
    margin-top: 1.6rem !important;
    padding-top: 1.45rem !important;
  }

  .legal-section p,
  .legal-section li {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
  }

  .legal-footer-inner {
    padding: 44px 18px 28px;
  }

  .legal-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 34px;
  }

  .legal-footer-brand {
    grid-column: 1 / -1;
  }
}
