@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
    --navy: #101b39;
    --mint: #71fadc;
    --mint-ink: #0f766e;
    --electric: #49b4ff;
    --paper: #f5f6f8;
    --ink: #121826;
    --muted: #5c6573;
    --line: #e4e7ee;
    --max-width: 1440px;
    --side-pad: clamp(20px, 3vw, 48px);
    --header-height: 80px
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    word-break: keep-all;
    min-height: 100svh;
    display: flex;
    flex-direction: column
}

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

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

button,
input {
    font: inherit;
    color: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: not-allowed
}

button {
    border: 0;
    background: none
}

ul {
    list-style: none;
    padding: 0;
    margin: 0
}

h1,
h2,
p {
    margin: 0
}

::selection {
    background: var(--mint);
    color: var(--navy)
}

:focus-visible {
    outline: 2px solid var(--mint-ink);
    outline-offset: 5px
}

.site-header :focus-visible,
.home-hero :focus-visible {
    outline-color: var(--mint)
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

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

.skip-link:focus {
    top: 12px
}

html[data-locale=ko] [data-lang=en],
html[data-locale=en] [data-lang=ko] {
    display: none !important
}

html.i18n-review [data-status=draft] {
    text-decoration: underline dotted #c2410c;
    text-underline-offset: .2em
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    color: white
}

.header-inner {
    max-width: var(--max-width);
    min-height: var(--header-height);
    padding: 14px var(--side-pad);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.logos {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0
}

.logos img {
    height: 27px;
    width: auto;
    object-fit: contain
}

.logos img+img {
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid #ffffff40
}

.logos img:last-child {
    height: 17px
}

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

.gnb {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px
}

.nav-item {
    position: relative
}

.nav-item>a {
    display: block;
    padding: 12px 0;
    white-space: nowrap
}

.nav-item.is-active>a,
.nav-item a:hover {
    color: var(--mint)
}

.submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 230px;
    background: #101b39;
    border: 1px solid #ffffff20;
    padding: 10px;
    transition: opacity .2s
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
    visibility: visible;
    opacity: 1
}

.submenu a {
    display: block;
    padding: 10px;
    font-size: 14px
}

.submenu a[aria-current=page] {
    color: var(--mint)
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    white-space: nowrap
}

.language-switch button {
    padding: 8px 5px;
    color: #ffffff70
}

.language-switch button[aria-pressed=true] {
    color: white;
    font-weight: 700
}

.language-switch>span {
    color: #ffffff50
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    width: 44px;
    height: 44px
}

.site-footer {
    max-width: var(--max-width);
    width: 100%;
    margin: auto auto 0;
    padding: 24px var(--side-pad);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 11px
}

.site-footer strong {
    color: var(--ink);
    letter-spacing: .1em
}

.site-footer>span {
    letter-spacing: .2em;
    white-space: nowrap
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em
}

.muted {
    color: var(--muted)
}

.text-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mint-ink);
    border-bottom: 1px solid currentColor
}

.error-page {
    padding: 100px var(--side-pad);
    flex: 1
}

.error-page h1 {
    font-size: clamp(32px, 5vw, 64px)
}

.error-page p {
    margin-top: 24px
}

.reveal {
    animation: rise .7s ease both
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1100px) {
    .header-actions {
        gap: 12px
    }

    .gnb {
        gap: 18px
    }

    .logos img {
        height: 23px
    }

    .logos img:last-child {
        height: 14px
    }

    .logos img+img {
        padding-left: 12px;
        margin-left: 12px
    }
}

@media(max-width:1000px) {
    :root {
        --header-height: 72px
    }

    .menu-toggle {
        display: block
    }

    #main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        max-height: calc(100svh - var(--header-height));
        overflow: auto;
        border-top: 1px solid #ffffff20;
        padding: 20px var(--side-pad)
    }

    #main-menu.is-open {
        display: block
    }

    .gnb {
        display: block
    }

    .nav-item {
        border-bottom: 1px solid #ffffff20;
        padding: 12px 0
    }

    .nav-item>a {
        font-size: 18px;
        color: var(--mint)
    }

    .submenu {
        visibility: visible;
        opacity: 1;
        position: static;
        transform: none;
        width: 100%;
        background: none;
        border: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .submenu a {
        padding: 12px 0
    }

    .logos img {
        height: 23px
    }

    .logos img:last-child {
        height: 14px
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:600px) {
    .header-inner {
        gap: 8px;
        padding: 10px 16px
    }

    .logos img {
        height: 18px
    }

    .logos img+img {
        padding-left: 8px;
        margin-left: 8px
    }

    .logos img:last-child {
        display: none
    }

    .header-actions {
        gap: 2px
    }

    .language-switch {
        font-size: 12px
    }

    .menu-toggle {
        width: 36px
    }

    .site-footer {
        font-size: 10px
    }

    .site-footer>span {
        font-size: 9px
    }

    .submenu {
        grid-template-columns: 1fr
    }

    .logos {
        max-width: calc(100vw - 130px)
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }
}

.menu-toggle svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: auto
}