@charset "utf-8";

:root {
    /* 색상 */
    --color-primary: #0033A0;
    --color-primary-bright: #3D6FE0;
    --color-navy: #07152F;
    --color-navy-deep: #020B1D;
    --color-text: #111827;
    --color-text-2: #4B5563;
    --color-text-3: #6B7280;
    --color-line: #E5E7EB;
    --color-line-strong: #D1D5DB;
    --color-bg-soft: #F5F7FA;
    --color-white: #FFFFFF;
    --color-inverse-2: rgb(255 255 255 / 0.72);
    --color-inverse-3: rgb(255 255 255 / 0.5);
    --color-line-inverse: rgb(255 255 255 / 0.18);

    /* 폰트 */
    --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

    /* 간격 */
    --space-160: clamp(5rem, 2.5rem + 6.5vw, 10rem);
    --space-120: clamp(4rem, 2.2rem + 4.8vw, 7.5rem);
    --space-100: clamp(3.5rem, 2rem + 3.8vw, 6.25rem);
    --space-80: clamp(3rem, 2rem + 2.8vw, 5rem);
    --space-72: clamp(2.75rem, 1.9rem + 2.4vw, 4.5rem);
    --space-64: clamp(2.5rem, 1.7rem + 2.1vw, 4rem);
    --space-48: clamp(2rem, 1.5rem + 1.4vw, 3rem);
    --space-40: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
    --space-32: clamp(1.5rem, 1.3rem + 0.6vw, 2rem);
    --space-24: 1.5rem;
    --space-20: 1.25rem;
    --space-16: 1rem;
    --space-12: 0.75rem;
    --space-10: 0.625rem;
    --space-8: 0.5rem;
    --space-4: 0.25rem;

    /* 크기 */
    --size-56: 3.5rem;
    --size-44: 2.75rem;
    --size-28: 1.75rem;
    --size-22: 1.375rem;
    --size-20: 1.25rem;
    --size-16: 1rem;
    --size-14: 0.875rem;

    /* 기타 */
    --header-height: 80px;
    --radius-s: 8px;
    --radius: 16px;
    --radius-full: 999px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 타이포그래피 */
.t-display {font-size: 100px; font-weight: 600; line-height: 1.12; letter-spacing: -0.04em;}
.t-h1 {font-size: 64px; font-weight: 600; line-height: 1.22; letter-spacing: -0.035em;}
.t-h2 {font-size: 44px; font-weight: 600; line-height: 1.3; letter-spacing: -0.03em;}
.t-h3 {font-size: 28px; font-weight: 600; line-height: 1.36; letter-spacing: -0.025em;}
.t-title {font-size: 21px; font-weight: 600; line-height: 1.45; letter-spacing: -0.015em;}
.t-contact {font-size: 23px; font-weight: 500; line-height: 1.7; letter-spacing: 0;}
.t-body-l {font-size: 20px; font-weight: 400; line-height: 1.7; letter-spacing: -0.01em;}
.t-body {font-size: 17px; font-weight: 400; line-height: 1.75; letter-spacing: -0.01em;}
.t-body-m {font-size: 17px; font-weight: 500; line-height: 1.75; letter-spacing: -0.01em;}
.t-small {font-size: 15px; font-weight: 400; line-height: 1.6; letter-spacing: -0.01em;}
.t-small-m {font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: -0.01em;}
.t-caption {font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: -0.01em;}
.t-caption-m {font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em;}
.t-label {font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0.02em;}
.t-label-s {font-size: 12px; font-weight: 600; line-height: 1.7; letter-spacing: 0.18em;}
.t-index {font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.02em;}
.m-display {font-size: 36px; font-weight: 600; line-height: 1.25; letter-spacing: -0.03em;}
.m-h1 {font-size: 28px; font-weight: 600; line-height: 1.35; letter-spacing: -0.025em;}
.m-h2 {font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em;}
.m-title {font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -0.015em;}
.header-logo {font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: 0.08em;}
.header-gnb {font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: 0;}
.header-lang {font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0;}
.m-logo {font-size: 19px; font-weight: 700; line-height: 1.5; letter-spacing: 0.08em;}

/* 아이콘 */
.ico {flex: none; display: block; width: var(--size-20); height: var(--size-20); background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;}
.ico.arrow-up-right-ico {--ico: url(../img/arrow-up-right-ico.svg);}
.ico.arrow-up-ico {--ico: url(../img/arrow-up-ico.svg);}
.ico.external-ico {--ico: url(../img/external-ico.svg);}
.ico.menu-ico {--ico: url(../img/menu-ico.svg);}
.ico.close-ico {--ico: url(../img/close-ico.svg);}

/* 로고 */
.logo {display: inline-flex; align-items: center; column-gap: var(--space-10); min-height: var(--size-44); white-space: nowrap;}
.logo .logo-mark {flex: none; display: block; width: var(--size-22); height: var(--size-22); background-color: currentColor; -webkit-mask: url(../img/logo-mark.svg) center / contain no-repeat; mask: url(../img/logo-mark.svg) center / contain no-repeat;}

/* 원형 버튼 */
.round-btn {flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--size-56); height: var(--size-56); border: 1px solid transparent; border-radius: var(--radius-full); color: var(--color-text); transition: background-color 0.3s, border-color 0.3s, color 0.3s;}
.round-btn .ico {width: var(--size-20); height: var(--size-20); transition: transform 0.3s var(--ease-out);}
.round-btn.small {width: var(--size-44); height: var(--size-44);}
.round-btn.small .ico {width: var(--size-16); height: var(--size-16);}
.round-btn.line {border-color: var(--color-line-strong);}
.round-btn.white {border-color: var(--color-white); background-color: var(--color-white);}

