/* Siwon partner: variance 4 / motion 2 / density 4. Existing J-Link light brand and supplied mockup. */
.sp-page { --sp-blue: #0666e5; --sp-navy: #0a1d43; --sp-muted: #58677f; color-scheme: light; }
.sp-main :is(h1,h2,h3,p),.sp-dialog :is(h2,p) { margin: 0; }
body.sp-page { padding-bottom: 0; }
.sp-main { padding-top: 88px; }
.sp-wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.sp-page :focus-visible { outline: 3px solid #0767e7; outline-offset: 5px; }
.sp-skip { position: fixed; left: 20px; top: -100px; z-index: 1200; padding: 12px 18px; background: #fff; }
.sp-skip:focus { top: 12px; }
.sp-hero { position: relative; isolation: isolate; overflow: hidden; }
.sp-hero-photo { position: absolute; z-index: -2; right: 0; top: 0; width: 77%; height: 100%; object-fit: cover; object-position: right 61%; }
.sp-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#fff 14%,rgba(255,255,255,.98) 36%,rgba(255,255,255,.6) 60%,rgba(255,255,255,0) 85%); }
.sp-hero-copy { padding-top: 58px; padding-bottom: 56px; }
.sp-hero h1 { margin: 0 0 18px; color: var(--sp-navy); font-size: clamp(44px,4.8vw,64px); line-height: 1.22; letter-spacing: -.065em; font-weight: 800; }
.sp-hero h1 span { color: #065dc9; }
.sp-hero-description { color: #40536f; font-size: 17px; line-height: 1.85; }
.sp-hero-description strong { font-weight: 600; }
.sp-mobile-break { display: none; }
.sp-coupon-section { background: #fff; padding: 8px 0 40px; scroll-margin-top: 16px; }
.sp-coupon-heading { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 22px; align-items: center; }
.sp-coupon-heading h2 { color: var(--sp-navy); font-size: clamp(32px,3.3vw,42px); letter-spacing: -.04em; line-height: 1.4; font-weight: 800; }
.sp-coupon-heading p { margin-top: 5px; color: var(--sp-muted); font-size: 16px; }
/* Transparent, size-optimized artwork; retain the existing icon boxes and alignment. */
.sp-icon { display: inline-block; flex-shrink: 0; width: 28px; height: 28px; background: transparent var(--sp-icon) center / contain no-repeat; }
.sp-icon[data-icon="ticket"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/ticket.webp'); }
.sp-icon[data-icon="calendar"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/calendar.webp'); }
.sp-icon[data-icon="clock"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/clock.webp'); }
.sp-icon[data-icon="briefcase"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/briefcase.webp'); }
.sp-icon[data-icon="chart-bar"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/chart-bar.webp'); }
.sp-icon[data-icon="users"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/users.webp'); }
.sp-icon[data-icon="file-text"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/file-text.webp'); }
.sp-icon[data-icon="building-skyscraper"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/building-skyscraper.webp'); }
.sp-icon[data-icon="world"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/world.webp'); }
.sp-icon[data-icon="device-laptop"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/device-laptop.webp'); }
.sp-icon[data-icon="x"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/x.webp'); }
.sp-icon[data-icon="check"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/check.webp'); }
.sp-icon[data-icon="alert-circle"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/alert-circle.webp'); }
.sp-icon[data-icon="login"] { --sp-icon: url('/assets/img/partners/siwonschool/icons-v2/login.webp'); }
.sp-coupon-symbol { width: 116px; height: 100%; min-height: 88px; align-self: stretch; }
.sp-coupon-form { display: grid; grid-template-columns: 1fr 240px; align-items: end; gap: 16px; margin-top: 18px; }
.sp-field input { width: 100%; min-height: 58px; border: 1px solid #b9c8df; border-radius: 8px; padding: 14px 18px; background: #fff; font-size: 16px; line-height: 1.5; }
.sp-field input::placeholder { color: #707f97; }
.sp-field input:focus { border-color: var(--sp-blue); }
.sp-field input[aria-invalid="true"] { border-color: #b92d36; }
.sp-page .sp-button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 23px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.5; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.sp-page .sp-button-primary { background: #0767df; border-color: #0767df; color: #fff; }
.sp-page .sp-button-primary:hover { background: #0055be; border-color: #0055be; box-shadow: 0 5px 16px #075cc61a; }
.sp-page .sp-register-button { min-height: 58px; font-size: 17px; }
.sp-page .sp-button-outline { background: #fff; color: #075bbf; border-color: #327be5; }
.sp-page .sp-button-outline:hover { background: #eaf2ff; }
.sp-page .sp-button-subtle { color: #364966; background: #edf2f8; border-color: #edf2f8; }
.sp-page .sp-button-subtle:hover { background: #e1e9f3; }
.sp-page .sp-button:disabled,.sp-field input:disabled { opacity: .55; cursor: not-allowed; }
.sp-form-help { margin-top: 9px !important; color: var(--sp-muted); font-size: 14px; }
.sp-coupon-meta { margin-top: 24px; display: flex; align-items: center; gap: 32px; }
.sp-period { display: flex; gap: 15px; align-items: center; }
.sp-period + .sp-period { border-left: 1px solid #dce4f1; padding-left: 32px; }
.sp-period .sp-icon { width: 40px; height: 40px; }
.sp-period strong { font-size: 16px; color: #075bbf; }
.sp-period p { color: #334963; font-size: 16px; margin-top: 2px; }
.sp-period b { font-weight: 700; }
.sp-page .sp-help-button { margin-left: auto; padding: 10px 0; background: none; border: 0; color: #075bbf; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.sp-deadline-note { margin-top: 18px !important; color: var(--sp-muted); font-size: 14px; line-height: 1.8; }
.sp-package { background: #f0f6fe; border-top: 1px solid #e9f0fa; border-bottom: 1px solid #e9f0fa; padding: 36px 0; }
.sp-package-layout { display: grid; grid-template-columns: 240px minmax(0,1fr) auto; gap: 28px; align-items: center; }
.sp-package-brand { text-align: center; }
.sp-package-brand img { display: block; width: 240px; max-width: 100%; height: auto; }
.sp-package-copy { min-width: 0; }
.sp-package-copy h2 { font-size: clamp(24px,2.1vw,27px); font-weight: 800; letter-spacing: -.045em; line-height: 1.5; color: var(--sp-navy); word-break: keep-all; }
.sp-package-copy h2 span { color: var(--sp-blue); }
.sp-package-copy p { font-size: 15px; line-height: 1.85; color: var(--sp-muted); margin-top: 10px; word-break: keep-all; }
.sp-package-layout > .sp-button { border-radius: 999px; min-height: 54px; padding-inline: 25px; }
.sp-section { padding: 68px 0; }
.sp-section-title { margin-top: 0 !important; color: var(--sp-navy); font-size: clamp(36px,4.3vw,54px); letter-spacing: -.055em; line-height: 1.22; font-weight: 800; }
.sp-section-lead { color: var(--sp-muted); font-size: 16px; margin-top: 12px !important; }
.sp-service-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px; margin-top: 34px; }
.sp-icon-disc { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: #f0f7ff; }
.sp-service-disc { width: 76px; height: 76px; margin: 0 auto 17px; }
.sp-service-icon { width: 38px; height: 38px; }
.sp-service-grid article { min-width: 0; text-align: center; }
.sp-service-grid h3 { display: flex; align-items: center; justify-content: center; min-height: 3.1em; color: var(--sp-navy); font-size: 18px; letter-spacing: -.035em; font-weight: 800; line-height: 1.55; word-break: keep-all; }
.sp-service-grid p { color: var(--sp-muted); font-size: 15px; line-height: 1.9; margin-top: 10px; word-break: keep-all; overflow-wrap: break-word; }
.sp-process { padding-top: 10px; }
.sp-step-grid { list-style: none; margin: 30px 0 32px; padding: 28px 0 32px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; border-bottom: 1px solid #dbe5f3; }
.sp-step-grid > li { min-width: 0; text-align: center; }
.sp-step-top { position: relative; width: 80px; height: 80px; margin: 0 auto; }
.sp-step-number { position: absolute; top: 1px; left: -56px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f0f7ff; color: var(--sp-blue); font-family: var(--jh-font-en); font-size: 19px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.sp-step-disc { width: 80px; height: 80px; }
.sp-step-top .sp-icon { width: 40px; height: 40px; }
.sp-step-grid h3 { margin-top: 17px; font-size: 22px; font-weight: 800; color: var(--sp-navy); line-height: 1.5; word-break: keep-all; }
.sp-step-grid p { margin-top: 8px; font-size: 16px; line-height: 1.8; color: var(--sp-muted); word-break: keep-all; }
.sp-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.sp-guide-grid > div { display: grid; grid-template-columns: 40px minmax(0,1fr); column-gap: 18px; align-content: start; }
.sp-guide-grid > div + div { border-left: 1px solid #dce4f1; padding-left: 28px; }
.sp-guide-grid .sp-icon { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; margin-top: 2px; }
.sp-guide-grid h3,.sp-guide-grid p { grid-column: 2; }
.sp-guide-grid h3 { color: var(--sp-navy); font-size: 17px; font-weight: 700; }
.sp-guide-grid p { font-size: 14px; color: var(--sp-muted); margin-top: 7px; line-height: 1.9; word-break: keep-all; }
.sp-guide-note { display: block; margin-top: 5px; font-size: 12px; line-height: 1.7; }
.sp-faq { background: #f8fafc; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.sp-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.sp-faq .sp-section-title { font-size: clamp(32px,3.6vw,46px); }
.sp-faq-items details { border-bottom: 1px solid #dce4ee; }
.sp-faq-items details:first-child { border-top: 1px solid #dce4ee; }
.sp-faq-items summary { list-style: none; position: relative; cursor: pointer; padding: 19px 30px 19px 0; font-size: 16px; font-weight: 600; color: var(--sp-navy); }
.sp-faq-items summary::-webkit-details-marker { display: none; }
.sp-faq-items summary::after { content: '+'; position: absolute; right: 3px; top: 16px; font-size: 21px; font-weight: 400; color: #42628c; }
.sp-faq-items details[open] summary::after { content: '−'; }
.sp-faq-items details p { font-size: 15px; line-height: 1.9; color: var(--sp-muted); padding: 0 30px 20px 0; }
.sp-closing { position: relative; isolation: isolate; min-height: 385px; overflow: hidden; display: grid; align-items: center; text-align: center; }
.sp-closing > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.sp-closing::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#fff2,#ffff 42%,#ffffffeb 60%,#fff2); }
.sp-closing-copy { padding: 45px 0; }
.sp-closing h2 { margin-top: 0; color: var(--sp-navy); font-size: clamp(28px,3vw,38px); line-height: 1.4; letter-spacing: -.04em; font-weight: 500; word-break: keep-all; }
.sp-closing h2 span { color: #075dc8; font-weight: 800; }
.sp-closing-copy > p { color: #50627b; font-size: 17px; margin: 14px 0 23px; }
.sp-dialog { width: min(440px,calc(100vw - 36px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #e0e7f1; border-radius: 18px; background: #fff; color: var(--sp-navy); box-shadow: 0 24px 70px #071a4340; overflow: auto; }
.sp-dialog::backdrop { background: #0a1d4370; backdrop-filter: blur(3px); }
.sp-dialog-close { position: absolute; right: 13px; top: 13px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f5fa; cursor: pointer; }
.sp-dialog-close .sp-icon { width: 20px; height: 20px; }
.sp-dialog-body { padding: 38px 30px 25px; text-align: center; }
.sp-dialog-symbol { display: block; width: 42px; height: 42px; margin: 2px auto 21px; }
.sp-dialog h2 { font-size: 26px; letter-spacing: -.04em; font-weight: 800; line-height: 1.5; margin-top: 9px; }
.sp-dialog-body > p:last-child { margin-top: 13px; white-space: pre-line; font-size: 16px; color: #58677f; line-height: 1.9; overflow-wrap: anywhere; }
.sp-dialog-actions { display: flex; justify-content: center; gap: 9px; padding: 0 30px 29px; }
.sp-dialog-actions .sp-button { flex: 1 1 0; }
.sp-page [hidden] { display: none !important; }
.sp-modal-open { overflow: hidden; }
.sp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sp-noscript { padding: 12px; background: #f1f6ff; }
@media (max-width:1140px) {
  .sp-package-layout { grid-template-columns: 200px minmax(0,1fr); gap: 20px 28px; }
  .sp-package-brand { grid-row: 1 / 3; }
  .sp-package-brand img { width: 200px; }
  .sp-package-layout > .sp-button { grid-column: 2; justify-self: start; }
}
@media (max-width:1000px) {
  .sp-wrap { width: calc(100% - 56px); }
  .sp-hero h1 { font-size: clamp(38px,5vw,48px); }
  .sp-service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
  .sp-step-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 32px; }
  .sp-step-top,.sp-step-disc { width: 72px; height: 72px; }
  .sp-step-number { width: 36px; height: 36px; left: -42px; font-size: 17px; }
  .sp-step-top .sp-icon { width: 36px; height: 36px; }
  .sp-guide-grid { gap: 20px; }
  .sp-guide-grid > div { grid-template-columns: 36px minmax(0,1fr); column-gap: 12px; }
  .sp-guide-grid > div + div { padding-left: 20px; }
  .sp-guide-grid .sp-icon { width: 36px; height: 36px; }
  .sp-page .sp-help-button { flex-basis: 100%; text-align: left; margin-left: 0; padding-bottom: 0; }
  .sp-coupon-meta { flex-wrap: wrap; row-gap: 8px; }
  .sp-faq-layout { gap: 35px; grid-template-columns: .8fr 1.2fr; }
  .sp-faq .sp-section-title { font-size: 36px; }
}
@media (max-width:680px) {
  .sp-wrap { width: calc(100% - 40px); }
  .sp-hero-copy { padding-top: 34px; padding-bottom: 33px; }
  .sp-hero-photo { width: 100%; opacity: .4; object-position: 72% 56%; }
  .sp-hero::after { background: linear-gradient(90deg,#ffff 5%,#ffffffd9 66%,#fff7); }
  .sp-hero h1 { font-size: clamp(32px,8.7vw,42px); margin-top: 0; margin-bottom: 16px; letter-spacing: -.055em; line-height: 1.3; }
  .sp-mobile-break { display: initial; }
  .sp-hero-description { font-size: 14px; line-height: 1.9; }
  .sp-coupon-section { padding-top: 9px; padding-bottom: 30px; }
  .sp-coupon-heading { grid-template-columns: 72px minmax(0,1fr); gap: 8px 12px; }
  .sp-coupon-heading > div { display: contents; }
  .sp-coupon-symbol { grid-column: 1; grid-row: 1; width: 72px; height: 58px; min-height: 0; }
  .sp-coupon-heading h2 { grid-column: 2; grid-row: 1; }
  .sp-coupon-heading p { grid-column: 1 / -1; }
  .sp-coupon-heading h2 { font-size: 30px; }
  .sp-coupon-heading p { font-size: 14px; line-height: 1.8; }
  .sp-coupon-form { grid-template-columns: 1fr; gap: 10px; margin-top: 17px; }
  .sp-field input { min-height: 54px; font-size: 14px; padding: 12px; }
  .sp-page .sp-register-button { min-height: 52px; font-size: 15px; }
  .sp-form-help { font-size: 13px; }
  .sp-coupon-meta { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .sp-period { gap: 9px; align-items: flex-start; }
  .sp-period .sp-icon { width: 32px; height: 32px; margin-top: 2px; }
  .sp-period + .sp-period { padding-left: 0; border: 0; }
  .sp-period strong { font-size: 13px; }
  .sp-period p { font-size: 14px; }
  .sp-period b { display: inline; }
  .sp-page .sp-help-button { grid-column: 1 / -1; padding: 0; font-size: 13px; }
  .sp-deadline-note { font-size: 13px; margin-top: 15px !important; }
  .sp-package { padding: 28px 0; }
  .sp-package-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .sp-package-brand { grid-row: auto; justify-self: start; }
  .sp-package-brand img { width: 200px; }
  .sp-package-copy h2 { font-size: 23px; }
  .sp-package-copy p { font-size: 14px; }
  .sp-package-copy p br { display: none; }
  .sp-package-layout > .sp-button { grid-column: 1; justify-self: stretch; font-size: 14px; min-height: 48px; padding: 11px 16px; white-space: normal; }
  .sp-section { padding: 42px 0; }
  .sp-section-title { font-size: clamp(30px,8.2vw,38px); }
  .sp-section-lead { font-size: 14px; }
  .sp-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 22px; margin-top: 27px; }
  .sp-service-disc { width: 64px; height: 64px; margin-bottom: 14px; }
  .sp-service-icon { width: 32px; height: 32px; }
  .sp-service-grid h3 { font-size: 17px; }
  .sp-service-grid p { font-size: 14px; margin-top: 7px; line-height: 1.85; }
  .sp-process { padding-top: 3px; }
  .sp-step-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; margin-top: 24px; padding: 23px 0; }
  .sp-step-top,.sp-step-disc { width: 68px; height: 68px; }
  .sp-step-number { width: 32px; height: 32px; left: -39px; top: 0; font-size: 16px; }
  .sp-step-top .sp-icon { width: 34px; height: 34px; }
  .sp-step-grid h3 { display: flex; align-items: center; justify-content: center; min-height: 3em; font-size: 18px; margin-top: 12px; }
  .sp-step-grid p { font-size: 14px; }
  .sp-step-grid p br { display: none; }
  .sp-guide-grid { grid-template-columns: 1fr; gap: 22px; }
  .sp-guide-grid > div { grid-template-columns: 36px minmax(0,1fr); column-gap: 16px; }
  .sp-guide-grid > div + div { border-left: 0; padding-left: 0; }
  .sp-guide-grid h3 { font-size: 16px; }
  .sp-guide-grid p { font-size: 14px; margin-top: 4px; }
  .sp-faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .sp-faq .sp-section-title { font-size: clamp(30px,8.2vw,38px); }
  .sp-faq .sp-section-lead br { display: none; }
  .sp-faq-items summary { font-size: 15px; padding-block: 17px; }
  .sp-faq-items details p { font-size: 14px; }
  .sp-closing { min-height: 360px; }
  .sp-closing > img { opacity: .65; object-position: center; }
  .sp-closing::after { background: #ffffff9e; }
  .sp-closing h2 { font-size: clamp(26px,7.4vw,32px); }
  .sp-closing-copy > p { font-size: 15px; }
  .sp-closing .sp-button { font-size: 13px; }
  .sp-dialog-body { padding: 34px 22px 22px; }
  .sp-dialog h2 { font-size: 21px; }
  .sp-dialog-body > p:last-child { font-size: 15px; }
  .sp-dialog-actions { padding: 0 22px 24px; gap: 8px; }
  .sp-dialog-actions .sp-button { padding-inline: 12px; font-size: 13px; }
}
@media (max-width:359px) {
  .sp-period { gap: 6px; }
  .sp-period .sp-icon { width: 28px; height: 28px; }
  .sp-step-top,.sp-step-disc { width: 60px; height: 60px; }
  .sp-step-number { width: 28px; height: 28px; left: -30px; font-size: 14px; }
  .sp-step-top .sp-icon { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .sp-page .sp-button { transition: none; } }

@media (max-width:1360px) { .sp-main { padding-top: 76px; } }
@media (max-width:680px) {
  .sp-field input { font-size: 16px; }
  .sp-period strong { font-size: 13px; }
  .sp-period p { font-size: 14px; }
}

/* Scroll reveals are progressive JS animations: content stays visible if JS is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .sp-service-disc,.sp-step-disc,.sp-step-number { transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease; }
  .sp-faq-items details[open] > p { animation: sp-answer-enter .22s ease-out; }
  .sp-page .sp-button { transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sp-service-grid article:hover .sp-service-disc { transform: translateY(-5px) rotate(-3deg); box-shadow: 0 7px 18px #075cc614; }
  .sp-step-grid > li:hover .sp-step-disc { transform: translateY(-4px); }
  .sp-step-grid > li:hover .sp-step-number { transform: scale(1.06); }
  .sp-package .sp-button:hover,.sp-closing .sp-button:hover { transform: translateY(-2px); }
}
@keyframes sp-answer-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media print {
  .sp-main [data-sp-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
}
