@import url("tokens.css");
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(23,36,74,.97); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 900; font-size: 22px; letter-spacing: -.04em; text-decoration: none; }
.brand b { color: var(--lime); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--lime); }
@media (max-width: 760px) { .nav { display: none; } }

/* 첫 화면 */
.hero { background: var(--navy); color: #fff; padding: 64px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: end; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; color: #dfe7f5; }
.kicker:before, .kicker:after { content: ""; width: 34px; height: 3px; background: var(--lime); border-radius: 2px; }
.hero h1 { font-size: clamp(64px, 11vw, 132px); line-height: .98; font-weight: 900; letter-spacing: -.05em; margin: 18px 0 22px; }
.hero h1 .l1 { color: var(--lime); display: block; }
.hero .lead { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; }
.hero .sub { margin-top: 10px; color: #cdd7ea; font-size: 16px; max-width: 30em; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 56px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.hero-art { align-self: end; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .cta { margin-bottom: 10px; } .hero-art { max-width: 460px; } }

/* 띠 (표지 아래 하늘색 띠와 같은 역할) */
.band { background: var(--sky); padding: 22px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; justify-content: center; font-weight: 700; }
.band .pill { background: var(--lime); color: var(--navy); padding: 6px 16px; border-radius: 999px; font-weight: 900; }
.band .flow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center; }
.band .flow i { font-style: normal; opacity: .6; }

/* 섹션 공통 */
section.sec { padding: 76px 0; }
.sec h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
.sec .h-sub { color: var(--muted); margin-top: 8px; font-size: 17px; }
.sec.alt { background: #fff; }

/* 네 동작 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; position: relative; }
.step .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step .ic svg { width: 30px; height: 30px; }
.step h3 { font-size: 19px; font-weight: 900; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.step:before { counter-increment: s; content: counter(s); position: absolute; right: 18px; top: 16px; font-weight: 900; font-size: 28px; color: var(--sky-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* 과정 */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.course { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.course .top { background: var(--navy); color: #fff; padding: 26px 26px 0; display: grid; grid-template-columns: 1fr 190px; gap: 10px; align-items: end; }
.course .tag { display: inline-block; background: var(--lime); color: var(--navy); font-weight: 900; padding: 4px 14px; border-radius: 999px; font-size: 15px; }
.course h3 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; margin: 12px 0 18px; line-height: 1.3; }
.course .top svg { width: 100%; height: auto; display: block; }
.course .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.meta { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; font-size: 15px; }
.meta dt { color: var(--muted); font-weight: 700; }
.meta dd a { font-weight: 700; }
.daily { list-style: none; display: grid; gap: 8px; }
.daily li { padding-left: 26px; position: relative; font-size: 15.5px; }
.daily li:before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 12px; border-radius: 4px; background: var(--sky-2); }
.free { background: var(--cream); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; }
.free b { color: var(--navy); }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; } .course .top { grid-template-columns: 1fr 150px; } }

/* 표 (교습비·시간표) */
.table { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15.5px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: #F3F5F9; font-weight: 800; white-space: nowrap; }
.table td.tbd { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--muted); }

/* 신청 */
.apply { background: var(--navy); color: #fff; text-align: center; }
.apply h2 { color: #fff; }
.apply h2 b { color: var(--lime); }
.apply .h-sub { color: #cdd7ea; }
.apply .btn { margin-top: 24px; }

/* 푸터 */
.site-footer { background: #0F1833; color: #aeb9cf; font-size: 13.5px; padding: 34px 0 44px; }
.site-footer dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin-top: 12px; }
.site-footer dt { color: #fff; font-weight: 700; }
.site-footer .made { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer .made img { height: 22px; filter: brightness(0) invert(1); opacity: .85; }
