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

:root {
  --ink: #17382c;
  --navy: #17382c;
  --green: #17382c;
  --green-soft: #285445;
  --coral: #f1876c;
  --cream: #f4f1e8;
  --paper: #fbfaf6;
  --muted: #69766d;
  --line: #d6d9cd;
  --blue: #ae604b;
}

* {
  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%;
}

.map-frame {
  position: relative;
  width: 100%;
  height: 510px;
  overflow: hidden;
  border-radius: 16px;
  background: #d6e2d6;
}

.map-frame .root_daum_roughmap,
.map-frame .wrap_map {
  width: 100% !important;
  max-width: 100%;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 35px;
  color: var(--green);
  text-align: center;
}

.map-image-link,
.map-image-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.map-image-link {
  position: relative;
  z-index: 1;
}

.map-image-link img {
  object-fit: cover;
}

.map-frame.map-image-unavailable .map-image-link {
  display: none;
}

.map-frame .root_daum_roughmap {
  position: absolute;
  z-index: 2;
  inset: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 20px;
  padding: 14px 20px;
  color: white;
  background: var(--green);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 3px;
  transform: rotate(-22deg);
}

.brand-mark span {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50% 50% 3px 50%;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: var(--green-soft);
}

.brand-name {
  display: block;
  font-size: 33px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.brand-name > span,
.footer-brand > span {
  color: var(--coral);
}

.brand-name small,
.footer-brand small {
  display: block;
  margin-top: 9px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.38em;
}

.primary-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: clamp(25px, 3vw, 57px);
  margin-left: auto;
}

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

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.header-actions {
  gap: 18px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 22px;
  color: white;
  background: var(--green);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.header-cta span {
  color: var(--coral);
  font-size: 18px;
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 47px;
  height: 47px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--green);
}

.all-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 60px 0 72px;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 35px 40px rgba(10, 42, 28, 0.15);
}

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

.all-menu-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10%;
}

.all-menu-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow,
.section-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.all-menu-lead .eyebrow {
  color: var(--coral);
}

.all-menu-lead p {
  margin: 25px 0 auto;
  font-size: clamp(33px, 3vw, 55px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.06em;
}

.all-menu-lead > a {
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}

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

.all-menu-group h2 {
  margin: 0 0 28px;
  color: var(--coral);
  font-size: 14px;
}

.all-menu-group a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.all-menu-group a:hover {
  color: var(--coral);
}

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

.site-footer {
  color: var(--paper);
  background: #102e24;
}

.footer-top {
  padding-block: 100px 115px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-top > .eyebrow {
  color: var(--coral);
}

.footer-top > div {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.footer-top h2 {
  margin: 35px 0 0;
  font-size: clamp(50px, 6.3vw, 112px);
  font-weight: 550;
  line-height: 1.13;
  letter-spacing: -0.085em;
}

.footer-top h2 em {
  color: var(--coral);
  font-style: normal;
}

.footer-top a {
  display: inline-flex;
  justify-content: space-between;
  gap: 60px;
  min-width: 245px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--paper);
  font-size: 15px;
  font-weight: 700;
}

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

.footer-brand {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.09em;
}

.footer-main p {
  color: #b7c6bc;
  font-size: 15px;
  line-height: 1.8;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px 65px;
  align-content: start;
  font-size: 14px;
}

.footer-main nav a:hover,
.footer-legal a:hover {
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 25px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #a7b7ac;
  font-size: 12px;
  line-height: 1.75;
}

.websave-company-info p,
.footer-legal p {
  margin: 0 0 4px;
}

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

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

.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 220px;
  padding: 10px 10px 10px 25px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 750;
}

.round-link span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.round-link:hover span {
  transform: rotate(45deg);
}

.round-link.light {
  color: var(--green);
  background: var(--paper);
}

.round-link.light span {
  color: var(--paper);
  background: var(--green);
}

.round-link.dark {
  color: var(--paper);
  background: var(--green);
}

.round-link.dark span {
  color: var(--green);
  background: var(--coral);
}

.text-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 55px;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 750;
}

body.motion-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1050px) {
  .primary-nav {
    display: none;
  }

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

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

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

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

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

  .brand-name {
    font-size: 27px;
  }

  .header-cta {
    display: none;
  }

  .all-menu {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 30px 0;
  }

  .all-menu-links {
    gap: 30px 20px;
  }

  .footer-top {
    padding-block: 75px;
  }

  .footer-top > div,
  .footer-main,
  .footer-bottom {
    display: block;
  }

  .footer-top h2 {
    margin-bottom: 40px;
  }

  .footer-main nav {
    margin-top: 45px;
    gap: 18px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
