:root {
  --ink: #101a2f;
  --text: #2a3347;
  --muted: #6a7488;
  --line: #e2e6ee;
  --bg: #ffffff;
  --tint: #f5f7fb;
  --accent: #285bd9;
  --serif: "Noto Serif KR", "Batang", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "맑은 고딕", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .22em; color: var(--ink); }
.brand-ko { font-size: .68rem; letter-spacing: .18em; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: .92rem; }
.nav a { color: var(--text); position: relative; padding: 4px 0; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 20px !important; border-radius: 999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent); }

.menu-btn { display: none; width: 44px; height: 44px; background: none; border: none; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* 공통 */
.eyebrow {
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow-light { color: rgba(255, 255, 255, .6); }

.section { padding: 112px 0; scroll-margin-top: var(--header-h); }
.section.tint { background: var(--tint); }
.section-head { margin-bottom: 64px; max-width: 640px; }
h2 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.4; letter-spacing: -.01em;
}
.section-lead { margin-top: 20px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-line { background: transparent; color: var(--ink); border-color: #c5ccd9; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9eefb; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { border-color: #fff; }

/* 히어로 */
.hero { padding: 56px 0 0; scroll-margin-top: var(--header-h); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.35; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 28px; max-width: 520px; color: var(--muted); font-size: 1.02rem; }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid var(--line); border-radius: 4px; z-index: 0;
}
.hero-figure img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1400 / 1333; object-fit: cover; border-radius: 4px; }

.stats {
  margin-top: 88px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { padding: 32px 0 32px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.stats > div:first-child { border-left: none; padding-left: 0; }
.stats dt { font-size: .86rem; color: var(--muted); }
.stats dd { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; line-height: 1.2; color: var(--ink); }
.stats dd small { font-size: 1.1rem; margin-left: 2px; }
.stats .dd-text { font-size: 1.9rem; }

/* 교육 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.pillars li { padding: 36px 36px 8px 0; }
.pillars li + li { padding-left: 36px; border-left: 1px solid var(--line); }
.num { font-family: var(--serif); font-size: .95rem; color: var(--accent); letter-spacing: .1em; }
.pillars h3 { margin: 16px 0 14px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.pillars p { color: var(--muted); font-size: .96rem; }

/* 대표 교육 */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.program { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 48px; }
.program-tag { font-size: .76rem; letter-spacing: .2em; color: var(--accent); font-weight: 500; }
.program h3 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--ink); }
.program-lead { margin-top: 14px; color: var(--muted); }
.steps { margin-top: 36px; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: none; padding-bottom: 0; }
.step-no {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); color: var(--ink); font-family: var(--serif); font-size: .92rem; line-height: 1;
}
.steps h4 { font-size: 1.06rem; font-weight: 500; color: var(--ink); line-height: 1.6; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .94rem; }

/* 세미나 */
.seminar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.seminar-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--tint); }
.seminar-body { padding-top: 22px; }
.seminar-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.seminar-body p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.more-link { margin-top: 40px; text-align: right; }
.more-link a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more-link a:hover { color: var(--accent); border-color: var(--accent); }

/* 이력 */
.history-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.history-side { display: flex; flex-direction: column; gap: 56px; }
.history-col h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.timeline time { font-family: var(--serif); color: var(--accent); font-size: .92rem; padding-top: 1px; }
.badge {
  display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 500; color: var(--accent); border: 1px solid var(--accent); line-height: 1.6; white-space: nowrap;
}

/* 후기 */
.reviews { columns: 3; column-gap: 24px; }
.reviews blockquote {
  break-inside: avoid; margin: 0 0 24px; padding: 28px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.reviews blockquote[hidden] { display: none; }
.reviews blockquote p { color: var(--text); font-size: .95rem; }
.reviews blockquote p::before { content: "“"; display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.reviews cite { display: block; margin-top: 16px; font-style: normal; font-size: .82rem; color: var(--muted); }
.center { margin-top: 16px; }

.oneline { margin-top: 96px; padding: 64px; background: var(--ink); color: #fff; border-radius: 6px; }
.oneline .eyebrow { color: rgba(255, 255, 255, .6); }
.oneline h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 32px; }
.oneline ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.oneline li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .92); font-size: .96rem; }

