@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --nf-bg: #f6f5ef;
  --nf-surface: #ffffff;
  --nf-ink: #151515;
  --nf-muted: #6f706b;
  --nf-line: #d7d8d2;
  --nf-accent: #d9ff4f;
  --nf-soft: #e8e8e1;
  --nf-danger: #c9362b;
  --nf-container: 1200px;
  --nf-wide: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nf-bg);
  color: var(--nf-ink);
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.nf-container,
.nf-container-wide {
  width: min(calc(100% - 40px), var(--nf-container));
  margin-inline: auto;
}

.nf-container-wide {
  max-width: var(--nf-wide);
}

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

.nf-preview-bar {
  position: relative;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 6px 20px;
  border-bottom: 1px solid #30302d;
  background: #151515;
  color: #ffffff;
  font-size: 12px;
}

.nf-preview-bar__back,
.nf-preview-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}

.nf-preview-bar__back {
  justify-self: start;
  min-width: 44px;
  font-weight: 650;
}

.nf-preview-bar__status {
  justify-self: end;
  color: #bdbdb8;
}

.nf-preview-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #2b2b29;
  border-radius: 4px;
}

.nf-preview-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 2px;
  color: #bdbdb8;
  font-weight: 650;
}

.nf-preview-tabs a[aria-current="page"] {
  background: var(--nf-accent);
  color: var(--nf-ink);
}

.nf-preview-tabs .is-recommended::after {
  width: 5px;
  height: 5px;
  margin-left: 6px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.nf-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nf-icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.nf-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nf-link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.nf-link-arrow:hover svg,
.nf-link-arrow:focus-visible svg {
  transform: translateX(4px);
}

.nf-replace-note {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid currentColor;
  color: var(--nf-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.nf-mobile-panel {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: none;
  background: var(--nf-bg);
}

.nf-mobile-panel.is-open {
  display: block;
}

.nf-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid var(--nf-line);
}

.nf-mobile-panel__brand {
  font-size: 19px;
  font-weight: 850;
  text-transform: uppercase;
}

.nf-mobile-panel nav {
  padding: 26px 20px;
}

.nf-mobile-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--nf-line);
  font-size: 22px;
  font-weight: 700;
}

.nf-mobile-panel nav svg {
  width: 20px;
  height: 20px;
}

.nf-footer-base {
  border-top: 1px solid var(--nf-line);
}

.nf-footer-base__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 40px;
  padding-block: 58px 30px;
}

.nf-footer-base h2,
.nf-footer-base h3,
.nf-footer-base p {
  margin: 0;
}

.nf-footer-base h2 {
  font-size: 24px;
  font-weight: 850;
  text-transform: uppercase;
}

.nf-footer-base h3 {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nf-footer-base p,
.nf-footer-base a {
  color: var(--nf-muted);
  font-size: 12px;
}

.nf-footer-base a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.nf-footer-base__legal {
  padding-block: 20px;
  border-top: 1px solid var(--nf-line);
  color: var(--nf-muted);
  font-size: 10px;
}

:focus-visible {
  outline: 2px solid var(--nf-ink);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .nf-container,
  .nf-container-wide {
    width: min(calc(100% - 28px), var(--nf-container));
  }

  .nf-preview-bar {
    grid-template-columns: auto 1fr;
    padding-inline: 12px;
  }

  .nf-preview-bar__back span,
  .nf-preview-bar__status {
    display: none;
  }

  .nf-preview-tabs {
    justify-self: end;
  }

  .nf-preview-tabs a {
    min-width: 58px;
    padding-inline: 9px;
  }

  .nf-footer-base__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 42px 24px;
  }
}

@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;
  }
}
