/* ==========================================================================
   소개 페이지(about.html) — 두 가지 보기 방식.
   · 한눈에 보기(기본값, 클래스 없음): 세로 스크롤·모션 없음. 완성 컷 한 장 + 요약 블록(.ab-sum).
   · 프레젠테이션(`html.ab-present`): 가로 페이징 슬라이더 + 모션 그래프. 버튼·페이저·스와이프·방향키로 넘기고,
     모션 장면은 스텝(.ab-step)마다 문구가 바뀐다.
   html.ab-present는 js/pages/about-mode.js가 첫 화면 전에 붙인다. JS가 실패해도 한눈에 보기라 문구가 모두 보인다.
   ========================================================================== */
.about-page { --ab-head: 79px; --ab-bar: 46px; --ab-top: calc(var(--ab-head) + var(--ab-bar)); } /* --ab-head는 about.js가 헤더 실제 높이로 덮는다 */
@media (max-width: 1024px) { .about-page { --ab-head: 75px; } }
@media (max-width: 600px) { .about-page { --ab-head: 60px; } }
.about-page .pp-hero { --neon-lime: #00ffa3; --neon-cyan: #00e5ff; --neon-pink: #ff5fd2; --neon-yellow: #ffe600; }

/* 한눈에 보기: 헤더 + 모드 바 높이만큼 비우고 문서 자체가 스크롤된다. */
html:not(.ab-present) { scroll-behavior: smooth; }
html:not(.ab-present) body.about-page { padding-top: var(--ab-top); }

/* 프레젠테이션: 화면 고정, 슬라이더 컨테이너만 가로 스크롤 */
html.ab-present,
html.ab-present body.about-page {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100svh !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 상단 글로벌 헤더 고정 */
.about-page #global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 메인 슬라이더 컨테이너: 한눈에 보기에서는 평범한 세로 흐름 */
.ab-slider-container { position: relative; width: 100%; }
html.ab-present .ab-slider-container {
  position: fixed;
  top: var(--ab-top, 72px);
  left: 0;
  width: 100vw;
  height: calc(100svh - var(--ab-top, 72px));
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 10;
}
html.ab-present .ab-slider-container::-webkit-scrollbar { display: none; }

/* 각 슬라이드(페이지) 공통. 한눈에 보기: 섹션이 위아래로 이어진다 */
.ab-page-slide {
  box-sizing: border-box;
  width: 100%;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: var(--ab-top);
}
html:not(.ab-present) .ab-page-slide + .ab-page-slide { border-top: 1px solid var(--border-hair, rgba(255, 255, 255, .08)); }
html:not(.ab-present) .ab-hero.ab-page-slide { padding-top: 40px; }
html:not(.ab-present) .ab-slide-final { padding-bottom: 48px; }
/* 프레젠테이션: 한 장이 화면 하나 */
html.ab-present .ab-page-slide {
  flex: 0 0 100vw;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: 100%;
  max-height: calc(100svh - var(--ab-top, 72px));
  scroll-snap-align: center;
  scroll-snap-stop: always;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 84px 54px;
}

/* 전역 좌우 내비게이션 버튼 (프레젠테이션 전용) */
.ab-global-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 6, 42, .88);
  border: 2px solid rgba(255, 92, 200, .55);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55), 0 0 20px rgba(255, 92, 200, .3);
  backdrop-filter: blur(8px);
  transition: all .2s ease;
  user-select: none;
}
html:not(.ab-present) .ab-global-nav-btn,
html:not(.ab-present) .ab-global-pager { display: none; }
.ab-global-nav-btn.prev { left: 16px; }
.ab-global-nav-btn.next { right: 16px; }
.ab-global-nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff5fd2, #8338ec);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 40px rgba(255, 92, 200, .6);
}
.ab-global-nav-btn:disabled {
  opacity: .2;
  cursor: default;
  pointer-events: none;
}

