:root {
  --navy: #102f51;
  --deep-navy: #102b48;
  --button-navy: #103354;
  --orange: #ff5b12;
  --copy: #586c7b;
  --page-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--deep-navy);
  background: #fff;
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  letter-spacing: -0.03em;
}

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

.site-header { height: 76px; background: #fff; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, 100%);
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand img {height: 36px;}

.main-nav { display: flex; align-items: center; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; color: #25394c; font-size: 14px; font-weight: 600; line-height: 18px; white-space: nowrap; }
.main-nav a + a::before { display: inline-block; width: 1px; height: 11px; margin: 0 17px; background: #d7dce0; content: ""; }
.main-nav a:hover, .footer-nav a:hover { color: var(--orange); }

.header-info { display: flex; align-items: center; }
.header-info span {font-size: 14px; font-weight: 700;}

.login-link { margin-left: 20px; padding: 9px 16px; border: 1px solid #b6c0c8; border-radius: 5px; color: var(--deep-navy); font-size: 11px; font-weight: 700; line-height: 16.5px; cursor: pointer; }
.login-link:hover { border-color: var(--orange); color: var(--orange); }

.hero { position: relative; height: 310px; overflow: hidden; background: linear-gradient(156deg, #fbfaf7 8%, #f7f4ee 48%, #eee9e1 92%); }
.hero-glow { position: absolute; top: 20px; left: calc(50% - 153px); width: 230px; height: 230px; border-radius: 115px; background: #fff; filter: blur(40px); }
.hero-photo { position: absolute; top: 0; left: calc(50% - 58px); width: 1017px; height: 310px; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; top: 0; left: calc(50% - 58px); width: 183px; height: 310px; background: linear-gradient(90deg, #f7f4ee, rgba(247, 244, 238, 0)); }
.hero-inner { position: relative; z-index: 1; width: var(--page-width); margin: 0 auto; padding-top: 79px; }
.eyebrow { margin: 0; color: var(--deep-navy); font-size: 8px; font-weight: 700; line-height: 12px; letter-spacing: .38em; }
.hero h1 { margin: 13px 0 10px; font-size: 39px; font-weight: 700; line-height: 49.92px; letter-spacing: -.045em; }
.hero h1 em { color: #f25822; font-style: normal; font-weight: 800; }
.hero-description { margin: 0; color: #536678; font-size: 14px; font-weight: 400; line-height: 21px; }

.entry-wrap { width: var(--page-width); height: 66px; margin: 0 auto; }
.entry-links { position: relative; z-index: 3; top: -20px; display: grid; grid-template-columns: 1fr 1fr; height: 86px; overflow: hidden; border: 4px solid #fff; border-radius: 10px; box-shadow: 0 5px 18px rgba(15, 42, 68, .13); }
.entry-link { display: flex; align-items: center; gap: 22px; min-width: 0; padding: 0 34px; color: #fff; }
.entry-link--business { background: var(--navy); }
.entry-link--personal { background: var(--orange); }
.entry-link:hover { filter: brightness(1.06); }
.entry-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; }
.entry-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.entry-copy strong { font-size: 20px; font-weight: 800; line-height: 30px; letter-spacing: -.025em; white-space: nowrap; }
.entry-copy small { padding-top: 3px; font-size: 10px; font-weight: 600; line-height: 15px; opacity: .82; white-space: nowrap; }
.entry-arrow { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; }

.content-shell { width: min(1100px, 100%); margin: 0 auto; padding: 20px 10px 24px; }
.service-panel { padding: 22px 18px 18px; border-radius: 9px; }
.service-panel--business { background: #f1f8fc; }
.service-panel--personal { margin-top: 18px; background: #fff7ef; }
.service-heading { display: flex; align-items: center; gap: 14px; height: 43px; }
.section-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; }
.service-heading h2 { margin: 0; color: var(--deep-navy); font-size: 24px; font-weight: 800; line-height: 36px; letter-spacing: -.055em; white-space: nowrap; }
.service-heading p { height: 22px; margin: 0 0 0 0; padding: 7px 0 0 14px; color: #657887; font-size: 10px; font-weight: 600; line-height: 15px; white-space: nowrap; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.course-card { display: flex; min-width: 0; height: 300px; overflow: hidden; flex-direction: column; border-radius: 6px; background: #fff; box-shadow: 0 2px 8px rgba(27, 48, 66, .06); }
.course-image { display: block; width: 100%; height: 155px; flex: 0 0 155px; object-fit: cover; }
.course-body { display: flex; height: 145px; min-height: 145px; flex-direction: column; padding: 15px 16px 16px; }
.course-body h3 { height: 32px; margin: 0; padding-bottom: 5px; color: var(--deep-navy); font-size: 18px; font-weight: 800; line-height: 27px; letter-spacing: -.055em; white-space: nowrap; }
.course-body p { margin: 0; color: var(--copy); font-size: 11px; font-weight: 500; line-height: 17.05px; letter-spacing: -.04em; white-space: nowrap; }
.detail-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 35px; margin-top: auto; padding: 0 14px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; line-height: 16.5px; }
.detail-button--navy { background: var(--button-navy); }
.detail-button--orange { background: var(--orange); }
.detail-button:hover { filter: brightness(1.1); }

.business-contact { display: flex; align-items: center; height: 50px; margin-top: 12px; padding: 0 15px 0 20px; border-radius: 6px; background: #e7f0f8; }
.speech-mark { display: grid; width: 28px; height: 22px; flex: 0 0 28px; place-items: center; border-radius: 20px; background: #405d7c; color: #fff; font-size: 9px; font-weight: 400; line-height: 13.5px; letter-spacing: 0; }
.business-contact strong { flex: 1; padding: 0 12px; color: var(--deep-navy); font-size: 11px; font-weight: 700; line-height: 16.5px; }
.business-contact a { display: flex; align-items: center; gap: 24px; padding: 9px 13px; border: 1px solid #7b8fa0; border-radius: 5px; background: #fff; color: var(--deep-navy); font-size: 10px; font-weight: 800; line-height: 15px; }
.business-contact a:hover { border-color: var(--orange); color: var(--orange); }

.site-footer { width: var(--page-width); margin: 18px auto 0; }
.footer-inner { display: flex; align-items: center; gap: 38px; height: 80px; padding: 18px 8px; border-top: 1px solid #e7e9eb; }
.brand--footer { width: 121px; height: 36px; gap: 7px; }
.brand--footer .brand-mark { font-size: 28px; }
.brand--footer .brand-copy strong { color: #6c7982; font-size: 13px; line-height: 1.45; }
.brand--footer .brand-copy small { font-size: 4.7px; }
.footer-nav { display: flex; align-items: center; gap: 30px; color: #78858e; font-size: 8px; font-weight: 500; white-space: nowrap; }
.footer-note { margin-left: auto; color: #78858e; font-size: 8px; font-weight: 500; white-space: nowrap; }

/* Login page */
.login-page { min-height: 952px; background: #fff; }
.login-header { width: 100%; background: #fff; border-bottom: 1px solid #e7eaec; }
.login-header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1160px, 100%); height: 76px; margin: 0 auto; padding: 0 24px; }
.back-home { display: flex; align-items: center; gap: 9px; color: #5b6d79; font-size: 12px; font-weight: 600; line-height: 18px; }
.back-home:hover { color: var(--orange); }
.back-home-icon { display: grid; width: 16px; height: 16px; place-items: center; }

.login-main { display: flex; justify-content: center; padding: 35px 16px 60px; }
.login-section { width: 420px; }
.login-section h1 { margin: 0; color: #101828; font-size: 28px; font-weight: 700; line-height: 42px; text-align: center; }
.login-form { margin-top: 48px; }
.field-label { display: flex; height: 79px; flex-direction: column; gap: 8px; color: #364153; font-size: 14px; font-weight: 500; line-height: 21px; }
.field-label--spaced { margin-top: 14px; }
.field-label input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d1d5dc; border-radius: 14px; outline: 0; color: #364153; background: #fff; font: inherit; font-size: 14px; line-height: normal; }
.field-label input::placeholder { color: rgba(54, 65, 83, .5); opacity: 1; }
.field-label input:focus { border-color: #174a75; box-shadow: 0 0 0 3px rgba(23, 74, 117, .1); }
.stay-signed-in { display: flex; align-items: center; gap: 9px; height: 53.5px; padding: 14px 0 20px; color: #364153; font-size: 13px; font-weight: 400; line-height: 19.5px; }
.stay-signed-in input { width: 16px; height: 16px; margin: 0; appearance: none; border: 1px solid #767676; border-radius: 2px; background: #fff; }
.stay-signed-in input:checked { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.primary-login { width: 100%; height: 52px; border: 0; border-radius: 14px; color: #fff; cursor: pointer; background: linear-gradient(161.21deg, #102f51 8.49%, #174a75 56.64%, #ff6b35 91.51%); box-shadow: 0 7px 9px rgba(16, 47, 81, .18); font: inherit; font-size: 16px; font-weight: 700; line-height: 24px; }
.primary-login:hover { filter: brightness(1.07); }
.primary-login:focus-visible, .social-button:focus-visible, .back-home:focus-visible, .account-links a:focus-visible { outline: 2px solid #174a75; outline-offset: 3px; }

.account-links { display: flex; align-items: center; justify-content: center; gap: 13px; height: 38px; padding-top: 20px; color: #667085; font-size: 12px; font-weight: 400; line-height: 18px; }
.account-links a:hover { color: var(--orange); }
.account-links i { width: 1px; height: 10px; background: #d1d5dc; }
.social-divider { display: flex; align-items: center; gap: 15px; height: 46px; padding-top: 28px; }
.social-divider span { height: 1px; flex: 1; background: #d1d5dc; }
.social-divider p { margin: 0; color: #6a7282; font-size: 12px; font-weight: 400; line-height: 18px; white-space: nowrap; }
.social-login { display: flex; height: 182px; flex-direction: column; gap: 10px; padding-top: 24px; }
.social-button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; min-height: 46px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; line-height: 21px; }
.social-button b { position: absolute; left: 0; display: flex; width: 42px; align-items: center; justify-content: center; font-weight: 900; }
.social-button:hover { filter: brightness(.98); }
.social-button--naver { color: #fff; background: #03c75a; }
.social-button--naver b { top: 11px; font-size: 16px; line-height: 24px; }
.social-button--kakao { color: #191919; background: #fee500; }
.social-button--kakao b { top: 12px; font-size: 12px; line-height: 18px; }
.social-button--google { border: 1px solid #dadce0; color: #202124; background: #fff; }
.social-button--google b { top: 10px; color: #4285f4; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; }
.social-consent { height: 38px; margin: 0; padding-top: 22px; color: #8a94a3; font-size: 10px; font-weight: 400; line-height: 16px; text-align: center; white-space: nowrap; }

/* Stepped login page content */
.login-flow { width: 420px; }
.login-view[hidden] { display: none; }
.login-choice-content { padding-top: 45px; }
.login-step { height: 15px; margin: 0; color: #ff6b35; font-size: 10px; font-weight: 800; line-height: 15px; letter-spacing: .18em; text-align: center; }
.login-choice-title, .member-login-title { display: flex; align-items: flex-start; justify-content: center; height: 50px; padding-top: 8px; }
.login-choice-title h1, .member-login-title h1 { margin: 0; color: #101828; font-size: 28px; font-weight: 700; line-height: 42px; letter-spacing: -.04em; text-align: center; }
.member-login-title h1:focus { outline: none; }
.login-choice-description { height: 30px; margin: 0; padding-top: 10px; color: #6a7282; font-size: 13px; font-weight: 400; line-height: 19.5px; text-align: center; }
.member-type-options { display: flex; height: 232px; flex-direction: column; gap: 13px; padding-top: 35px; }
.member-type-option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 92px; padding: 18px 20px; border: 1px solid #d9dfe3; border-radius: 16px; color: #152b3c; cursor: pointer; background: #fff; font: inherit; text-align: left; }
.member-type-option:hover { border-color: #aebbc5; box-shadow: 0 6px 14px rgba(16, 43, 72, .06); }
.member-type-personal:hover {border-color: #ff8a5f;}
.member-type-option:focus-visible, .member-back:focus-visible { outline: 2px solid #174a75; outline-offset: 3px; }
.member-type-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 14px; }
.member-type-icon--personal { background: #fff0e9; }
.member-type-icon--business { background: #edf3f8; }
.member-type-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; }
.member-type-copy strong { color: #152b3c; font-size: 17px; font-weight: 800; line-height: 25.5px; }
.member-type-copy small { width: 100%; height: 22px; padding-top: 5px; color: #7d8992; font-size: 11px; font-weight: 400; line-height: 16.5px; }
.member-type-arrow { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; }

.member-back-row { height: 44px; }
.member-back { height: 18px; margin-top: 4px; padding: 0; border: 0; color: #63737e; cursor: pointer; background: transparent; font: inherit; font-size: 12px; font-weight: 600; line-height: 18px; }
.member-back:hover { color: var(--orange); }
.member-form { margin-top: 48px; }
.member-field { display: flex; height: 79px; flex-direction: column; gap: 8px; color: #364153; font-size: 14px; font-weight: 500; line-height: 21px; position: relative; }
.member-field--spaced { margin-top: 14px; }
.member-field input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d1d5dc; border-radius: 14px; outline: 0; color: #364153; background: #fff; font: inherit; font-size: 14px; line-height: normal; }
.member-field input::placeholder { color: rgba(54, 65, 83, .5); opacity: 1; }
.member-field input:focus { border-color: #174a75; box-shadow: 0 0 0 3px rgba(23, 74, 117, .1); }
.member-field .img-box {
  position: absolute;
  right: 14px;
  bottom: 22px;
  cursor: pointer;
  width: 20px;
  height: 0;
  display: flex;
  align-items: center;
}
.member-field .img-box img {
  width: 16px;
  height: 14px;
}
#alert-span {
  color: red;
  font-size: 11px;
  padding-left: 8px;
  line-height: 20px;
  vertical-align: bottom;
}
.member-remember { display: flex; align-items: center; gap: 10px; margin: 14px 0 0 0; color: #364153; font-size: 13px; font-weight: 400; line-height: 19.5px; }
.member-remember input { width: 16px; height: 16px; margin: 0; appearance: none; border: 1px solid #767676; border-radius: 2px; background: #fff; }
.member-remember input:checked { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.business-login-spacer { height: 53.5px; }
.member-primary-login { width: 100%; height: 52px; margin: 20px 0 0 0; border: 0; border-radius: 14px; color: #fff; cursor: pointer; background: linear-gradient(161.21deg, #102f51 8.49%, #174a75 56.64%, #ff6b35 91.51%); box-shadow: 0 7px 9px rgba(16, 47, 81, .18); font: inherit; font-size: 16px; font-weight: 700; line-height: 24px; }
.member-primary-login:hover { filter: brightness(1.07); }
.member-primary-login:focus-visible, .member-social-button:focus-visible, .member-account-links a:focus-visible { outline: 2px solid #174a75; outline-offset: 3px; }
.member-account-links { display: flex; align-items: center; justify-content: center; gap: 13px; height: 38px; padding-top: 20px; color: #667085; font-size: 12px; font-weight: 400; line-height: 18px; }
.member-account-links a:hover { color: var(--orange); }
.member-account-links i { width: 1px; height: 10px; background: #d1d5dc; }
.member-social-divider { display: flex; align-items: center; gap: 15px; height: 46px; padding-top: 28px; }
.member-social-divider span { height: 1px; flex: 1; background: #d1d5dc; }
.member-social-divider p { margin: 0; color: #6a7282; font-size: 12px; font-weight: 400; line-height: 18px; white-space: nowrap; }
.member-social-login { display: flex; height: 182px; flex-direction: column; gap: 10px; padding-top: 24px; }
.member-social-button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; min-height: 46px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; line-height: 21px; }
.member-social-button img { position: absolute; left: -1px; display: flex; width: 45px; align-items: center; justify-content: center; font-weight: 900; }
.member-social-button:hover { filter: brightness(.98); }
.member-social-button--naver { color: #fff; background: #03c75a; }
.member-social-button--naver b { top: 11px; font-size: 16px; line-height: 24px; }
.member-social-button--kakao { color: #191919; background: #fee500; }
.member-social-button--kakao b { top: 12px; font-size: 12px; line-height: 18px; }
.member-social-button--google { border: 1px solid #dadce0; color: #202124; background: #fff; }
.member-social-button--google b { top: 10px; color: #4285f4; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; }
.member-social-consent { height: 38px; margin: 0; padding-top: 22px; color: #8a94a3; font-size: 10px; font-weight: 400; line-height: 16px; text-align: center; white-space: nowrap; }

/* Direct member-type login */
.direct-login { width: 420px; }
.direct-login-title { margin: 0; color: #101828; font-size: 28px; font-weight: 700; line-height: 42px; letter-spacing: -.04em; text-align: center; }
.member-type-group { margin: 30px 0 0; padding: 0; border: 0; }
.member-type-group legend { margin: 0 0 10px; padding: 0; color: #364153; font-size: 14px; font-weight: 500; line-height: 21px; }
.member-radio-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.member-radio-option { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 1px solid #d1d5dc; border-radius: 14px; color: #63737e; cursor: pointer; background: #fff; font-size: 14px; font-weight: 600; line-height: 21px; }
.member-radio-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.member-radio-option.is-selected { border-color: #174a75; color: #102f51; background: #fff; box-shadow: inset 0 0 0 1px #174a75; }
.member-radio-option:has(input:focus-visible) { outline: 2px solid #174a75; outline-offset: 3px; }
.member-radio-dot { width: 16px; height: 16px; border: 1px solid #9ca8b2; border-radius: 50%; background: #fff; }
.member-radio-option.is-selected .member-radio-dot { border: 5px solid #174a75; }
.member-radio-option-personal.is-selected {border-color: #ff6b35; color: #ff6b35; box-shadow: inset 0 0 0 1px #ff6b35;}
.member-radio-option-personal:has(input:focus-visible) {outline: 2px solid #ff6b35; outline-offset: 3px;}
.member-radio-option-personal.is-selected .member-radio-dot {border: 5px solid #ff6b35;}
.member-radio-label { white-space: nowrap; }
.member-type-hint { height: 19.5px; margin: 10px 0 0; color: #6a7282; font-size: 13px; font-weight: 400; line-height: 19.5px; text-align: center; }
.member-form--direct { margin-top: 29.5px; }
.direct-login [hidden] { display: none; }

@media (max-width: 900px) {
  :root { --page-width: min(1080px, calc(100vw - 32px)); }
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .login-link { margin-left: auto; }
  .hero-inner { padding-top: 77px; }
  .hero-photo { left: 55%; opacity: .5; }
  .hero-fade { left: 48%; width: 240px; }
  .content-shell { padding-right: 16px; padding-left: 16px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-card { height: 300px; }
  .site-footer { width: calc(100% - 32px); }
  .footer-nav { gap: 16px; }
}

@media (max-width: 600px) {
  .site-header, .header-inner { height: 64px; }
  .brand-mark { font-size: 31px; }
  .brand-copy strong { font-size: 15px; }
  .login-link { padding: 7px 12px; }
  .hero { height: 316px; }
  .hero-inner { padding-top: 64px; }
  .hero-photo { left: 20%; opacity: .22; }
  .hero-fade { left: 0; width: 100%; background: linear-gradient(90deg, rgba(247,244,238,.96), rgba(247,244,238,.65)); }
  .hero h1 { font-size: clamp(29px, 8vw, 38px); line-height: 1.27; }
  .hero-description { font-size: 13px; }
  .entry-wrap { height: 138px; }
  .entry-links { top: -16px; height: 154px; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .entry-link { gap: 16px; padding: 0 22px; }
  .entry-copy strong { font-size: 17px; line-height: 22px; }
  .entry-copy small { font-size: 9px; line-height: 13px; }
  .service-panel { padding: 18px 14px 14px; }
  .service-heading { height: auto; flex-wrap: wrap; gap: 8px 10px; }
  .service-heading h2 { font-size: 21px; line-height: 32px; }
  .service-heading p { width: 100%; height: auto; padding: 0; font-size: 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .course-card { height: 294px; }
  .course-image { height: 150px; flex-basis: 150px; }
  .course-body { height: 144px; min-height: 144px; }
  .business-contact { height: auto; min-height: 64px; padding: 10px 12px; flex-wrap: wrap; gap: 7px; }
  .business-contact strong { min-width: calc(100% - 40px); padding: 0 0 0 10px; }
  .business-contact a { width: 100%; justify-content: space-between; }
  .footer-inner { height: auto; min-height: 100px; flex-wrap: wrap; gap: 10px 20px; }
  .footer-nav { width: 100%; order: 3; flex-wrap: wrap; gap: 8px 16px; }
  .footer-note { margin-left: auto; }
  .login-page { min-height: 100vh; }
  .login-header-inner { height: 64px; padding: 0 20px; }
  .back-home { font-size: 11px; }
  .login-main { padding: 32px 20px 48px; }
  .login-section { width: min(420px, 100%); }
  .login-form { margin-top: 38px; }
  .social-consent { height: auto; white-space: normal; }
  .login-flow { width: min(420px, 100%); }
  .login-choice-content { padding-top: 32px; }
  .login-choice-title h1, .member-login-title h1 { font-size: 25px; }
  .member-social-consent { height: auto; white-space: normal; }
  .direct-login { width: min(420px, 100%); }
  .member-type-group { margin-top: 24px; }
}
