/* 교육 — src/pages/study/index.astro, study/1 (솔루션·케어와 같은 톤) */
.st-hero,.st-sec,.w1{--hg:linear-gradient(110deg,#0866F9 0%,#0A78F5 40%,#2AA2F0 72%,#A8E0FA 100%);color:#15181E;word-break:keep-all}
.st-eyebrow{font-size:16px;font-weight:700;color:#0866F9}
.st-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 28px;border-radius:999px;background:var(--hg);color:#fff!important;font-size:17px;font-weight:800;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.st-link{font-size:16px;font-weight:700;color:#15181E!important;text-decoration:underline;text-underline-offset:4px}
.st-hero{padding:88px 0 80px;background:radial-gradient(55% 85% at 6% 0%,rgba(8,102,249,.10),rgba(8,102,249,0) 62%),radial-gradient(45% 80% at 100% 8%,rgba(86,224,253,.13),rgba(86,224,253,0) 62%),radial-gradient(55% 85% at 100% 100%,rgba(140,108,245,.16),rgba(140,108,245,0) 64%),#FAFAFE}
.st-hero-in{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:64px;align-items:center}
.st-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.st-copy h1{margin:0;font-size:54px;line-height:1.22;font-weight:700;letter-spacing:-1.8px}
.st-copy p{margin:0;font-size:19px;line-height:1.65;color:#3A4250}
.st-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.st-flow{border-radius:26px;background:#fff;border:1px solid #E1E4E8;padding:26px;display:flex;flex-direction:column;gap:4px}
.st-flow-hd{display:flex;justify-content:space-between;font-size:15px;padding-bottom:8px}
.st-flow-hd span{color:#8A919C}
.st-flow-row{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid #F0F2F4}
.st-flow-row i{flex:none;width:30px;height:30px;border-radius:50%;background:#15181E;color:#fff;font-style:normal;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.st-flow-row>span{display:flex;flex-direction:column;gap:3px}
.st-flow-row b{font-size:17px}
.st-flow-row>span>span{font-size:15px;color:#5B6270}
.st-sec{padding:104px 0;background:#fff}
.st-sec--gray{background:#F7F8FA}
.st-sec-in{display:flex;flex-direction:column;gap:36px}
.st-head{display:flex;flex-direction:column;gap:10px}
.st-head h2,.st-apply-copy h2{margin:0;font-size:36px;line-height:1.3;font-weight:800;letter-spacing:-1px}
.st-head p{margin:0;font-size:17.5px;color:#3A4250}
.st-weeks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.st-wk{display:flex;flex-direction:column;gap:12px;padding:28px 26px;border-radius:22px;background:#F7F8FA;color:#15181E!important;text-decoration:none;min-height:240px;box-sizing:border-box;transition:transform .25s ease}
.st-wk:hover{transform:translateY(-4px)}
.st-wk-top{display:flex;justify-content:space-between;align-items:center}
.st-wk-top b{font-size:15px;color:#0866F9}
.st-wk-top em{font-style:normal;font-size:13.5px;font-weight:800;padding:3px 10px;border-radius:999px;background:#EEF0F3;color:#5B6270}
.st-wk-t{font-size:23px;line-height:1.35;letter-spacing:-.5px}
.st-wk ul{margin:0;padding-left:1.1em;display:flex;flex-direction:column;gap:4px;font-size:15.5px;color:#3A4250}
.st-wk-r{margin-top:auto;font-size:14.5px;font-weight:700;color:#0866F9}
.st-wk--on{background:linear-gradient(160deg,#22386A 0%,#1A2C55 100%);color:#fff!important}
.st-wk--on .st-wk-top b,.st-wk--on .st-wk-r{color:#77FBAF}
.st-wk--on .st-wk-top em{background:#77FBAF;color:#15181E}
.st-wk--on ul{color:rgba(255,255,255,.8)}
.st-refund{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.st-refund>div{display:flex;flex-direction:column;gap:10px;padding:26px 24px;border-radius:22px;background:#fff;border:1px solid #E6EAEE}
.st-refund .n{font-size:15px;color:#0866F9}
.st-refund b:not(.n){font-size:20px}
.st-refund span{font-size:15.5px;line-height:1.6;color:#3A4250}
.st-faq details{border-top:1px solid #E6EAEE;padding:18px 0}
.st-faq details:last-child{border-bottom:1px solid #E6EAEE}
.st-faq summary{cursor:pointer;font-size:17px;font-weight:700}
.st-faq p{margin:10px 0 0;font-size:16px;line-height:1.7;color:#3A4250}
.st-band{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:40px 44px;border-radius:28px;background:linear-gradient(160deg,#22386A 0%,#1A2C55 100%);color:#fff}
.st-band>span{display:flex;flex-direction:column;gap:8px}
.st-band b{font-size:28px;letter-spacing:-.6px}
.st-band>span>span{font-size:17px;color:rgba(255,255,255,.8)}
.st-apply{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.st-apply-copy{display:flex;flex-direction:column;gap:14px;position:sticky;top:110px}
.st-form{padding:32px;border-radius:26px;background:#fff;border:1px solid #E1E4E8}
.st-form .fm-submit{border-radius:999px;background:var(--hg);border:0}

/* 1주차 */
.w1{max-width:1040px;margin:0 auto;padding:56px 20px 112px;display:flex;flex-direction:column;gap:40px}
.w1-top{display:flex;flex-direction:column;gap:14px}
.w1-crumb{font-size:15px;font-weight:700;color:#5B6270}
.w1-crumb a{color:#5B6270;text-decoration:none}
.w1-top h1{margin:0;font-size:42px;line-height:1.25;font-weight:800;letter-spacing:-1.2px}
.w1-top p{margin:0;font-size:18px;line-height:1.65;color:#3A4250}
.w1-prog{position:sticky;top:var(--hd-h,0px);z-index:3;display:flex;flex-direction:column;gap:8px;padding:16px 22px;border-radius:18px;background:rgba(247,248,250,.96);backdrop-filter:blur(6px)}
.w1-prog-t{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.w1-prog-t span{color:#5B6270}
.w1-bar{height:8px;border-radius:999px;background:#E6EAEE;overflow:hidden}
.w1-bar i{display:block;height:100%;width:0;background:var(--hg);transition:width .3s ease}
.w1-sec{display:flex;flex-direction:column;gap:16px}
.w1-sec-h{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.w1-sec-h b{font-size:26px;letter-spacing:-.6px}
.w1-sec-h span{font-size:15.5px;color:#5B6270}
.w1-lead{margin:-8px 0 0;font-size:15.5px;color:#3A4250}
.w1-q{display:flex;flex-direction:column;gap:12px;padding:26px;border-radius:22px;border:1px solid #E6EAEE;background:#fff}
.w1-q>b{font-size:19px;line-height:1.45}
.w1-q>b em,.w1-f b em{font-style:normal;color:#0866F9}
.w1-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.w1-opt{font:inherit;cursor:pointer;text-align:left;display:flex;align-items:center;gap:10px;min-height:54px;padding:0 16px;border-radius:14px;border:1px solid #E1E4E8;background:#fff;color:#15181E;font-size:16.5px;font-weight:600}
.w1-opt:hover:not(:disabled){border-color:#0866F9}
.w1-opt:disabled{cursor:default}
.w1-opt i{flex:none;width:26px;height:26px;border-radius:50%;background:#EEF0F3;color:#5B6270;font-style:normal;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.w1-opt.ok{border-color:#3DB548;background:#F2FBF2}.w1-opt.ok i{background:#3DB548;color:#fff}
.w1-opt.no{border-color:#E5484D;background:#FFF4F2}.w1-opt.no i{background:#E5484D;color:#fff}
.w1-fb{padding:14px 16px;border-radius:14px;font-size:15.5px;line-height:1.6}
.w1-fb.ok{background:#EAF8EA}.w1-fb.ok b{color:#1E7A28}
.w1-fb.no{background:#FFF4F2}.w1-fb.no b{color:#C2410C}
.w1-fb[hidden]{display:none}
.w1-f{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:center;padding:22px 26px;border-radius:22px;background:#F7F8FA}
.w1-f>span{display:flex;flex-direction:column;gap:6px}
.w1-f b{font-size:18px;line-height:1.45}
.w1-f small{font-size:14.5px;color:#5B6270}
.w1-f input{min-width:0;min-height:52px;padding:0 14px;border-radius:14px;border:1px solid #D5D9DF;background:#fff;font:inherit;font-size:16px;color:#15181E}
.w1-f input.on{border-color:#3DB548}
.w1-essay{display:flex;flex-direction:column;gap:12px;padding:26px;border-radius:22px;border:1px solid #E6EAEE}
.w1-essay b{font-size:19px;line-height:1.45}
.w1-essay small{font-size:14.5px;color:#5B6270}
.w1-essay textarea{border:1px solid #D5D9DF;border-radius:14px;padding:14px 16px;font:inherit;font-size:16px;resize:vertical;color:#15181E}
.w1-do{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}
.w1-todo{display:flex;flex-direction:column;padding:10px 24px;border-radius:22px;border:1px solid #E6EAEE}
.w1-todo label{cursor:pointer;display:flex;gap:14px;align-items:flex-start;padding:14px 4px;border-top:1px solid #F0F2F4}
.w1-todo label:first-child{border-top:0}
.w1-todo input{flex:none;width:24px;height:24px;margin:1px 0 0;accent-color:#3DB548}
.w1-todo span{display:flex;flex-direction:column;gap:3px}
.w1-todo b{font-size:17px}
.w1-todo small{font-size:14.5px;color:#5B6270}
.w1-todo input:checked+span b{color:#9AA1AC;text-decoration:line-through}
.w1-up{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;border-radius:22px;border:2px dashed #C9D6EA;background:#F6F9FF;text-align:center;cursor:pointer}
.w1-up b{font-size:17px}
.w1-up small{font-size:14.5px;color:#5B6270;line-height:1.55}
.w1-up input{display:none}
.w1-files{font-size:14px;color:#1E7A28;font-weight:700}
.w1-send{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 32px;border-radius:24px;background:linear-gradient(160deg,#22386A 0%,#1A2C55 100%);color:#fff}
.w1-send.sent{background:linear-gradient(160deg,#1E7A28 0%,#18632A 100%)}
.w1-send>span{display:flex;flex-direction:column;gap:6px}
.w1-send b{font-size:22px}
.w1-send>span>span{font-size:15.5px;color:rgba(255,255,255,.8)}
.w1-send button:disabled{background:rgba(255,255,255,.18);color:rgba(255,255,255,.6);cursor:default}
.w1-note{font-size:14px;color:#8A919C}

@media (max-width:960px){
  .st-hero-in,.st-apply,.w1-do{grid-template-columns:minmax(0,1fr)}
  .st-weeks,.st-refund{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-apply-copy{position:static}
  .w1-f{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .st-hero{padding:48px 0 56px}
  .st-copy h1{font-size:36px;letter-spacing:-1.1px}
  .st-copy p br{display:none}
  .st-sec{padding:64px 0}
  .st-head h2,.st-apply-copy h2{font-size:27px}
  .st-weeks,.st-refund,.w1-opts{grid-template-columns:minmax(0,1fr)}
  .st-band{padding:28px}
  .st-band b{font-size:22px}
  .st-form{padding:22px}
  .w1{padding-top:36px}
  .w1-top h1{font-size:30px}
  .w1-q,.w1-essay{padding:20px}
  .w1-f{padding:20px}
}
.ap-steps{display:flex;flex-wrap:wrap;gap:8px}
.ap-steps span{font-size:15px;background:#fff;border:1px solid #E1E4E8;border-radius:999px;padding:7px 13px}
.st-apply-copy .lead{font-size:17px;color:#3A4250}
/* N주차: 주차 이동 · 제출 상태 · 캡처 미리보기 */
.w1-weeks{display:flex;gap:6px;flex-wrap:wrap}
.w1-weeks a{min-height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;border:1px solid #E1E4E8;font-size:14.5px;font-weight:700;color:#3A4250;text-decoration:none}
.w1-weeks a[aria-current]{background:#15181E;border-color:#15181E;color:#fff}
.w1-state{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;padding:18px 22px;border-radius:18px;background:#EEF4FF}
.w1-state[hidden]{display:none}
.w1-state.pass{background:#EAF8EA}.w1-state.revise{background:#FFF4F2}
.w1-state-tag{flex:none;font-size:13.5px;font-weight:800;border-radius:999px;padding:4px 10px;background:#0866F9;color:#fff}
.w1-state.pass .w1-state-tag{background:#3DB548}.w1-state.revise .w1-state-tag{background:#E5484D}
.w1-state>span:nth-child(2){flex:1;min-width:220px;display:flex;flex-direction:column;gap:4px}
.w1-state b{font-size:17px}
.w1-state-c{font-size:15.5px;line-height:1.6;color:#15181E;background:#fff;border-radius:10px;padding:10px 12px;margin-top:4px}
.w1-state small{font-size:14px;color:#5B6270}
.w1-state-imgs{display:flex;gap:6px}
.w1-state-imgs img{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid #fff}
.w1-thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;align-items:center}
.w1-thumbs img{width:52px;height:52px;object-fit:cover;border-radius:8px}
.w1-thumbs em{width:100%;font-style:normal;font-size:13.5px;font-weight:700;color:#1E7A28}
.w1-pn{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.w1-pn a{font-size:15.5px;font-weight:700;color:#0866F9;text-decoration:none}
.w1 input:disabled,.w1 textarea:disabled{background:#F7F8FA;color:#5B6270}
@media (max-width:600px){
  .w1-weeks{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px;padding:0 20px 4px;scrollbar-width:none}
  .w1-weeks::-webkit-scrollbar{display:none}
  .w1-weeks a{flex:none}
  .w1-opt{min-height:48px;font-size:15.5px}
  .w1-q>b,.w1-essay b{font-size:17px}
  .w1-sec-h b{font-size:22px}
  .w1-send{padding:22px}
  .w1-send b{font-size:19px}
}
