/* 서비스 소개 새 페이지 — 새 디자인 10.16~10.19 (피그마 2026-10-20 사본 hrkV)
   PUB-02 인증 방법(1759:7344 · 펼침 1774:7417) · PUB-04B 기관 이용 안내(1761:7474 · 펼침 1774:8128)
   퍼블리싱 about-method.html · about-org.html 과 개발 C-02 페이지(cms_pages method · org)가 같이 씀 · 클래스는 모두 ab- 로 시작 */

.ab-page { display: flex; flex-direction: column; background: var(--vb-color-surface-white); }
.ab-wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.ab-wrap--880 { width: min(880px, 100% - 40px); }

/* 섹션 · 머리 */
.ab-sec { padding: 120px 0; background: var(--vb-color-surface-white); }
.ab-sec--tint { padding: 110px 0; background: var(--vb-color-brand-green-surface); }
.ab-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ab-eyebrow { margin: 0; font-size: 15px; font-weight: 700; color: var(--vb-color-brand-green); }
.ab-title { margin: 0; font-family: var(--vb-font-brand); font-size: 40px; font-weight: 800; line-height: 52px; letter-spacing: -0.8px; color: var(--vb-color-text-title); }
.ab-title--48 { font-size: 48px; line-height: 62px; letter-spacing: -0.96px; }
.ab-title--36 { font-size: 36px; line-height: 48px; letter-spacing: -0.72px; }
.ab-lead { margin: 0; font-size: 18px; line-height: 30px; color: var(--vb-color-text-secondary); }

/* 칩 */
.ab-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--vb-color-brand-green-tint); font-size: 12px; font-weight: 700; color: var(--vb-color-brand-green); white-space: nowrap; }
.ab-chip--rr { background: var(--vb-color-rr-tint); color: var(--vb-color-rr-blue); }
.ab-chip--tr { background: var(--vb-color-tr-tint); color: var(--vb-color-tr-purple); }
.ab-chip--student { color: var(--vb-color-brand-green-dark); }
.ab-chip--l { height: 32px; padding: 0 14px; font-size: 13px; }
.ab-chip--m { height: 28px; padding: 0 12px; font-size: 13px; }

