/* ══════════════════════════════════════════
   BASE
   ══════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  color-scheme: var(--scheme);
  font-family: 'Noto Sans KR', sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
body { overflow: hidden; transition: background-color .4s; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 그라데이션 글자: 좁은 자간이면 마지막 글자가 배경 영역 밖으로 나가 잘리므로
   오른쪽·아래에 여유를 주고 margin으로 상쇄한다 */
.grad-title, .hl {
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.12em 0.06em 0; margin-right: -0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.grad-title { background-image: var(--title-grad); }
.hl { background-image: var(--hl-grad); }

/* ══════════════════════════════════════════
   DECK — 캔버스(--cw×--ch, 노트북 1600×900)를 화면에 맞춰 스케일
   폰 세로·가로 캔버스 크기는 brochure.js layout()이 정하고, 배치는 brochure-mobile.css
   ══════════════════════════════════════════ */
:root { --gs: var(--s, 1); --gu: 60; }
.viewport { position: fixed; inset: 0; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--cw, 1600) * 1px); height: calc(var(--ch, 900) * 1px);
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center center;
}
.slide {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .6s ease, transform .6s ease, visibility 0s;
}
.slide.is-leaving { transform: translateX(-28px); }

.slide-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 720px at 88% -12%, rgba(var(--glow-a), 0.36), transparent 62%),
    radial-gradient(820px 700px at -6% 112%, rgba(var(--glow-b), 0.28), transparent 62%),
    radial-gradient(520px 420px at 72% 64%, rgba(var(--glow-c), 0.08), transparent 70%),
    var(--bg);
  transition: background .4s;
}
.slide-bg.alt {
  background:
    radial-gradient(860px 720px at -8% -10%, rgba(var(--glow-a), 0.32), transparent 62%),
    radial-gradient(820px 700px at 106% 110%, rgba(var(--glow-b), 0.28), transparent 62%),
    var(--bg);
}
.slide-bg.danger {
  background:
    radial-gradient(900px 700px at 92% -14%, rgba(var(--danger), 0.20), transparent 60%),
    radial-gradient(820px 700px at -6% 112%, rgba(var(--glow-a), 0.26), transparent 62%),
    var(--bg);
}
/* 화면: 캔버스 밖(21:9 좌우, 16:10·4:3 위아래, 폰 위아래)까지 배경이 이어지도록
   슬라이드 배경 대신 화면 전체(backdrop)에 그린다. 글로 크기는 --gs(노트북은 캔버스 배율 --s),
   격자는 캔버스 좌상단 기준으로 정렬한다. 슬라이드 배경(.slide-bg)은 PDF 인쇄에서만 쓴다. */
.backdrop { position: fixed; inset: 0; pointer-events: none; background: var(--bg); display: none; }
.backdrop i { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.backdrop i.on { opacity: 1; }
.backdrop .bd-default {
  background:
    radial-gradient(calc(900px * var(--gs)) calc(720px * var(--gs)) at 88% -12%, rgba(var(--glow-a), 0.36), transparent 62%),
    radial-gradient(calc(820px * var(--gs)) calc(700px * var(--gs)) at -6% 112%, rgba(var(--glow-b), 0.28), transparent 62%),
    radial-gradient(calc(520px * var(--gs)) calc(420px * var(--gs)) at 72% 64%, rgba(var(--glow-c), 0.08), transparent 70%);
}
.backdrop .bd-alt {
  background:
    radial-gradient(calc(860px * var(--gs)) calc(720px * var(--gs)) at -8% -10%, rgba(var(--glow-a), 0.32), transparent 62%),
    radial-gradient(calc(820px * var(--gs)) calc(700px * var(--gs)) at 106% 110%, rgba(var(--glow-b), 0.28), transparent 62%);
}
.backdrop .bd-danger {
  background:
    radial-gradient(calc(900px * var(--gs)) calc(700px * var(--gs)) at 92% -14%, rgba(var(--danger), 0.20), transparent 60%),
    radial-gradient(calc(820px * var(--gs)) calc(700px * var(--gs)) at -6% 112%, rgba(var(--glow-a), 0.26), transparent 62%);
}
.backdrop::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: calc(var(--gu) * 1px * var(--s)) calc(var(--gu) * 1px * var(--s));
  background-position: calc(50vw - var(--cw, 1600) * var(--s) * 0.5px) calc(50vh - var(--ch, 900) * var(--s) * 0.5px);
}
html:not(.is-print) .backdrop { display: block; }
html:not(.is-print) .slide-bg { display: none; }

