.legal-main {
  background: #f5f8fc;
  color: #001f55;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #001f55;
  font-weight: 900;
}

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d9e7f7;
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1200px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 124px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1 1 auto;
}

.nav a,
.login-link,
.footer-links a {
  color: #001f55;
  text-decoration: none;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: #123f91;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.mobile-login-cta,
.menu-button {
  display: none;
}

.menu-button {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #f3a700;
  border-radius: 10px;
  background: #ffffff;
  color: #001f55;
  font-size: 22px;
  font-weight: 900;
}

.legal-hero {
  padding: 72px 20px 34px;
  background: #eef6ff;
  border-bottom: 1px solid #d9e7f7;
}

.legal-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #2167b5;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-updated {
  margin: 14px 0 0;
  color: #263b59;
  font-size: 15px;
  font-weight: 700;
}

.legal-content {
  padding: 34px 20px 76px;
}

.legal-card {
  padding: 34px;
  border: 1px solid #d9e7f7;
  border-radius: 10px;
  background: #ffffff;
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e4edf8;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

.legal-card p,
.legal-card li {
  color: #142b50;
  font-size: 16px;
  line-height: 1.8;
}

.legal-card p {
  margin: 0 0 10px;
}

.legal-card ul,
.legal-card ol {
  margin: 0;
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-table {
  width: 100%;
  margin: 14px 0 4px;
  border-collapse: collapse;
  border: 1px solid #d9e7f7;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 12px;
  border: 1px solid #d9e7f7;
  color: #142b50;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f1f7ff;
  color: #001f55;
  font-weight: 900;
}

.legal-note {
  padding: 16px;
  border-radius: 8px;
  background: #eef6ff;
  color: #001f55;
  font-weight: 800;
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 32px);
    height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 112px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px;
    border-bottom: 1px solid #d9e7f7;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .login-link {
    display: none;
  }

  .mobile-login-cta,
  .menu-button {
    display: inline-flex;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
  }

  .legal-hero {
    padding-top: 54px;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