/* 소개 */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: center; }
.about-photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 4px; }
.about-kicker { color: var(--muted); margin-bottom: 8px; }
.about h2 { margin-bottom: 28px; }
.sep { color: #b9c0cf; font-weight: 400; margin: 0 6px; }
.about-copy p + p { margin-top: 16px; }
.about-copy p:not(.eyebrow):not(.about-kicker) { color: var(--text); }

/* 자료실 */
.resource-list { border-top: 1px solid var(--ink); }
.resource-list a {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s;
}
.resource-list a:hover { background: var(--tint); padding-left: 20px; padding-right: 20px; }
.resource-list .tag { font-size: .78rem; color: var(--accent); font-weight: 500; letter-spacing: .04em; }
.resource-list strong { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.5; }
.resource-list .go { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.resource-list a:hover .go { color: var(--ink); }

/* 문의 */
.contact { background: var(--ink); color: #fff; padding: 112px 0; text-align: center; scroll-margin-top: var(--header-h); }
.contact h2 { color: #fff; }
.contact-inner > p:not(.eyebrow) { margin: 24px auto 0; max-width: 560px; color: rgba(255, 255, 255, .72); }
.contact-actions { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: #0b1324; color: rgba(255, 255, 255, .55); font-size: .82rem; padding: 28px 0; }
.footer-inner { display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-footer .brand-en { color: #fff; font-size: .9rem; }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90;
  max-width: calc(100vw - 32px); padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: .9rem; box-shadow: 0 8px 30px rgba(10, 20, 40, .25);
  animation: toastIn .2s ease-out;
}
.toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 스크롤 등장 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* 태블릿 */
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-figure { max-width: 560px; margin-right: 20px; }
  .seminar-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split .section-head { position: static; }
  .history-grid, .about { grid-template-columns: 1fr; gap: 56px; }
  .reviews { columns: 2; }
  .oneline { padding: 48px 40px; }
}

/* 모바일 */
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 20px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: none !important; padding: 14px 20px !important; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding-top: 32px; }
  .hero-figure { margin-right: 14px; }
  .hero-figure::before { inset: 14px -14px -14px 14px; }
  .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; margin-top: 64px; }
  .stats > div, .stats > div:first-child { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 20px 0; border-left: none; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: none; }
  .stats dd { font-size: 1.8rem; }
  .stats .dd-text { font-size: 1.5rem; }

  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 28px 0; border-left: none; border-bottom: 1px solid var(--line); }
  .program { padding: 28px 22px; }
  .steps li { gap: 16px; }

  .seminar-grid { grid-template-columns: 1fr; gap: 40px; }
  .more-link { text-align: left; }
  .timeline li { grid-template-columns: 74px 1fr; gap: 12px; }
  .reviews { columns: 1; }
  .reviews blockquote { padding: 24px 22px; }
  .oneline { padding: 36px 24px; margin-top: 64px; }
  .oneline ul { grid-template-columns: 1fr; }
  .resource-list a { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .resource-list a:hover { padding-left: 0; padding-right: 0; background: none; }
  .contact { padding: 80px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== 세미나 사진·영상 페이지 ===== */
.nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
body.lb-open { overflow: hidden; }

.gallery-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.crumb { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: .92rem; }
.crumb:hover { color: var(--ink); }
.gallery-head h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.35; letter-spacing: -.01em;
}
.gallery-sub { margin-top: 14px; color: var(--muted); }
.gallery-count { margin-top: 8px; font-size: .9rem; color: var(--accent); font-weight: 500; }

.gallery-body { padding: 64px 0 40px; }
.gallery-h { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin-bottom: 24px; }
.gallery-h span { font-family: var(--sans); font-weight: 400; font-size: .95rem; color: var(--muted); margin-left: 6px; }
#g-videos { margin-top: 72px; }
.gallery-empty { padding: 48px 0; color: var(--muted); }

.photo-grid { columns: 3; column-gap: 16px; }
.photo-item { break-inside: avoid; margin-bottom: 16px; }
.photo-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--tint); border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.photo-btn img { width: 100%; height: auto; transition: transform .4s ease, opacity .2s; }
.photo-btn:hover img { transform: scale(1.03); }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.video-item { background: #000; border-radius: 4px; overflow: hidden; aspect-ratio: var(--ratio, 9 / 16); }
.video-item video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

.gallery-others { padding: 56px 0 112px; }
.others-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 760px; }
.other-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--tint); }
.other-body { padding-top: 16px; }
.other-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.other-body p { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.other-card:hover h3 { color: var(--accent); }

/* 사진 크게 보기 */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(8, 14, 28, .94);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 16px; right: 16px; font-size: 1.1rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, .75); font-size: .88rem; }