.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
}

.slide-inner {
  position: relative; z-index: 1;
  height: 100%;
  padding: 46px 84px 78px;
  display: flex; flex-direction: column;
}

/* ── 공통: 상단 바 / 헤더 / 푸터 ── */
.s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--fg); }
.brand img { width: 22px; height: 22px; }
.brand .sub { color: var(--brand-sub); font-weight: 500; }
/* 공동 로고(PNG): 어두운 테마는 흰색, 밝은 테마는 검정 버전을 보여준다 */
.co-logo { display: inline-flex; }
.co-logo img { display: block; width: auto; height: 100%; max-width: none; }
.co-logo .lg-dark { display: none; }
[data-theme="light"] .co-logo .lg-light, [data-theme="ivory"] .co-logo .lg-light { display: none; }
[data-theme="light"] .co-logo .lg-dark, [data-theme="ivory"] .co-logo .lg-dark { display: block; }
.brand .co-logo { height: 34px; }
.s-page { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500; color: var(--faint); }

.eyebrow {
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
  letter-spacing: -0.005em; color: var(--eyebrow);
  margin-bottom: 10px;
}
.eyebrow.danger { color: rgb(var(--danger)); }
.s-head { flex-shrink: 0; margin-bottom: 28px; }
.s-title {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 50px; font-weight: 800; line-height: 1.12; letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.s-title.kr { font-family: 'Noto Sans KR', sans-serif; font-size: 46px; letter-spacing: -0.04em; }
.s-sub { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 1180px; }
.s-sub b { color: var(--fg-2); font-weight: 600; }

.block-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-shrink: 0; }
.block-label span { font-size: 15px; font-weight: 700; color: var(--fg); white-space: nowrap; }
.block-label i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--a2), 0.4), transparent); }

.s-foot {
  position: absolute; left: 84px; bottom: 30px; z-index: 1;
  font-family: 'Outfit', sans-serif; font-size: 12px; color: var(--faint); letter-spacing: 0.02em;
}

/* 노트북 화면: 16:9 캔버스 위아래로 남는 여백(--ly, 캔버스 단위)만큼 상단 바는 화면 위 끝으로,
   푸터는 화면 아래 끝으로 붙이고 구분선을 둔다. 푸터 선은 조작 바 앞에서 끝나고(--foot-r),
   글자는 조작 바와 같은 높이에 맞춘다. 늘어난 위아래만 보이도록 좌우는 계속 잘라낸다 */
html[data-layout="desk"]:not(.is-print) .slide { overflow: visible; clip-path: inset(calc(var(--ly, 0) * -1px) 0); }
html[data-layout="desk"]:not(.is-print) .s-top { position: relative; transform: translateY(calc(var(--ly, 0) * -1px)); }
html[data-layout="desk"]:not(.is-print) .s-top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -15px; height: 1px; background: var(--line);
}
html[data-layout="desk"]:not(.is-print) .s-foot {
  right: calc(var(--foot-r, 84) * 1px);
  bottom: calc((38px / var(--s, 1)) - 8px - var(--ly, 0) * 1px);
  padding-top: 12px; border-top: 1px solid var(--line); line-height: 16px;
}

/* ── 공통 카드 ── */
.card {
  --c: var(--a2);
  position: relative; overflow: hidden;
  border: 1px solid rgba(var(--c), 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(var(--c), 0.07) 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--c), 0.62), transparent);
}
[data-theme="light"] .card, [data-theme="ivory"] .card { background: linear-gradient(180deg, rgba(var(--c), 0.06) 0%, var(--surface-solid) 70%); }

