/* 산군 MCP 랜딩 (/mcp) v3 — 독립 페이지. 본체 reset/common.css 를 쓰지 않는다.
 * 상징: "산군" 스위치. 꺼져 있으면 AI가 얼버무리고, 켜면 산군 데이터로 답한다(첫 화면 데모).
 * 색의 역할: --on(호박색) = 산군이 켜진 상태·확인된 사실, --data(시안) = 산군 데이터의 결(지도·로고 스파크), 흰 버튼 = 행동.
 * 규칙: 색·글꼴은 토큰으로만. transition 은 transform/opacity 위주, 300ms 이하. reduce-motion 이면 정지 화면.
 */
:root {
  --bg: #070a10;
  --bg-1: #0b0f17;
  --bg-2: #111722;
  --bg-3: #182030;
  --line: rgba(214, 226, 245, 0.09);
  --line-2: rgba(214, 226, 245, 0.16);
  --ink: #eef2f7;
  --ink-2: #a6b0bf;
  --ink-3: #6f7a8b;
  --data: #5bd0ff;
  --on: #ffb547;
  --on-bg: rgba(255, 181, 71, 0.13);
  --on-glow: rgba(255, 181, 71, 0.35);
  --ok: #6fe3a5;
  --lock-bg: rgba(166, 176, 191, 0.14);
  --btn: #f4f6fa;
  --btn-ink: #070a10;

  --font: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2.125rem, 1.25rem + 3vw, 3.5rem);
  --step-4: clamp(2.75rem, 1.3rem + 4.6vw, 5.25rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-1: 10px;
  --r-2: 20px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: break-word;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
code, kbd, pre { font-family: var(--font-code); }
:focus-visible { outline: 2px solid var(--data); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(91, 208, 255, 0.3); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--btn); color: var(--btn-ink); border-radius: var(--r-1); text-decoration: none; }
.skip:focus-visible { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ai-ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(7, 10, 16, 0.86), rgba(7, 10, 16, 0.62)); backdrop-filter: saturate(1.4) blur(16px); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(91, 208, 255, 0) 0%, rgba(91, 208, 255, 0.55) 30%, rgba(255, 181, 71, 0.6) 70%, rgba(255, 181, 71, 0) 100%); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand .logo { height: 26px; width: auto; }
.brand__tag { position: relative; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-code); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; padding: 4px 9px 4px 8px; border-radius: 999px; color: var(--ink); background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box, linear-gradient(110deg, var(--data), #3a7bff 45%, var(--on)) border-box; border: 1px solid transparent; box-shadow: 0 0 18px -6px rgba(91, 208, 255, 0.7); }
.brand__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--on); box-shadow: 0 0 8px 1px var(--on); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.nav__in > nav { margin-left: auto; }
.nav__links { display: flex; gap: 26px; list-style: none; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; font-weight: 550; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 0.9375rem; }
@media (max-width: 900px) { .nav__in > nav { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn); color: var(--btn-ink); font-weight: 750; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out);
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 30px -8px rgba(255, 181, 71, 0.55); }
.btn__spark { width: 12px; height: 12px; color: #ff9a3c; }
.btn--ghost:hover { opacity: 1; background: var(--bg-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; border-bottom: 1px solid var(--line); overflow: clip;
  background:
    radial-gradient(55% 60% at 8% -5%, rgba(47, 110, 255, 0.28), rgba(47, 110, 255, 0) 70%),
    radial-gradient(40% 45% at 30% 105%, rgba(91, 208, 255, 0.14), rgba(91, 208, 255, 0) 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(circle, rgba(214, 226, 245, 0.10) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent); }
.hero__map { position: absolute; z-index: -1; right: -6%; top: 50%; transform: translateY(-50%); width: min(72vw, 1040px); aspect-ratio: 0.95; opacity: 1; pointer-events: none; }
.hero__map canvas { width: 100%; height: 100%; }
.h1-glow { background: linear-gradient(95deg, #ffffff 0%, #ffe3b0 40%, #ffb547 75%, #ff9a3c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1000px) { .hero__map { width: 120vw; right: -35%; top: auto; bottom: -8%; transform: none; opacity: 0.35; } }
.hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -10%; top: -20%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255, 181, 71, 0.10), rgba(255, 181, 71, 0) 70%); opacity: 0; transition: opacity 600ms ease; }
.hero[data-on="true"]::before { opacity: 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 88px) 0; min-height: min(860px, calc(100svh - 64px)); }
.h1-line { display: block; white-space: nowrap; }
.hero h1 { font-size: clamp(2.05rem, 0.4rem + 4.5vw, 4.5rem); line-height: 1.08; letter-spacing: -0.045em; font-weight: 820; text-wrap: balance; }
.hero__lede { margin-top: 22px; font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.works { margin-top: 34px; }
.works p { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 12px; }
.works ul { display: flex; flex-wrap: wrap; gap: 14px 18px; list-style: none; align-items: center; }
.works li { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; }
.works .ai-ico { width: 20px; height: 20px; color: var(--ink); }
.works__a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; }
.works__a:hover { color: var(--ink); }
.sw-wrap { margin: 0; min-width: 0; }
@media (max-width: 1000px) { .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

/* ---------- switch demo (signature) ---------- */
.sw { position: relative; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(11, 15, 23, 0.95); box-shadow: 0 40px 120px -50px rgba(0, 0, 0, 0.9); overflow: hidden; min-width: 0; }
.sw[data-on="true"] { box-shadow: 0 40px 120px -60px rgba(255, 181, 71, 0.35); }
.sw__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sw__title { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-3); font-weight: 600; }
.sw__title i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.toggle { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); background: var(--bg); padding: 6px 8px 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 750; font-size: 0.9375rem; color: var(--ink-2); }
.toggle__track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--bg-3); transition: background-color 220ms var(--ease-out); }
.toggle__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-2); transition: transform 260ms var(--ease-out), background-color 220ms var(--ease-out); }
.toggle[aria-checked="true"] { color: var(--ink); border-color: rgba(255, 181, 71, 0.5); }
.toggle[aria-checked="true"] .toggle__track { background: var(--on); }
.toggle[aria-checked="true"] .toggle__knob { transform: translateX(22px); background: #fff; box-shadow: 0 0 16px 2px var(--on-glow); }
.toggle .logo { height: 16px; width: auto; }
.sw__body { padding: 18px 18px 6px; height: 470px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.msg-user { align-self: flex-end; max-width: 88%; background: var(--bg-3); padding: 11px 15px; border-radius: 18px 18px 4px 18px; font-size: 0.9688rem; line-height: 1.5; }
.msg-ai { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-3); font-size: 0.75rem; font-weight: 800; }
.sw[data-on="true"] .avatar { background: var(--on-bg); color: var(--on); }
.msg-ai__body { min-width: 0; font-size: 0.9688rem; line-height: 1.65; }
.plain { color: var(--ink-2); }
.stamp { display: inline-block; margin-top: 10px; font-size: 0.75rem; font-weight: 700; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: 6px; padding: 2px 8px; }
.steps-ai { list-style: none; display: grid; gap: 4px; margin-bottom: 10px; }
.step-ai { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-3); }
.step-ai b { font-weight: 650; color: var(--ink-2); }
.step-ai .r { margin-left: auto; color: var(--ok); font-variant-numeric: tabular-nums; }
.step-ai[data-state="run"] .r { color: var(--ink-3); }
.spark { width: 12px; height: 12px; color: var(--on); }
.lead { margin-bottom: 10px; }
.fact { background: var(--on-bg); color: var(--on); border-radius: 4px; padding: 0 4px; font-variant-numeric: tabular-nums; }
.lock { display: inline-block; background: var(--lock-bg); color: var(--ink-2); border-radius: 4px; padding: 0 6px; font-size: 0.75rem; white-space: nowrap; }
.rows { list-style: none; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 9px 12px; border-radius: 10px; background: var(--bg-2); font-size: 0.8438rem; line-height: 1.45; }
.row__title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row__title a { text-decoration: none; }
.row__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row__side { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row__meta { grid-column: 1 / -1; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 12px; min-width: 0; }
.row__meta .fact { background: none; padding: 0; color: var(--ink-2); }
.note { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-3); }
.sw__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.score { flex: 0 0 auto; }
.score { display: flex; gap: 16px; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.score output { margin-left: 5px; font-weight: 800; font-size: 1rem; color: var(--ink); }
.sw[data-on="true"] .score output { color: var(--on); }
.qtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.qtabs::-webkit-scrollbar { display: none; }
.qtab { flex: 0 0 auto; border: 1px solid var(--line-2); background: transparent; color: var(--ink-3); padding: 5px 11px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; cursor: pointer; }
.qtab:hover { color: var(--ink); }
.qtab[aria-selected="true"] { color: var(--bg); background: var(--ink-2); border-color: var(--ink-2); }
.sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255, 181, 71, 0) 30%, rgba(255, 181, 71, 0.16) 50%, rgba(255, 181, 71, 0) 70%); transform: translateX(-100%); opacity: 0; }
.sweep.is-go { animation: sweep 900ms var(--ease-out); }
@keyframes sweep { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.sw__cap { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
.js .is-pending { opacity: 0; transform: translateY(6px); }
.js .is-in { opacity: 1; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.caret::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; opacity: 0.6; }
@media (max-width: 560px) {
  .sw__body { height: 520px; padding: 14px 14px 6px; }
  .sw__foot { flex-direction: column; align-items: stretch; }
  .toggle { padding-left: 10px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0; border-bottom: 1px solid var(--line); }
.sec__head { max-width: 48rem; }
.sec h2 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.04em; font-weight: 820; text-wrap: balance; }
.sec__lede { margin-top: 18px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; text-wrap: pretty; }
.sec h3 { font-size: var(--step-1); letter-spacing: -0.015em; font-weight: 750; line-height: 1.35; }

/* question gallery — two rows drifting in opposite directions; tap a bubble to copy */
.sec--uses { overflow: clip; }
.qgallery { margin-top: 52px; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.qrow { overflow: hidden; }
.qrow__track { display: flex; gap: 12px; width: max-content; padding: 4px 0; }
.js .qrow--left .qrow__track { animation: qleft 70s linear infinite; }
.js .qrow--right .qrow__track { animation: qright 80s linear infinite; }
.qgallery:hover .qrow__track, .qgallery:focus-within .qrow__track { animation-play-state: paused; }
@keyframes qleft { to { transform: translateX(-50%); } }
@keyframes qright { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.qb { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 10px; max-width: 30rem; padding: 14px 18px; border-radius: 18px 18px 4px 18px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-align: left; transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease; }
.qb:hover { border-color: rgba(255, 181, 71, 0.55); background: #1a2130; }
.qb:active { transform: scale(0.97); }
.qb__who { flex: 0 0 auto; font-size: 0.8125rem; font-weight: 750; color: var(--on); }
.qb__q { white-space: nowrap; }
.qb[data-done] { border-color: rgba(111, 227, 165, 0.6); }
.qb[data-done] .qb__who { color: var(--ok); }
.qtoast { position: fixed; left: 50%; bottom: 28px; z-index: 40; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 0.875rem; font-weight: 700; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.qtoast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .js .qrow__track { animation: none !important; } .qrow { overflow-x: auto; } }

/* data band with map */
.band { position: relative; isolation: isolate; overflow: clip; border-bottom: 1px solid var(--line); }
.band__map { position: absolute; inset: 0 0 0 40%; z-index: -1; }
.band__map canvas { width: 100%; height: 100%; }
.band__map { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(0deg, transparent 0%, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(0deg, transparent 0%, #000 16%); mask-composite: intersect; }
.band__in { padding: clamp(96px, 12vw, 160px) 0; min-height: 760px; display: grid; align-content: center; }
.ph { white-space: nowrap; }
.band h2 { font-size: var(--step-4); line-height: 1.12; letter-spacing: -0.04em; font-weight: 820; max-width: 13em; text-wrap: balance; }
.band__lede { margin-top: 20px; font-size: var(--step-1); color: var(--ink-2); max-width: 26em; }
.nums { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 28px 48px; }
.nums div { min-width: 0; }
.nums dt { color: var(--ink-3); font-size: 0.9375rem; font-weight: 600; }
.nums dd { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); font-weight: 820; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nums dd small { font-size: 0.5em; font-weight: 700; color: var(--ink-2); margin-left: 4px; letter-spacing: 0; }
@media (max-width: 900px) {
  .band__map { inset: auto 0 0 0; height: 420px; opacity: 0.5; }
  .band__in { min-height: 0; padding-bottom: 300px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* onboarding */
.start { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tiles { display: grid; gap: 22px; }
.tiles__group > span { display: block; font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.tiles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1 / 0.86; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--ink-2); font-size: 0.8125rem; font-weight: 650; cursor: pointer; padding: 8px 4px; text-align: center; line-height: 1.25; transition: transform 140ms var(--ease-out); }
.tile .ai-ico { width: 30px; height: 30px; color: var(--ink); }
.tile:hover { border-color: var(--ink-3); color: var(--ink); }
.tile:active { transform: scale(0.96); }
.tile[aria-pressed="true"] { border-color: var(--ink); background: var(--bg-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.guide { border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-1); padding: clamp(20px, 3vw, 32px); position: sticky; top: 88px; }
.js .guide[data-hidden] { display: none; }
.guide + .guide { margin-top: 16px; }
.js .guide + .guide { margin-top: 0; }
.guide__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.guide__head .ai-ico { width: 36px; height: 36px; color: var(--ink); }
.guide__head p { color: var(--ink-3); font-size: 0.875rem; margin-top: 2px; }
.steps { list-style: none; counter-reset: s; margin-top: 8px; }
.steps > li { counter-increment: s; position: relative; padding: 18px 0 18px 50px; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 15px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); font-weight: 800; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.steps > li > b { display: block; font-size: 1.0625rem; font-weight: 750; }
.steps > li > p { color: var(--ink-2); margin-top: 2px; }
.steps .line, .steps .btn { margin-top: 12px; }
.line { display: flex; align-items: stretch; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.line code { flex: 1; min-width: 0; padding: 12px 14px; font-size: 0.8438rem; white-space: nowrap; overflow-x: auto; scrollbar-width: none; color: var(--ink); }
.line code::-webkit-scrollbar { display: none; }
.copy { flex: 0 0 auto; border: 0; border-left: 1px solid var(--line-2); background: var(--bg-2); padding: 0 16px; font-weight: 750; font-size: 0.875rem; cursor: pointer; color: var(--ink); min-width: 5.5em; }
.copy:hover { background: var(--bg-3); }
.copy[data-done] { color: var(--ok); }
.guide__note { margin-top: 10px; color: var(--ink-3); font-size: 0.875rem; }
@media (max-width: 1000px) {
  .start { grid-template-columns: minmax(0, 1fr); }
  .guide { position: static; }
}
@media (max-width: 420px) { .tiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* plans */
.sec__head--center { margin-inline: auto; text-align: center; }
.sec--plans { position: relative; isolation: isolate; overflow: clip; }
.sec--plans::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 55%; width: 1100px; height: 700px; transform: translate(-30%, -50%); background: radial-gradient(closest-side, rgba(255, 181, 71, 0.14), rgba(255, 181, 71, 0)); pointer-events: none; }
.sec--plans::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, rgba(214, 226, 245, 0.08) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); pointer-events: none; }
.plans { margin: 48px auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; max-width: 1000px; align-items: stretch; }
.plan { border: 1px solid var(--line-2); border-radius: 24px; padding: 28px; background: var(--bg-1); display: flex; flex-direction: column; }
.plan--pro { border: 1px solid transparent; background: radial-gradient(80% 60% at 100% 0%, rgba(255, 181, 71, 0.14), rgba(255, 181, 71, 0) 70%) padding-box, linear-gradient(var(--bg-1), var(--bg-1)) padding-box, linear-gradient(140deg, rgba(255, 181, 71, 0.9), rgba(255, 181, 71, 0.15) 40%, rgba(91, 208, 255, 0.5)) border-box; box-shadow: 0 40px 120px -50px rgba(255, 181, 71, 0.45); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan__badge { font-size: 0.8125rem; font-weight: 750; color: var(--bg); background: var(--on); padding: 4px 10px; border-radius: 999px; }
.plan__group { margin-top: 20px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-3); }
.plan__group + ul { margin-top: 10px; }
.plan__fine { margin-top: 12px; text-align: center; font-size: 0.875rem; color: var(--ink-3); }
.plan h3 { font-size: var(--step-2); }
.plan__price { margin-top: 6px; font-size: 1rem; color: var(--ink-2); }
.plan__price b { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem); color: var(--ink); font-weight: 820; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin-right: 6px; }
.plan--pro .plan__price b { background: linear-gradient(95deg, #fff, #ffd89a 60%, var(--on)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.diff { margin-top: 18px; display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 0.8438rem; }
.diff__row { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--ink-3); }
.diff__row--pro { color: var(--ink-2); }
.diff__who { font-weight: 750; }
.diff__row--pro .diff__who { color: var(--on); }
.diff__k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 520px) { .diff__row { grid-template-columns: 3.4em minmax(0, 1fr); } .diff__row > :last-child { grid-column: 2; justify-self: start; } }
.plan ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; color: var(--ink-2); }
.plan--pro ul { margin-bottom: 4px; }
.plan.plan--pro .btn { margin-top: 28px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan--pro li::before { border-color: var(--on); }
.plan .btn { margin-top: auto; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { margin-top: 36px; max-width: 54rem; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: var(--step-1); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }
.faq details > div p + p { margin-top: 10px; }

/* close / footer */
.close { padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.close .logo-big { height: 56px; width: auto; margin: 0 auto 28px; }
.close h2 { font-size: var(--step-3); letter-spacing: -0.04em; font-weight: 820; line-height: 1.12; text-wrap: balance; }
.close p { margin: 16px auto 0; color: var(--ink-2); max-width: 32em; font-size: var(--step-1); }
.close__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.foot { padding: 28px 0 44px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-3); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .js .is-pending { opacity: 1; transform: none; }
  .caret::after { display: none; }
  .sweep { display: none; }
  .brand__tag i { animation: none; }
}

/* ---------- AI effects (v4) ----------
 * 모두 transform/opacity/background-position 만 움직인다. reduce-motion 이면 아래 블록 끝에서 전부 끈다. */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* aurora: slow drifting light behind the hero */
.aurora { position: absolute; inset: -20% -10% -10%; z-index: -3; pointer-events: none; filter: blur(70px); opacity: 0.35; transition: opacity 900ms ease; }
.hero[data-on="true"] .aurora { opacity: 1; }
.aurora i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 46vw; height: 40vw; left: -6%; top: -8%; background: radial-gradient(closest-side, rgba(47, 110, 255, 0.40), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 36vw; height: 30vw; left: 30%; top: 40%; background: radial-gradient(closest-side, rgba(91, 208, 255, 0.22), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { display: none; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -10vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-8vw, 14vh) scale(1.2); } }


/* stars + data streams canvas */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* headline shimmer */
.h1-glow { background-image: linear-gradient(100deg, #ffffff 0%, #ffe3b0 25%, #ffb547 45%, #fff4dc 52%, #ffb547 60%, #ff9a3c 80%, #ffd89a 100%); background-size: 220% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 50% { background-position: 0% 0; } 100% { background-position: 100% 0; } }

/* demo card: rotating AI glow border when 산군 is on */
.sw-wrap { position: relative; }
.sw-glow { position: absolute; inset: -1.5px; border-radius: 25.5px; pointer-events: none; opacity: 0; transition: opacity 500ms ease; }
.sw-glow::before, .sw-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from var(--spin), rgba(255, 181, 71, 0.35) 0deg, rgba(255, 181, 71, 0.35) 250deg, #ffd9a0 320deg, #ffb547 345deg, rgba(255, 181, 71, 0.35) 360deg); animation: spin 4s linear infinite; }
.sw-glow::after { display: none; }
.sw-wrap[data-on="true"] .sw-glow { opacity: 1; }
.sw-wrap[data-on="true"] .sw { border-color: transparent; }
@keyframes spin { to { --spin: 360deg; } }

/* buttons: one pass of light on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%); }
.btn:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }

/* cursor spotlight on cards and tiles */
.tile { --mx: 50%; --my: 50%; position: relative; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 200ms ease; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(91, 208, 255, 0.12), transparent 60%); }
.tile:hover::before { opacity: 1; }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .rv.is-vis { opacity: 1; transform: none; filter: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out); }

/* data numbers glow while counting */


@media (prefers-reduced-motion: reduce) {
  .aurora i, .h1-glow, .sw-glow::before, .sw-glow::after { animation: none !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .btn:hover::after { transform: translateX(-120%); }
}

/* data ticker: real rows from the demo snapshot drifting by */
.band { padding-bottom: 0; }
.ticker { position: relative; border-top: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: tick 90s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; font-size: 0.9375rem; }
.tk small { font-size: 0.75rem; color: var(--ink-3); font-weight: 650; }
.tk b { font-weight: 600; color: var(--ink-2); }
.tk em { font-style: normal; color: var(--on); font-variant-numeric: tabular-nums; font-weight: 650; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* data band colour */
.band { background: radial-gradient(50% 70% at 0% 40%, rgba(47, 110, 255, 0.20), rgba(47, 110, 255, 0) 70%), radial-gradient(35% 50% at 30% 100%, rgba(91, 208, 255, 0.10), rgba(91, 208, 255, 0) 70%), var(--bg); }
.band__glow { background: linear-gradient(95deg, #9fe6ff 0%, var(--data) 35%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums dd { background: linear-gradient(180deg, #ffffff 30%, #9fe6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums dd small { -webkit-text-fill-color: var(--ink-3); color: var(--ink-3); }
.nums dt { color: var(--data); opacity: 0.85; }

/* chat card warms up when 산군 is on */
.sw { transition: background-color 600ms ease; }
.sw::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 700ms ease; background: linear-gradient(180deg, rgba(255, 181, 71, 0.09) 0%, rgba(255, 181, 71, 0.03) 40%, rgba(255, 181, 71, 0) 70%); }
.sw[data-on="true"]::before { opacity: 1; }
.sw[data-on="true"] .sw__bar { background: rgba(255, 181, 71, 0.06); border-bottom-color: rgba(255, 181, 71, 0.18); }
.sw[data-on="true"] .sw__title i { background: var(--on); }
.sw[data-on="true"] .msg-user { background: #1d2333; }
.sw[data-on="true"] .row { background: rgba(255, 181, 71, 0.045); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.10); }
.sw__bar, .sw__body, .sw__foot { position: relative; }

/* onboarding colour: cyan = where you are / what you paste, amber = 산군 actions */
.sec--start { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(45% 60% at 100% 30%, rgba(47, 110, 255, 0.16), rgba(47, 110, 255, 0) 70%), radial-gradient(35% 50% at 0% 90%, rgba(91, 208, 255, 0.08), rgba(91, 208, 255, 0) 70%), var(--bg); }
.tiles__group > span { color: var(--data); }
.tile { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.tile:hover { border-color: rgba(91, 208, 255, 0.5); }
.tile[aria-pressed="true"] { border-color: var(--on); background: linear-gradient(180deg, rgba(255, 181, 71, 0.16), rgba(255, 181, 71, 0.04)); box-shadow: inset 0 0 0 1px var(--on); color: var(--ink); }
.guide { background: linear-gradient(180deg, rgba(255, 181, 71, 0.06), rgba(255, 181, 71, 0) 30%), var(--bg-1); border-color: rgba(255, 181, 71, 0.35); }
.guide__head .ai-ico { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--bg-3); }
.guide__head h3 { font-size: var(--step-2); }
.steps > li { padding-left: 40px; }
.steps > li::before { width: 24px; height: 24px; top: 19px; font-size: 0.8125rem; font-weight: 750; background: var(--bg-3); color: var(--ink-2); }
.title-glow { background: linear-gradient(95deg, #ffffff 0%, #ffe3b0 35%, var(--on) 75%, #ff9a3c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps > li > b { color: var(--ink); }
.guide .line { border-color: rgba(91, 208, 255, 0.3); background: rgba(91, 208, 255, 0.06); }
.guide .line code { color: #bdeeff; }
.guide .copy { background: var(--on-bg); color: var(--on); border-left-color: rgba(255, 181, 71, 0.3); }
.guide .copy:hover { background: rgba(255, 181, 71, 0.22); }
.guide .copy[data-done] { color: var(--ok); }
.guide .btn[data-deeplink] { background: var(--on); color: var(--bg); }
.guide__note { color: var(--ink-3); }

/* guide screens: cropped app UI with numbered, pulsing click targets (no drawn window chrome) */
.shot { margin: 12px 0 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #0d121b; }
.shot figcaption { padding: 7px 12px; font-size: 0.75rem; font-weight: 650; color: var(--ink-3); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.shot__ui { padding: 14px; display: grid; gap: 10px; font-size: 0.8125rem; color: var(--ink-2); }
.ui-split { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; }
.ui-side { list-style: none; display: grid; gap: 2px; align-content: start; }
.ui-side li { padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.ui-main { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ui-h { font-weight: 750; color: var(--ink); font-size: 0.875rem; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--bg-2); }
.ui-row b { color: var(--ink); }
.ui-dim { color: var(--ink-3); }
.ui-btn { display: inline-flex; justify-self: start; align-self: start; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 700; white-space: nowrap; }
.ui-btn--ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); padding: 3px 9px; font-weight: 600; }
.ui-field { display: grid; gap: 4px; }
.ui-field span { font-size: 0.75rem; color: var(--ink-3); }
.ui-field b { font-weight: 500; font-family: var(--font-code); font-size: 0.75rem; color: var(--ink); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-actions { display: flex; gap: 8px; justify-content: flex-end; }
.ui-check { color: var(--ink-2); }
.ui-toggle { display: inline-block; width: 30px; height: 18px; border-radius: 999px; background: var(--on); position: relative; }
.ui-toggle i { position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ui-tabs { display: flex; gap: 6px; }
.ui-tabs span { padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line-2); }
.ui-term { font-family: var(--font-code); font-size: 0.75rem; display: grid; gap: 4px; color: var(--ink); }
.is-sel { background: var(--bg-3); color: var(--ink); }
.hot { position: relative; outline: 2px solid var(--on); outline-offset: 2px; border-radius: 7px; }
.ui-side .hot, .ui-tabs .hot, .ui-term .hot { color: var(--ink); }
.ui-btn.hot { color: var(--bg); }
.hot::before { content: attr(data-n); position: absolute; top: -10px; right: -10px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--on); color: var(--bg); font: 800 0.6875rem/1 var(--font); }
.hot::after { content: ""; position: absolute; inset: -4px; border-radius: 10px; border: 2px solid var(--on); opacity: 0; animation: hotping 1.8s var(--ease-out) infinite; pointer-events: none; }
@keyframes hotping { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@media (max-width: 560px) { .ui-split { grid-template-columns: minmax(0, 1fr); } .ui-side { grid-auto-flow: column; overflow-x: auto; } }
@media (prefers-reduced-motion: reduce) { .hot::after { animation: none; } }
