/* 위드제니 생기부 컨설팅 홈페이지 (index.html 전용) — 색·글꼴은 브랜드 위키 8번(시각 요소) 기준 */
:root {
  --bg: #F4F7FB; --surface: #FFFFFF; --ink: #1B2638; --muted: #5A6477; --line: #DCE3ED;
  --navy: #1F3A64; --navy-deep: #162743; --soft: #E7EFFB; --blue: #4F86D9;
  --point: #E9684B; --point-dark: #CF4E31; --point-soft: #FFEDE7;
  --hl: rgba(255, 168, 130, .45); --grid: rgba(31, 58, 100, .07);
  --shadow: 0 1px 2px rgba(27, 38, 56, .06), 0 8px 24px rgba(27, 38, 56, .07);
  --radius: 16px;
  --display: "Hahmlet", "Nanum Myeongjo", Georgia, serif;
  --body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.75; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
.wrap { width: min(1100px, 100% - 40px); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 247, 251, .9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(27, 38, 56, .06); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.logo b { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -.02em; }
.logo span { font-size: 13px; color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 500; }
.nav a { padding: 8px 13px; border-radius: 10px; color: var(--muted); }
.nav a:hover { color: var(--navy); background: var(--soft); }
.nav .nav-cta { background: var(--navy); color: #fff; font-weight: 600; margin-left: 8px; padding: 9px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--navy-deep); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-point { background: var(--point); color: #fff; box-shadow: 0 8px 20px rgba(233, 104, 75, .28); }
.btn-point:hover { background: var(--point-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border-color: rgba(31, 58, 100, .35); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--soft); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* common */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--point); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--point); }
.sec-head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(27px, 3.8vw, 42px); line-height: 1.35; color: var(--navy); }
.sec-head h2 mark { background: linear-gradient(transparent 60%, var(--hl) 60%); color: inherit; }
.sec-sub { margin-top: 16px; color: var(--muted); max-width: 660px; font-size: 17px; }
.dark { background: var(--navy); color: #fff; }
.dark .sec-head h2 { color: #fff; }
.dark .kicker { color: #FFB39F; } .dark .kicker::before { background: #FFB39F; }
.dark .sec-sub { color: #C9D6EC; }
.fine { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.dark .fine { color: #A9BAD6; }

/* hero */
.hero { position: relative; padding: clamp(44px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 34px 34px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--point); }
.hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(35px, 5.3vw, 60px); line-height: 1.28; color: var(--navy); margin: 22px 0 24px; }
.hero h1 mark { background: linear-gradient(transparent 60%, var(--hl) 60%); color: inherit; }
.lead { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 540px; }
.lead b { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-by { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.hero-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--soft); }
.hero-by b { color: var(--navy); }

/* report mock */
.report { position: relative; justify-self: center; width: min(430px, 100%); }
.report::before { content: ""; position: absolute; inset: 14px -12px -12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transform: rotate(2.4deg); }
.sheet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 54px rgba(31, 58, 100, .16); overflow: hidden; }
.sheet-top { background: var(--navy); color: #fff; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-top b { font-family: var(--display); font-size: 16.5px; }
.sheet-top span { font-size: 12px; color: #C9D6EC; white-space: nowrap; }
.sheet-body { padding: 20px 22px 22px; display: grid; gap: 16px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 13.5px; }
.meta dt { color: var(--muted); } .meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.blind { display: inline-block; width: 46px; height: 12px; border-radius: 3px; background: var(--line); vertical-align: middle; }
.sheet h4 { font-size: 13px; font-weight: 600; color: var(--blue); }
.sheet .one { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 17.5px; line-height: 1.55; color: var(--navy); }
.sheet .one mark { background: linear-gradient(transparent 58%, var(--hl) 58%); color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: 13px; padding: 3px 11px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 500; }
.todo { margin-top: 8px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink); }
.todo li { display: flex; gap: 9px; align-items: flex-start; }
.todo li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 4px; border: 1.5px solid var(--point); border-radius: 4px; }
.report figcaption { position: relative; margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); }

/* diagnosis */
.dx-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dx small { font-size: 13px; color: var(--muted); font-weight: 500; }
.dx blockquote { margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.55; color: var(--navy); }
.dx blockquote::before { content: "“"; display: block; font-size: 40px; line-height: .6; color: var(--point); margin-bottom: 10px; }
.dx p { margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--muted); }
.dx p b { display: block; color: var(--point); font-size: 13px; font-weight: 600; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); margin-bottom: 4px; }

/* flow */
.flow-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1.15fr; gap: clamp(16px, 3vw, 36px); align-items: center; }
.pane { border-radius: var(--radius); padding: 26px; }
.pane.before { background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .3); }
.pane.after { background: #fff; color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.pane h3 { font-size: 14px; font-weight: 600; color: #FFB39F; margin-bottom: 16px; }
.pane.after h3 { color: var(--point); }
.scatter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scatter li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #C9D6EC; }
.scatter b { display: block; color: #fff; font-size: 15px; }
.scatter li:nth-child(2) { transform: rotate(1.6deg); } .scatter li:nth-child(3) { transform: rotate(-1.4deg); }
.arrow { font-size: 30px; color: #FFB39F; text-align: center; }
.chain { position: relative; display: grid; gap: 12px; }
.chain::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--point); }
.chain li { position: relative; padding-left: 46px; }
.chain li::before { content: ""; position: absolute; left: 8px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--point); }
.chain b { display: block; color: var(--navy); font-size: 16px; }
.chain span { font-size: 14.5px; color: var(--muted); }
.axis { margin-top: 18px; padding: 10px 14px; border-radius: 10px; background: var(--point-soft); font-size: 14px; color: var(--ink); }
.axis b { color: var(--point-dark); }
.rules { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.rules li { padding: 26px 26px 0 0; }
.rules li + li { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .2); }
.rules b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.5; }
.rules span { display: block; margin-top: 8px; font-size: 15px; color: #C9D6EC; }

/* report photos */
.shots { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { display: block; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.shot:hover img { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31, 58, 100, .16); }
.shot span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* report chapters */
.chap-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.chap { display: grid; grid-template-columns: 54px 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.chap i { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--point); line-height: 1.2; }
.chap b { font-size: 18px; color: var(--navy); }
.chap span { display: block; font-size: 15px; color: var(--muted); }
.chap.last { border-bottom: 1px solid var(--line); }
.not { margin-top: 36px; display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 24px 28px; }
.not b { display: block; font-family: var(--display); font-size: 19px; color: var(--navy); }
.not p { font-size: 15.5px; color: var(--muted); margin-top: 4px; }

/* highlighter sheet */
.mk-grid { margin-top: 40px; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.mk-sheet { background: #fff; border: 1px solid #2b2b2b; box-shadow: 0 20px 44px rgba(31, 58, 100, .14); font-family: "Nanum Myeongjo", "Hahmlet", serif; color: #1a1a1a; }
.mk-head, .mk-row { display: grid; grid-template-columns: 52px 92px 1fr; }
.mk-head { border-bottom: 1px solid #2b2b2b; font-size: 13.5px; text-align: center; }
.mk-head span { padding: 6px 4px; border-right: 1px solid #2b2b2b; } .mk-head span:last-child { border-right: 0; }
.mk-row { border-bottom: 1px solid #2b2b2b; }
.mk-c { display: grid; place-items: center; border-right: 1px solid #2b2b2b; font-size: 13.5px; text-align: center; padding: 4px; }
.mk-row p { padding: 12px 44px 12px 14px; font-size: 14.5px; line-height: 2; text-align: justify; position: relative; }
.mk-row mark { color: inherit; padding: 2px 1px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mk-row mark.y { background: #FFE566; } .mk-row mark.o { background: #FFB84D; }
.mk-row u.warn { text-decoration: underline; text-decoration-color: #E0342B; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tag { font-style: normal; white-space: nowrap; margin-left: 6px; vertical-align: 1px; }
.tag b { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 11.5px/1 var(--body); margin-left: -4px; border: 1.5px solid #fff; }
.tag b:first-child { margin-left: 0; } .tag b.r { background: #E0342B; }
.tag b.k { width: auto; padding: 0 8px; border-radius: 999px; background: var(--point); }
.mk-key { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.mk-key b { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11.5px; margin: 0 4px 0 8px; }
.mk-key b:first-child { margin-left: 0; }
.mk-sheet figcaption { padding: 10px 14px; font: 400 13px/1.5 var(--body); color: var(--muted); background: var(--bg); }
.mk-legend { display: grid; gap: 14px; }
.mk-legend li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.mk-legend b { display: block; color: var(--navy); font-size: 16.5px; }
.mk-legend span { font-size: 14.5px; color: var(--muted); }
.sw { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 800 17px/1 var(--display); font-style: normal; color: #fff; }
.sw.y { background: linear-gradient(135deg, #FFE566 50%, #FFB84D 50%); } .sw.n { background: var(--navy); border-radius: 50%; } .sw.r { background: #E0342B; border-radius: 50%; } .sw.e { background: #fff; border: 2px dashed var(--line); }
@media (max-width: 900px) { .mk-grid { grid-template-columns: 1fr; } .mk-head, .mk-row { grid-template-columns: 34px 62px 1fr; } .mk-row p { padding-right: 12px; font-size: 13.5px; text-align: left; } .mk-c { font-size: 12px; } }

/* grades */
.alt { background: var(--soft); }
.grade-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grade { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.grade em { font-style: normal; display: inline-block; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; background: var(--navy); padding: 3px 14px; border-radius: 999px; }
.grade h3 { margin: 14px 0 10px; font-family: var(--display); font-size: 21px; color: var(--navy); line-height: 1.45; }
.grade li { position: relative; padding-left: 16px; font-size: 15px; color: var(--muted); }
.grade li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
/* 학년 카드: 눌러서 펼치기 */
.gx-grid { align-items: start; }
.gx { padding: 0; transition: border-color .15s, box-shadow .15s; }
.gx summary { list-style: none; cursor: pointer; padding: 28px; position: relative; border-radius: var(--radius); }
.gx summary::-webkit-details-marker { display: none; }
.gx summary h3 { margin-bottom: 0; padding-right: 44px; }
.gx-more { position: absolute; right: 24px; bottom: 26px; width: 36px; height: 36px; border-radius: 50%; background: var(--point); box-shadow: 0 6px 14px rgba(233, 104, 75, .3); transition: transform .2s, background .2s; }
.gx-more::before, .gx-more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.gx-more::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.gx:hover { border-color: var(--point); box-shadow: var(--shadow); }
.gx summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gx[open] { border-color: var(--navy); }
.gx[open] .gx-more { background: var(--navy); box-shadow: none; }
.gx[open] .gx-more::after { transform: translate(-50%, -50%) rotate(0deg); }
.gx ul { padding: 0 28px 26px; margin-top: -6px; display: grid; gap: 6px; }
.gx-hint { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .gx-more, .gx-more::after { transition: none; } }

.start { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.start h3 { font-family: var(--display); font-size: 20px; color: var(--navy); }
.start > p { font-size: 15.5px; color: var(--muted); margin-top: 4px; }
.start ul { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.start li { background: var(--bg); border-radius: 12px; padding: 16px 18px; font-size: 15px; color: var(--muted); }
.start li b { display: block; color: var(--navy); font-size: 16px; }
.start li span { display: block; margin-top: 4px; color: var(--point-dark); font-weight: 500; font-size: 14.5px; }

/* survey */
.survey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.bars { display: grid; gap: 16px; }
.bar label { display: flex; justify-content: space-between; font-size: 15.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.bar label b { color: var(--navy); font-family: var(--display); }
.bar div { height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bar div i { display: block; height: 100%; border-radius: 999px; background: var(--navy); }
.bar.pt div i { background: var(--point); }
.bars h3 { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 10px; }

/* process */
.proc { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: p; }
.proc li { position: relative; padding: 0 18px 0 0; counter-increment: p; }
.proc li::before { content: counter(p); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 17px; position: relative; z-index: 1; }
.proc li::after { content: ""; position: absolute; left: 40px; right: 0; top: 20px; height: 2px; background: rgba(255, 255, 255, .25); }
.proc li:last-child::after { display: none; }
.proc li:last-child::before { background: var(--point); color: #fff; }
.proc b { display: block; margin-top: 14px; font-family: var(--display); font-size: 18px; }
.proc span { display: block; margin-top: 4px; font-size: 14.5px; color: #C9D6EC; }
.iv { margin-top: 48px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.iv h3 { font-family: var(--display); font-size: 22px; line-height: 1.45; }
.iv p { margin-top: 10px; font-size: 15.5px; color: #C9D6EC; }
.iv .who { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14.5px; color: #C9D6EC; }
.iv .who b { color: #fff; font-size: 15.5px; }
.iv-reviews { display: grid; gap: 12px; align-content: start; }
.rv { background: #fff; color: var(--ink); border-radius: 12px; padding: 18px 20px; }
.rv p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.rv footer { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--navy); font-weight: 600; }
.shot-btn { font: inherit; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.shot-btn:hover { background: var(--soft); color: var(--navy); }
dialog#shot { border: 0; border-radius: 18px; padding: 0; width: min(560px, 92vw); max-height: 90vh; overflow: auto; background: #fff; }
dialog#shot::backdrop, dialog#apply-dlg::backdrop { background: rgba(22, 39, 67, .72); }
.shot-body img { width: 100%; }
.shot-close { position: sticky; top: 8px; float: right; margin: 8px 8px -44px 0; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(31, 58, 100, .88); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { border-radius: 24px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; box-shadow: 0 24px 50px rgba(31, 58, 100, .16); max-width: 380px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about blockquote { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.6; color: var(--navy); }
.about blockquote s { text-decoration-color: var(--point); color: var(--muted); font-weight: 500; }
.about p { margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.bio { margin-top: 22px; display: grid; gap: 8px; }
.bio li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink); }
.bio li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--point); margin-top: .7em; }

/* checklist band */
.band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--point-soft); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.band b { display: block; font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px); color: var(--navy); }
.band span { color: var(--muted); font-size: 15.5px; }

/* contact */
.contact-grid { margin-top: 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.c-card { border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); }
.c-apply { background: #fff; color: var(--ink); }
.c-apply h3 { font-family: var(--display); font-size: 24px; color: var(--navy); }
.c-apply p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.c-apply .btn { margin-top: 22px; }
.c-apply ol { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.c-apply ol b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 12.5px; margin-right: 10px; }
.c-info { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 18px; align-content: start; }
.c-info small { display: block; font-size: 13px; color: #A9BAD6; }
.c-info .tel { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); color: #fff; letter-spacing: -.01em; }
.c-info p { font-size: 15.5px; color: #E8EEF7; }
.c-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.c-btns .btn { padding: 12px 22px; font-size: 15px; }

/* footer */
.site-footer { background: var(--navy-deep); color: #A9BAD6; padding: 40px 0 100px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-logo { font-family: var(--display); font-size: 19px; font-weight: 800; color: #fff; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot-links a:hover { color: #fff; }

/* fab */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--point); color: #fff; font: inherit; font-size: 16px; font-weight: 600; box-shadow: 0 10px 26px rgba(233, 104, 75, .4); cursor: pointer; transition: transform .15s, background .15s; }
.fab:hover { background: var(--point-dark); transform: translateY(-3px); }
.fab-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .fab-dot { animation: none; } }

/* application dialog */
dialog#apply-dlg { border: 0; border-radius: 22px; padding: 0; width: min(560px, 94vw); max-height: 92vh; overflow: auto; background: #fff; color: var(--ink); }
#apply-form { padding: 28px clamp(18px, 4vw, 32px) 26px; display: grid; gap: 14px; position: relative; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.af-head { text-align: center; padding: 0 28px; }
.af-head h2 { font-family: var(--display); font-size: 26px; color: var(--navy); }
.af-head p:last-child { font-size: 14px; color: var(--muted); margin-top: 4px; }
.af-row { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.af-row > span, .af-row > legend { font-size: 14px; font-weight: 600; color: var(--navy); padding: 0; }
.af-row small { font-weight: 400; color: var(--muted); }
.af-row b { color: var(--point); }
.af-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
#apply-form input:not([type="checkbox"]), #apply-form select, #apply-form textarea, #od-form input:not([type="checkbox"]), #od-form select { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
#apply-form input:focus, #apply-form select:focus, #apply-form textarea:focus, #od-form input:focus, #od-form select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 134, 217, .2); background: #fff; }
#apply-form .invalid, #od-form .invalid { border-color: var(--point); background: #fff6f3; }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.af-chips label { cursor: pointer; }
.af-chips input { position: absolute; opacity: 0; pointer-events: none; }
.af-chips span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: all .12s; }
.af-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.af-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(79, 134, 217, .35); }
.af-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.af-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--point); }
.af-msg { font-size: 14px; font-weight: 600; color: var(--point-dark); background: var(--point-soft); border-radius: 10px; padding: 10px 14px; }
.af-submit { width: 100%; padding: 15px; font-size: 17px; }
.af-submit[disabled] { opacity: .6; cursor: wait; }
.af-done { padding: 44px 28px 34px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.af-done[hidden], .af-msg[hidden], #apply-form[hidden] { display: none; }
.af-check { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 34px; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--soft); }
.af-done h2 { font-family: var(--display); font-size: 26px; color: var(--navy); }
.af-done p { color: var(--muted); }
.af-tel { display: grid; gap: 6px; }
.af-tel a { font-weight: 700; color: var(--navy); }


@media (max-width: 900px) {
  .hero-grid, .survey, .about, .contact-grid, .iv { grid-template-columns: 1fr; }
  .dx-grid, .grade-grid, .start ul { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .rules { grid-template-columns: 1fr; border-top: 0; }
  .rules li, .rules li + li { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 20px; }
  .chap-grid { grid-template-columns: 1fr; }
  .chap.last2 { border-bottom: 0; }
  .proc { grid-template-columns: 1fr; gap: 18px; }
  .proc li { padding: 0 0 0 58px; min-height: 40px; }
  .proc li::before { position: absolute; left: 0; top: 0; }
  .proc li::after { left: 19px; right: auto; top: 40px; bottom: -18px; width: 2px; height: auto; }
  .proc b { margin-top: 0; padding-top: 6px; }
  .about-photo { max-width: 280px; }
}
@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .logo span { display: none; }
  .af-two { grid-template-columns: 1fr; }
  .scatter { grid-template-columns: 1fr; }
  .not { flex-direction: column; gap: 6px; }
  .fab { right: 14px; bottom: 14px; padding: 13px 20px; font-size: 15px; }
  .foot-in { flex-direction: column; }
}

/* ---------- 수행평가 소재 자판기 (맛보기) ---------- */
.vend { --blue-2: var(--blue); --red: var(--point); --red-dark: var(--point-dark); --serif: var(--display); --sky: var(--soft); --sky-2: #D6E3F7; --white: #fff; }
/* ---------- 수행평가 소재 자판기 (대문 맨 위) ---------- */
.vend { background: var(--sky-2); border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 48px) 0 0; }
.v-in { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.v-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v-bar .kicker { margin: 0; white-space: nowrap; }
.v-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.v-dots li { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.v-dots li.on { background: var(--red); } .v-dots li.done { background: var(--navy); }
.v-screen { display: flex; flex-direction: column; gap: 14px; min-height: 430px; }
.v-screen[hidden] { display: none; }
.v-center { justify-content: center; }
.js .v-screen:not([hidden]) { animation: v-slide .28s ease-out both; }
@keyframes v-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.vend h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: 1.2; letter-spacing: -.03em; color: var(--navy); margin: 0; }
.vend h2 em { font-style: normal; color: var(--red); }
.v-q { font-family: var(--serif); font-weight: 800; font-size: clamp(21px, 4.4vw, 28px); line-height: 1.35; color: var(--ink); margin: 0; }
.v-q:focus, .vend h2:focus, .v-pick:focus { outline: none; }
.v-mid { text-align: center; }
.v-pick { margin: 0; align-self: flex-start; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); }
.v-pick:empty { display: none; }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.v-tile { font: inherit; text-align: left; padding: 15px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 72px; transition: border-color .15s, transform .15s; }
.v-tile b { font-size: 19px; font-weight: 700; }
.v-tile small { font-size: 13px; color: var(--muted); }
.v-tile:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.v-tile.v-soon { opacity: .5; cursor: default; border-style: dashed; }
.v-tile.v-soon:hover { border-color: var(--line); transform: none; }
.v-tile:focus-visible, .v-ghost:focus-visible, .v-back:focus-visible, .v-main:focus-visible, .v-peek:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.v-main { width: 100%; justify-content: center; text-align: center; font-size: 18px; cursor: pointer; }
.v-ghost { font: inherit; font-weight: 500; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.v-ghost:hover { border-color: var(--blue-2); }
.v-back { font: inherit; font-size: 14px; align-self: flex-start; padding: 4px 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.v-slot { display: flex; gap: 10px; justify-content: center; }
.v-slot i { width: 16px; height: 16px; border-radius: 50%; background: var(--red); animation: v-hop .6s ease-in-out infinite; }
.v-slot i:nth-child(2) { animation-delay: .12s; } .v-slot i:nth-child(3) { animation-delay: .24s; }
@keyframes v-hop { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-12px); opacity: 1; } }
.v-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.v-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v-tags span { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); }
.v-tags .v-concept { background: #ffecea; color: var(--red-dark); }
.v-frame { font-size: 19px; font-weight: 700; line-height: 1.5; margin: 0; }
.v-frame b { background: #ffecea; border-radius: 6px; padding: 0 6px; }
.v-fill { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--sky-2); border: 1px solid var(--line); }
.v-fill strong { color: var(--red-dark); margin-right: 4px; }
.v-snag { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; padding: 18px; border-radius: 16px; background: #ffecea; }
.v-bridge { border-left: 4px solid var(--navy); padding: 4px 0 4px 16px; }
.v-bridge p { margin: 0 0 4px; color: var(--muted); }
.v-bridge blockquote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy); line-height: 1.5; }
.v-note { margin: 0; font-size: 13px; color: var(--muted); }
.v-peek { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; padding: 14px 0 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.v-peek b { color: var(--navy); }
.v-peek i { font-style: normal; color: var(--red); animation: v-nudge 1.4s ease-in-out infinite; }
@keyframes v-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
/* 맛보기 장치: 동전 · 잠긴 칸 · 엔드카드 */
.v-coins { margin: 0 auto 0 0; white-space: nowrap; display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--navy); }
.v-coins i { width: 16px; height: 16px; border-radius: 50%; background: transparent; border: 2px dashed var(--muted); opacity: .6; }
.v-coins i.on { opacity: 1; background: #F4B740; border: 2px solid #D99A1E; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.v-coins span { margin-left: 4px; }
.v-lock { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--navy); background: rgba(255,255,255,.55); color: var(--ink); text-decoration: none; transition: transform .15s; }
.v-lock:hover { transform: translateY(-2px); }
.v-lock-row { display: flex; align-items: center; gap: 10px; color: var(--muted); filter: blur(.4px); }
.v-lock-row i { flex: none; width: 14px; height: 12px; border-radius: 3px; background: var(--navy); position: relative; margin-top: 6px; }
.v-lock-row i::before { content: ""; position: absolute; left: 2px; top: -8px; width: 6px; height: 8px; border: 2px solid var(--navy); border-bottom: 0; border-radius: 6px 6px 0 0; }
.v-lock b { color: var(--red-dark); font-size: 15px; }
.v-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
a.v-tile.v-soon { text-decoration: none; cursor: pointer; opacity: .75; }
a.v-tile.v-soon small { color: var(--red-dark); }
a.v-tile.v-soon:hover { border-color: var(--red); transform: translateY(-2px); }
.v-end { text-align: center; align-items: center; }
.v-end .kicker { margin: 0; }
.v-endsub { margin: 0; color: var(--muted); }
.v-endsub b { color: var(--navy); }
.v-endlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 420px; }
.v-endlist li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.v-endlist li::before { content: "✓"; color: var(--red); margin-right: 8px; }
@media (max-width: 560px) { .v-screen { min-height: 470px; } .v-grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .v-screen:not([hidden]), .v-slot i, .v-peek i { animation: none; } .v-tile { transition: none; } }

/* ---------- 프로그램 ---------- */
.where { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.where a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: transform .15s, border-color .15s; }
.where a:hover { transform: translateY(-2px); border-color: var(--blue); }
.where a.best { border-color: var(--point); background: var(--point-soft); }
.where span { display: block; font-size: 15px; color: var(--muted); }
.where b { display: block; margin-top: 4px; color: var(--navy); font-size: 15.5px; }
.prog-grid { margin-top: 18px; }
.prog-grid .grade { scroll-margin-top: 90px; }
.prog-grid .grade.best { border-color: var(--point); box-shadow: var(--shadow); }
.prog-grid .grade.best em { background: var(--point); }
.prog-grid .grade em { font-family: var(--body); font-weight: 600; font-size: 13px; }
.prog-grid .grade li + li { margin-top: 4px; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }

/* ---------- 면접 준비 ---------- */
.iv2 { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.iv2 .grade.best { border-color: var(--point); box-shadow: var(--shadow); }
.iv2 .grade.best em { background: var(--point); }
.iv2 .grade em { font-family: var(--body); font-weight: 600; font-size: 13px; }
.iv2 .grade li + li { margin-top: 10px; }
.iv2 .grade li b { display: block; color: var(--navy); font-size: 16px; }
.iv2-reviews { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.iv2-reviews .rv { border: 1px solid var(--line); }
.grade .more { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--point-dark); }
@media (max-width: 900px) { .iv2, .iv2-reviews { grid-template-columns: 1fr; } }

/* ---------- 갈림길 (대문 맨 위) ---------- */
.fork { background: var(--bg); padding: 14px 0 0; }
.fork-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fork a { position: relative; display: block; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 44px 12px 18px; transition: border-color .15s, transform .15s; }
.fork a:hover { border-color: var(--point); transform: translateY(-2px); }
.fork a.on { border-color: var(--navy); }
.fork small { display: block; font-size: 12.5px; color: var(--muted); }
.fork b { font-family: var(--display); font-size: 18px; color: var(--navy); }
.fork i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--point); font-size: 18px; }

/* ---------- 면접 준비 페이지 (interview.html) ---------- */
.iv-hero { background: var(--navy); color: #fff; padding: clamp(48px, 8vw, 96px) 0; }
.iv-hero .eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.iv-hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.3; margin: 22px 0 20px; }
.iv-hero h1 mark { background: linear-gradient(transparent 60%, rgba(233, 104, 75, .75) 60%); color: inherit; }
.iv-hero .lead { color: #C9D6EC; max-width: 600px; } .iv-hero .lead b { color: #fff; }
.pain { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pain li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 500; font-size: 16.5px; }
.pain i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--point); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.seven { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: q; }
.seven li { counter-increment: q; display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 14px 18px; font-size: 16.5px; font-weight: 500; }
.seven li::before { content: counter(q); flex: none; font-family: var(--display); font-weight: 800; font-size: 20px; color: #FFB39F; width: 22px; }
.coach { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 22px 26px; }
.coach small { font-size: 13px; font-weight: 600; color: var(--point); }
.coach b { display: block; font-family: var(--display); font-size: 20px; color: var(--navy); }
.coach p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.rv-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-grid .rv { border: 1px solid var(--line); padding: 24px 26px; }
.rv-grid .rv p { font-size: 16px; }
.rv-grid .rv footer a { font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); font-size: 16.5px; }
.faq details p { margin-top: 8px; color: var(--muted); }
.form-card { max-width: 560px; margin: 36px auto 0; background: #fff; color: var(--ink); border-radius: 22px; padding: 28px 24px 24px; }
.form-card #apply-form { padding: 0; }
.form-card .af-chips label { position: relative; }
.form-alt { text-align: center; margin-top: 16px; font-size: 14.5px; color: #C9D6EC; }
.form-alt a { color: #fff; font-weight: 600; text-decoration: underline; }
@media (max-width: 760px) { .pain, .seven, .rv-grid { grid-template-columns: 1fr; } .fork b { font-size: 16px; } .fork a { padding: 10px 34px 10px 14px; } .fork i { right: 12px; } }

/* 프로그램: 고른 것 하나만 보여 주기 (스크립트가 켜졌을 때만) */
.where.pick a { cursor: pointer; }
.where.pick a.best:not(.on) { border-color: var(--line); background: var(--surface); }
.where.pick a.on { border-color: var(--point); background: var(--point-soft); box-shadow: var(--shadow); }
.prog-grid.pick { grid-template-columns: 1fr; max-width: 760px; }
.prog-grid.pick .grade { display: none; }
.prog-grid.pick .grade.on { display: block; opacity: 1; transform: none; }
.prog-grid.pick .grade.on h3 { font-size: 24px; }
.prog-grid.pick .grade.on li { font-size: 16px; }

/* ---------- 상품 지도 (#program) ---------- */
.pm-wrap { width: min(1240px, 100% - 40px); }
.pm { margin-top: 36px; }
.pm button { font: inherit; cursor: pointer; }
.pm-when { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pm-q { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--navy); }
.pm-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pm .pm-chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s; }
.pm .pm-chip:hover { border-color: var(--blue); }
.pm .pm-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.pm-out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pm-out:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pm-out > span, .pd-next > span { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pm-res { font: inherit; cursor: pointer; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--point); background: var(--point-soft); color: var(--point-dark); font-size: 14.5px; font-weight: 600; }
.pm-res:hover { background: #FFE0D6; }

/* 상품 단추 */
.pm .pm-n { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; padding: 7px 5px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; word-break: keep-all; transition: opacity .2s, box-shadow .15s, transform .15s; }
.pm .pm-n:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27, 38, 56, .12); }
.pm-n:focus-visible, .pm-h:focus-visible, .pm-chip:focus-visible, .pm-res:focus-visible { outline: 3px solid rgba(79, 134, 217, .5); outline-offset: 2px; }
.pm .pm-n.k-plan { background: var(--soft); border-color: #C5D8F4; }
.pm .pm-n.k-close { background: #fff; border-color: var(--blue); }
.pm .pm-n.k-note { background: var(--navy); border-color: var(--navy); color: #fff; }
.pm .pm-n.k-pack { background: var(--point-soft); border-color: #F6C7BA; color: #A63A20; }
.pm .pm-n.k-three { background: var(--point); border-color: var(--point); color: #fff; font-size: 14.5px; font-weight: 700; min-height: 52px; box-shadow: 0 6px 16px rgba(233, 104, 75, .25); }
.pm .pm-n.k-sp { border-color: var(--navy); }
.pm .pm-n.k-free { flex-direction: row; gap: 8px; padding: 7px 14px; }
.pm .pm-n.bar { padding-left: 14px; padding-right: 14px; }
.pm .pm-n.soon { border-style: dashed; color: var(--muted); }
.pm-soon { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.pm-role { font-size: 11px; font-weight: 600; opacity: .75; }
.pm.has-sel .pm-n:not(.lit) { opacity: .25; }
.pm.has-sel .pm-n.lit { box-shadow: 0 0 0 3px rgba(233, 104, 75, .45); }

/* 컴퓨터: 가로 지도 */
.pm-grid { margin-top: 14px; display: grid; grid-template-columns: 116px repeat(11, minmax(0, 1fr)); gap: 7px 5px; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px 18px 18px; }
.pm-vac { background: var(--bg); border-radius: 12px; margin: -6px 0; }
.pm .pm-h { position: relative; z-index: 1; display: grid; gap: 0; justify-items: center; padding: 6px 2px; border: 0; border-radius: 10px; background: transparent; color: var(--navy); line-height: 1.3; }
.pm-h b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.pm-h span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pm .pm-h:hover { background: var(--soft); }
.pm .pm-h.on { background: var(--navy); }
.pm-h.on b, .pm-h.on span { color: #fff; }
.pm-l { align-self: center; padding-right: 8px; }
.pm-l b { display: block; font-family: var(--display); font-size: 14.5px; color: var(--navy); line-height: 1.35; word-break: keep-all; }
.pm-l span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.4; word-break: keep-all; }
.pm-grid .pm-n, .pm-band { position: relative; z-index: 1; }
.pm-band { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.pm-mp { position: relative; z-index: 1; display: grid; gap: 5px; padding: 5px; border: 2px solid var(--point); border-radius: 15px; background: var(--point-soft); }
.pm-seg { display: grid; grid-template-columns: 4fr auto 4fr auto 2fr; gap: 4px; align-items: center; }
.pm-arrow { font-style: normal; font-weight: 700; color: var(--point-dark); }
.pm .pm-mp .pm-n.k-pack { background: #fff; }
.pm-v { display: none; }

/* 휴대폰: 세로 지도 */
@media (max-width: 980px) {
  .pm-grid { display: none; }
  .pm-v { display: block; margin-top: 14px; }
  .pm-vband { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
  .pm-vband > b { display: block; font-family: var(--display); font-size: 15px; color: var(--navy); margin-bottom: 10px; }
  .pm-vrow { display: flex; flex-wrap: wrap; gap: 8px; }
  .pm .pm-v .pm-n { flex-direction: row; gap: 6px; min-height: 44px; padding: 8px 14px; font-size: 14.5px; }
  .pm-v .pm-role { font-size: 12px; }
  .pm-tl { margin: 14px 0 14px 6px; border-left: 5px solid var(--point); padding-left: 0; }
  .pm-tl > li { position: relative; padding: 12px 0 12px 18px; }
  .pm-tl > li.v { background: linear-gradient(90deg, rgba(231, 239, 251, .9), rgba(231, 239, 251, 0)); }
  .pm-tl > li:not(.pm-tl3)::before { content: ""; position: absolute; left: -11.5px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--point); }
  .pm-tl > li.pm-tl3 { padding: 0 0 6px 0; }
  .pm .pm-v .pm-tl3 .pm-n { width: 100%; justify-content: flex-start; text-align: left; border-radius: 0 12px 12px 0; font-size: 15px; }
  .pm-tl.pre { margin-bottom: 0; border-left-color: var(--line); }
  .pm-tl.pre > li::before { border-color: var(--navy) !important; }
  .pm-tl.pre + .pm-tl { margin-top: 0; }
  .pm-tl > li.pm-tseg { padding: 10px 0 2px 0; }
  .pm-tl > li.pm-tseg::before { display: none; }
  .pm .pm-v .pm-tseg .pm-n { border-radius: 0 10px 10px 0; border-left: 0; min-height: 36px; padding: 5px 16px 5px 14px; font-size: 14px; }
  .pm-t { display: block; font-family: var(--display); font-weight: 800; font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
  .pm-tl > li.v:not(.nt) .pm-t::after { content: "방학"; margin-left: 8px; font-family: var(--body); font-size: 11.5px; font-weight: 600; color: var(--blue); }
}
@media (prefers-reduced-motion: reduce) { .pm .pm-n, .pm .pm-chip { transition: none; } }

/* 상품 상세 */
dialog#pd { border: 0; border-radius: 22px; padding: 0; width: min(520px, 94vw); max-height: 90vh; overflow: auto; background: #fff; color: var(--ink); }
dialog#pd::backdrop { background: rgba(22, 39, 67, .72); }
.pd-body { padding: 30px clamp(20px, 4vw, 32px) 26px; }
.pd-kind { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--soft); border-radius: 999px; padding: 3px 12px; }
.pd-kind.k-pack { background: var(--point-soft); color: #A63A20; }
.pd-body h2 { margin: 12px 40px 0 0; font-family: var(--display); font-weight: 800; font-size: 25px; color: var(--navy); line-height: 1.35; letter-spacing: -.02em; }
.pd-one { margin-top: 10px; font-size: 16.5px; line-height: 1.65; color: var(--ink); font-weight: 500; }
.pd-foot { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pd-dl { margin-top: 8px; display: grid; gap: 4px; }
.pd-dl dt { font-size: 13px; font-weight: 600; color: var(--point-dark); margin-top: 12px; }
.pd-dl dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.pd-dl ul { margin: 0; padding: 0; list-style: none; }
.pd-dl li { position: relative; padding-left: 14px; margin-top: 5px; line-height: 1.6; }
.pd-dl li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.pd-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.pd-more { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--point-dark); }
.pd-next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-next .pm-res { border-color: var(--line); background: #fff; color: var(--navy); }
.pd-next .pm-res:hover { border-color: var(--blue); background: var(--soft); }
.pd-act { margin-top: 22px; }
.pd-act .btn { width: 100%; }
.pd-soon { display: block; text-align: center; padding: 14px; border-radius: 999px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  dialog#pd { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 86vh; }
}
a.fab { text-decoration: none; }
.fab.off { opacity: 0; pointer-events: none; transform: translateY(20px); }
.c-apply ol + .btn { margin-top: 24px; }
.c-apply h3 + ol { margin-top: 16px; padding-top: 16px; }

/* ---------- 받게 되는 것: 다음 학기 로드맵 (#report) ---------- */
.rm-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.rm-shot .shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: var(--shadow); }
.rm-shot img { display: block; width: 100%; height: auto; aspect-ratio: auto; }
.rm-shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.rm-list { display: grid; gap: 0; }
.rm-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rm-list li:first-child { padding-top: 0; }
.rm-list li:last-child { border-bottom: 0; }
.rm-list i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--navy); font-style: normal; font-family: var(--display); font-weight: 800; font-size: 16px; }
.rm-list li:last-child i { background: var(--point-soft); color: var(--point-dark); }
.rm-list b { display: block; font-family: var(--display); font-size: 18px; color: var(--navy); line-height: 1.45; }
.rm-list span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .rm-grid { grid-template-columns: 1fr; } .rm-shot { max-width: 420px; } }

/* 상품 상세의 예시 사진 */
.pd-shot { margin: 18px 0 0; }
.pd-shot a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; max-height: 300px; position: relative; cursor: zoom-in; }
.pd-shot a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.pd-shot.full a { max-height: none; }
.pd-shot.full a::after { display: none; }
.pd-shot img { display: block; width: 100%; height: auto; }
.pd-shot figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.todo.cand li::before { width: 6px; height: 6px; margin-top: 8px; border: 0; border-radius: 50%; background: var(--blue); }
.rm-list i { font-size: 22px; }

/* 위 메뉴: 준비 중 표시 / 갈림길 3칸 (휴대폰) */
.nav-soon { margin-left: 5px; font-size: 11px; font-weight: 700; color: var(--point); vertical-align: 1px; }
@media (max-width: 560px) {
  .fork-in { gap: 6px; }
  .fork a { padding: 10px 10px 10px 12px; }
  .fork i { display: none; }
  .fork small { font-size: 11.5px; }
  .fork b { font-size: 15px; line-height: 1.3; display: block; }
}