.zoomable { cursor: zoom-in; }
.nobr { white-space: nowrap; }

/* ══════════════════════════════════════════
   01 · COVER
   ══════════════════════════════════════════ */
.cover-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 860px; }
/* 표지 대제목: 좌상단 로고와 같은 공동 로고를 크게 키운 형태
   FINFLOW 대문자 높이 ≈ Membership 대문자(M) 높이로 맞춰 두 브랜드가 대등하게 보이도록 한다
   (MegazoneCloud는 Membership 위에 작게 얹어 한 덩어리 유지, 좌상단 로고는 표지에서만 생략) */
.cover-title { margin-bottom: 40px; line-height: 0; }
.cover-title .co-logo { height: 100px; }
.cover-sub { font-size: 23px; line-height: 1.6; font-weight: 600; letter-spacing: -0.025em; color: var(--fg-2); margin-bottom: 36px; }
.cover-offer {
  display: flex; align-items: center; gap: 36px; align-self: flex-start;
  padding: 22px 30px 22px 26px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--offer), 0.2), rgba(var(--offer-mix), 0.1));
  border: 1px solid rgba(var(--offer), 0.4);
}
.cover-offer .offer-label { margin-bottom: 10px; }
.co-title { font-size: 24px; font-weight: 800; letter-spacing: -0.035em; color: var(--fg); margin-bottom: 4px; }
.co-desc { font-size: 15px; color: var(--muted); }
.co-price { display: flex; flex-direction: column; align-items: flex-end; padding-left: 30px; border-left: 1px solid rgba(var(--offer), 0.3); }
.co-price s { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 600; color: var(--muted); text-decoration-line: line-through; text-decoration-color: rgb(var(--danger)); text-decoration-thickness: 2.5px; }
.co-price b { font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; padding: 0 0.1em 0.04em 0; margin-right: -0.1em; background: var(--offer-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.orbit {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; pointer-events: none;
}
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .core {
  position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--a2), 0.55), rgba(var(--core-mix), 0.22) 48%, transparent 72%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
/* 밝은 테마: 반투명 글로 대신 또렷한 원판 + 은은한 그림자 (배경 위에서 색이 탁해지지 않게) */
[data-theme="light"] .orbit .core, [data-theme="ivory"] .orbit .core {
  background: radial-gradient(circle at 35% 30%, var(--surface-solid) 0%, rgba(var(--a2), 0.08) 100%);
  border: 1px solid rgba(var(--a2), 0.22);
  box-shadow: 0 18px 40px rgba(var(--a2), 0.12), inset 0 1px 0 #fff;
}
[data-theme="light"] .orbit .node, [data-theme="ivory"] .orbit .node { box-shadow: var(--shadow); }
[data-theme="light"] .cover-offer, [data-theme="ivory"] .cover-offer,
[data-theme="light"] .offer, [data-theme="ivory"] .offer {
  background: linear-gradient(135deg, rgba(var(--offer), 0.09), rgba(var(--offer), 0.02)), var(--surface-solid);
  border-color: rgba(var(--offer), 0.28); box-shadow: var(--shadow);
}
.orbit .core b { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--fg); }
.orbit .core small { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--brand-sub); margin-top: 2px; }
.orbit .node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 10px 16px; border-radius: 100px;
  background: var(--surface-solid); border: 1px solid rgba(var(--c), 0.4);
  font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: 600; color: var(--fg);
  box-shadow: 0 0 24px rgba(var(--c), 0.18);
}
.orbit .node::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--c)); }

/* ══════════════════════════════════════════
   02 · NEW — 이상 징후 탐지 (인포그래픽 + 탐지 항목)
   ══════════════════════════════════════════ */
