:root {
    font:
        16px 'Pretendard',
        'Malgun Gothic',
        sans-serif;
    color: #21364f;
    --primary: #2563eb;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
}
a {
    text-decoration: none;
    color: inherit;
}
h1,
h2,
h3,
p {
    margin: 0;
}
button,
input,
textarea,
select {
    font: inherit;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 6%;
    border-bottom: 1px solid #e8edf4;
    background: white;
    gap: 25px;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    font-size: 23px;
}
.site-brand > span {
    background: #286ce1;
    color: #fff;
    border-radius: 10px;
    padding: 9px;
    font-size: 15px;
}
.site-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
}
.site-header nav li {
    position: relative;
    font-size: 14px;
}
.site-header nav li > a,
.site-header nav li > span {
    display: block;
    padding: 12px 0;
}
.site-header nav li.active > a,
.site-header nav li.active > span {
    color: var(--primary);
    font-weight: 700;
}
.site-header nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 160px;
    background: white;
    padding: 15px 20px;
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    box-shadow: 0 10px 25px #18355a12;
    z-index: 10;
}
.site-header nav li:hover > ul,
.site-header nav li:focus-within > ul {
    display: block;
}
.site-header nav ul ul li {
    white-space: nowrap;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 9%;
    background: linear-gradient(115deg, #eef4ff, #f9fcff);
    gap: 40px;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    color: #7598c7;
    font-weight: 600;
}
.hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
    line-height: 1.35;
    margin: 22px 0;
}
.hero p {
    font-size: 16px;
    line-height: 1.9;
    color: #7b91ad;
    margin-bottom: 28px;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 22px;
    border: 1px solid #d6e2f2;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #385679;
}
.button.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.hero-object {
    width: 300px;
    height: 300px;
    background: linear-gradient(145deg, #377ce8, #1c4ead);
    border-radius: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-9deg);
    box-shadow: 25px 30px 0 #dfebfb;
    flex-shrink: 0;
}
.hero-object span {
    color: #fff;
    font-size: 110px;
    font-weight: 900;
    letter-spacing: -12px;
}
.hero-object small {
    font-size: 9px;
    letter-spacing: 2px;
    color: #a7c9ff;
    margin-top: 15px;
}
.site-container {
    max-width: 1200px;
    margin: auto;
    padding: 75px 40px;
}
.section-title h2 {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: -1px;
    margin-top: 14px;
}
.section-title > small {
    font-size: 10px;
    color: #89a0bd;
    letter-spacing: 1px;
}
.site-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}
.site-cards article {
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    padding: 30px;
}
.site-cards small {
    font-size: 12px;
    color: #75a2e5;
}
.site-cards h3 {
    margin: 25px 0 15px;
    font-size: 19px;
}
.site-cards p {
    font-size: 14px;
    line-height: 1.9;
    color: #8a9bb2;
}
.sub-visual {
    position: relative;
    min-height: 285px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #eaf2ff;
    overflow: hidden;
}
.sub-visual > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.sub-visual > div {
    position: relative;
    padding: 40px 20px;
}
.sub-visual h1 {
    font-size: 37px;
    margin: 15px 0;
    letter-spacing: -1.4px;
}
.sub-visual small {
    font-size: 12px;
    color: #7191bb;
}
.sub-visual p {
    font-size: 14px;
    color: #7e98ba;
}
.content-page {
    min-height: 400px;
}
.content-page h2 {
    font-size: 28px;
    margin: 15px 0;
}
.prose {
    font-size: 16px;
    line-height: 2;
    color: #768ca7;
    margin-top: 30px;
    overflow-wrap: anywhere;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: #f7f9fc;
    border-top: 1px solid #e7edf5;
    padding: 40px 7%;
}
.site-footer p {
    font-size: 12px;
    color: #91a2b9;
    margin-top: 13px;
}
.site-footer nav {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #7891b0;
}
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
}
.contact-layout h2 {
    font-size: 26px;
    line-height: 1.5;
    margin: 20px 0;
}
.contact-layout p {
    line-height: 1.9;
    color: #91a1b7;
    font-size: 14px;
}
.contact-layout .small-note {
    font-size: 11px;
    margin-top: 30px;
}
.field {
    display: block;
    margin-bottom: 23px;
}
.field > span {
    display: block;
    font-size: 12px;
    color: #6f85a3;
    margin-bottom: 9px;
}
.field input,
.field textarea {
    padding: 12px;
    width: 100%;
    border: 1px solid #d8e2ef;
    border-radius: 5px;
    color: #2e496e;
    background: #fff;
    font-size: 14px;
}
.field textarea {
    resize: vertical;
    line-height: 1.8;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.honeypot {
    position: absolute;
    left: -10000px;
}
.complete {
    text-align: center;
    min-height: 370px;
}
.complete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #e5f6ef;
    color: #119a69;
    border-radius: 50%;
    font-size: 25px;
}
.complete h2 {
    margin: 20px;
}
.complete p {
    color: #8c9eb5;
    margin-bottom: 30px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #9bbfff;
    outline-offset: 4px;
}
@media (max-width: 760px) {
    .site-header {
        padding: 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .site-header nav ul {
        gap: 20px;
    }
    .site-header nav li {
        font-size: 12px;
    }
    .site-header nav ul ul {
        left: 0;
    }
    .hero {
        padding: 60px 25px;
    }
    .hero h1 {
        font-size: 37px;
    }
    .hero-object {
        display: none;
    }
    .hero p {
        font-size: 14px;
    }
    .site-container {
        padding: 45px 22px;
    }
    .site-cards,
    .contact-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .site-cards {
        gap: 15px;
    }
    .contact-layout {
        gap: 30px;
    }
    .sub-visual {
        min-height: 230px;
    }
    .sub-visual h1 {
        font-size: 28px;
    }
    .site-footer {
        align-items: start;
        flex-direction: column;
        padding: 30px 22px;
    }
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .button {
        min-height: 44px;
    }
}

/* 회원 스킨: 기본 테마에서 변경할 수 있는 사용자 화면 스타일 */
.member-shell {
    width: min(560px, calc(100% - 32px));
    margin: 64px auto;
    padding: 36px;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
}
.member-wide {
    width: min(880px, calc(100% - 32px));
}
.member-heading h1 {
    margin: 12px 0 24px;
    font-size: 28px;
}
.member-form {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}
.member-form .field {
    display: grid;
    gap: 8px;
    font-size: 14px;
}
.member-form input:not([type='checkbox']),
.member-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd8e8;
    border-radius: 6px;
    font: inherit;
    min-width: 0;
}
.member-notice,
.member-error {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}
.member-notice {
    background: #eaf8f1;
    color: #177448;
}
.member-error {
    background: #fff0f0;
    color: #ac2634;
}
.member-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    font-size: 14px;
}
.member-menu {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}
.member-menu a {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
}
.member-agreement {
    padding: 18px;
    background: #f6f8fc;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.member-agreement label {
    display: block;
    margin-top: 14px;
}
.member-terms-body {
    max-height: 220px;
    overflow: auto;
    margin: 16px 0;
    line-height: 1.8;
}
.member-welcome {
    font-size: 20px;
    font-weight: 600;
}
.button.danger {
    background: #c93748;
    color: #fff;
    border-color: #c93748;
}
.site-account {
    white-space: nowrap;
    font-size: 14px;
    margin-left: 20px;
}
@media (max-width: 600px) {
    .member-shell {
        margin: 24px auto;
        padding: 24px 18px;
    }
    .site-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    .site-account {
        margin-left: auto;
    }
}
