@font-face {
  font-family: Pretendard;
  src: url('./fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142c3c;
  --navy: #102c40;
  --blue: #126fc3;
  --cyan: #61c4e4;
  --mist: #edf7fb;
  --line: #d7e4eb;
  --paper: #ffffff;
  --muted: #617682;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
  word-break: keep-all;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button {
  cursor: pointer;
}

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

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

.wrap {
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -90px;
  padding: 12px 20px;
  color: white;
  background: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  z-index: 120;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(28, 72, 99, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-symbol {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.brand-symbol i {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--blue);
}

.brand-symbol i:last-child {
  transform: rotate(90deg);
}

.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.brand-words strong {
  font-size: 30px;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.brand-words strong span,
.footer-brand span {
  color: var(--blue);
}

.brand-words small {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 65px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding-block: 35px;
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.header-call strong {
  color: var(--blue);
  font-size: 16px;
}

.menu-toggle {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.all-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #f4f9fc;
  box-shadow: 0 30px 50px rgba(16, 44, 64, 0.14);
}

.all-menu[hidden] {
  display: none;
}

.all-menu-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7%;
  padding-block: 58px 70px;
}

.all-menu-lead {
  padding: 24px;
  color: white;
  background: var(--navy);
}

.all-menu-lead p {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 650;
  line-height: 1.22;
}

.all-menu-lead a {
  display: inline-flex;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid #ffffff66;
}

.all-menu-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.all-menu-group h2 {
  margin: 0 0 26px;
  font-size: 18px;
}

.all-menu-group a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #596c79;
  font-size: 14px;
}

.all-menu-group a:hover,
.all-menu-group a[aria-current='page'] {
  color: var(--blue);
}

.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 18px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.inline-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.inline-arrow span {
  font-size: 22px;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.motion-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  color: white;
  background: #0c273b;
}

.footer-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-block: 100px 90px;
  border-bottom: 1px solid #ffffff35;
}

.footer-cta .eyebrow {
  color: #86d8ef;
}

.footer-cta h2 {
  margin: 28px 0 0;
  font-size: clamp(42px, 5.5vw, 88px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.14;
}

.footer-cta h2 em {
  color: #83cce6;
  font-style: normal;
}

.footer-cta > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 20px 0;
  min-width: 260px;
  border-bottom: 1px solid white;
  font-weight: 700;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-block: 65px;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.footer-brand small {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
}

.footer-main p {
  margin: 25px 0 0;
  color: #b5c8d2;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 18px 45px;
  align-content: start;
  font-size: 14px;
}

.footer-main nav a:hover {
  color: #80d1ea;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 30px 46px;
  border-top: 1px solid #ffffff35;
  color: #9db5c2;
  font-size: 12px;
  line-height: 1.9;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  text-align: right;
}

.footer-legal div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 1100px) {
  .primary-nav,
  .header-call span {
    display: none;
  }

  .all-menu-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 36px, 1500px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-words strong {
    font-size: 25px;
  }

  .brand-symbol {
    width: 25px;
    height: 25px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .all-menu {
    max-height: calc(100dvh - 70px);
    overflow: auto;
  }

  .all-menu-inner {
    padding-block: 20px 30px;
  }

  .all-menu-lead {
    display: none;
  }

  .all-menu-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }

  .footer-cta,
  .footer-main,
  .footer-bottom {
    display: block;
  }

  .footer-cta {
    padding-block: 70px;
  }

  .footer-cta h2 {
    margin-bottom: 35px;
  }

  .footer-cta > a {
    min-width: 0;
  }

  .footer-main nav {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 35px;
  }

  .footer-legal {
    margin-top: 20px;
    text-align: left;
  }

  .footer-legal div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