/* 탐지 항목 목록은 인포그래픽 안에 있으므로 노트북에선 패널을 숨기고, 글씨가 작아지는 모바일에서만 보여준다 */
.threat-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.threat-visual { --c: var(--danger); position: relative; min-height: 0; padding: 14px 18px; border-radius: 16px; }
.threat-visual svg { display: block; width: 100%; height: 100%; }
.open-full {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 12.5px; font-weight: 600; color: var(--fg-3); text-decoration: none;
  padding: 6px 12px; border-radius: 100px; background: var(--surface-solid); border: 1px solid var(--line);
}
.open-full:hover { color: rgb(var(--danger)); border-color: rgba(var(--danger), .4); }
.threat-panel { --c: var(--danger); padding: 28px 30px; display: none; flex-direction: column; justify-content: center; border-radius: 16px; }
.threat-panel .lab { font-family: 'Outfit', sans-serif; font-size: 13.5px; font-weight: 600; color: rgb(var(--danger)); margin-bottom: 8px; }
.threat-panel h3 { font-size: 27px; font-weight: 800; letter-spacing: -0.035em; color: var(--fg); margin-bottom: 4px; }
.threat-panel .kr { font-size: 14.5px; font-weight: 500; color: var(--brand-sub); margin-bottom: 18px; }
.threat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.threat-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 600; letter-spacing: -0.025em; color: var(--fg-2); }
.threat-list li:last-child { border-bottom: 0; }
.threat-list .n {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #fff; background: rgb(var(--danger));
}
.threat-note { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ══════════════════════════════════════════
   05 · BENEFITS
   ══════════════════════════════════════════ */
.benefits-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 500px 1fr; gap: 48px; }
.benefits-left { display: flex; flex-direction: column; }
.headline { font-size: 52px; font-weight: 800; line-height: 1.18; letter-spacing: -0.045em; margin-bottom: 22px; color: var(--fg); }
.headline .hl { font-weight: 800; }
.offer {
  margin-top: auto; position: relative; overflow: hidden;
  padding: 28px 30px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--offer), 0.2), rgba(var(--offer-mix), 0.14));
  border: 1px solid rgba(var(--offer), 0.38);
}
.offer-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 600;
  color: rgb(var(--offer)); padding: 6px 13px; border-radius: 100px;
  background: rgba(var(--offer), 0.12); border: 1px solid rgba(var(--offer), 0.4); margin-bottom: 14px;
}
.offer-title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--fg); margin-bottom: 8px; }
.cover-offer .hl, .offer .hl { background-image: var(--offer-grad); }
.offer-desc { font-size: 14.5px; color: var(--fg-3); line-height: 1.6; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 0; }
.benefit { padding: 30px 30px 28px; display: flex; flex-direction: column; }
.b1 { --c: var(--a1); } .b2 { --c: var(--a2); } .b3 { --c: var(--a3); } .b4 { --c: var(--a4); }
.benefit .top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.benefit .num { font-family: 'JetBrains Mono', monospace; font-size: 46px; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; color: rgba(var(--c), 0.9); }
.benefit .icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: rgb(var(--c)); background: rgba(var(--c), 0.14); border: 1px solid rgba(var(--c), 0.3);
}
.benefit h3 { font-family: 'Outfit', sans-serif; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.benefit .div { width: 36px; height: 2px; background: linear-gradient(90deg, rgba(var(--c), 0.85), transparent); margin-bottom: 16px; }
.benefit .lead { font-size: 19px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.benefit .lead em { font-style: normal; color: rgb(var(--c)); }
.benefit .desc { margin-top: auto; padding-top: 14px; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* ══════════════════════════════════════════
   06·07 · SPOTLIGHT — 큰 미리보기 + 목록, 일정 주기로 자동 교체
   리포트(세로 문서)는 항목이 보이는 동안 천천히 아래로 스크롤
   ══════════════════════════════════════════ */
.spot { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 410px; grid-template-rows: minmax(0, 1fr); gap: 20px; }
.spot-stage { --c: var(--a2); position: relative; min-height: 0; border-radius: 16px; overflow: hidden; background: var(--shot); }
.spot-shot { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity .6s ease; }
.spot-shot.on { opacity: 1; }
/* 대시보드: 폭에 맞추고 남는 세로는 위아래를 똑같이 잘라 가운데를 보여줌 */
.spot-dash .spot-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.spot-report .spot-stage { background: var(--surface-solid); }
.spot-report .spot-shot { padding: 0 28px; }
/* 리포트 폭을 줄여(가운데 정렬) 한 화면에 더 많은 내용이 보이게. 종이처럼 테두리·그림자로 배경과 구분 */
.spot-report .spot-shot img { display: block; width: 100%; max-width: 680px; height: auto; margin: 22px auto; border: 1px solid rgba(15, 23, 42, 0.14); border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
/* 밝은 테마: 흰 리포트가 흰 배경에 묻히지 않도록 미리보기 바탕을 한 톤 어둡게 */
[data-theme="light"] .spot-report .spot-stage { background: #e4e9f1; }
[data-theme="ivory"] .spot-report .spot-stage { background: #e9e1d2; }
[data-theme="light"] .spot-report .spot-stage::after { background: linear-gradient(transparent, #e4e9f1); }
[data-theme="ivory"] .spot-report .spot-stage::after { background: linear-gradient(transparent, #e9e1d2); }
.spot-report .spot-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, var(--surface-solid)); pointer-events: none; z-index: 1; }
.spot-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 12.5px; font-weight: 600; color: #fff;
  padding: 6px 12px; border-radius: 100px; background: rgba(10, 12, 24, 0.72); backdrop-filter: blur(8px);
}
.spot-zoom {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font-size: 12.5px; font-weight: 600; color: #fff; padding: 6px 12px; border-radius: 100px;
  background: rgba(10, 12, 24, 0.72); backdrop-filter: blur(8px);
}
.spot-zoom:hover { background: rgba(10, 12, 24, 0.9); }

/* 목록은 미리보기 높이 안에 모두 들어가도록 간격을 잡고(흐림 없음), 혹시 넘치면 현재 항목이 보이게 스크롤 */
.spot-list { list-style: none; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; scrollbar-width: none; }
.spot-list > li { flex-shrink: 0; }
.spot-item {
  --c: var(--a2); --prog: 0%;
  position: relative; overflow: hidden; width: 100%; text-align: left;
  display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
  transition: border-color .3s, background .3s;
}
.spot-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--prog); background: rgb(var(--c)); }
.spot-item.on { border-color: rgba(var(--c), 0.5); background: linear-gradient(180deg, rgba(var(--c), 0.1), var(--surface)); }
[data-theme="light"] .spot-item.on, [data-theme="ivory"] .spot-item.on { background: linear-gradient(180deg, rgba(var(--c), 0.08), var(--surface-solid)); }
.spot-item .thumb { width: 84px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--shot); border: 1px solid var(--line); }
.spot-item .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: .75; transition: opacity .3s; }
.spot-item.on .thumb img { opacity: 1; }
.spot-item .lab { font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 600; color: rgb(var(--c)); margin-bottom: 3px; }
.spot-item h3 { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--fg); }
.spot-item .kr { font-size: 13px; font-weight: 500; color: var(--brand-sub); margin-top: 2px; }
.spot-item .detail { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.spot-item.on .detail { grid-template-rows: 1fr; }
.spot-item .detail > div { overflow: hidden; min-height: 0; }
.spot-item .desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); padding-top: 10px; }
.spot-item ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; padding-top: 8px; }
.spot-item li { font-size: 13px; color: var(--fg-3); padding-left: 12px; position: relative; white-space: nowrap; }
.spot-item li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 1.5px; background: rgb(var(--c)); }
.s1 { --c: var(--a2); } .s2 { --c: var(--a1); } .s3 { --c: var(--a3); } .s4 { --c: var(--a4); }

