@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-display: block;
  font-weight: 45 920;
  src: url("./fonts/PretendardVariable.site.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-display: block;
  font-weight: 400;
  src: url("./fonts/MaterialSymbolsOutlined.site.woff2") format("woff2");
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
}

body {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}

header {
  position: fixed;
  top: 0;
  height: 4rem;
  background-color: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.header-spacer {
  display: block;
  width: 100%;
  height: 4rem;
  flex: 0 0 4rem;
}

header > nav > a,
header > button:last-child,
#nav-drawer a {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}

header > nav > a {
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

header > nav > a.text-on-surface-variant {
  color: #30323d;
}

header > nav > a.text-primary {
  font-weight: 800 !important;
}

img {
  max-width: 100%;
}

img[src$="images/logo.png"] {
  aspect-ratio: 934 / 799;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  inline-size: 1em;
  block-size: 1em;
  flex: 0 0 1em;
  overflow: hidden;
  white-space: nowrap;
}

.responsive-actions {
  display: grid !important;
  width: 100%;
  max-width: 34rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: center;
}

.responsive-actions > a {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem !important;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  white-space: nowrap;
}

.page-hero {
  display: flex !important;
  height: 30rem !important;
  align-items: center;
  padding-block: 0 !important;
  background-color: #1a237e;
}

.page-hero__content {
  display: grid !important;
  width: 100%;
  grid-template-rows: 2rem 5rem 8rem 3.5rem;
  align-content: center;
  justify-items: center;
  row-gap: 0.75rem;
}

.page-hero__content > span,
.page-hero__content > h2,
.page-hero__content > p,
.page-hero__content > .responsive-actions {
  margin: 0 !important;
}

.page-hero__content > h2,
.page-hero__content > p {
  align-self: center;
}

.page-hero__content > p {
  width: 100%;
  max-width: 48rem !important;
}

.before-service-title {
  max-width: 100%;
  word-break: keep-all;
}

.before-service-title__phrase {
  white-space: nowrap;
}

.service-carousel {
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.live-contract-badge {
  min-height: 1.875rem;
  gap: 0.375rem;
  white-space: nowrap;
}

.live-contract-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-radius: 9999px;
  background-color: #06b6d4;
  box-shadow: 0 0 0 0.125rem rgba(6, 182, 212, 0.12);
  animation: live-contract-pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes live-contract-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1.125);
  }
}

@keyframes live-contract-glow {
  0%, 100% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-contract-dot {
    transform: none;
    animation: live-contract-glow 3s ease-in-out infinite;
    will-change: opacity;
  }
}

@media (max-width: 1023px) {
  .service-carousel {
    overscroll-behavior-block: none;
    scroll-padding-inline: 0.5rem;
    touch-action: pan-x;
  }

  .service-carousel > * {
    flex: 0 0 18.125rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    user-select: none;
  }
}

@media (min-width: 1024px) {
  .service-carousel {
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
  }
}

@media (max-width: 639px) {
  header {
    padding-inline: 0.75rem !important;
  }

  header > div {
    gap: 0.5rem !important;
  }

  header > button:last-child {
    padding-inline: 1rem !important;
  }

  .maintenance-hero {
    padding-block: 0 !important;
  }

  .maintenance-hero__copy {
    max-width: 34ch;
    margin-inline: auto;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .maintenance-hero__title-accent {
    display: block;
    font-size: 1.6875rem;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .before-service-title {
    display: block !important;
    padding-left: 0.75rem !important;
    font-size: 1.625rem !important;
    line-height: 2.125rem !important;
    text-align: center;
  }

  .before-service-title__phrase {
    display: block;
  }
}

@media (min-width: 640px) {
  .responsive-actions {
    width: 25rem;
    max-width: 100%;
    grid-template-columns: repeat(2, 12rem);
    gap: 1rem;
  }

  .responsive-actions > a {
    flex: 0 0 12rem !important;
    width: 12rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  header > nav {
    position: absolute;
    left: 50%;
    display: grid !important;
    grid-template-columns: repeat(5, 6.75rem);
    gap: 0.5rem;
    transform: translateX(-50%);
  }

  header > nav > a {
    display: flex;
    width: 6.75rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    white-space: nowrap;
  }

  .page-hero {
    height: 37.5rem !important;
  }

  .page-hero__content {
    grid-template-rows: 2rem 8rem 5.25rem 3.5rem;
    row-gap: 1rem;
  }
}