@media (max-width: 960px) {
  .photo-grid { columns: 2; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .gallery-head { padding: 32px 0 32px; }
  .crumb { margin-bottom: 28px; }
  .gallery-body { padding: 44px 0 24px; }
  .photo-grid { columns: 2; column-gap: 10px; }
  .photo-item { margin-bottom: 10px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #g-videos { margin-top: 56px; }
  .others-grid { grid-template-columns: 1fr; }
  .gallery-others { padding-bottom: 72px; }
  .lightbox { padding: 64px 0 48px; }
  .lb-figure img { max-height: calc(100dvh - 112px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 0; transform: none; }
  .lb-prev { left: 12px; bottom: 6px; }
  .lb-next { right: 12px; bottom: 6px; }
}

/* 세미나 카드를 누르면 사진·영상 페이지로 이동 */
a.seminar-card { display: block; color: inherit; }
.seminar-card .card-go { display: inline-block; margin-top: 14px; font-size: .88rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; transition: color .2s, border-color .2s; }
a.seminar-card:hover .card-go { color: var(--accent); border-color: var(--accent); }
a.seminar-card img { transition: opacity .25s; }
a.seminar-card:hover img { opacity: .9; }

/* ===== 자료실 전자책 페이지 ===== */
.eb-wrap { max-width: 800px; }
.ebook-page { --chips-h: 56px; }
.eb-hero { padding: 56px 0 48px; }
.eb-hero .crumb { margin-bottom: 40px; }
.eb-sub { margin-bottom: 14px; color: var(--muted); font-size: .98rem; }
.eb-hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.35; letter-spacing: -.02em;
}
.eb-by { margin-top: 20px; font-size: .88rem; color: var(--muted); letter-spacing: .06em; }

.eb-chips {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.eb-chips-row { display: flex; gap: 6px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.eb-chips-row::-webkit-scrollbar { display: none; }
.eb-chips a {
  flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; font-size: .86rem; color: var(--muted);
  border: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s, background .2s;
}
.eb-chips a:hover { color: var(--ink); }
.eb-chips a.on { color: var(--ink); border-color: var(--ink); }

.eb-article { padding: 24px 0 96px; }
.eb-sec { padding: 56px 0 0; scroll-margin-top: calc(var(--header-h) + var(--chips-h) + 8px); }
.eb-intro { padding-top: 40px; }
.eb-head { margin-bottom: 28px; }
.eb-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.eb-head h2 em, .eb-closing h2 em { font-style: normal; color: var(--accent); }
.eb-prose p { margin-top: 14px; }
.eb-prose p:first-child { margin-top: 0; }
.eb-prose strong, .eb-lead strong, .eb-card strong, .eb-callout strong, .eb-note strong { font-weight: 700; color: var(--ink); }
.eb-label { margin-bottom: 18px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.eb-lead { margin-top: 16px; }
.eb-note { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--line); color: var(--muted); font-size: .94rem; }
.eb-note-top { margin: 0 0 16px; padding: 0; border: 0; font-size: .85rem; }
.eb-big { margin: 10px 0; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
mark { background: none; color: var(--accent); font-weight: 700; box-shadow: inset 0 -.45em 0 rgba(40, 91, 217, .12); }
kbd { font-family: var(--sans); font-size: .85em; padding: 2px 8px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--tint); color: var(--ink); white-space: nowrap; }

/* 섹션 머리 */
.eb-sec-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.eb-no {
  flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-top: 4px;
}
.eb-tag { font-size: .76rem; font-weight: 500; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.eb-sec-head h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.45; }

/* 카드·상자 */
.eb-card { margin-top: 20px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.eb-card p + p, .eb-card p + ul, .eb-card ul + p { margin-top: 12px; }
.eb-k { margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.eb-card .eb-k { letter-spacing: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.02rem; }
.sm { font-size: .92rem; color: var(--muted); }
.eb-callout { margin-top: 20px; padding: 26px 28px; border-radius: 6px; background: var(--tint); border-left: 3px solid var(--accent); }
.eb-callout.warn { background: #fbf7f1; border-left-color: #b8895a; }
.eb-callout.warn .eb-k { color: #8a5f35; }
.eb-callout p + p, .eb-callout p + ul, .eb-callout ul + p { margin-top: 12px; }

.eb-list li { position: relative; padding-left: 18px; margin-top: 8px; }
.eb-list li:first-child { margin-top: 0; }
.eb-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 1px; background: var(--muted); }
.eb-sec > .eb-list { margin-top: 16px; }

.eb-steps { margin-top: 4px; border-top: 1px solid var(--line); }
.eb-steps li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.eb-n {
  flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: .9rem; line-height: 1; color: var(--ink);
}
.eb-steps b { display: block; font-weight: 500; color: var(--ink); line-height: 1.6; }
.eb-steps span:not(.eb-n) { display: block; margin-top: 4px; color: var(--muted); font-size: .94rem; }

.eb-link {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 500; font-size: .94rem; transition: background .2s;
}
.eb-link:hover { background: var(--accent); }
.eb-kw { margin-top: 16px; border-top: 1px solid var(--line); }
.eb-kw a { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.eb-kw a:hover { background: var(--tint); }
.eb-kw b { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.eb-kw span { color: var(--muted); font-size: .94rem; }
.eb-kw i { font-style: normal; color: var(--muted); }

.eb-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.eb-examples figure { margin: 0; }
.eb-examples img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.eb-examples figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.eb-examples figcaption b { display: block; letter-spacing: .12em; font-size: .78rem; }
.eb-examples .good figcaption b { color: var(--accent); }
.eb-examples .bad figcaption b { color: #b8895a; }

.eb-info div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .06); }
.eb-info div:first-child { border-top: 0; padding-top: 0; }
.eb-info dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.eb-info dd { margin: 0; }

/* 문구·프롬프트 복사 */
.eb-hooks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eb-hook {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font: inherit; font-size: .95rem; line-height: 1.55; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.eb-hook:hover { border-color: var(--ink); background: var(--tint); }
.eb-hook.copied { border-color: var(--accent); background: #eef3ff; }
.eb-hook-n { flex: 0 0 auto; font-family: var(--serif); color: var(--accent); font-size: .85rem; padding-top: 2px; }

.eb-prompt { margin-top: 20px; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.eb-prompt-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px 10px 20px; background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .08em; }
.eb-copy { border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; border-radius: 999px; padding: 8px 16px; min-height: 36px; font: inherit; font-size: .84rem; letter-spacing: 0; cursor: pointer; transition: background .2s, color .2s; }
.eb-copy:hover, .eb-copy.copied { background: #fff; color: var(--ink); }
.eb-prompt pre { margin: 0; padding: 22px 22px 24px; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); font-size: .94rem; line-height: 1.85; color: var(--text); }

.eb-formulas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eb-formula { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.eb-formula .eb-k { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); letter-spacing: 0; }
.eb-formula-d { color: var(--muted); font-size: .9rem; }
.eb-formula-ex { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--ink); }

/* 가이드 보조 요소 */
.eb-quotes { margin: 18px 0; padding: 22px 26px; background: var(--tint); border-radius: 6px; }
.eb-quotes li { font-family: var(--serif); color: var(--ink); line-height: 1.7; }
.eb-quotes li + li { margin-top: 8px; }
.eb-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 28px 0; padding: 26px 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.eb-flow i { font-style: normal; color: var(--accent); font-weight: 400; }
.eb-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.eb-versus > div { padding: 20px 22px; border-radius: 6px; border: 1px solid var(--line); }
.eb-versus .no { background: #faf8f5; }
.eb-versus .yes { background: #f1f5ff; border-color: #cddaf7; }
.eb-versus .no .eb-k { color: #8a5f35; font-family: var(--sans); font-size: .8rem; }
.eb-versus .yes .eb-k { color: var(--accent); font-family: var(--sans); font-size: .8rem; }
.eb-profile { color: var(--ink); line-height: 1.8; }
.eb-formula-line { font-family: var(--serif); color: var(--ink); font-size: 1.05rem; }
.eb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.eb-tags span { padding: 6px 14px; border-radius: 999px; background: var(--tint); font-size: .88rem; color: var(--ink); }
.eb-flowv { margin: 14px 0; counter-reset: fl; }
.eb-flowv li { position: relative; padding: 10px 14px 10px 44px; border: 1px solid var(--line); border-radius: 6px; margin-top: 8px; counter-increment: fl; background: #fff; color: var(--ink); }
.eb-flowv li:first-child { margin-top: 0; }
.eb-flowv li::before { content: counter(fl); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--serif); color: var(--accent); }
.eb-check { margin-top: 12px; border-top: 1px solid var(--line); }
.eb-check li { border-bottom: 1px solid var(--line); }
.eb-check label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 4px; cursor: pointer; }
.eb-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); cursor: pointer; }
.eb-check input:checked + span { color: var(--muted); text-decoration: line-through; }

.eb-closing .eb-head { margin-bottom: 20px; }

/* 하단 안내 */
.eb-cta { background: var(--ink); color: #fff; padding: 88px 0; text-align: center; }
.eb-cta-inner .a { color: rgba(255, 255, 255, .72); }
.eb-cta-inner .b { margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.5; }
.eb-cta-inner .c { margin-top: 18px; color: rgba(255, 255, 255, .72); }
.eb-cta-actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 720px) {
  .eb-hero { padding: 32px 0 32px; }
  .eb-hero .crumb { margin-bottom: 28px; }
  .eb-sec { padding-top: 44px; }
  .eb-intro { padding-top: 28px; }
  .eb-card, .eb-callout { padding: 22px 20px; }
  .eb-sec-head { gap: 14px; }
  .eb-kw a { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .eb-kw span { grid-column: 1 / -1; grid-row: 2; }
  .eb-versus, .eb-formulas, .eb-hooks { grid-template-columns: 1fr; }
  .eb-examples { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eb-prompt-top { padding-left: 16px; }
  .eb-prompt pre { padding: 18px 16px 20px; font-size: .92rem; }
  .eb-copy { min-height: 40px; }
  .eb-hook { min-height: 48px; }
  .eb-cta { padding: 64px 0; }
  .eb-cta-actions .btn { width: 100%; }
  .eb-article { padding-bottom: 64px; }
}

/* 예시 상자·표 (자료실 전자책) */
.eb-eg { margin-top: 14px; padding: 16px 18px; border-radius: 6px; background: var(--tint); border-left: 3px solid var(--accent); }
.eb-card .eb-eg p { margin-top: 0; }
.eb-eg span { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.eb-eg p { color: var(--ink); font-size: .95rem; }
.eb-table { width: 100%; margin-top: 12px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: .95rem; }
.eb-table th, .eb-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.eb-table thead th { font-size: .8rem; letter-spacing: .08em; color: var(--muted); font-weight: 500; background: var(--tint); }
.eb-table tbody th { width: 110px; font-weight: 500; color: var(--ink); white-space: nowrap; }
@media (max-width: 720px) {
  .eb-table th, .eb-table td { padding: 12px 10px; }
  .eb-table tbody th { width: 76px; }
}

/* ===== 교육 프로그램·가격 페이지 ===== */
.pillars a { display: block; height: 100%; }
.pillars a:hover h3 { color: var(--accent); }
.pillar-go { display: inline-block; margin-top: 18px; font-size: .88rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.pillars a:hover .pillar-go { color: var(--accent); border-color: var(--accent); }
.badge-link { text-decoration: none; }
.badge-link:hover { background: var(--accent); color: #fff; }

.pg-notice { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 18px; border: 1px solid #cfdaf7; background: #eef3fe; border-radius: 999px; font-size: .88rem; color: var(--ink); }
.pg-notice b { color: var(--accent); font-weight: 700; }

.pg-body { padding: 72px 0 112px; }
.pg-group + .pg-group { margin-top: 88px; }
.pg-group { scroll-margin-top: var(--header-h); }
.pg-group-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 32px; }
.pg-group-num { font-family: var(--serif); color: var(--accent); letter-spacing: .1em; font-size: .95rem; }
.pg-group-head h2 { font-size: 1.5rem; }
.pg-group-head p { color: var(--muted); font-size: .95rem; margin-left: auto; }

.pg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pg-card, .pg-plan { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.pg-card { transition: border-color .2s, transform .2s; }
.pg-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.pg-card:target { border-color: var(--accent); }
.pg-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pg-tag { font-size: .74rem; font-weight: 500; letter-spacing: .06em; padding: 3px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.pg-tag.hot { background: #eef3fe; color: var(--accent); }
.pg-pain { font-size: .88rem; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.pg-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.pg-desc { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.pg-points { margin: 22px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pg-points li { position: relative; padding-left: 18px; font-size: .93rem; color: var(--text); line-height: 1.6; }
.pg-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--accent); }
.pg-price-row { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pg-price .was { display: block; font-size: .85rem; color: #98a1b3; text-decoration: line-through; }
.pg-price .now { font-family: var(--serif); font-weight: 600; font-size: 1.65rem; color: var(--ink); line-height: 1.3; }
.pg-price .now small { font-family: var(--sans); font-size: .78rem; font-weight: 500; color: var(--accent); margin-right: 8px; letter-spacing: .02em; }
.pg-price .now span { font-size: 1rem; font-weight: 400; }
.pg-price .now b { font-weight: 600; }

.pg-switch { display: inline-flex; padding: 5px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.pg-switch button { border: none; background: transparent; padding: 10px 24px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .93rem; transition: all .2s; }
.pg-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pg-four-intro { margin-bottom: 28px; color: var(--muted); max-width: 720px; }
.pg-four-intro strong { color: var(--ink); font-weight: 500; }
.pg-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-plan.feature { border-color: var(--ink); }
.pg-plan .ratio { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--ink); font-weight: 600; }
.pg-plan h3 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
.pg-plan .pg-desc { margin-top: 8px; font-size: .93rem; }
.pg-plan .pg-points { margin-bottom: 24px; }
.pg-plan .per, .pg-card .per { font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.pg-plan .pg-price { margin-top: auto; }
.pg-plan .btn { margin-top: 20px; width: 100%; }

.pg-seminars { border-top: 1px solid var(--line); }
.pg-sem { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pg-sem .date { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--accent); }
.pg-sem .date small { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 400; color: var(--muted); }
.pg-sem h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
.pg-sem p { font-size: .92rem; color: var(--muted); }
.pg-more { margin-top: 28px; }
.pg-more a { border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 500; padding-bottom: 2px; }
.pg-foot-note { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }

@media (max-width: 900px) {
  .pg-cards, .pg-plans { grid-template-columns: 1fr; }
  .pg-group-head p { margin-left: 0; width: 100%; }
  .pg-card, .pg-plan { padding: 28px; }
  .pg-sem { grid-template-columns: 1fr; gap: 6px; }
  .pg-sem .btn { justify-self: start; margin-top: 10px; }
}
@media (max-width: 720px) {
  .pg-body { padding: 48px 0 72px; }
  .pg-group + .pg-group { margin-top: 64px; }
  .pg-notice { border-radius: 18px; }
  .pg-switch { border-radius: 24px; }
  .pg-switch button { padding: 10px 16px; }
  .pg-sem .btn { justify-self: stretch; }
}

/* 한줄평 더 보기 */
.oneline li[hidden] { display: none; }
#more-oneline { margin-top: 32px; }

/* 오픈 기념가 안내: 스크롤해도 헤더 아래 중앙에 계속 보임 */
.pg-notice-bar { position: sticky; top: var(--header-h); z-index: 40; display: flex; justify-content: center; padding: 14px 20px 0; pointer-events: none; }
.pg-notice-bar .pg-notice { margin-top: 0; pointer-events: auto; box-shadow: 0 6px 20px rgba(16, 26, 47, .12); text-align: center; justify-content: center; }
.pg-body { padding-top: 40px; }
.pg-plans + .pg-foot-note { margin-top: 20px; padding-top: 0; border-top: none; }

/* 원데이 카드: 온라인 / 오프라인 스위치 */
.pg-mode { display: inline-flex; padding: 3px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; }
.pg-mode button { border: none; background: transparent; padding: 3px 14px; border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .04em; transition: all .2s; }
.pg-mode button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* 카드 상단 박스 정렬: 스위치와 시간·과목 박스를 같은 높이·세로 중앙에 맞춤 */
.pg-card .pg-tags { align-items: center; gap: 8px; min-height: 40px; }
.pg-card .pg-tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; line-height: 1; }
.pg-mode { align-items: center; height: 40px; box-sizing: border-box; }
.pg-mode button { height: 32px; padding: 0 14px; line-height: 1; }

/* 맞춤 클래스 카드: 비율(1:1) 옆 진행 방식 스위치 */
.pg-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pg-plan-top .pg-mode { flex: 0 0 auto; }
.pg-mode[hidden], .pg-fixed[hidden] { display: none; }
.pg-plan-top .pg-fixed { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; }

/* 숨김 표시가 덮어써지는 문제 수정 + 맞춤 클래스 카드의 구분선 높이 맞춤 */
.pg-plan-top .pg-fixed[hidden], .pg-plan-top .pg-mode[hidden] { display: none; }
@media (min-width: 901px) {
  .pg-plan .pg-desc { min-height: calc(2 * 1.8 * .93rem); }
}

/* 업로드 자동화 카드: 택 1 안내 */
.pg-choice { margin-top: 14px; font-size: .9rem; font-weight: 500; color: var(--accent); }
.pg-cards + .pg-foot-note { margin-top: 20px; padding-top: 0; border-top: none; }

/* 오픈 기념가 안내 바: 더 넓고 눈에 띄게 */
.pg-notice-bar .pg-notice {
  width: 100%; max-width: 880px; padding: 14px 32px; gap: 12px;
  font-size: 1.02rem; font-weight: 500;
  background: linear-gradient(90deg, #e6edff, #f3f6ff 55%, #e6edff);
  border: 1px solid #9db6f2;
  box-shadow: 0 8px 24px rgba(40, 91, 217, .22);
}
.pg-notice-bar .pg-notice b { font-size: 1.05rem; letter-spacing: .02em; }
.pg-notice-icon { font-size: 1.35rem; line-height: 1; display: inline-block; animation: balloonFloat 2.4s ease-in-out infinite; }
.pg-notice-icon:last-child { animation-delay: -1.2s; }
@keyframes balloonFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pg-notice-icon { animation: none; } }
@media (max-width: 720px) {
  .pg-notice-bar .pg-notice { padding: 12px 18px; font-size: .92rem; text-align: left; }
}

/* 맞춤 클래스: 과목마다 다른 수업 시간 줄을 굵게 */
.pg-plan .pg-points li[data-time] { font-weight: 700; color: var(--ink); }


/* 모바일: 위쪽 고정 배너 대신 첫 화면 이벤트 팝업 */
.pg-popup { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 28, .55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.pg-popup[hidden] { display: none; }
.pg-popup-box { width: 100%; max-width: 340px; background: #fff; border-radius: 18px; padding: 32px 24px 24px; text-align: center; box-shadow: 0 20px 50px rgba(10, 20, 40, .35); }
.pg-popup-icon { font-size: 2.6rem; line-height: 1; margin: 0; }
.pg-popup-eyebrow { margin: 14px 0 6px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.pg-popup-box h2 { font-size: 1.6rem; }
.pg-popup-text { margin: 12px 0 24px; color: var(--text); font-size: .98rem; }
.pg-popup-box .btn { width: 100%; }
@media (max-width: 720px) {
  .pg-notice-bar { display: none; }
}

/* 원데이 카드 제목: 더 굵게, 글자 크기 20% 키움(1.3rem -> 1.56rem) */
.pg-card h3 { font-weight: 700; font-size: 1.56rem; letter-spacing: -.01em; }
@media (max-width: 720px) { .pg-card h3 { font-size: 1.45rem; } }


/* ===== 진단 버튼 통일(파란색) · 파란 버튼 · 팝업 보조 버튼 ===== */
.btn-blue { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-blue:hover { background: #1f49b3; border-color: #1f49b3; }
.pg-popup-later { margin-top: 12px; min-height: 40px; background: none; border: 0; color: var(--muted); font-size: .9rem; text-decoration: underline; cursor: pointer; }
.pg-popup-later:hover { color: var(--ink); }
.nav a.nav-diag { background: var(--accent); color: #fff !important; padding: 9px 20px; border: 1px solid var(--accent); border-radius: 999px; font-weight: 500; white-space: nowrap; text-align: center; transition: background .2s, border-color .2s; }
.nav a.nav-diag:hover { background: #1f49b3; border-color: #1f49b3; }
.nav a.nav-diag::after { display: none; }
.nav-diag-m { display: none; }
@media (max-width: 720px) {
  .nav-diag-m { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-left: auto; margin-right: 6px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .88rem; font-weight: 500; white-space: nowrap; }
  .nav a.nav-diag { margin-top: 10px; border-bottom: 1px solid var(--accent) !important; padding: 14px 20px; }
}

.pillars li:only-child { grid-column: 1 / -1; padding-right: 0; }
