@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --lpkit-shell-ink: #0f172a;
  --lpkit-shell-muted: #94a3b8;
  --lpkit-shell-soft: #e2e8f0;
  --lpkit-shell-blue: #2563eb;
  --lpkit-shell-navy: #07111f;
  --lpkit-shell-footer: #070f1d;
  --lpkit-shell-max: 1120px;
}

.lpkit-shell-header,
.lpkit-shell-footer {
  box-sizing: border-box;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

.lpkit-shell-header *,
.lpkit-shell-footer * {
  box-sizing: border-box;
}

.lpkit-shell-header a,
.lpkit-shell-footer a {
  color: inherit;
  text-decoration: none;
}

.lpkit-shell-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(24px, calc((100vw - var(--lpkit-shell-max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
  backdrop-filter: blur(18px);
}

.lpkit-shell-brand {
  flex: 0 0 auto;
  color: var(--lpkit-shell-ink);
  font-size: 24px;
  font-weight: 840;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lpkit-shell-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  color: #334155;
  font-size: 14px;
  font-weight: 720;
  scrollbar-width: none;
}

.lpkit-shell-nav::-webkit-scrollbar {
  display: none;
}

.lpkit-shell-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  align-items: center;
  white-space: nowrap;
}

.lpkit-shell-lang {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--lpkit-shell-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.lpkit-shell-nav .is-cta {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--lpkit-shell-blue);
  color: #ffffff;
  font-weight: 780;
}

.lpkit-shell-footer {
  overflow: hidden;
  padding: 76px max(24px, calc((100vw - var(--lpkit-shell-max)) / 2)) 38px;
  background:
    radial-gradient(circle at 76% 0%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, var(--lpkit-shell-navy) 0%, var(--lpkit-shell-footer) 100%);
  color: var(--lpkit-shell-muted);
}

.lpkit-footer-inner {
  max-width: var(--lpkit-shell-max);
  margin: 0 auto;
}

.lpkit-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 48px;
}

.lpkit-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 840;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lpkit-footer-logo img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.lpkit-footer-description {
  margin: 0 0 28px;
  color: #c7ddff;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.5;
}

.lpkit-footer-copy {
  max-width: 260px;
  margin: 0;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 480;
  line-height: 1.72;
}

.lpkit-footer-heading {
  margin: 0 0 20px;
}

.lpkit-footer-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f8fafc;
  cursor: default;
  font: inherit;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.lpkit-footer-toggle-icon {
  position: relative;
  display: none;
  width: 18px;
  height: 18px;
}

.lpkit-footer-toggle-icon::before,
.lpkit-footer-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #c7ddff;
  content: "";
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lpkit-footer-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lpkit-footer-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lpkit-footer-list a,
.lpkit-footer-list span {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 470;
  line-height: 1.45;
}

.lpkit-footer-list a:hover {
  color: #f8fafc;
}

.lpkit-footer-line {
  white-space: nowrap;
}

.lpkit-footer-bottom {
  display: grid;
  gap: 14px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.lpkit-footer-disclaimer,
.lpkit-footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.lpkit-footer-copyright {
  color: #475569;
}

@media (max-width: 768px) {
  .lpkit-shell-header {
    gap: 14px;
    min-height: 68px;
    padding: 12px 18px;
    overflow: hidden;
  }

  .lpkit-shell-brand {
    font-size: 22px;
  }

  .lpkit-shell-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 18px;
    overflow: visible;
    font-size: 13px;
  }

  .lpkit-shell-nav a,
  .lpkit-shell-lang {
    display: none;
  }

  .lpkit-shell-nav a:first-child,
  .lpkit-shell-nav .is-cta {
    display: inline-flex;
  }

  .lpkit-shell-nav .is-cta {
    min-height: 38px;
    padding-inline: 12px;
  }

  .lpkit-shell-footer {
    padding: 64px 20px 32px;
  }

  .lpkit-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lpkit-footer-brand {
    margin-bottom: 28px;
  }

  .lpkit-footer-accordion {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .lpkit-footer-accordion:last-child {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .lpkit-footer-heading {
    margin: 0;
  }

  .lpkit-footer-toggle {
    min-height: 58px;
    cursor: pointer;
  }

  .lpkit-footer-toggle-icon {
    display: inline-block;
  }

  .lpkit-footer-accordion.is-open .lpkit-footer-toggle-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
  }

  .js-enabled .lpkit-footer-accordion .lpkit-footer-list {
    max-height: 0;
    overflow: hidden;
    gap: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      max-height 0.28s ease,
      opacity 0.2s ease,
      padding 0.28s ease,
      transform 0.28s ease;
  }

  .js-enabled .lpkit-footer-accordion.is-open .lpkit-footer-list {
    max-height: 760px;
    gap: 4px;
    opacity: 1;
    padding: 0 0 16px;
    transform: translateY(0);
  }

  .lpkit-footer-list a,
  .lpkit-footer-list span {
    display: flex;
    min-height: 44px;
    font-size: 14px;
  }

  .lpkit-footer-line {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.3;
  }

  .lpkit-footer-bottom {
    margin-top: 34px;
  }
}
