/* SEO 가이드 페이지 전용 (style.css 위에 덧씌움) */

/* 하위 탭 */
.sub-tabs {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0 auto; padding: 6px; width: fit-content; max-width: 100%;
  border-radius: 18px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.sub-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 13px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sub-tabs a span { font-size: 11px; font-weight: 800; opacity: .6; font-variant-numeric: tabular-nums; }
.sub-tabs a:hover { color: var(--text); }
.sub-tabs a.active { color: #fff; background: var(--ink); }
.sub-tabs a.active span { opacity: .85; }

.guide-hero { text-align: center; padding: 28px 0 28px; }
.guide-hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; margin: 18px 0 14px; }
.guide-hero .lead { margin: 0 auto 28px; max-width: 640px; }

.doc-sec { padding-top: 88px; }
.doc-sec .sec-intro { margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--accent); }
.eyebrow b { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.note-sm { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--grad-b) 30%, transparent) 55%); color: inherit; padding: 0 2px; }

/* 정의 카드 */
.define { padding: 40px 44px; text-align: center; position: relative; overflow: hidden; }
.define::before { content: "“"; position: absolute; top: -30px; left: 24px; font-size: 160px; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--accent) 12%, transparent); }
.define p { position: relative; font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.55; margin: 0; }
.define small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 500; }
.chips-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip-stat { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.chip-stat .cat-ic { width: 30px; height: 30px; }
.chip-stat .cat-ic svg { width: 15px; height: 15px; }

/* 단계 흐름 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-step { position: relative; padding: 22px 20px; min-width: 0; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -14px; width: 12px; height: 12px; z-index: 2;
  border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg); opacity: .7;
}
.flow-num { position: absolute; top: 18px; right: 18px; font-size: 34px; font-weight: 800; letter-spacing: -.04em; color: color-mix(in srgb, var(--accent) 16%, transparent); line-height: 1; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin: 14px 0 6px; }
.flow-step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.flow-todo { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 13px; }
.flow-todo b { color: var(--accent); display: block; font-size: 12px; margin-bottom: 4px; }

/* 기능 카드 그리드 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 24px 22px; min-width: 0; }
.feature h3 { font-size: 18px; font-weight: 800; margin: 16px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.feature li { display: flex; gap: 8px; align-items: flex-start; }
.feature li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6af8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.feature .big { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }

/* 2단 레이아웃 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split > * { min-width: 0; }

/* 차트 카드 */
.chart-card { padding: 24px 26px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-head h3 { font-size: 18px; font-weight: 800; }
.chart-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.legend-row i { width: 14px; height: 4px; border-radius: 2px; background: var(--accent); }
.legend-row i.b { background: var(--g-B); }
.legend-row i.c { background: var(--fail); }
.badge-concept { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--border); stroke-width: 1; }
.chart .axis { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.chart text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.chart text.strong { fill: var(--text); font-weight: 700; }
.chart .ln-a { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln-b { fill: none; stroke: var(--g-B); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln-dash { fill: none; stroke: var(--fail); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .ar-a { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.chart .ar-b { fill: color-mix(in srgb, var(--g-B) 14%, transparent); }
.chart .dot-a { fill: var(--accent); stroke: var(--surface); stroke-width: 2.5; }
.chart .dot-b { fill: var(--g-B); stroke: var(--surface); stroke-width: 2.5; }
.chart .bar-muted { fill: color-mix(in srgb, var(--muted) 22%, transparent); }
.chart .tag-bg { fill: var(--surface); stroke: var(--border); }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.grow { transform-origin: bottom; transform-box: fill-box; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .draw, .grow { animation: none; stroke-dashoffset: 0; } }

/* 벤 다이어그램 */
.venn text { font-family: inherit; }
.venn .c1 { fill: color-mix(in srgb, var(--grad-a) 22%, transparent); stroke: var(--grad-a); }
.venn .c2 { fill: color-mix(in srgb, var(--g-B) 22%, transparent); stroke: var(--g-B); }
.venn .c3 { fill: color-mix(in srgb, var(--grad-b) 22%, transparent); stroke: var(--grad-b); }
.venn circle { stroke-width: 1.5; }
.venn .lbl { fill: var(--text); font-weight: 800; font-size: 17px; }
.venn .sub { fill: var(--muted); font-size: 12.5px; }
.venn .center { fill: #fff; font-weight: 800; font-size: 13px; }

/* 검색결과 화면 해부 */
.serp { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; }
.phone {
  width: 100%; max-width: 340px; margin: 0 auto; padding: 14px 12px 18px; border-radius: 36px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { content: ""; display: block; width: 90px; height: 6px; border-radius: 3px; background: var(--border); margin: 2px auto 12px; }
.phone-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.phone-search svg { width: 15px; height: 15px; color: var(--accent); }
.serp-block { position: relative; padding: 10px 12px; border-radius: 14px; margin-top: 8px; border: 1.5px solid var(--b, var(--border)); background: color-mix(in srgb, var(--b, var(--border)) 8%, var(--surface)); }
.serp-block .n { position: absolute; top: -9px; left: -9px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--b); box-shadow: 0 0 0 3px var(--surface); }
.serp-block b { font-size: 12px; color: var(--b); }
.serp-line { height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--muted) 20%, transparent); margin-top: 6px; }
.serp-line.w60 { width: 60%; } .serp-line.w80 { width: 80%; } .serp-line.w40 { width: 40%; }
.serp-map { height: 46px; border-radius: 10px; margin-top: 6px; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--b) 10%, transparent) 0 8px, transparent 8px 16px); }
.b-ai { --b: var(--g-B); } .b-ad { --b: var(--muted); } .b-place { --b: var(--g-C); } .b-web { --b: var(--accent); } .b-blog { --b: var(--g-D); }
.serp-legend { display: flex; flex-direction: column; gap: 12px; }
.serp-legend div { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; background: var(--card-grad); border: 1px solid var(--border); }
.serp-legend .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--b); }
.serp-legend b { font-size: 15px; }
.serp-legend p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.serp-legend em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: var(--b); background: color-mix(in srgb, var(--b) 13%, transparent); white-space: nowrap; }

