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

:root {
    --rf-blue: #0756ef;
    --rf-blue-deep: #003ec9;
    --rf-ink: #0a1738;
    --rf-muted: #52627a;
    --rf-line: #e1e8f3;
    --rf-soft: #f4f8ff;
    --rf-header: 88px;
    --rf-radius: 18px;
    --rf-shadow: 0 14px 40px rgb(45 83 139 / 9%);
    --rf-type-hero: clamp(52px, 3.34vw, 64px);
    --rf-type-section: 48px;
    --rf-type-card: 30px;
    --rf-type-item: 20px;
    --rf-type-lead: 20px;
    --rf-type-body: 18px;
    --rf-type-support: 16px;
    --rf-type-meta: 14px;
    --rf-type-control: 17px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--rf-header) + 24px);
}

body {
    margin: 0;
    background: #fff;
    color: var(--rf-ink);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    font-size: var(--rf-type-body);
    line-height: 1.7;
}

body.has-overlay {
    overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

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

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

button {
    cursor: pointer;
}

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

img {
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid var(--rf-blue);
    outline-offset: 5px;
}

em,
i {
    font-style: normal;
}

::selection {
    color: #fff;
    background: var(--rf-blue);
}

.rf-container {
    width: min(100% - 144px, 1696px);
    margin-inline: auto;
}

.rf-section {
    padding-block: 112px;
}

.rf-eyebrow {
    color: #657b9e;
    font-weight: 600;
    font-size: var(--rf-type-meta);
    letter-spacing: .16em;
    line-height: 1.6;
}

.rf-section-heading h2 {
    margin-top: 21px;
    font-weight: 750;
    font-size: var(--rf-type-section);
    line-height: 1.24;
    letter-spacing: -.04em;
}

.rf-section-heading > p:not(.rf-eyebrow) {
    margin-top: 24px;
    color: var(--rf-muted);
    font-size: var(--rf-type-lead);
    line-height: 1.7;
}

.rf-section-heading .rf-text-link {
    margin-top: 30px;
}

.sound_only,
#hd_login_msg {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

#hd_login_msg:focus-within {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 12px;
    background: #fff;
    clip: auto;
    clip-path: none;
}

.rf-skip {
    position: fixed;
    z-index: 500;
    top: -90px;
    left: 24px;
    padding: 14px 24px;
    color: #fff;
    background: var(--rf-blue);
}

.rf-skip:focus {
    top: 12px;
}

.rf-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    height: var(--rf-header);
    background: rgb(255 255 255 / 87%);
    border-bottom: 1px solid rgb(218 229 243 / 58%);
    backdrop-filter: blur(20px);
}

.rf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.rf-logo {
    width: 244px;
    flex-shrink: 0;
    line-height: 1;
}

.rf-logo img,
.rf-footer-logo img {
    width: 100%;
    mix-blend-mode: multiply;
}

.rf-navigation ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.rf-navigation a {
    display: block;
    padding-block: 14px;
    font-weight: 600;
    transition: color .2s;
    font-size: 18px;
    white-space: nowrap;
}

.rf-navigation a:hover,
.rf-footer a:hover {
    color: var(--rf-blue);
}

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

.rf-admin {
    font-size: var(--rf-type-meta);
}

.rf-menu-button {
    display: none;
    border: 0;
    background: transparent;
}

.rf-reading-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rf-blue);
    transform: scaleX(var(--rf-progress, 0));
    transform-origin: left;
}

.rf-footer {
    padding-block: 37px;
    border-top: 1px solid var(--rf-line);
    background: #fff;
}

.rf-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.rf-footer-logo {
    width: 200px;
    flex-shrink: 0;
}

.rf-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: var(--rf-type-support);
}

.rf-footer-inner > p {
    color: var(--rf-muted);
    line-height: 1.6;
    font-size: var(--rf-type-meta);
}

.rf-top-link {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--rf-line);
    border-radius: 50%;
}

.rf-section-nav {
    position: fixed;
    z-index: 70;
    top: 40%;
    right: 20px;
    display: grid;
    gap: 20px;
}

.rf-section-nav a {
    padding: 5px;
    color: #7c8eae;
    transition: color .2s;
    font-size: var(--rf-type-meta);
}

.rf-section-nav .is-current {
    color: var(--rf-blue);
    font-weight: 800;
}

.rf-section-nav .is-current::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}

.rf-anchor {
    position: absolute;
    top: 0;
}

/* 기존 그누보드 팝업은 동작과 닫기 옵션을 보존한다. */
#hd_pop {
    position: relative;
    z-index: 150;
}

#hd_pop h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.hd_pops {
    position: absolute;
    max-width: calc(100vw - 20px);
    background: #fff;
    border: 1px solid var(--rf-line);
    box-shadow: var(--rf-shadow);
}

.hd_pops_con {
    max-width: 100%;
    overflow: auto;
}

.hd_pops_footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    background: var(--rf-ink);
    color: #fff;
}

.hd_pops_footer button {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: var(--rf-type-meta);
}

[hidden] {
    display: none !important;
}

.rf-mobile-nav-inquiry,
.rf-mobile-inquiry-bar {
    display: none;
}