.strip {
  flex-shrink: 0; margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 26px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(var(--a2), 0.12), rgba(var(--a3), 0.1));
  border: 1px solid rgba(var(--a2), 0.24);
}
.strip-text { font-size: 16px; color: var(--fg-2); }
.strip-text .hl { font-weight: 700; }
.strip-meta { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--brand-sub); text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════
   08 · ISV + EDUCATION
   ══════════════════════════════════════════ */
.isv-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 440px; gap: 36px; }
.isv-col, .edu-col { display: flex; flex-direction: column; min-height: 0; }
.isv-scroll { flex: 1; min-height: 0; display: flex; }
.isv-board {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 28px 26px 24px; border-radius: 18px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 34px rgba(var(--glow-a), 0.18);
}
.isv-cats { position: relative; height: 66px; margin-bottom: 10px; }
.isv-cats div {
  position: absolute; bottom: 0; transform: translateX(-50%); width: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 18px; font-weight: 800; line-height: 1.15; color: #1c2030;
}
.isv-cats div::after { content: ''; width: 56px; height: 2px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(var(--a2), 0.85), transparent); }
.isv-board img { width: 100%; height: auto; }
.edu-list { flex: 1; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.edu { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
.e1 { --c: var(--a1); } .e2 { --c: var(--a2); } .e3 { --c: var(--a3); }
.edu .row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.edu .num { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: rgba(var(--c), 0.9); }
.edu .en { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: rgb(var(--c)); }
.edu h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.025em; color: var(--fg); margin-bottom: 6px; }
.edu p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ══════════════════════════════════════════
   09 · CLOSING
   ══════════════════════════════════════════ */
.closing-wrap { flex: 1; display: grid; grid-template-columns: 1fr 540px; gap: 60px; align-items: center; }
.closing-title { font-size: 72px; font-weight: 800; line-height: 1.16; letter-spacing: -0.05em; color: var(--fg); margin-bottom: 26px; }
.closing-sub { font-size: 19px; line-height: 1.7; color: var(--muted); }
.contact { display: flex; flex-direction: column; gap: 14px; }
.contact .card { padding: 24px 28px; display: flex; align-items: center; gap: 18px; }
.contact .ci {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: rgb(var(--c)); background: rgba(var(--c), 0.14); border: 1px solid rgba(var(--c), 0.3);
}
.contact small { display: block; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; color: var(--faint); margin-bottom: 4px; }
.contact b { font-size: 19px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.contact .c-offer { --c: var(--offer); }

/* ══════════════════════════════════════════
   CONTROLS (화면 전용)
   ══════════════════════════════════════════ */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 30; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--hl-grad); }
