/* Pretendard */
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Thin.woff') format('woff'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-ExtraLight.woff') format('woff'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Light.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-ExtraBold.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Black.woff') format('woff'); font-weight: 900; font-display: swap; }

:root {
  --font-basic: 'Pretendard', sans-serif;
  --font-point: 'Pretendard', sans-serif;

  --color-black: #1B1B1B;
  --color-white: #fff;
  --color-gray-100: #f5f5f5;
  --color-gray-300: #ccc;
  --color-gray-500: #888;
  --color-gray-700: #444;

  /* Typography scale */
  --text-section-label: clamp(14px, 1.25vw, 16px);
  --text-hero-shade-title: 68px;
  --text-section-title: 50px;
  --line-height-section-title: 1.45;
  --cta-min-width: 260px;
  --cta-height: 64px;
  --cta-padding-left: 40px;
  --cta-padding-right: 24px;
  --cta-font-size: 17px;
  --text-section-lead: 16px;
  --text-card-title: clamp(20px, 1.3542vw, 26px);
  --text-body-large: clamp(16px, 0.9375vw, 18px);
  --text-body: 16px;
  --text-body-small: 14px;
  --text-caption: 12px;

  --line-height-title: 1.2;
  --line-height-body: 1.6;
  --letter-spacing-title: -.045em;
  --letter-spacing-body: -.02em;

  --inner-width: 1440px;
  --inner-padding: 0 40px;
}

.eyebrow {
  margin-bottom: 20px;
  color: #27adf1;
  font-size: var(--text-section-label);
  font-weight: 700;
  letter-spacing: .02em;
}

:is(
  .intelligent,
  .solutions,
  .keyword,
  .contact-cta,
  .sub-section,
  .wonder-before-after,
  .tech-architecture,
  .tech-principles,
  .tech-action,
  .company-heading,
  .company-side-heading,
  .recruit-intro__copy,
  .recruit-process,
  .recruit-job__content
) h2 {
  font-size: var(--text-section-title) !important;
  line-height: var(--line-height-section-title) !important;
}

.contact-cta a,
.tech-action a,
.solutions .button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: var(--cta-min-width);
  min-height: var(--cta-height);
  padding-right: var(--cta-padding-right);
  padding-left: var(--cta-padding-left);
  border-radius: 999px;
  font-size: var(--cta-font-size);
  font-weight: 600;
}

.button-dark {
  justify-content: center;
  gap: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-basic);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.6;
  letter-spacing: var(--letter-spacing-body);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

h1,
h2,
h3 {
  letter-spacing: var(--letter-spacing-title);
}

ul, ol {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Shared contact CTA button */
.contact-cta a {
  --cta-min-width: 220px;
  --cta-height: 56px;
  --cta-padding-left: 28px;
  --cta-padding-right: 20px;
  --cta-font-size: 17px;
  justify-content: center;
  gap: 18px;
  width: max-content;
  margin-top: 38px;
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  background-image: linear-gradient(90deg,#fff 0 50%,transparent 50% 100%);
  background-position: 100% 0;
  background-size: 200% 100%;
  transition: color .35s ease,background-position .4s cubic-bezier(.22,1,.36,1),border-color .35s ease;
}

.contact-cta a span {
  margin-left: 0;
}

.contact-cta a:hover,
.contact-cta a:focus-visible {
  color: #06113f;
  border-color: #fff;
  background-position: 0 0;
}

.up-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 100;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55,60,70,.3);
  border-radius: 50%;
  color: #4c515b;
  background: rgba(255,255,255,.78);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease,transform .25s ease,visibility .25s ease,background-color .25s ease;
}

.up-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.up-button:hover,
.up-button:focus-visible {
  color: #2448d8;
  border-color: rgba(36,72,216,.55);
  background: rgba(255,255,255,.92);
}

@media (max-width: 600px) {
  :root {
    --text-section-label: 12px;
    --text-section-title: 28px;
    --line-height-section-title: 1.35;
    --text-card-title: 24px;
    --cta-min-width: 180px;
    --cta-height: 50px;
    --cta-padding-left: 18px;
    --cta-padding-right: 18px;
    --cta-font-size: 14px;
  }
  main section h2 {
    font-size: var(--text-section-title) !important;
    line-height: var(--line-height-section-title) !important;
  }
  main h3 {
    font-size: var(--text-card-title) !important;
  }
  .eyebrow,
  .sub-eyebrow {
    font-size: var(--text-section-label) !important;
  }
  .contact-cta a,
  .tech-action a,
  .solutions .button-dark {
    justify-content: center;
    gap: 14px;
  }
  .contact-cta a {
    --cta-min-width: 190px;
    --cta-height: 50px;
    --cta-padding-left: 20px;
    --cta-padding-right: 20px;
    --cta-font-size: 14px;
  }
  .contact-cta a span {
    margin-left: 0;
  }
  .solutions .button-dark {
    --cta-min-width: 200px;
    --cta-height: 52px;
    --cta-padding-left: 20px;
    --cta-padding-right: 20px;
    --cta-font-size: 14px;
  }
  .up-button {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

/* inner */
.inner {
  max-width: calc(var(--inner-width) + 80px);
  margin: 0 auto;
  padding: var(--inner-padding);
}

@media (min-width: 601px) and (max-width: 768px) {
  :root {
    --text-section-label: 14px;
    --text-hero-shade-title: 24px;
    --text-section-title: 36px;
    --text-section-lead: 16px;
    --text-card-title: 24px;
    --text-body-large: 16px;
    --cta-min-width: 230px;
    --cta-height: 56px;
    --cta-padding-left: 30px;
    --cta-padding-right: 20px;
    --cta-font-size: 15px;
  }
}