/* 더보기 링크 */
.more-link {display: inline-flex; align-items: center; column-gap: var(--space-16); color: var(--color-text);}
.more-link.dark {color: var(--color-white);}

/* 알약 버튼 */
.pill-btn {display: inline-flex; align-items: center; column-gap: var(--space-16); padding: var(--space-8) var(--space-8) var(--space-8) var(--space-24); border: 1px solid transparent; border-radius: var(--radius-full); color: var(--color-white); transition: background-color 0.3s, border-color 0.3s;}
.pill-btn.primary {border-color: var(--color-primary); background-color: var(--color-primary);}
.pill-btn.outline {border-color: var(--color-line-inverse);}

/* 태그 */
.tag-list {display: flex; flex-wrap: wrap; gap: var(--space-8);}
.tag-list .tag {display: inline-flex; align-items: center; padding: var(--space-4) var(--space-12); border-radius: var(--radius-s); background-color: var(--color-bg-soft); color: var(--color-text-2);}

/* 호버 */
@media (hover: hover) {
    .round-btn.line:hover, .more-link:hover .round-btn.line {border-color: var(--color-primary); background-color: var(--color-primary); color: var(--color-white);}
    .round-btn.white:hover, .more-link.dark:hover .round-btn.white {border-color: var(--color-primary-bright); background-color: var(--color-primary-bright); color: var(--color-white);}
    .round-btn:hover .ico, .more-link:hover .round-btn .ico, .pill-btn:hover .round-btn .ico {transform: translate(2px, -2px);}
    .pill-btn.primary:hover {border-color: var(--color-primary-bright); background-color: var(--color-primary-bright);}
    .pill-btn.outline:hover {border-color: var(--color-inverse-3);}
}
.round-btn:focus-visible .ico, .more-link:focus-visible .round-btn .ico, .pill-btn:focus-visible .round-btn .ico {transform: translate(2px, -2px);}

@media screen and (max-width: 1440px) {
    .t-display {font-size: 84px;}
    .t-h1 {font-size: 56px;}
    .t-h2 {font-size: 40px;}
}
@media screen and (max-width: 1280px) {
    .t-display {font-size: 72px;}
    .t-h1 {font-size: 52px;}
    .t-h2 {font-size: 38px;}
}
@media screen and (max-width: 1024px) {
    :root {--header-height: 60px;}

    .t-display {font-size: 56px;}
    .t-h1 {font-size: 44px;}
    .t-h2 {font-size: 34px;}
    .t-h3 {font-size: 26px;}
    .t-contact {font-size: 21px;}
}
@media screen and (max-width: 768px) {
    .t-display, .t-h1 {font-size: 36px; line-height: 1.25; letter-spacing: -0.03em;}
    .t-h2 {font-size: 28px; line-height: 1.35; letter-spacing: -0.025em;}
    .t-h3 {font-size: 24px; line-height: 1.4; letter-spacing: -0.02em;}
    .t-title {font-size: 18px; line-height: 1.5;}
    .t-contact {font-size: 19px;}
    .t-body-l {font-size: 17px;}
    .header-logo {font-size: 19px;}

    .logo {column-gap: var(--space-8);}
    .logo .logo-mark {width: var(--size-20); height: var(--size-20);}
}