/* 하단 전역 페이저 */
.ab-global-pager {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(14, 6, 42, .9);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
  user-select: none;
}
.ab-pager-text {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
  white-space: nowrap;
}
.ab-pager-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ab-pager-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, border-radius .25s ease;
}
.ab-pager-dot:hover { background: #fff; }
.ab-pager-dot.is-on {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5fd2, #00e5ff);
}

/* 히어로 슬라이드 */
html.ab-present .ab-hero.ab-page-slide { padding-top: 12px; }
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 44px; align-items: center; width: 100%; max-width: 1180px; }
.ab-hero .pp-title { max-width: 12em; margin-top: 8px; margin-bottom: 8px; }
.ab-hero .pp-lead { margin: 0; line-height: 1.7; }
.ab-hero .pp-hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 14px; }
.ab-hero .chip-row { margin-top: 0; gap: 7px; }
.ab-jumps { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(8, 3, 30, .75); border: 1px solid rgba(255, 255, 255, .16); }
.ab-jumps a { padding: 5px 13px; border-radius: 999px; font-weight: 800; font-size: 13.5px; line-height: 1.25; color: #dccae9; text-decoration: none; transition: background .15s, color .15s; }
.ab-jumps a.is-on { background: linear-gradient(135deg, #c21f9c, #7a22d6); color: #fff; }
.ab-jumps a:focus-visible { outline: 3px solid #00e5ff; outline-offset: 2px; }
html:not(.ab-present) .ab-jumps { display: none; } /* 한눈에 보기는 상단 책갈피가 대신한다 */
.ab-hero-stage { justify-self: center; width: min(390px, 86vw); }

/* 무대 (캔버스) */
.ab-stage {
  position: relative; aspect-ratio: 1 / 1; width: 100%; border-radius: 28px; overflow: hidden; background: #070220;
  border: 2px solid rgba(255, 92, 200, .55);
  box-shadow: 0 0 0 5px rgba(255, 92, 200, .06), 0 20px 60px rgba(203, 35, 162, .32), 0 0 80px rgba(131, 56, 236, .25);
}
.ab-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* 모션 장면 슬라이드 내부 핀 레이아웃 (세로 넘침 방지 최적화) */
.ab-pin {
  box-sizing: border-box;
  max-width: 1160px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center;
}
.ab-scene[data-flip] .ab-pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ab-scene[data-flip] .ab-copy { order: 2; }
html:not(.ab-present) .ab-pin .ab-stage,
html:not(.ab-present) .ab-pin .ab-stagewrap .ab-stage { width: min(100%, 440px); }
html:not(.ab-present) .ab-stepnav { display: none; }
.ab-pin .ab-stage,
.ab-pin .ab-stagewrap .ab-stage {
  justify-self: center;
  width: min(100%, min(400px, calc(100svh - var(--ab-top) - 165px)));
}

/* 장면별 스텝 네비게이션 (무대 아래 ‹ ● ● ● ›) */
.ab-stagewrap { display: grid; justify-items: center; gap: 10px; min-width: 0; width: 100%; }
.ab-scene[data-flip] .ab-stagewrap { order: -1; }
.ab-stepnav {
  display: flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: rgba(8, 3, 30, .88); border: 1px solid rgba(255, 92, 200, .32);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4), 0 0 16px rgba(131, 56, 236, .2);
  user-select: none;
}
.ab-stepnav button { cursor: pointer; font-family: inherit; border: 0; background: none; color: #dccae9; }
.ab-stepnav-arrow {
  min-width: 36px; height: 36px; border-radius: 999px; font-size: 24px; font-weight: 900; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s, transform .2s;
}
.ab-stepnav-arrow:hover:not(:disabled) { color: #fff; background: rgba(255, 92, 200, .22); transform: scale(1.08); }
.ab-stepnav-arrow:disabled { opacity: .25; cursor: default; transform: none; }
.ab-stepnav-counter { font-size: 12.5px; font-weight: 800; color: var(--pink-ink); padding: 0 4px; font-family: var(--font-display); }
.ab-stepnav-dot { position: relative; width: 24px; height: 34px; }
.ab-stepnav-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 999px; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .35); transition: width .25s ease, background .25s ease; }
.ab-stepnav-dot:hover::after { background: #fff; }
.ab-stepnav-dot.is-on::after { width: 22px; background: linear-gradient(90deg, #ff5fd2, #8338ec); }
.ab-stepnav button:focus-visible { outline: 3px solid #00e5ff; outline-offset: 1px; border-radius: 999px; }

/* 텍스트 카피 & 스텝 전환 */
.ab-copy { position: relative; display: block; min-height: 240px; }
html:not(.ab-present) .ab-copy { min-height: 0; }
html:not(.ab-present) .ab-step { display: none; }
html.ab-present .ab-sum { display: none; }
.ab-step {
  position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden;
  transform: translateX(18px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.ab-step.is-on {
  opacity: 1; visibility: visible; transform: translateX(0);
  transition-delay: 0s;
}
.ab-step.is-prev {
  opacity: 0; visibility: hidden; transform: translateX(-18px);
}
.ab-kicker { margin: 0 0 8px; font: 800 13px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--purple-ink); }
.ab-step h2, .ab-sum h2, .ab-h2 { margin: 0 0 12px; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.25; font-weight: 900; letter-spacing: -.02em; color: var(--text-pure); word-break: keep-all; }
.ab-step h2 em, .ab-sum h2 em, .ab-h2 em { font-style: normal; color: var(--pink-ink); }
.ab-step p, .ab-sum p { margin: 0; font-size: clamp(14.5px, 1.3vw, 16.5px); line-height: 1.7; color: var(--text-sub); word-break: keep-all; text-align: left; }
.ab-sum p + p { margin-top: 10px; }
.ab-sum p em { font-style: normal; font-weight: 800; color: var(--pink-ink); }
.ab-step .ab-fine, .ab-sum .ab-fine { margin-top: 10px; font-size: 12.5px; color: var(--text-muted); }
.ab-step .pp-cta, .ab-sum .pp-cta { margin-top: 16px; }
.pp-cta.is-static {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: default; pointer-events: none; opacity: .88;
  transform: none !important; box-shadow: none !important;
}
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ab-chip { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 800; border: 1px solid var(--border-soft); background: var(--bg-card); color: var(--text-pure); }

/* 비모션 슬라이드 헤더 공통 */
.ab-slide-header { text-align: center; max-width: 840px; margin: 0 auto; }
.ab-slide-header .ab-h2 { margin: 0 0 8px; }
.ab-slide-header .ab-lead { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-sub); }

/* ── 비모션 슬라이드 1: 시즌1 상품 ── */
.ab-products-slide { align-items: center; }
.ab-products-container {
  width: 100%; max-width: 1160px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.ab-products-container .ab-cards {
  width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.ab-products-container .ab-card {
  padding: 18px 16px; border-radius: 20px; text-align: left; gap: 6px;
}
.ab-card {
  display: grid; align-content: start; gap: 6px; border-radius: 20px; text-decoration: none;
  border: 2px solid var(--c, var(--border-soft)); background: var(--bg-card); color: var(--text-sub);
}
div.ab-card { cursor: default; }
div.ab-card:hover { transform: none; box-shadow: none; }
a.ab-card:hover { transform: translateY(-3px); box-shadow: 0 0 26px color-mix(in srgb, var(--c, #ff5fd2) 40%, transparent); }
a.ab-card:focus-visible { outline: 3px solid var(--neon-cyan); outline-offset: 3px; }
.ab-card b { font-size: 18px; font-weight: 900; color: var(--text-pure); }
.ab-card span { font-size: 14px; line-height: 1.5; }
.ab-card em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--c, var(--pink-ink)); margin-top: 4px; }

/* ── 비모션 슬라이드 2: 가격 한눈에 비교 ── */
.ab-compare-slide { align-items: center; }
.ab-compare-container {
  width: 100%; max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.ab-cmp-head { margin: 0 0 2px; font-size: clamp(20px, 2.4vw, 28px); }
.ab-table-wrap {
  width: 100%; overflow-x: auto; border-radius: 18px;
  border: 1px solid var(--border-soft); background: var(--bg-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.ab-table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.ab-table th, .ab-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--border-hair); color: var(--text-sub); word-break: keep-all; }
.ab-table thead th { font-weight: 900; color: var(--text-pure); font-size: 13.5px; padding: 10px 10px; }
.ab-table tbody th { text-align: left; font-weight: 800; color: var(--text-pure); white-space: nowrap; }
.ab-table tr:last-child th, .ab-table tr:last-child td { border-bottom: 0; }
.ab-table td { font-family: var(--font-display); font-weight: 700; }
.ab-table td small { display: block; font-family: var(--font-main); font-weight: 600; font-size: 11px; color: var(--text-muted); }
.ab-table .ab-ours { background: color-mix(in srgb, #ff5fd2 18%, var(--bg-card)); color: var(--text-pure); font-weight: 900; border-left: 3px solid #ff5fd2; border-right: 3px solid #ff5fd2; }
.ab-table thead .ab-ours { border-top: 3px solid #ff5fd2; border-radius: 14px 14px 0 0; color: var(--pink-ink); }
.ab-table tbody tr:last-child .ab-ours { border-bottom: 3px solid #ff5fd2; border-radius: 0 0 14px 14px; }
.ab-table .ab-avg { background: var(--bg-card-inner); }
.ab-note { margin: 2px 4px 0; font-size: 11.5px; line-height: 1.5; color: var(--text-muted); word-break: keep-all; }
.ab-plans { margin-top: 2px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ab-plan { padding: 12px 16px; gap: 3px; border-radius: 16px; }
.ab-plan b { font-size: 16.5px; }
.ab-plan b small { font-size: 12.5px; color: var(--pink-ink); font-weight: 800; margin-left: 6px; }
.ab-plan span { font-size: 13px; }

/* ── 비모션 슬라이드 3: 커뮤니티 · 상담 ── */
.ab-community-slide { align-items: center; }
.ab-community-container {
  width: 100%; max-width: 960px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.ab-community-cards {
  width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.ab-community-card {
  padding: 26px 22px; border-radius: 22px; text-align: left; gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ab-community-card b { font-size: 20px; }
.ab-community-card span { font-size: 14.5px; line-height: 1.6; }

/* ── 비모션 슬라이드 4: 파트너 · 기업 솔루션 (B2B 인트로) ── */
.ab-b2b-slide { align-items: center; }
.ab-b2b-container {
  width: 100%; max-width: 960px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 18px; padding: 48px 36px; border-radius: 28px;
  background: #070220 url('../assets/about/b2b-bg.webp?v=261109about1') center / cover no-repeat;
  border: 1px solid rgba(0, 229, 255, .35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .55), 0 0 40px rgba(0, 229, 255, .15);
  position: relative; overflow: hidden;
}
.ab-b2b-container::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 2, 32, .55), rgba(7, 2, 32, .8));
}
.ab-b2b-container > * { position: relative; }
.ab-b2b-container .ab-kicker { color: #00e5ff; margin-bottom: 0; }
.ab-b2b-container .ab-h2 { color: #fff; max-width: 16em; margin: 0 auto; font-size: clamp(24px, 3vw, 36px); }
.ab-b2b-container .ab-h2 em { color: #ff6fd6; }
.ab-b2b-container .ab-lead { max-width: 38em; margin: 0 auto; font-size: 15.5px; line-height: 1.75; color: #dccae9; }
.ab-b2b-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.ab-b2b-chips .ab-chip { padding: 8px 16px; font-size: 14px; background: rgba(14, 6, 42, .85); border: 1px solid rgba(0, 229, 255, .3); color: #fff; }

/* ── 비모션 슬라이드 5: 갈림길 엔딩 (PPT 프레젠테이션 모드: 푸터 숨김) ── */
.ab-slide-final {
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ab-final-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ab-final-inner .ab-block {
  width: 100%;
  text-align: center;
}
.ab-final-inner .ab-h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 24px;
}
.ab-final {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 0;
}
.ab-final .ab-card {
  padding: 32px 28px;
  border-radius: 24px;
  gap: 14px;
  text-align: left;
  background: rgba(14, 6, 42, .88);
  border: 1.5px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ab-final .ab-card:hover {
  transform: translateY(-4px);
  border-color: var(--c, #ff5cc8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 25px rgba(255, 92, 200, .25);
}
.ab-final .ab-card b {
  font-size: 22px;
  color: #fff;
}
.ab-final .ab-card span {
  font-size: 15px;
  color: #dccae9;
  line-height: 1.65;
}
.ab-final .pp-cta {
  justify-self: start;
  margin-top: 8px;
}
html.ab-present #global-footer { display: none !important; } /* PPT 형식 유지. 한눈에 보기는 사업자 정보까지 보인다 */

/* 오른쪽 목차 (넓은 화면만) */
.ab-rail {
  position: fixed; right: 84px; top: 50%; transform: translateY(-50%); z-index: 50; display: grid; gap: 4px; padding: 10px 8px; border-radius: 18px;
  background: rgba(8, 3, 30, .75); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.ab-rail a { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #b9a6d6; text-decoration: none; white-space: nowrap; }
.ab-rail a:hover { color: #fff; }
.ab-rail a.is-on { background: linear-gradient(135deg, #c21f9c, #7a22d6); color: #fff; }
.ab-rail a.ab-rail-b2b.is-on { background: linear-gradient(135deg, #0089a8, #3d5bd6); }
.ab-rail a:focus-visible { outline: 3px solid #00e5ff; outline-offset: 2px; }

@media (max-width: 1200px) {
  .ab-rail { display: none; }
}
/* 한눈에 보기: 목차는 아주 넓은 화면에서만, 오른쪽 가장자리에 붙인다 */
html:not(.ab-present) .ab-rail { right: 12px; }
@media (max-width: 1399px) {
  html:not(.ab-present) .ab-rail { display: none; }
}

@media (max-width: 860px) {
  .about-page { --ab-bar: 42px; }
  html.ab-present .ab-page-slide { padding: 14px 48px 56px; }
  html:not(.ab-present) .ab-page-slide { padding: 48px 18px; }
  .ab-global-nav-btn { width: 44px; height: 44px; font-size: 24px; }
  .ab-global-nav-btn.prev { left: 6px; }
  .ab-global-nav-btn.next { right: 6px; }
  .ab-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ab-pin, .ab-scene[data-flip] .ab-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; gap: 12px; }
  .ab-scene[data-flip] .ab-copy { order: 0; }
  .ab-pin .ab-stage, .ab-pin .ab-stagewrap .ab-stage { order: -1; border-radius: 18px; }
  html.ab-present .ab-pin .ab-stage, html.ab-present .ab-pin .ab-stagewrap .ab-stage { width: min(100%, 34svh); }
  html:not(.ab-present) .ab-pin .ab-stage, html:not(.ab-present) .ab-pin .ab-stagewrap .ab-stage { width: min(100%, 420px); }
  .ab-stagewrap, .ab-scene[data-flip] .ab-stagewrap { order: -1; gap: 6px; }
  html.ab-present .ab-copy { min-height: 160px; }
  .ab-step h2 { font-size: clamp(19px, 5vw, 23px); margin-bottom: 6px; }
  .ab-step p { font-size: 13.5px; line-height: 1.55; }
  .ab-sum h2 { font-size: clamp(21px, 6vw, 26px); margin-bottom: 8px; }
  .ab-sum p { font-size: 14.5px; line-height: 1.65; }
  .ab-products-container .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-community-cards, .ab-plans, .ab-final { grid-template-columns: minmax(0, 1fr); }
  .ab-global-pager { bottom: 8px; padding: 4px 12px; }
  .ab-pager-text { font-size: 11px; }
}

@media (max-width: 480px) {
  html.ab-present .ab-page-slide { padding: 10px 42px 52px; }
  .ab-products-container .ab-cards { grid-template-columns: minmax(0, 1fr); }
}

.about-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 핵심 문구 강조(<mark class="ab-hl">): 밑줄·막대 없이 글자 색과 굵기만 바꾼다.
   밤은 형광 노랑, 낮은 호박색, 항상 어두운 배경(B2B 전환 박스·갈림길 카드)은 시안(청록)색. */
.ab-hl { background: none; padding: 0; color: #ffe14d; font-weight: 800; transition: color .3s ease; }
html[data-theme="light"] .ab-hl { color: #b45309; }
.ab-b2b-container .ab-hl, html[data-theme="light"] .ab-b2b-container .ab-hl,
.ab-final .ab-hl, html[data-theme="light"] .ab-final .ab-hl { color: #7ff3ff; }

/* 보기 방식 뱃지 + 책갈피 바 (헤더 바로 아래 고정) */
.ab-modebar {
  position: fixed; top: var(--ab-head); left: 0; right: 0; height: var(--ab-bar); z-index: 470; /* AI 상담 패널(481)·헤더(1000) 아래 */
  display: flex; align-items: center;
  background: rgba(8, 3, 30, .9); border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}
.ab-modebar-in { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.ab-modes { display: inline-flex; flex: none; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.ab-mode-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border: 0; border-radius: 999px;
  background: none; color: #dccae9; font-family: inherit; font-size: 13.5px; font-weight: 800; line-height: 1.25; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s;
}
.ab-mode-btn:hover { color: #fff; }
.ab-mode-btn[aria-pressed="true"] { background: linear-gradient(135deg, #c21f9c, #7a22d6); color: #fff; }
.ab-mode-btn:focus-visible, .ab-tab:focus-visible { outline: 3px solid #00e5ff; outline-offset: 2px; }
.ab-mode-ic { font-size: 14px; line-height: 1; }
.ab-mode-hint { margin: 0; min-width: 0; font-size: 12.5px; line-height: 1.4; color: #b9a6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-mode-hint b { color: #ffe14d; font-weight: 800; }
html:not(.ab-present) .ab-mode-hint, html.ab-present .ab-tabs { display: none; }
.ab-l-short { display: none; }

/* 책갈피: 일반 소개 | 파트너(B2B) 소개 — 눌러서 해당 부분으로 바로 이동한다 */
.ab-tabs { margin-left: auto; display: inline-flex; flex: none; gap: 4px; }
.ab-tab {
  position: relative; display: inline-flex; align-items: center; padding: 6px 14px 6px 27px; border-radius: 999px;
  font-size: 13.5px; font-weight: 800; line-height: 1.25; color: #dccae9; text-decoration: none; white-space: nowrap;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .15s, color .15s;
}
.ab-tab::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 14px; margin-top: -7px; background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.ab-tab:hover { color: #fff; }
.ab-tab.is-on { background: linear-gradient(135deg, #c21f9c, #7a22d6); border-color: transparent; color: #fff; }
.ab-tab[data-ab-tab="b2b"].is-on { background: linear-gradient(135deg, #0089a8, #3d5bd6); }

@media (max-width: 860px) {
  .ab-modebar-in { padding: 0 10px; gap: 8px; }
  .ab-mode-hint { display: none; }
  .ab-mode-btn { padding: 5px 10px; font-size: 12.5px; }
  .ab-tab { padding: 5px 10px 5px 23px; font-size: 12.5px; }
  .ab-tab::before { left: 9px; }
}
@media (max-width: 560px) {
  .ab-l-full { display: none; }
  .ab-l-short { display: inline; }
}
@media (max-width: 360px) { /* 320px 폰: 책갈피가 화면 끝에 붙지 않게 조금 더 줄인다 */
  .ab-modebar-in { padding: 0 6px; gap: 4px; }
  .ab-mode-btn { padding: 5px 6px; gap: 3px; font-size: 11.5px; }
  .ab-mode-ic { display: none; }
  .ab-tab { padding: 5px 7px 5px 18px; font-size: 11.5px; }
  .ab-tab::before { left: 7px; }
}

/* 30초 CF 탭 버튼·극장 패널 (js/pages/about-cf.js · js/components/cf-motion.js) */
.ab-cf-btn { color: #ffe799; }
.ab-cf-btn:hover { color: #fff; background: rgba(255, 92, 200, .18); }
html.ab-cf-open,
html.ab-cf-open body.about-page { overflow: hidden !important; }
html.ab-cf-open .ab-global-nav-btn,
html.ab-cf-open .ab-global-pager,
html.ab-cf-open .ab-rail,
html.ab-cf-open .ab-mode-hint,
html.ab-cf-open .ab-tabs { display: none !important; }
html.ab-cf-open .ab-mode-btn:not(.ab-cf-btn)[aria-pressed="true"] { background: none; color: #dccae9; }
html.ab-cf-open .ab-cf-btn {
  background: linear-gradient(135deg, #ff3fa4, #8338ec 58%, #00b8e6);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 92, 200, .42);
}

.ab-cf-panel {
  position: fixed;
  top: var(--ab-top);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 465;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(131, 56, 236, .28), transparent 44%),
    radial-gradient(circle at 84% 12%, rgba(255, 92, 200, .2), transparent 42%),
    linear-gradient(180deg, #070220 0%, #100534 55%, #090322 100%);
  color: #f6f1ff;
  -webkit-overflow-scrolling: touch;
}
.ab-cf-panel[hidden] { display: none !important; }
.ab-cf-in {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px calc(44px + var(--quick-bar-reserved-space, 0px));
  display: grid;
  gap: 16px;
}
.ab-cf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ab-cf-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #ffe14d;
}
.ab-cf-title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}
.ab-cf-title em {
  font-style: normal;
  background: linear-gradient(90deg, #ff79d2, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-cf-close {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.ab-cf-close:hover { background: rgba(255, 92, 200, .24); border-color: rgba(255, 92, 200, .65); }
.ab-cf-close:focus-visible,
.ab-cf-ctrl-btn:focus-visible,
.ab-cf-ctrl-pill:focus-visible,
.ab-cf-cue:focus-visible,
.ab-cf-mini-btn:focus-visible,
.ab-cf-cta:focus-visible,
.ab-cf-cta-sub:focus-visible,
.ab-cf-overlay:focus-visible { outline: 3px solid #00e5ff; outline-offset: 2px; }

.ab-cf-stage-wrap {
  width: 100%;
  max-width: min(100%, max(560px, calc((100svh - var(--ab-top) - 210px) * 16 / 9)));
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(179, 140, 255, .36);
  background: #05010f;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .58), 0 0 36px rgba(131, 56, 236, .24);
}
.ab-cf-stage-wrap:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  border: 0;
  background: #05010f;
}
.ab-cf-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05010f;
  overflow: hidden;
}
.ab-cf-stage-wrap:fullscreen .ab-cf-stage { max-height: calc(100vh - 64px); margin: 0 auto; }
.ab-cf-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}
.ab-cf-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #e9dcff;
  background: radial-gradient(circle, rgba(131, 56, 236, .28), rgba(5, 1, 15, .94));
}
.ab-cf-loading[hidden] { display: none; }
.ab-cf-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .75);
  background: linear-gradient(135deg, rgba(203, 35, 162, .92), rgba(131, 56, 236, .92));
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .55), 0 0 28px rgba(255, 92, 200, .55);
  transition: transform .15s;
}
.ab-cf-overlay:hover { transform: translate(-50%, -50%) scale(1.06); }
.ab-cf-overlay[hidden] { display: none; }

.ab-cf-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(12, 5, 38, .96);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.ab-cf-ctrl-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.ab-cf-ctrl-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff3fa4, #8338ec);
}
.ab-cf-ctrl-btn:hover { filter: brightness(1.12); }
.ab-cf-time {
  flex: none;
  min-width: 78px;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #d8c7f2;
  text-align: center;
}
.ab-cf-scrub {
  flex: 1 1 auto;
  min-width: 80px;
  accent-color: #ff5cc8;
  cursor: pointer;
}
.ab-cf-ctrl-pill {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: #ece2ff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.ab-cf-ctrl-pill[aria-pressed="true"] {
  border-color: rgba(0, 229, 255, .6);
  background: rgba(0, 229, 255, .18);
  color: #fff;
}
.ab-cf-ctrl-pill[hidden] { display: none; }

.ab-cf-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ab-cf-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #ded0f5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.ab-cf-cue span { font-size: 11px; font-weight: 800; color: #b9a4dc; font-variant-numeric: tabular-nums; }
.ab-cf-cue:hover { border-color: rgba(255, 92, 200, .55); color: #fff; }
.ab-cf-cue.is-on {
  border-color: transparent;
  background: linear-gradient(135deg, #c21f9c, #7a22d6);
  color: #fff;
}
.ab-cf-cue.is-on span { color: #ffe14d; }

.ab-cf-cast {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ab-cf-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(20, 9, 54, .78);
}
.ab-cf-card[data-cf-accent="rat"] { border-color: rgba(143, 155, 255, .36); }
.ab-cf-card[data-cf-accent="rabbit"] { border-color: rgba(255, 111, 208, .36); }
.ab-cf-card[data-cf-accent="dragon"] { border-color: rgba(69, 200, 255, .36); }
.ab-cf-card[data-cf-accent="horse"] { border-color: rgba(255, 207, 77, .36); }
.ab-cf-card-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ab-cf-card-top img {
  flex: none;
  width: 50px;
  height: 53px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 3px;
}
.ab-cf-ch { display: block; font-size: 11px; font-weight: 800; color: #ffe14d; margin-bottom: 2px; }
.ab-cf-card h3 { margin: 0; font-size: 15px; font-weight: 900; color: #fff; }
.ab-cf-card p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: #cfc0e8; }
.ab-cf-card-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ab-cf-mini-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.ab-cf-mini-btn:hover { background: rgba(255, 255, 255, .18); }
.ab-cf-link { font-size: 12.5px; font-weight: 800; color: #7ff3ff; text-decoration: none; white-space: nowrap; }
.ab-cf-link:hover { text-decoration: underline; }

.ab-cf-foot { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.ab-cf-cta {
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #cb23a2, #8338ec 62%, #00b8e6);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(131, 56, 236, .42);
}
.ab-cf-cta-sub {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .07);
  color: #f3ecff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.ab-cf-cta:hover, .ab-cf-cta-sub:hover { filter: brightness(1.08); }

/* 낮 테마: 무대(16:9 캔버스)는 어두운 극장 유지, 바깥 배경·카드는 밝은 톤으로 조화 */
html[data-theme="light"] .ab-cf-panel {
  background: linear-gradient(180deg, #f9f5ff 0%, #f2ecfc 100%);
  color: #1f1438;
}
html[data-theme="light"] .ab-cf-kicker { color: #b45309; }
html[data-theme="light"] .ab-cf-title { color: #1f1438; }
html[data-theme="light"] .ab-cf-title em {
  background: linear-gradient(90deg, #b81d8c, #5b21b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .ab-cf-close {
  background: #fff;
  border-color: rgba(88, 28, 135, .24);
  color: #2c1752;
}
html[data-theme="light"] .ab-cf-close:hover { background: #f3e8ff; border-color: #9333ea; }
html[data-theme="light"] .ab-cf-cue {
  background: #fff;
  border-color: rgba(88, 28, 135, .18);
  color: #35215c;
}
html[data-theme="light"] .ab-cf-cue span { color: #6b4e9e; }
html[data-theme="light"] .ab-cf-cue.is-on { color: #fff; }
html[data-theme="light"] .ab-cf-cue.is-on span { color: #ffe14d; }
html[data-theme="light"] .ab-cf-card {
  background: #fff;
  border-color: rgba(88, 28, 135, .18);
  box-shadow: 0 6px 20px rgba(45, 22, 84, .06);
}
html[data-theme="light"] .ab-cf-ch { color: #b45309; }
html[data-theme="light"] .ab-cf-card h3 { color: #1f1438; }
html[data-theme="light"] .ab-cf-card p { color: #4b3d6b; }
html[data-theme="light"] .ab-cf-card-top img { background: #f5effe; }
html[data-theme="light"] .ab-cf-mini-btn {
  background: #f5effe;
  border-color: rgba(88, 28, 135, .2);
  color: #311a5c;
}
html[data-theme="light"] .ab-cf-link { color: #7e22ce; }
html[data-theme="light"] .ab-cf-cta-sub {
  background: #fff;
  border-color: rgba(88, 28, 135, .25);
  color: #311a5c;
}

@media (max-width: 960px) {
  .ab-cf-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ab-cf-in { padding: 14px 12px calc(36px + var(--quick-bar-reserved-space, 0px)); gap: 12px; }
  .ab-cf-stage-wrap { max-width: 100%; border-radius: 14px; }
  .ab-cf-overlay { padding: 9px 18px; font-size: 14px; }
  .ab-cf-controls { flex-wrap: wrap; padding: 8px 10px; gap: 6px; }
  .ab-cf-scrub { order: 10; flex: 1 0 100%; }
  .ab-cf-ctrl-pill { margin-left: auto; }
  .ab-cf-ctrl-pill + .ab-cf-ctrl-pill { margin-left: 0; }
  .ab-cf-cues { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .ab-cf-cue { flex: none; font-size: 12px; padding: 6px 10px; }
  .ab-cf-cast { grid-template-columns: minmax(0, 1fr); }
}

/* 넛지 추천 카드: 상황에 맞는 다음 갈 곳을 한 장으로 권한다(item.html `.solution-nudge`와 같은 말투·모양). 한눈에 보기에서만 보인다 */
.ab-nudges { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; max-width: 520px; margin-top: 22px; }
html.ab-present .ab-nudges { display: none; }
.ab-nudge {
  --nudge: #ff5fd2;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; padding: 14px;
  border: 1px solid var(--border-box-purple, rgba(255, 255, 255, .2)); border-radius: var(--radius-md, 16px);
  background: var(--bg-card-inner); color: var(--text-pure); text-align: left; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.ab-nudge[data-accent="cyan"] { --nudge: #00b8d4; }
.ab-nudge-art {
  display: grid; place-items: center; width: 56px; height: 56px; font-size: 28px; line-height: 1; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--nudge) 45%, var(--border-hair, rgba(255, 255, 255, .15)));
  background: radial-gradient(circle, color-mix(in srgb, var(--nudge) 22%, transparent), transparent 72%);
}
.ab-nudge-copy { display: grid; gap: 5px; min-width: 0; }
.ab-nudge small { color: var(--text-sub); font-size: 13px; line-height: 1.5; }
.ab-nudge strong { color: var(--text-pure); font-size: 17px; line-height: 1.4; }
.ab-nudge strong span { color: color-mix(in srgb, var(--nudge) 60%, var(--text-pure)); }
.ab-nudge:hover { border-color: var(--nudge); background: var(--bg-cell, var(--bg-card)); transform: translateY(-3px); }
.ab-nudge:focus-visible { outline: 3px solid var(--neon-cyan, #00e5ff); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html:not(.ab-present) { scroll-behavior: auto; }
  .ab-nudge { transition: none; }
  .ab-nudge:hover { transform: none; }
}