.controls {
  position: fixed; right: 16px; bottom: 14px; z-index: 30;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 8px; border-radius: 100px;
  background: var(--ctrl-bg); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg-3);
}
.cbtn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fg-2); }
.cbtn:hover { background: rgba(var(--a2), 0.16); }
.cbtn:focus-visible, .dot:focus-visible, .swatch:focus-visible { outline: 2px solid rgb(var(--a2)); outline-offset: 2px; }
.dots { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.dot { width: 20px; height: 34px; display: flex; align-items: center; justify-content: center; }
.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); opacity: 0.6; transition: all .25s; }
.dot[aria-current="true"]::before { width: 18px; border-radius: 4px; background: rgb(var(--a2)); opacity: 1; }
.counter { min-width: 52px; text-align: center; letter-spacing: 0.08em; display: none; }
.sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
/* 색상 선택은 팔레트 버튼으로 펼치고 접음 (기본: 접힘) */
.theme-panel { display: none; align-items: center; gap: 4px; padding-left: 4px; }
.controls.themes-open .theme-panel { display: flex; }
.controls.themes-open #themeToggle { color: rgb(var(--a2)); background: rgba(var(--a2), 0.14); }
.swatches { display: flex; gap: 6px; padding-right: 4px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; position: relative;
  border: 2px solid transparent; transition: transform .2s;
}
.swatch::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--sw); }
.swatch[data-theme-btn="violet"] { --sw: linear-gradient(135deg, #0a0a14 45%, #818cf8 46%); }
.swatch[data-theme-btn="light"] { --sw: linear-gradient(135deg, #f5f7fb 45%, #2563eb 46%); }
.swatch[data-theme-btn="navy"] { --sw: linear-gradient(135deg, #061024 45%, #3b82f6 46%); }
.swatch[data-theme-btn="ivory"] { --sw: linear-gradient(135deg, #f6f2ea 45%, #b45309 46%); }
.swatch[aria-pressed="true"] { border-color: rgb(var(--a2)); transform: scale(1.08); }
/* 이름 길이가 달라도 버튼이 움직이지 않도록 가장 긴 이름(Midnight Violet) 폭으로 고정 */
.theme-name { flex: none; width: 126px; padding: 0 8px 0 2px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }

/* 크게 보기 뷰어: 열면 크게(리포트는 화면 폭 기준 + 천천히 자동 스크롤), 클릭/탭=2배 확대 토글,
   휠=스크롤, Ctrl+휠·핀치=확대/축소, 끌기=이동. 닫기는 ESC·뒤로가기·닫기 버튼 */
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; background: rgba(3, 4, 10, 0.92); overflow: hidden; touch-action: none; user-select: none; }
.lightbox.is-open { display: block; }
.lb-img {
  position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform;
  border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); cursor: zoom-in; -webkit-user-drag: none;
}
.lightbox.is-zoomed .lb-img { cursor: zoom-out; }
.lightbox.is-dragging .lb-img { cursor: grabbing; }
.lb-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 100px;
  background: rgba(20, 22, 36, 0.85); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff;
  font: 600 14px 'Noto Sans KR', sans-serif; backdrop-filter: blur(10px);
}
.lb-close kbd { font: 600 11px 'JetBrains Mono', monospace; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); }
.lb-close:hover { background: rgba(40, 44, 66, 0.95); }
.lb-tools {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 100px;
  background: rgba(20, 22, 36, 0.85); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px);
}
.lb-tools button { min-width: 38px; height: 36px; padding: 0 10px; border-radius: 100px; color: #fff; font: 600 14px 'Noto Sans KR', sans-serif; }
.lb-tools button:hover { background: rgba(255, 255, 255, 0.12); }
.lb-tools .lb-pct { min-width: 64px; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.lb-hint { color: rgba(255, 255, 255, 0.6); font: 500 12.5px 'Noto Sans KR', sans-serif; padding: 0 12px 0 8px; white-space: nowrap; }
.is-phone .lb-hint { display: none; }

.cover-chips, .offer-m, .isv-hint { display: none; }
/* 폰 전용 요소: 노트북·PDF에서는 숨김 (보이는 규칙은 brochure-mobile.css) */
.slide.m-only, .story, .tap-hint, .spot-note, .isv-fit { display: none; }
.cover-chips { flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cover-chips span {
  --c: var(--a2);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
  border: 1px solid rgba(var(--c), 0.35); background: rgba(var(--c), 0.08); color: var(--fg-2);
}
.offer-m { margin-top: 0; }
.isv-hint { font-size: 12px; color: var(--faint); margin-top: 6px; }

/* ══════════════════════════════════════════
   PRINT / PDF — 모든 슬라이드를 1600×900 페이지로
   ══════════════════════════════════════════ */
@page { size: 1600px 900px; margin: 0; }
html.is-print, html.is-print body { width: 1600px; height: auto; overflow: visible; }
html.is-print .viewport { position: static; overflow: visible; }
html.is-print .stage { position: static; width: 1600px; height: auto; transform: none; }
html.is-print .slide {
  position: relative; width: 1600px; height: 900px;
  opacity: 1; visibility: visible; transform: none; transition: none;
  break-after: page; page-break-after: always;
}
html.is-print .controls, html.is-print .progress, html.is-print .lightbox, html.is-print .spot-zoom { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: opacity .2s, visibility 0s; transform: none !important; }
}
