:root {
  --we-v2-surface: #ffffff;
  --we-v2-surface-soft: #f2f4f8;
  --we-v2-line: #e3e6ed;
  --we-v2-text: #151922;
  --we-v2-text-soft: #3e4655;
  --we-v2-muted: #697386;
  --we-v2-faint: #929aaa;
  --we-v2-primary: #5b5bd6;
  --we-v2-primary-soft: #ececfc;
  --we-v2-primary-line: #cfcff6;
  --we-v2-primary-ring: rgba(91, 91, 214, .22);
  --we-v2-overlay: rgba(255, 255, 255, .96);
  --we-v2-radius-sm: 8px;
  --we-v2-shell: 1200px;
}

.we-v2-header,
.we-v2-footer {
  box-sizing: border-box;
  color: var(--we-v2-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
}

.we-v2-header *,
.we-v2-header *::before,
.we-v2-header *::after,
.we-v2-footer *,
.we-v2-footer *::before,
.we-v2-footer *::after {
  box-sizing: border-box;
}

.we-v2-header a,
.we-v2-footer a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.we-v2-header button {
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.we-v2-header svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.we-v2-header :focus-visible,
.we-v2-footer :focus-visible {
  outline: 3px solid var(--we-v2-primary-ring);
  outline-offset: 3px;
}

.we-v2-shell {
  width: min(calc(100% - 64px), var(--we-v2-shell));
  margin-inline: auto;
}

.we-v2-sr-only,
.we-v2-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.we-v2-skip:focus {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  overflow: visible;
  clip: auto;
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-text);
  color: var(--we-v2-surface);
}

.we-v2-header {
  position: sticky;
  z-index: 1200;
  top: 0;
  border-bottom: 1px solid var(--we-v2-line);
  background: var(--we-v2-overlay);
  backdrop-filter: blur(12px);
}

.we-v2-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.we-v2-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.we-v2-brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-primary);
  color: var(--we-v2-surface);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.we-v2-brand > span:last-child {
  display: grid;
  line-height: 1.2;
}

.we-v2-brand b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.we-v2-brand small {
  margin-top: 3px;
  color: var(--we-v2-muted);
  font-size: 11px;
  letter-spacing: 0;
}

.we-v2-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 26px;
}

.we-v2-nav a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--we-v2-text-soft);
  font-size: 14px;
  font-weight: 600;
}

.we-v2-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.we-v2-nav a:hover,
.we-v2-nav a.is-current {
  color: var(--we-v2-primary);
}

.we-v2-nav a.is-current::after {
  background: var(--we-v2-primary);
}

.we-v2-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.we-v2-header-search {
  min-width: 164px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--we-v2-line);
  border-radius: var(--we-v2-radius-sm);
  background: var(--we-v2-surface);
  color: var(--we-v2-muted);
  font-size: 13px;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}

.we-v2-header-search:hover {
  border-color: var(--we-v2-primary-line);
  color: var(--we-v2-primary);
}

.we-v2-header-search > span:first-child {
  width: 17px;
  height: 17px;
}

.we-v2-header-search kbd {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--we-v2-line);
  border-radius: 5px;
  background: var(--we-v2-surface-soft);
  color: var(--we-v2-faint);
  font-family: inherit;
  font-size: 11px;
}

.we-v2-menu {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: var(--we-v2-radius-sm);
  background: transparent;
  color: var(--we-v2-text);
}

.we-v2-menu span {
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease-out;
}

.we-v2-menu span:first-child {
  transform: translateY(-4px);
}

.we-v2-menu span:last-child {
  transform: translateY(4px);
}

.we-v2-menu[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.we-v2-menu[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.we-v2-mobile-nav {
  padding: 8px 20px 16px;
  border-top: 1px solid var(--we-v2-line);
  background: var(--we-v2-surface);
}

.we-v2-mobile-nav[hidden] {
  display: none !important;
}

.we-v2-mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--we-v2-line);
  font-size: 15px;
  font-weight: 600;
}

.we-v2-footer {
  padding-block: 40px;
  border-top: 1px solid var(--we-v2-line);
  background: var(--we-v2-surface);
}

.we-v2-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px 32px;
}

.we-v2-footer b {
  font-size: 15px;
}

.we-v2-footer p {
  margin: 3px 0 0;
  color: var(--we-v2-muted);
  font-size: 13px;
}

.we-v2-footer nav {
  display: flex;
  gap: 20px;
  color: var(--we-v2-text-soft);
  font-size: 13px;
}

.we-v2-footer nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.we-v2-footer small {
  grid-column: 1 / -1;
  color: var(--we-v2-faint);
  font-size: 11px;
}

.we-v2-footer small a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--we-v2-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .we-v2-shell {
    width: min(calc(100% - 40px), var(--we-v2-shell));
  }

  .we-v2-header__inner {
    gap: 16px;
  }

  .we-v2-nav {
    display: none;
  }

  .we-v2-menu {
    display: grid;
  }

  .we-v2-header-search {
    min-width: 44px;
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .we-v2-header-search > span:nth-child(2),
  .we-v2-header-search kbd {
    display: none;
  }
}

@media (max-width: 640px) {
  .we-v2-brand small {
    display: none;
  }

  .we-v2-footer__inner {
    grid-template-columns: 1fr;
  }

  .we-v2-footer nav,
  .we-v2-footer small {
    grid-column: 1;
  }

  .we-v2-footer nav {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .we-v2-footer nav a {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .we-v2-shell {
    width: min(calc(100% - 32px), var(--we-v2-shell));
  }

  .we-v2-brand b {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .we-v2-header *,
  .we-v2-header *::before,
  .we-v2-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