/* 비교표 */
.compare { overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 20px; text-align: left; vertical-align: top; font-size: 14.5px; }
.compare thead th { font-size: 15px; font-weight: 800; border-bottom: 1px solid var(--border); }
.compare thead th:first-child { width: 22%; }
.compare tbody th { color: var(--muted); font-weight: 700; font-size: 13.5px; }
.compare tbody tr + tr > * { border-top: 1px solid var(--border); }
.compare .hl { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.compare thead .hl { color: var(--accent); }
.th-ic { display: inline-flex; align-items: center; gap: 8px; }
.th-ic .cat-ic { width: 28px; height: 28px; }
.th-ic .cat-ic svg { width: 14px; height: 14px; }
.th-ic .cat-ic.muted-ic { background: var(--surface-2); color: var(--muted); box-shadow: none; }
.yes { color: var(--pass); font-weight: 700; }
.no { color: var(--fail); font-weight: 700; }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; margin-top: 16px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: 14.5px; }
.callout .cat-ic { width: 32px; height: 32px; }
.callout p { margin: 0; }
.callout b { color: var(--accent); }

/* 엔진 비교 카드 */
.engine { padding: 26px 24px; }
.engine-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.engine-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; }
.engine-badge.n { background: linear-gradient(135deg, #16a34a, #22c55e); }
.engine-badge.g { background: linear-gradient(135deg, #3b6ff5, #6d6af8); }
.engine h3 { font-size: 19px; font-weight: 800; }
.engine-head span { font-size: 13px; color: var(--muted); }
.engine dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 14px; }
.engine dt { color: var(--muted); font-weight: 700; font-size: 13px; padding-top: 1px; }
.engine dd { margin: 0; }

/* GEO 안내 띠 */
.geo-band { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 28px 30px; }
.geo-band h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.geo-band p { margin: 0; color: var(--muted); font-size: 14.5px; }
.geo-band .cat-ic { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--g-B), var(--grad-a)); }
.geo-band .cat-ic svg { width: 26px; height: 26px; }

/* CTA 띠 */
.cta-band {
  margin-top: 96px; padding: 56px 32px; border-radius: 32px; text-align: center; color: var(--ink); position: relative; overflow: hidden;
  background: var(--soft);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#dcdcd6 1.2px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); pointer-events: none; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 650; letter-spacing: -.03em; position: relative; }
.cta-band p { margin: 10px 0 24px; color: var(--ink2); position: relative; }
.cta-band a { position: relative; z-index: 1; display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.cta-band a + a { margin-left: 8px; background: #fff; color: var(--ink); border: 1px solid var(--ln2); }

/* 이전/다음 */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.pager-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: 18px; text-decoration: none; color: var(--text); background: var(--card-grad); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .15s; }
.pager-card:hover { transform: translateY(-2px); }
.pager-card.next { text-align: right; }
.pager-card small { color: var(--accent); font-weight: 800; font-size: 12.5px; }
.pager-card b { font-size: 17px; }
.pager-card span { font-size: 13px; color: var(--muted); }

/* ── 용어정리 ── */
.gl-tools { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 26px; }
.gl-search { width: min(560px, 100%); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.gl-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.gl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 15.5px; padding: 10px 4px; }
.gl-search span { font-size: 12.5px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.gl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gl-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 700; }
.gl-chips button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.gl-chips button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.gl-chips button.on i { background: #fff; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.term { padding: 18px 20px; min-width: 0; border-top: 3px solid var(--c, var(--accent)); }
.term-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.term h3 { font-size: 17px; font-weight: 800; }
.term .en { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.term .cat { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.term p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; }
.term .tip { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--muted); background: var(--surface-2); }
.term .tip b { color: var(--text); }
.c-basic { --c: var(--grad-a); } .c-tech { --c: var(--g-A); } .c-content { --c: var(--g-C); }
.c-link { --c: var(--g-D); } .c-measure { --c: var(--g-B); } .c-ai { --c: var(--grad-b); }
.term mark { padding: 0; }
.gl-empty { grid-column: 1 / -1; }
.pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pair { padding: 22px; }
.pair-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-bottom: 14px; }
.pair-vs b { padding: 10px; border-radius: 12px; text-align: center; font-size: 14px; background: var(--surface-2); border: 1px solid var(--border); overflow-wrap: anywhere; }
.pair-vs span { font-size: 12px; font-weight: 900; color: var(--accent); }
.pair p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.pair p b { color: var(--text); }

/* ── 효과 계산기 ── */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; overflow: hidden; }
.calc-inputs { padding: 28px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--border); }
.calc-inputs h3, .calc-out h3 { font-size: 17px; font-weight: 800; }
.range label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.range output { font-size: 17px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.range input { width: 100%; accent-color: var(--accent); }
.range small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.calc-out { padding: 28px; background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.funnel { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0 20px; }
.funnel-row { height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; font-weight: 700; font-size: 14px; transition: width .4s ease; min-width: 190px; }
.funnel-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.funnel-row:nth-child(1) { background: linear-gradient(135deg, #8b8af9, #a99af7); }
.funnel-row:nth-child(2) { background: linear-gradient(135deg, var(--grad-a), #8f72f6); }
.funnel-row:nth-child(3) { background: linear-gradient(135deg, #5a50e8, var(--grad-b)); }
.funnel-row:nth-child(4) { background: linear-gradient(135deg, #4636c9, #7d3fe0); }
.calc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-kpi { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.calc-kpi small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.calc-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-kpi.hl b { color: var(--accent); }

/* 지표표 */
.metrics td:first-child b { display: block; }
.metrics td:first-child small { color: var(--muted); font-size: 12px; }
.where { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.where span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }

/* 시기 타임라인 */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.phase { padding: 16px 16px 0; border-left: 2px dashed var(--border); min-width: 0; }
.phase:first-child { border-left: 0; }
.phase small { font-size: 12px; font-weight: 800; color: var(--accent); }
.phase b { display: block; font-size: 15px; margin: 2px 0 4px; }
.phase p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── 프로세스 ── */
.steps { position: relative; display: flex; flex-direction: column; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--grad-a), var(--grad-b)); opacity: .35; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step-num {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 12px 24px -10px var(--grad-a);
}
.step-num svg { width: 26px; height: 26px; }
.step-num i { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: var(--accent); background: var(--surface); border: 1px solid var(--border); }
.step-card { padding: 22px 24px; min-width: 0; }
.step-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.step-top h3 { font-size: 19px; font-weight: 800; }
.dur { font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.step-card > p { margin: 8px 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.step-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step-box { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.step-box b { display: block; font-size: 12.5px; color: var(--accent); margin-bottom: 6px; }
.step-box ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.step-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent); text-decoration: none; }
.step-link:hover { text-decoration: underline; }

.gantt { padding: 24px 26px; overflow-x: auto; }
.gantt-grid { display: grid; grid-template-columns: 150px repeat(12, minmax(34px, 1fr)); row-gap: 10px; min-width: 640px; align-items: center; }
.gantt-grid .wk { font-size: 11.5px; color: var(--muted); font-weight: 700; text-align: center; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.gantt-grid .row-label { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.gantt-grid .row-label i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); }
.gbar { height: 26px; border-radius: 8px; position: relative; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 6px 14px -8px var(--grad-a); }
.gbar.b { background: linear-gradient(135deg, var(--g-B), #38bdf8); }
.gbar.c { background: linear-gradient(135deg, var(--g-C), #4ade80); }
.gbar.loop { background: repeating-linear-gradient(135deg, var(--grad-a) 0 10px, var(--grad-b) 10px 20px); }

.cycle-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: center; }
.cycle text { font-family: inherit; }
.cycle .ring-bg { fill: none; stroke: var(--border); stroke-width: 2; stroke-dasharray: 4 6; }
.cycle .node { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.cycle .node-t { fill: var(--text); font-weight: 800; font-size: 15px; }
.cycle .node-s { fill: var(--muted); font-size: 11.5px; }
.cycle .arc { fill: none; stroke: url(#cycg); stroke-width: 4; stroke-linecap: round; }
.cycle .hub { fill: url(#cycg); }
.cycle .hub-t { fill: #fff; font-weight: 800; font-size: 16px; }
.cycle .hub-s { fill: rgba(255, 255, 255, .85); font-size: 11.5px; }
.spin { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

.check-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-group { padding: 20px 22px; }
.check-group h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.check-group h3 .cat-ic { width: 30px; height: 30px; }
.check-group h3 .cat-ic svg { width: 15px; height: 15px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; cursor: pointer; }
.check-item + .check-item { border-top: 1px solid var(--border); }
.check-item input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.check-item:has(input:checked) span { color: var(--muted); text-decoration: line-through; }
.progress-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 14px; }
.progress-card b { font-size: 26px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 64px; }
.progress-card .bar { flex: 1; height: 10px; }
.progress-card .bar i { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); transition: width .3s; }
.progress-card button { white-space: nowrap; }

/* 반응형 */
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .terms, .pairs { grid-template-columns: repeat(2, 1fr); }
  .serp, .cycle-wrap { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .sub-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; -webkit-overflow-scrolling: touch; }
  .doc-sec { padding-top: 64px; }
  .define { padding: 30px 22px; }
  .flow, .feature-grid, .feature-grid.cols-2, .feature-grid.cols-4, .terms, .pairs, .split, .check-groups, .step-cols { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .phases { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .phase:nth-child(3) { border-left: 0; }
  .compare th, .compare td { padding: 12px 12px; font-size: 13.5px; }
  .compare-wrap { overflow-x: auto; }
  .compare table { min-width: 520px; }
  .geo-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .engine dl { grid-template-columns: 80px 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 12px; }
  .step-num { width: 48px; height: 48px; border-radius: 15px; }
  .step-num svg { width: 20px; height: 20px; }
  .steps::before { left: 23px; }
  .step-card { padding: 18px; }
  .pager { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 20px; }
  .cta-band a + a { margin: 8px 0 0; }
  .calc-kpis { grid-template-columns: 1fr 1fr; }
  .cycle-wrap svg { max-width: 360px; margin: 0 auto; }
}
@media print {
  .sub-tabs, .pager, .cta-band, .gl-tools { display: none !important; }
}

/* ═══ GEO 가이드 전용 ═══ */

/* 기존 검색 vs AI 검색 화면 비교 */
.vs-mocks { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vs-arrow { display: grid; place-items: center; color: var(--accent); }
.vs-arrow svg { width: 34px; height: 34px; }
.mock { padding: 20px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-title b { font-size: 16px; }
.mock-title span { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: var(--muted); background: var(--surface-2); }
.mock-title span.ai { color: #fff; background: linear-gradient(135deg, var(--g-B), var(--grad-a)); }
.mock-q { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 13.5px; font-weight: 600; }
.mock-q svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.link-row { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.link-row i { display: block; font-style: normal; font-size: 11px; color: var(--pass); }
.link-row b { display: block; font-size: 13px; color: var(--accent); }
.ai-answer { padding: 14px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.65; background: color-mix(in srgb, var(--g-B) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--g-B) 30%, transparent); }
.ai-answer .ai-head { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; color: var(--g-B); margin-bottom: 6px; }
.ai-answer .ai-head svg { width: 14px; height: 14px; }
.cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 1px; border-radius: 6px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--g-B); vertical-align: 1px; }
.cite.me { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.sources { display: flex; flex-wrap: wrap; gap: 6px; }
.sources span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.sources span.me { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.mock-foot { margin-top: auto; font-size: 12.5px; color: var(--muted); padding-top: 6px; border-top: 1px dashed var(--border); }

/* 엔티티 연결 그래프 */
.egraph text { font-family: inherit; }
.egraph .eg-line { stroke: color-mix(in srgb, var(--accent) 40%, transparent); stroke-width: 2; }
.egraph .eg-line.same { stroke: color-mix(in srgb, var(--g-B) 55%, transparent); stroke-dasharray: 5 5; }
.egraph .eg-node { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.egraph .eg-node.same { stroke: color-mix(in srgb, var(--g-B) 60%, transparent); }
.egraph .eg-t { fill: var(--text); font-weight: 800; font-size: 13px; }
.egraph .eg-s { fill: var(--muted); font-size: 11px; }
.egraph .eg-hub { fill: url(#egg); }
.egraph .eg-hub-t { fill: #fff; font-weight: 800; font-size: 15px; }
.egraph .eg-hub-s { fill: rgba(255, 255, 255, .85); font-size: 11px; }
.egraph .eg-lbl { fill: var(--accent); font-size: 10.5px; font-weight: 700; }
.egraph .eg-lbl.same { fill: var(--g-B); }

/* 피라미드 */
.pyramid text { font-family: inherit; }
.pyramid .lv1 { fill: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.pyramid .lv2 { fill: color-mix(in srgb, var(--accent) 34%, var(--surface)); }
.pyramid .lv3 { fill: url(#pyg); }
.pyramid .t { fill: var(--text); font-weight: 800; font-size: 16px; }
.pyramid .s { fill: var(--muted); font-size: 12px; }
.pyramid .lv3t { fill: #fff; font-weight: 800; font-size: 15px; }
.pyramid .lv3s { fill: rgba(255, 255, 255, .88); font-size: 11.5px; }

/* AI 서비스 카드 배지 */
.engine-badge.a1 { background: linear-gradient(135deg, #10a37f, #34d399); }
.engine-badge.a2 { background: linear-gradient(135deg, #1597a6, #22d3ee); }
.engine-badge.a3 { background: linear-gradient(135deg, #3b6ff5, #a46cf5); }
.engine-badge.a4 { background: linear-gradient(135deg, #16a34a, #84cc16); }
.engine-badge.a5 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.engine-badge.logo { background: #fff; border: 1px solid var(--border); }
.engine-badge.logo img { width: 26px; height: 26px; display: block; }
.engine.mini { padding: 20px; }
.engine.mini .engine-head { margin-bottom: 10px; }
.engine.mini p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.engine.mini code, .callout code, .term code, .feature code, .step-box code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.feature-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* 점 비교 (링크 목록 vs 인용 몇 곳) */
.dots-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dots-box { padding: 22px; text-align: center; }
.dots-box h3 { font-size: 16px; font-weight: 800; }
.dots-box p { margin: 4px 0 16px; font-size: 13px; color: var(--muted); }
.dots { display: grid; grid-template-columns: repeat(5, 30px); gap: 10px; justify-content: center; }
.dots i { width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--muted) 20%, transparent); }
.dots i.on { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); box-shadow: 0 6px 12px -6px var(--grad-a); }
.dots i.ai { background: linear-gradient(135deg, var(--g-B), #38bdf8); box-shadow: 0 6px 12px -6px var(--g-B); }
.dots i.ghost { background: transparent; border: 1.5px dashed var(--border); }
.dots-box .big { font-size: 15px; font-weight: 800; margin-top: 16px; }

/* 정보 → 엔티티 → AI 답변 */
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.pipe { padding: 20px; min-width: 0; }
.pipe h3 { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pipe h3 .cat-ic { width: 28px; height: 28px; }
.pipe h3 .cat-ic svg { width: 14px; height: 14px; }
.pipe-arrow { display: grid; place-items: center; color: var(--accent); }
.pipe-arrow svg { width: 26px; height: 26px; }
.messy { font-size: 13px; line-height: 1.7; color: var(--muted); }
.messy span { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--text); border-radius: 4px; padding: 0 3px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 12.5px; margin: 0; }
.kv dt { font-family: ui-monospace, Consolas, monospace; color: var(--accent); font-weight: 700; }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* 자가진단 */
.quiz { display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; }
.quiz-list { padding: 22px 24px; }
.quiz-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 11px 0; }
.quiz-item + .quiz-item { border-top: 1px solid var(--border); }
.quiz-item b { display: block; font-size: 14.5px; }
.quiz-item small { color: var(--muted); font-size: 12.5px; }
.yn { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.yn button { border: 0; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; background: none; color: var(--muted); }
.yn button.on.y { color: #fff; background: var(--pass); }
.yn button.on.n { color: #fff; background: var(--fail); }
.quiz-out { padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); border-left: 1px solid var(--border); }
.qring { width: 150px; height: 150px; }
.qring circle { fill: none; stroke-width: 12; }
.qring .tr { stroke: var(--track); }
.qring .val { stroke: url(#qg); stroke-linecap: round; transition: stroke-dashoffset .5s ease; transform: rotate(-90deg); transform-origin: 50% 50%; }
.qring text { font-family: inherit; fill: var(--text); font-weight: 800; font-size: 30px; }
.qring .sm { font-size: 12px; fill: var(--muted); font-weight: 600; }
.quiz-out h3 { font-size: 18px; font-weight: 800; }
.quiz-out p { margin: 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) {
  .vs-mocks { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-arrow { transform: rotate(90deg); }
  .feature-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .quiz { grid-template-columns: 1fr; }
  .quiz-out { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .dots-compare, .feature-grid.cols-5 { grid-template-columns: 1fr; }
  .quiz-item { grid-template-columns: 1fr; gap: 8px; }
}