/* 히어로 — 연초록 그라데이션 */
.ab-hero { padding: 88px 0 100px; background: linear-gradient(180deg, #fbfdf9 0%, #f1faee 100%); }
.ab-hero .ab-head { gap: 14px; }

/* 인증 방법 — 네 걸음 카드 */
.ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.ab-step { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px; border: 1px solid var(--vb-color-border-default); border-radius: 24px; background: var(--vb-color-surface-white); }
.ab-step h2 { margin: 14px 0 6px; font-size: 22px; font-weight: 700; line-height: normal; color: var(--vb-color-text-title); }
.ab-step p { margin: 0; font-size: 14px; line-height: 22px; color: var(--vb-color-text-secondary); }

/* 인증 방법 — 두 레이스 (글 + 화면 그림) */
.ab-races { display: flex; flex-direction: column; gap: 110px; }
.ab-race { display: flex; align-items: center; gap: 64px; }
.ab-race__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ab-race__text .ab-title { margin-top: 12px; }
.ab-race__text > p { margin: 16px 0 0; font-size: 17px; line-height: 29px; color: var(--vb-color-text-secondary); }
.ab-rules { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ab-screen { flex: none; width: 560px; height: 360px; overflow: hidden; border-radius: 16px; box-shadow: 0 18px 50px rgba(16, 69, 47, 0.14); background: #fff; }
.ab-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* 인증 방법 — 거리 공식 · 환산표 · 코스 */
.ab-formula { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 48px 0 0; padding: 48px 56px; border: 1px solid var(--vb-color-border-default); border-radius: 24px; background: var(--vb-color-surface-white); }
.ab-formula__box { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 170px; padding: 22px 18px; border-radius: 18px; background: var(--vb-color-brand-green-surface); }
.ab-formula__box span { font-size: 12px; font-weight: 700; color: var(--vb-color-text-muted); }
.ab-formula__box b { font-family: var(--vb-font-brand); font-size: 40px; font-weight: 800; letter-spacing: -0.8px; line-height: normal; color: var(--vb-color-text-title); white-space: nowrap; }
.ab-formula__box--stage b { color: var(--vb-color-brand-green); }
.ab-formula__box--score b { color: var(--vb-color-rr-blue); }
.ab-formula__op { font-family: var(--vb-font-brand); font-size: 36px; font-weight: 800; color: var(--vb-color-text-muted); }
.ab-note { margin: 22px 0 0; font-size: 15px; line-height: 27px; text-align: center; color: var(--vb-color-text-secondary); }
.ab-toggle-wrap { display: flex; justify-content: center; margin: 18px 0 0; }
.ab-toggle { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border: 1px solid var(--vb-color-brand-green-line); border-radius: 999px; background: var(--vb-color-surface-white); font: inherit; font-size: 14px; font-weight: 700; color: var(--vb-color-text-title); cursor: pointer; }
.ab-km { margin: 24px 0 0; }
.ab-km[hidden] { display: none; }
.ab-tables { display: flex; gap: 20px; align-items: flex-start; }
.ab-table { flex: 1 1 0; min-width: 0; overflow: hidden; border: 1px solid var(--vb-color-border-default); border-radius: 18px; background: var(--vb-color-surface-white); }
.ab-table__title { display: flex; align-items: center; gap: 10px; padding: 18px 20px 16px; }
.ab-table__title small { font-size: 13px; color: var(--vb-color-text-muted); }
.ab-table__scroll { overflow-x: auto; }
.ab-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ab-table th, .ab-table td { height: 42px; padding: 0; text-align: right; white-space: nowrap; }
.ab-table th:first-child, .ab-table td:first-child { width: 72px; padding-left: 16px; text-align: left; }
.ab-table th:last-child, .ab-table td:last-child { padding-right: 16px; }
.ab-table thead th { font-weight: 700; color: var(--vb-color-rr-blue); background: var(--vb-color-rr-tint); }
.ab-table--tr thead th { color: var(--vb-color-tr-purple); background: var(--vb-color-tr-tint); }
.ab-table tbody th { font-weight: 700; color: var(--vb-color-text-title); }
.ab-table tbody td { font-weight: 400; color: var(--vb-color-text-secondary); }
.ab-table tbody td.is-zero { color: var(--vb-color-text-muted); }
.ab-table tbody tr + tr > * { border-top: 1px solid #eef2ef; }
.ab-course { margin: 20px 0 0; padding: 24px 32px 12px; border: 1px solid var(--vb-color-border-default); border-radius: 18px; background: var(--vb-color-surface-white); }
.ab-course h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--vb-color-text-title); }
.ab-course dl { margin: 0; }
.ab-course__row { display: flex; align-items: center; padding: 16px 0; border-top: 1px solid #e6ece8; }
.ab-course__row dt { width: 120px; font-size: 14px; color: var(--vb-color-text-muted); }
.ab-course__row dd { margin: 0; }
.ab-course__value { width: 300px; font-size: 18px; font-weight: 700; color: var(--vb-color-text-title); }
.ab-course__desc { font-size: 14px; color: var(--vb-color-text-secondary); }

/* 자주 묻는 질문 — 누르면 펼침 · 움직임 없음 */
.ab-faq-sec { padding: 110px 0 40px; background: var(--vb-color-surface-white); }
.ab-faq { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--vb-color-border-default); }
.ab-faq__item { border-bottom: 1px solid var(--vb-color-border-default); }
.ab-faq__item.is-open { padding-bottom: 26px; }
.ab-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 24px 4px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 600; text-align: left; color: var(--vb-color-text-title); cursor: pointer; }
.ab-faq__item.is-open .ab-faq__q { padding-bottom: 14px; color: var(--vb-color-brand-green); }
.ab-faq__q span { flex: none; font-size: 15px; font-weight: 400; color: var(--vb-color-text-muted); }
.ab-faq__a { margin: 0; padding: 16px 20px; border-radius: 14px; background: var(--vb-color-brand-green-surface); font-size: 15px; line-height: 25px; color: var(--vb-color-text-secondary); }
.ab-faq__a[hidden] { display: none; }

/* 마무리 띠 */
.ab-cta-sec { padding: 60px 0 100px; background: var(--vb-color-surface-white); }
.ab-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 56px; border-radius: 28px; background: var(--vb-color-brand-green-tint); }
.ab-cta h2 { margin: 0; font-family: var(--vb-font-brand); font-size: 30px; font-weight: 800; line-height: 40px; letter-spacing: -0.6px; color: var(--vb-color-text-title); }
.ab-cta p { margin: 10px 0 0; font-size: 16px; color: var(--vb-color-text-secondary); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-actions .btn { min-width: 120px; text-decoration: none; }

/* 기관 이용 안내 — 히어로 글 + 코드 그림 */
.ab-hero--org { padding: 88px 0 96px; }
.ab-hero-row { display: flex; align-items: center; gap: 56px; }
.ab-hero-row__text { flex: 1 1 0; min-width: 0; }
.ab-hero-row__text .ab-title { margin-top: 14px; }
.ab-hero-row__text .ab-lead { margin-top: 18px; }
.ab-hero-row__text .ab-actions { margin-top: 28px; }
.ab-code { position: relative; flex: none; width: 460px; height: 380px; }
.ab-code__card { position: absolute; left: 70px; top: 20px; width: 320px; padding: 22px 24px; border: 1px solid var(--vb-color-border-default); border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(16, 69, 47, 0.14); }
.ab-code__card span { display: block; font-size: 12px; font-weight: 700; color: var(--vb-color-text-muted); }
.ab-code__card b { display: block; margin-top: 8px; font-family: var(--vb-font-brand); font-size: 24px; font-weight: 800; letter-spacing: -0.48px; color: var(--vb-color-text-title); }
.ab-code__card i { display: block; height: 8px; margin-top: 14px; border-radius: 9px; background: linear-gradient(90deg, #78d696, #228a4f); }
.ab-code__line { position: absolute; top: 132px; width: 122.5px; height: 108px; }
.ab-code__line--student { left: 108.75px; }
.ab-code__line--teacher { left: 228.75px; }
.ab-code__who { position: absolute; top: 244px; width: 220px; padding: 18px 20px; border: 1px solid var(--vb-color-border-default); border-radius: 24px; background: #fff; }
.ab-code__who--student { left: 0; }
.ab-code__who--teacher { left: 240px; }
.ab-code__who b { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--vb-color-text-title); }
.ab-code__who span:last-child { display: block; margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--vb-color-text-muted); }

/* 기관 이용 안내 — 다섯 걸음 */
.ab-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 60px 0 0; padding: 0; list-style: none; }
.ab-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26.5px; height: 3px; background: url("../images/about/org-flow-dash.svg") no-repeat center / 100% 3px; }
.ab-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ab-flow__no { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 2px solid var(--vb-color-brand-green); border-radius: 99px; background: #fff; font-family: var(--vb-font-brand); font-size: 20px; font-weight: 800; color: var(--vb-color-brand-green); }
.ab-flow li:first-child .ab-flow__no { background: var(--vb-color-brand-green); color: #fff; }
.ab-flow b { margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--vb-color-text-title); }
.ab-flow span:last-child { margin-top: 6px; font-size: 14px; color: var(--vb-color-text-muted); }

/* 기관 이용 안내 — 기능 카드 + 기관 현황 그림 */
.ab-features { display: flex; align-items: center; gap: 48px; margin: 52px 0 0; }
.ab-features__cards { display: flex; flex-direction: column; gap: 16px; width: 380px; flex: none; margin: 0; padding: 0; list-style: none; }
.ab-feature { padding: 24px 26px; border: 1px solid var(--vb-color-border-default); border-radius: 24px; background: #fff; }
.ab-feature.is-on { border: 2px solid var(--vb-color-brand-green); box-shadow: 0 12px 30px rgba(16, 69, 47, 0.1); }
.ab-feature h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--vb-color-text-title); }
.ab-feature p { margin: 6px 0 0; font-size: 14px; line-height: 22px; color: var(--vb-color-text-secondary); }
.ab-dash { flex: 1 1 0; min-width: 0; overflow: hidden; border: 1px solid #e6eee8; border-radius: 16px; background: #f6f9f7; box-shadow: 0 18px 50px rgba(16, 69, 47, 0.14); }
.ab-dash__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-left: 12px; }
.ab-dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6e5db; }
.ab-dash__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; }
.ab-dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; }
.ab-dash__head b { font-size: 16px; color: var(--vb-color-text-title); }
.ab-dash__head span { font-size: 12px; color: var(--vb-color-text-muted); }
.ab-dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ab-dash__kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: #fff; }
.ab-dash__kpi span { font-size: 12px; font-weight: 700; color: var(--vb-color-text-muted); }
.ab-dash__kpi b { font-family: var(--vb-font-brand); font-size: 22px; font-weight: 800; letter-spacing: -0.44px; color: var(--vb-color-text-title); white-space: nowrap; }
.ab-dash__chart { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #fff; }
.ab-dash__chart > span { font-size: 12px; font-weight: 700; color: var(--vb-color-text-muted); }
.ab-dash__bars { display: flex; align-items: flex-end; gap: 12px; height: 120px; }
.ab-dash__bars i { flex: 1 1 0; border-radius: 6px 6px 2px 2px; background: #bfe3cb; }
.ab-dash__bars i:last-child { background: var(--vb-color-brand-green); }
.ab-dash__idle { display: flex; justify-content: space-between; padding: 12px 18px; border-radius: 12px; background: #fff; font-size: 13px; color: var(--vb-color-text-secondary); }
.ab-dash__idle b { color: var(--vb-color-semantic-error); }

/* 좁은 화면 */
@media (max-width: 1080px) {
    .ab-race, .ab-race--rev { flex-direction: column; align-items: stretch; gap: 32px; }
    .ab-race--rev .ab-screen { order: 2; }
    .ab-screen { width: 100%; height: auto; aspect-ratio: 560 / 360; }
    .ab-hero-row { flex-direction: column; align-items: stretch; }
    .ab-code { align-self: center; }
    .ab-features { flex-direction: column; align-items: stretch; }
    .ab-features__cards { width: auto; }
}
@media (max-width: 768px) {
    .ab-sec, .ab-sec--tint, .ab-hero, .ab-hero--org { padding: 64px 0; }
    .ab-faq-sec { padding: 64px 0 24px; }
    .ab-cta-sec { padding: 32px 0 64px; }
    .ab-title { font-size: 28px; line-height: 38px; letter-spacing: -0.56px; }
    .ab-title--48 { font-size: 32px; line-height: 42px; }
    .ab-lead { font-size: 16px; line-height: 26px; }
    .ab-steps { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
    .ab-step { padding: 20px 18px; border-radius: 18px; }
    .ab-step h2 { font-size: 18px; }
    .ab-formula { gap: 8px; padding: 24px 12px; }
    .ab-formula__box { width: auto; flex: 1 1 0; padding: 14px 6px; }
    .ab-formula__box b { font-size: 22px; }
    .ab-formula__op { font-size: 22px; }
    .ab-tables { flex-direction: column; }
    .ab-table { width: 100%; }
    .ab-course { padding: 18px 18px 6px; }
    .ab-course__row { flex-wrap: wrap; gap: 4px 12px; }
    .ab-course__row dt { width: 60px; }
    .ab-course__value { width: auto; font-size: 16px; }
    .ab-course__desc { flex-basis: 100%; }
    .ab-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .ab-cta h2 { font-size: 22px; line-height: 32px; }
    .ab-code { width: 100%; max-width: 460px; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ab-code__card { position: static; grid-column: 1 / -1; width: auto; }
    .ab-code__line { display: none; }
    .ab-code__who { position: static; width: auto; padding: 14px; }
    .ab-flow { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
    .ab-flow::before { display: none; }
    .ab-flow li { flex-direction: row; text-align: left; gap: 14px; flex-wrap: wrap; }
    .ab-flow__no { width: 44px; height: 44px; font-size: 17px; }
    .ab-flow b { margin-top: 0; font-size: 17px; }
    .ab-flow span:last-child { margin-top: 0; flex-basis: 100%; padding-left: 58px; }
    .ab-dash__kpis { grid-template-columns: 1fr 1fr; }
}
