/* ==========================================================================
   MAKE Marketing — renewal
   ========================================================================== */

:root {
  --ink: #0b1a3a;
  --ink-2: #38476a;
  --ink-3: #5a6782;
  --line: #e4e8f1;
  --line-2: #d3d9e6;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --night: #0a1330;
  --night-2: #111c42;
  --on-night: #eef1fa;
  --on-night-2: #a9b4d0;

  --violet: #6b4eff;
  --pink: #ff5ca8;
  --sky: #3fa9ff;
  --peach: #ffb46b;
  --blue: #2f6bff;

  --ok: #0a7d55;
  --ok-bg: #dff5ea;
  --cite: #5a3df0;
  --cite-bg: #ece8ff;
  --none: #5a6782;
  --none-bg: #eef1f6;
  --hi: #b4361a;
  --hi-bg: #ffe9e1;
  --mid: #8a5a00;
  --mid-bg: #fff2d6;
  --lo: #315a9e;
  --lo-bg: #e5efff;

  --tint-hosp: #eaf3ff;
  --tint-aeo: #efebff;
  --tint-brand: #f1f4f9;
  --tint-beauty: #ffeef5;
  --tint-pro: #fff3e6;

  --f-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-display: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", Pretendard, -apple-system, system-ui, "Malgun Gothic", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --shadow-float: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --shadow-card: 0 2px 5px -1px rgba(50, 50, 93, .16), 0 1px 3px -1px rgba(0, 0, 0, .2);
  --shadow-soft: 0 13px 27px -5px rgba(50, 50, 93, .18), 0 8px 16px -8px rgba(0, 0, 0, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }

/* ---------- shared atoms ---------- */
.arw { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.arw-line { opacity: 0; transition: opacity .2s var(--ease); }
.arw-tip { transition: transform .2s var(--ease); }
a:hover .arw-line, button:hover .arw-line, a:focus-visible .arw-line { opacity: 1; }
a:hover .arw-tip, button:hover .arw-tip, a:focus-visible .arw-tip { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 0.9688rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1b2d5c; }
.btn-ink:active { transform: translateY(1px); }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 650; line-height: 1; white-space: nowrap; letter-spacing: 0;
}
.tag svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-cite { background: var(--cite-bg); color: var(--cite); }
.tag-none { background: var(--none-bg); color: var(--none); }
.tag-hi { background: var(--hi-bg); color: var(--hi); }
.tag-mid { background: var(--mid-bg); color: var(--mid); }
.tag-lo { background: var(--lo-bg); color: var(--lo); }
.tag-sample { background: #fff4d6; color: #7a5200; }

.mk-mark { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.motion-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: var(--shadow-card);
  transition: background-color .2s var(--ease);
}
.motion-toggle:hover { background: #fff; }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  font-weight: 760; line-height: 1.18; letter-spacing: -0.035em;
  text-wrap: balance;
}
.sec-head p { margin-top: 20px; max-width: 62ch; font-size: 1.125rem; color: var(--ink-2); line-height: 1.75; }
.sec-head.on-night h2 { color: #fff; }
.sec-head.on-night p { color: var(--on-night-2); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: block; width: 92px; flex: none; position: relative; }
.nav-logo img { width: 100%; height: auto; transition: opacity .25s var(--ease); }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
  color: #fff; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(20, 12, 70, .18);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(255, 255, 255, .18); }
.chev { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 18px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 0.9375rem; font-weight: 650;
  box-shadow: 0 6px 16px -6px rgba(20, 12, 70, .35);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-cta:hover { background: #f1efff; }

.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: -12px; width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-float), 0 0 0 1px rgba(11, 26, 58, .04);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: 40px 0;
  transition: opacity .18s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.drop-panel.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop-panel a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background-color .15s; }
.drop-panel a:hover, .drop-panel a:focus-visible { background: var(--bg-soft); }
.drop-panel strong { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.drop-panel span { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5; }

.nav.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11, 26, 58, .25); }
.nav.scrolled .nav-link { color: var(--ink); text-shadow: none; }
.nav.scrolled .nav-link:hover, .nav.scrolled .nav-link[aria-expanded="true"] { background: var(--bg-soft); }
.nav.scrolled .logo-light { opacity: 0; }
.nav.scrolled .logo-dark { opacity: 1; }
.nav.scrolled .nav-cta { background: var(--ink); color: #fff; box-shadow: none; }
.nav.scrolled .nav-cta:hover { background: #1b2d5c; }

.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease), background-color .2s; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 25px; }
.nav.scrolled .nav-burger span, .nav.menu-open .nav-burger span { background: var(--ink); }
.nav-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; background: #fff; padding: 12px var(--gutter) 40px;
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 0; font-size: 1.125rem; font-weight: 650; border-bottom: 1px solid var(--line); }
.mm-group { margin-top: 24px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.mobile-menu .mm-cta { margin-top: 28px; border: 0; background: var(--ink); color: #fff; border-radius: 999px; text-align: center; }
.nav.menu-open { background: #fff; }
.nav.menu-open .logo-light { opacity: 0; }
.nav.menu-open .logo-dark { opacity: 1; }

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: clip; padding: calc(var(--nav-h) + 64px) 0 clamp(32px, 4vw, 56px); }
.hero-sky {
  position: absolute; inset: 0 0 auto; height: 740px; z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 90%);
  background: linear-gradient(115deg, #3fa9ff 0%, #6b4eff 40%, #ff5ca8 75%, #ffb46b 100%);
}
.hero-sky canvas { width: 100%; height: 100%; display: block; }
/* 왼쪽 글자 영역만 깊게 눌러 흰 글자가 또렷하게 읽히도록 */
.hero-sky::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 9, 58, .55) 0%, rgba(16, 9, 58, .42) 34%, rgba(16, 9, 58, .12) 56%, rgba(16, 9, 58, 0) 70%);
}
.hero-sky::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 150px; background: linear-gradient(rgba(18, 10, 70, .26), rgba(18, 10, 70, 0)); pointer-events: none; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 0; align-items: start; }
.hero-copy { padding-top: 8px; }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 0.8rem + 4.3vw, 4.5rem);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.045em;
  color: #fff; text-shadow: 0 2px 28px rgba(12, 6, 48, .28);
}
.hl-line { display: block; }
@media (min-width: 640px) { .hl-line { white-space: nowrap; } }

/* 형광펜 강조: 글자 뒤로 형광 띠가 왼쪽에서 오른쪽으로 칠해진다 */
.mk {
  position: relative; display: inline-block; color: #0b0b12; text-shadow: none;
  padding: 0 .1em; margin: 0 -.02em; transform: rotate(-1.4deg);
  background: linear-gradient(#e4ff3a, #e4ff3a) no-repeat 0 60% / 100% 84%;
}
.js .mk { background-size: 0% 84%; color: #fff; animation: mk-sweep .7s cubic-bezier(.65, 0, .25, 1) .45s forwards; }
.js .mk[data-mk="2"] { animation-delay: 1.15s; }
@keyframes mk-sweep {
  60% { color: #fff; }
  to { background-size: 100% 84%; color: #0b0b12; }
}
.mk-pen {
  position: absolute; right: -.3em; bottom: .02em; width: .34em; height: 1.08em;
  transform-origin: 50% 100%; transform: rotate(36deg); filter: drop-shadow(0 6px 10px rgba(10, 6, 40, .35));
}
.js .mk-pen { opacity: 0; transform: translate(-.5em, -.06em) rotate(36deg); animation: mk-pen .55s var(--ease) 1s forwards; }
@keyframes mk-pen { to { opacity: 1; transform: rotate(36deg); } }

.hero-lede { margin-top: clamp(26px, 3vh, 36px); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.8; color: #f1efff; text-shadow: 0 1px 14px rgba(12, 6, 48, .25); }
.hero-lede strong { color: #fff; font-weight: 700; }

.site-form {
  margin-top: 32px; display: flex; align-items: center; gap: 6px; max-width: 460px;
  padding: 5px 5px 5px 20px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -14px rgba(11, 26, 58, .3);
  transition: box-shadow .2s var(--ease);
}
.site-form:focus-within { box-shadow: 0 0 0 2px var(--violet), 0 10px 24px -14px rgba(11, 26, 58, .3); }
.site-form input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.site-form input::placeholder { color: #6c7790; }
.site-form .btn { flex: none; }
.site-form :focus-visible { outline: none; }

/* ---------- hero stage ---------- */
.hero-stage { position: relative; height: 660px; }
.dash {
  position: absolute; left: 112px; top: 0; width: 760px; height: 430px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-float); overflow: hidden;
  display: flex; flex-direction: column;
}
.dash-bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); flex: none; }
.dash-bar .mk-mark { color: var(--blue); }
.dash-app { font-family: var(--f-display); font-weight: 750; color: var(--ink); letter-spacing: -0.01em; }
.dash-crumb { font-weight: 550; }
.dash-body { flex: 1; min-height: 0; }
.dash-main { padding: 18px 22px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.dash-lower { margin-left: 166px; display: grid; gap: 14px; max-width: 420px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; }
.dash-kpis div { padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); display: grid; gap: 2px; }
.dash-kpis span { font-size: 0.75rem; color: var(--ink-3); font-weight: 550; }
.dash-kpis b { font-family: var(--f-display); font-size: 1.375rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash-kpis i { font-style: normal; }
.dash-chart { min-width: 0; }
.dash-chart-h { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 650; margin-bottom: 6px; }
.dash-chart-h .muted { font-weight: 500; }
.dash-chart svg { width: 100%; height: 104px; overflow: visible; }
.dash-chart .grid path { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.dash-chart .line { fill: none; stroke: var(--blue); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dash-chart .area { fill: rgba(47, 107, 255, .09); }
.dash-chart .dot { fill: #fff; stroke: var(--blue); stroke-width: 2.25; vector-effect: non-scaling-stroke; transition: cx .6s var(--ease), cy .6s var(--ease); }
.dash-engines { display: grid; gap: 7px; }
.dash-engines li { display: grid; grid-template-columns: 82px 1fr 40px; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 650; }
.dash-engines i { height: 6px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.dash-engines b { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--blue); transform: scaleX(var(--v)); transform-origin: left; transition: transform .9s var(--ease); }
.dash-engines li:nth-child(2) b { background: #7a8cff; }
.dash-engines li:nth-child(3) b { background: #e0886a; }
.dash-engines em { font-style: normal; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.phone {
  position: absolute; left: 0; top: 150px; width: 268px; height: 470px; z-index: 2;
  background: #fff; border-radius: 34px; padding: 18px 16px 14px;
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(11, 26, 58, .06);
  display: flex; flex-direction: column;
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: #e9ecf3; }
.phone-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 12px; border-bottom: 1px solid var(--line); }
.phone-title { font-size: 0.8125rem; font-weight: 700; }
.engine-chip { font-size: 0.6875rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); transition: opacity .25s; }
.phone-chat { flex: 1; padding: 14px 2px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.bubble { font-size: 0.8125rem; line-height: 1.6; }
.bubble-user { align-self: flex-end; max-width: 86%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; min-height: 1.6em; }
.bubble-user:empty { visibility: hidden; }
.bubble-ai { color: var(--ink); padding-right: 4px; }
.bubble-ai mark { background: linear-gradient(transparent 55%, #d9ccff 55%); color: inherit; font-weight: 700; padding: 0 1px; }
.cite-chip { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--bg-soft); font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.cite-chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cite-chip.in { opacity: 1; transform: none; }
.typing { display: none; gap: 4px; padding: 6px 0; }
.typing.on { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b6bfd2; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.phone-input { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--bg-soft); font-size: 0.75rem; color: var(--ink-3); }
.phone-input svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: var(--ink); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.detect {
  position: absolute; left: 214px; top: 420px; z-index: 3; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 11px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(11, 26, 58, .04);
  font-size: 0.8125rem; font-weight: 700;
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.detect .mk-mark { color: var(--blue); width: 16px; height: 16px; }
.detect.in { opacity: 1; transform: none; }
.detect .tag-cite { transition: opacity .25s; }
.detect .tag-cite.off { opacity: .25; }

.place-chip {
  position: absolute; left: 330px; top: 470px; z-index: 3; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(11, 26, 58, .04);
  font-size: 0.8125rem; font-weight: 650;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.place-chip.in { opacity: 1; transform: none; }
.pc-k { color: var(--ink-2); }
.pc-rank { font-family: var(--f-display); }
.pc-rank b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.pc-up { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); background: var(--ok-bg); padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; }
.pc-up svg { width: 9px; height: 9px; fill: currentColor; }

.hero-stage > .motion-toggle { position: absolute; left: 119px; top: 634px; z-index: 4; width: 30px; height: 30px; box-shadow: var(--shadow-card); }
.hero-stage { margin-left: 72px; }
.hero-stage .dash-kpis { max-width: 480px; }

/* ---------- channels (히어로 아래 띠) ---------- */
.channels-sec { background: #fcfcfc; border-top: 1px solid #f0f1f5; border-bottom: 1px solid #f0f1f5; padding: clamp(44px, 5vw, 64px) 0; }
.channels-title { text-align: center; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 26px; }
.channels-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; max-width: 980px; margin: 0 auto; }
.channels-list li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 650; color: #46506b; letter-spacing: -0.01em; white-space: nowrap; }
.ch-ic { width: 22px; height: 22px; flex: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .hero-stage { height: 660px; margin-top: 56px; margin-left: 0; }
  .dash { left: 18%; }
  .hero-sky { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 92%); height: 680px; }
  .hero-sky::before { background: linear-gradient(90deg, rgba(16, 9, 58, .55), rgba(16, 9, 58, .32)); }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.125rem, 0.9rem + 6vw, 2.75rem); letter-spacing: -0.04em; }
  .hero-sky { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); height: 640px; }
  .hero-lede { font-size: 1rem; }
  .channels-list { gap: 12px 22px; }
  .channels-list li { font-size: 0.9688rem; }
  .ch-ic { width: 19px; height: 19px; }
  .site-form { padding-left: 16px; }
  .site-form .btn { padding: 0 14px 0 16px; }
  .hero-stage { height: 600px; margin-top: 40px; }
  .phone { width: 248px; height: 450px; top: 110px; left: 0; }
  .dash { left: 64px; top: 0; width: 560px; height: 400px; }
  .dash-kpis { max-width: 300px; }
  .dash-kpis div:nth-child(3) { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-lower { margin-left: 200px; }
  .detect { left: 96px; top: 452px; }
  .place-chip { left: auto; right: -4px; top: 510px; gap: 8px; padding: 8px 10px; }
  .pc-k { display: none; }
  .hero-stage > .motion-toggle { left: 109px; top: 574px; }
}

/* ==========================================================================
   SERVICES BENTO
   ========================================================================== */
.services { padding: clamp(48px, 6vw, 88px) 0 clamp(96px, 12vw, 160px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  padding: clamp(24px, 3vw, 36px); min-height: 440px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(11, 26, 58, .35); }
.tile h3 { font-family: var(--f-display); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-weight: 760; letter-spacing: -0.03em; line-height: 1.25; }
.tile-text p { margin-top: 10px; max-width: 34em; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.9375rem; font-weight: 650; color: var(--cite); }
.tile-visual { position: relative; margin-top: auto; padding-top: 28px; }
.t-hosp { grid-column: 1 / 8; background: var(--tint-hosp); }
.t-aeo { grid-column: 8 / 13; background: var(--tint-aeo); }
.t-brand { grid-column: 1 / 7; background: var(--tint-brand); }
.t-pro { grid-column: 7 / 13; background: var(--tint-pro); }

.frag { background: #fff; border-radius: 14px; box-shadow: var(--shadow-soft); }
.frag-h { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; margin-bottom: 12px; }

/* hospital */
.v-hosp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; }
.frag-review { padding: 18px 20px; }
.rv { font-size: 0.9375rem; line-height: 1.6; color: var(--ink); margin-top: 6px; }
.rv del { color: #b4361a; text-decoration-thickness: 1.5px; margin-right: 6px; opacity: .8; }
.rv ins { text-decoration: none; background: var(--ok-bg); color: var(--ok); font-weight: 650; padding: 1px 5px; border-radius: 5px; margin-right: 4px; }
.rv-note { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 0.75rem; color: var(--ink-3); }
.frag-path { padding: 14px; display: grid; gap: 6px; font-size: 0.8125rem; font-weight: 650; min-width: 132px; }
.frag-path li { position: relative; padding: 8px 12px; border-radius: 9px; background: var(--bg-soft); color: var(--ink-2); }
.frag-path li + li::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1.5px; height: 6px; background: var(--line-2); }
.frag-path li.end { background: var(--ink); color: #fff; }

/* aeo */
.v-aeo { display: grid; gap: 12px; }
.frag-answer { padding: 18px 20px; }
.frag-answer .q { margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.frag-answer .a { margin-top: 8px; font-size: 0.875rem; line-height: 1.65; color: var(--ink-2); }
.frag-answer mark { background: linear-gradient(transparent 55%, #d9ccff 55%); color: var(--ink); font-weight: 700; }
.frag-answer sup { font-size: 0.6875rem; color: var(--cite); font-weight: 700; margin-left: 1px; }
.src { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--ink-3); }
.src .n { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--cite-bg); color: var(--cite); font-weight: 700; font-size: 0.6875rem; }
.src .u { font-family: var(--f-mono); }
.frag-schema { justify-self: end; padding: 10px 14px; }
.frag-schema code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--cite); }

/* brand */
.frag-consist { padding: 8px 14px; }
.frag-consist li { display: grid; grid-template-columns: 76px 1fr 14px; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.8125rem; }
.frag-consist li + li { border-top: 1px solid var(--line); }
.frag-consist .ch { color: var(--ink-3); font-weight: 600; }
.frag-consist .val { font-weight: 650; }
.frag-consist svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* professional */
.frag-col { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.col-cat { font-size: 0.75rem; font-weight: 700; color: #9a4f00; }
.frag-col strong { font-size: 1.0625rem; line-height: 1.4; font-weight: 750; letter-spacing: -0.02em; }
.col-lines { display: grid; gap: 6px; }
.col-lines i { height: 6px; border-radius: 3px; background: var(--bg-soft); }
.col-lines i:last-child { width: 62%; }
.col-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; margin-top: 4px; }

@media (max-width: 1024px) {
  .t-hosp, .t-aeo { grid-column: span 12; }
  .t-brand, .t-pro { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { gap: 12px; }
  .t-brand, .t-pro { grid-column: span 12; }
  .tile { min-height: 0; }
  .v-hosp { grid-template-columns: 1fr; }
  .frag-path { display: flex; flex-wrap: wrap; min-width: 0; }
  .frag-path li + li::before { display: none; }
}

/* reveal (JS adds .js to html) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2) { transition-delay: .06s; }
.js .bento .reveal:nth-child(3) { transition-delay: .03s; }
.js .bento .reveal:nth-child(4) { transition-delay: .09s; }
.js .bento .reveal:nth-child(5) { transition-delay: .15s; }

/* ==========================================================================
   TOUR (dark)
   ========================================================================== */
.tour {
  position: relative; background: var(--night); color: var(--on-night); overflow: clip;
  padding: calc(clamp(88px, 11vw, 140px) + 5vw) 0 clamp(96px, 12vw, 150px);
  clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -5vw;
}
.tour-sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(107, 78, 255, .38), transparent 70%),
    radial-gradient(520px 380px at 4% 92%, rgba(255, 92, 168, .2), transparent 70%),
    radial-gradient(480px 320px at 50% 105%, rgba(63, 169, 255, .16), transparent 70%);
}
.tour .wrap { position: relative; }
.tour-body { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.tour-list { display: grid; gap: 4px; }
.tour-tab {
  position: relative; display: grid; gap: 4px; text-align: left; width: 100%;
  padding: 16px 18px 18px; border-radius: 14px; color: var(--on-night-2);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tour-tab:hover { background: rgba(255, 255, 255, .04); color: var(--on-night); }
.tour-tab[aria-selected="true"] { background: rgba(255, 255, 255, .07); color: #fff; }
.tt-name { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.tt-desc { font-size: 0.875rem; line-height: 1.6; color: var(--on-night-2); display: none; }
.tour-tab[aria-selected="true"] .tt-desc { display: block; }
.tt-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; opacity: 0; }
.tour-tab[aria-selected="true"] .tt-bar { opacity: 1; }
.tt-bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--pink), var(--violet), var(--sky)); }

.tour-window {
  background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
}
.tour-window:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); font-size: 0.8125rem; }
.win-dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ef; }
.win-bar .mk-mark { color: var(--blue); }
.win-title { display: inline-flex; gap: 8px; font-weight: 650; color: var(--ink-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-app { font-family: var(--f-display); font-weight: 750; color: var(--ink); }
.win-bar .tag-sample { margin-left: auto; }
.motion-toggle.in-win { width: 30px; height: 30px; box-shadow: none; background: var(--bg-soft); }
.motion-toggle.in-win:hover { background: var(--line); }
.win-stage { position: relative; padding: 22px; height: 500px; overflow: hidden; font-size: 0.875rem; }

@media (max-width: 1024px) {
  .tour-body { grid-template-columns: minmax(0, 1fr); }
  .tour-list { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-snap-type: x proximity; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-tab { flex: none; width: auto; padding: 10px 16px 12px; border-radius: 999px; scroll-snap-align: start; }
  .tour-tab[aria-selected="true"] .tt-desc { display: none; }
  .tt-name { font-size: 0.9375rem; white-space: nowrap; }
  .tt-bar { left: 16px; right: 16px; bottom: 4px; }
  .tour-body .tour-mdesc { display: block; }
}
@media (max-width: 640px) {
  .win-stage { padding: 14px; height: 540px; font-size: 0.8125rem; }
  .win-dots { display: none; }
  .win-bar { padding-left: 14px; }
}

/* ---------- demo atoms ---------- */
.d { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.d-row { display: flex; align-items: center; gap: 10px; }
.d-sp { flex: 1; }
.d-label { font-size: 0.75rem; font-weight: 650; color: var(--ink-3); }
.d-input {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff; font-weight: 550; min-width: 0;
}
.d-input.grow { flex: 1; }
.d-input svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d-input .typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 1.5px; height: 18px; background: var(--blue); flex: none; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.d-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 650; font-size: 0.8125rem; white-space: nowrap; transition: transform .15s var(--ease), background-color .2s; }
.d-btn.pressed { transform: scale(.95); background: var(--blue); }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.75rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.d-foot { margin-top: auto; font-size: 0.75rem; color: var(--ink-3); }
.pop { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
.rise { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sk { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #eef1f6 0%, #f8f9fc 50%, #eef1f6 100%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gk { display: block; height: 7px; border-radius: 4px; background: #e9edf4; }
mark.hl { background: linear-gradient(transparent 55%, #d9ccff 55%); color: var(--ink); font-weight: 700; }

/* demo: visibility */
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.d-chips .d-meta { margin-left: auto; font-size: 0.75rem; color: var(--ink-3); font-weight: 550; }
.eng-list { display: grid; gap: 8px; }
.eng { display: grid; grid-template-columns: 108px minmax(0, 1fr) 96px; align-items: center; gap: 12px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 12px; min-height: 76px; transition: border-color .3s, background-color .3s; }
.eng.hit { border-color: #cfc4ff; background: #fbfaff; }
.eng-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.8125rem; }
.eng-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.eng-ans { font-size: 0.8125rem; line-height: 1.55; color: var(--ink-2); min-width: 0; }
.eng-ans .sk + .sk { margin-top: 6px; width: 70%; }
.eng-tags { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.d-kpis-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.d-kpis-row div { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); display: grid; gap: 2px; }
.d-kpis-row span { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; }
.d-kpis-row b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.d-kpis-row i { font-style: normal; }

/* demo: audit */
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; }
.site-wire { position: relative; height: 158px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fbfcfe; overflow: hidden; display: grid; gap: 8px; align-content: start; }
.site-wire > i { display: block; height: 8px; border-radius: 4px; background: #e6eaf2; }
.site-wire .w-nav { width: 100%; height: 10px; background: #edf0f6; }
.site-wire .w-h1 { width: 58%; height: 16px; background: #d8deea; margin-top: 4px; }
.site-wire .w-p { width: 86%; }
.site-wire .w-p.short { width: 52%; }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-cards i { height: 34px; border-radius: 6px; background: #edf0f6; }
.scan { position: absolute; left: 0; right: 0; top: -20%; height: 30%; background: linear-gradient(rgba(47, 107, 255, 0), rgba(47, 107, 255, .16) 80%, rgba(47, 107, 255, .5)); border-bottom: 1.5px solid var(--blue); opacity: 0; }
.site-wire.scanning .scan { opacity: 1; animation: scan 1.4s var(--ease) 2; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.pin { position: absolute; font-size: 0.6875rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; opacity: 0; }
.pin.in { animation: pop .4s var(--ease) both; }
.pin.p1 { top: 30px; right: 18px; background: var(--lo-bg); color: var(--lo); }
.pin.p2 { bottom: 14px; right: 18px; background: var(--mid-bg); color: var(--mid); }
.scores { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 12px; background: var(--bg-soft); }
.score { display: grid; grid-template-columns: 40px 1fr 34px; align-items: center; gap: 10px; }
.score .s-name { font-family: var(--f-display); font-weight: 750; font-size: 0.8125rem; }
.score .s-bar { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.score .s-bar i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--blue); transform: scaleX(var(--v, 0)); transform-origin: left; transition: transform 1.1s var(--ease); }
.score b { font-family: var(--f-display); font-size: 1.125rem; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.scores .s-note { font-size: 0.6875rem; color: var(--ink-3); }
.issues { display: grid; gap: 6px; }
.issues li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 550; opacity: 0; }
.issues li.in { animation: rise .45s var(--ease) both; }
.code { border-radius: 12px; background: var(--ink); color: #dfe6ff; padding: 10px 14px 12px; opacity: 0; transition: opacity .3s; }
.code.in { opacity: 1; }
.code-h { display: block; font-size: 0.6875rem; font-weight: 650; color: #9fb0dc; margin-bottom: 4px; }
.code pre { margin: 0; font-family: var(--f-mono); font-size: 0.8125rem; line-height: 1.55; min-height: 2.6em; white-space: pre-wrap; }

/* demo: keyword */
.kw-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kw-head, .kw-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 0.8fr 0.7fr minmax(0, 1.2fr); gap: 10px; align-items: center; padding: 0 14px; }
.kw-head { height: 38px; background: var(--bg-soft); font-size: 0.75rem; font-weight: 650; color: var(--ink-3); }
.kw-head span:nth-child(2), .kw-head span:nth-child(3) { text-align: right; }
.kw-body { position: relative; }
.kw-row { height: 50px; border-top: 1px solid var(--line); background: #fff; font-size: 0.8125rem; position: relative; }
.kw-row .k { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-row .num { text-align: right; font-family: var(--f-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.kw-row .opp { display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 8px; }
.kw-row .opp i { height: 6px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; position: relative; }
.kw-row .opp i::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--blue); transform: scaleX(var(--v, 0)); transform-origin: left; transition: transform .8s var(--ease); }
.kw-row .opp b { font-family: var(--f-display); font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.kw-row.top { background: #f7f5ff; }
.kw-row.top .opp i::after { background: var(--violet); }
.kw-row .rec { display: none; margin-left: 8px; vertical-align: 1px; }
.kw-row.top .rec { display: inline-flex; }
.kw-sorting .kw-row { transition: transform .7s var(--ease); }

/* demo: place */
.place-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; flex: 1; min-height: 0; }
.place-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; position: relative; }
.place-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 40px; padding: 0 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; background: #fff; position: relative; transition: transform .8s var(--ease), background-color .3s; }
.place-list li:first-child { border-top: 0; }
.place-list .pr { font-family: var(--f-display); font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.place-list .pc { font-size: 0.75rem; color: var(--ink-3); }
.place-list li.ours { background: #eef3ff; z-index: 2; box-shadow: inset 2px 0 0 var(--blue); }
.place-list li.ours .pr { color: var(--blue); }
.place-list li.ours .pn { font-weight: 750; }
.rank-card { border-radius: 12px; background: var(--bg-soft); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.rank-big { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 650; }
.rank-big b { font-family: var(--f-display); font-size: 2.75rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rank-big .tag { align-self: center; }
.rank-chart { width: 100%; height: 120px; overflow: visible; margin-top: 4px; }
.rank-chart .g { stroke: #dfe4ee; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rank-chart .ln { fill: none; stroke: var(--blue); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rank-chart circle { fill: #fff; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rank-chart text { font-size: 9px; fill: var(--ink-3); font-family: var(--f-sans); }
.rank-plot { position: relative; margin-top: 4px; }
.rank-plot .rank-chart { margin-top: 0; }
.rdot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; transition: left .6s var(--ease), top .6s var(--ease); }
.rlab { position: absolute; left: 0; font-size: 0.625rem; color: var(--ink-3); background: var(--bg-soft); padding-right: 4px; line-height: 1; }
.rlab.top { top: 3%; }
.rlab.bot { bottom: 3%; }
.tour-mdesc { display: none; margin: 0; color: var(--on-night-2); font-size: 0.9375rem; line-height: 1.6; }
.weeks { display: flex; justify-content: space-between; font-size: 0.6875rem; color: var(--ink-3); }
.weeks span.on { color: var(--ink); font-weight: 700; }

/* demo: blog */
.hits { font-size: 0.8125rem; font-weight: 650; color: var(--ink-2); }
.hits b { font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.bl-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bl-head, .bl-row { display: grid; grid-template-columns: minmax(0, 1.5fr) 0.8fr 0.8fr minmax(0, 1.1fr); gap: 10px; align-items: center; padding: 0 14px; }
.bl-head { height: 38px; background: var(--bg-soft); font-size: 0.75rem; font-weight: 650; color: var(--ink-3); }
.bl-row { min-height: 58px; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.bl-row .k { font-weight: 650; }
.bl-row .k small { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); margin-top: 1px; }
.cell { display: inline-flex; align-items: center; min-height: 22px; }
.cell .rk, .cell .out { display: inline-block; }
.cell .rk { font-family: var(--f-display); font-weight: 750; font-size: 0.9375rem; }
.cell .out { color: var(--ink-3); font-size: 0.75rem; }

/* demo: naver ai */
.brief { border-radius: 14px; border: 1px solid #d9d1ff; background: linear-gradient(180deg, #faf8ff, #fff 60%); padding: 16px 18px; display: grid; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.brief.in { opacity: 1; transform: none; }
.brief-h { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; }
.brief-h svg { width: 16px; height: 16px; fill: var(--violet); }
.brief-h .muted { margin-left: auto; font-size: 0.75rem; }
.brief-sk { display: grid; gap: 7px; }
.brief-sk .sk:nth-child(2) { width: 88%; }
.brief-sk .sk:nth-child(3) { width: 64%; }
.brief-t { font-size: 0.875rem; line-height: 1.7; color: var(--ink-2); }
.brief-t:empty { display: none; }
.brief-t sup { color: var(--cite); font-weight: 750; font-size: 0.6875rem; margin-left: 1px; }
.srcs { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.src-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 0.75rem; opacity: 0; min-height: 86px; transition: border-color .3s, box-shadow .3s; }
.src-card.in { animation: rise .4s var(--ease) both; }
.src-card .sn { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--bg-soft); font-weight: 750; font-size: 0.6875rem; }
.src-card .st { position: absolute; top: 10px; right: 12px; color: var(--ink-3); font-weight: 600; }
.src-card strong { font-size: 0.8125rem; line-height: 1.45; font-weight: 700; }
.src-card .sb { color: var(--ink-3); }
.src-card .gk.short { width: 60%; }
.src-card.ours.lit { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107, 78, 255, .14); }
.src-card.ours.lit .sn { background: var(--cite-bg); color: var(--cite); }
.verdict { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.verdict .tag { height: 30px; padding: 0 12px; font-size: 0.8125rem; opacity: 0; }
.verdict .tag.in { animation: pop .45s var(--ease) both; }

@media (max-width: 640px) {
  .eng { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n t" "a a"; row-gap: 6px; padding: 10px; }
  .eng-name { grid-area: n; }
  .eng-tags { grid-area: t; }
  .eng-ans { grid-area: a; }
  .audit-grid { grid-template-columns: 1fr; }
  .site-wire { display: none; }
  .place-grid { grid-template-columns: 1fr; }
  .rank-card { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 12px 14px; }
  .rank-card .rank-chart, .rank-card .weeks { display: none; }
  .place-list li { height: 34px; }
  .kw-head, .kw-row { grid-template-columns: minmax(0, 1.5fr) 0.9fr minmax(0, 1fr); }
  .kw-head span:nth-child(3), .kw-row .num.p { display: none; }
  .kw-row .rec { display: none; }
  .bl-head, .bl-row { grid-template-columns: minmax(0, 1.3fr) 0.8fr 0.8fr; }
  .bl-head span:nth-child(4) { display: none; }
  .bl-row .cell.ai { grid-column: 1 / -1; padding-bottom: 10px; }
  .bl-row { row-gap: 2px; padding-top: 8px; }
  .srcs { grid-template-columns: 1fr 1fr; }
  .srcs .src-card:nth-child(3) { display: none; }
  .d-kpis-row b { font-size: 1.25rem; }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.loop { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: calc(12.5% - 6px); right: calc(12.5% - 6px); top: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--sky));
  transform-origin: left; transform: scaleX(var(--draw, 1));
}
.js .loop:not(.in) .steps::before { --draw: 0; }
.js .loop .steps::before { transition: transform 1.4s var(--ease); }
.step { position: relative; padding: 40px 22px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step::before { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); box-sizing: border-box; }
.step h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 760; letter-spacing: -0.03em; }
.step p { margin: 10px auto 0; max-width: 22em; color: var(--ink-2); font-size: 0.9688rem; line-height: 1.7; }
.step-tool { display: inline-block; margin-top: auto; position: relative; top: 14px; font-size: 0.75rem; font-weight: 650; color: var(--cite); background: var(--cite-bg); padding: 4px 10px; border-radius: 999px; }
.loop-back { display: block; width: 100%; height: 90px; margin-top: 30px; overflow: visible; }
.lb-path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; }
.lb-tip { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.loop-label { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); background: #fff; padding: 0 14px; font-size: 0.875rem; font-weight: 650; color: var(--ink-3); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--draw, 1)); background: linear-gradient(180deg, var(--pink), var(--violet), var(--sky)); }
  .step { padding: 0 0 0 36px; text-align: left; align-items: flex-start; }
  .step-tool { top: 0; margin-top: 14px; }
  .step::before { left: 0; top: 6px; margin-left: 0; }
  .step p { margin-left: 0; }
  .loop-back { display: none; }
  .loop-label { position: static; transform: none; margin-top: 24px; padding: 0 0 0 36px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(72px, 9vw, 120px) 0 clamp(120px, 14vw, 180px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-head h2 { font-family: var(--f-display); font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); font-weight: 760; letter-spacing: -0.035em; line-height: 1.18; }
.faq-head p { margin-top: 16px; color: var(--ink-2); }
.faq-head a { color: var(--cite); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq-list details p { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: clip; padding: calc(clamp(96px, 12vw, 150px) + 6vw) 0 clamp(96px, 12vw, 150px); }
.cta-sky { position: absolute; inset: 0; clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%); background: linear-gradient(115deg, #ffd8b0, #ffb3d4 35%, #c2b2ff 68%, #9fd0ff); }
.cta-sky canvas { width: 100%; height: 100%; display: block; }
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-family: var(--f-display); font-size: clamp(2.375rem, 1.2rem + 4vw, 4.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; color: var(--ink); }
.cta p { margin-top: 20px; max-width: 34em; font-size: 1.125rem; color: #22305a; }
.cta .site-form { margin-top: 36px; width: 100%; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 72px 0 32px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; }
.footer-brand img { width: 128px; height: auto; }
.footer-brand p { margin-top: 18px; font-family: var(--f-display); font-size: 1.125rem; font-weight: 650; line-height: 1.55; letter-spacing: -0.02em; color: var(--ink); }
.footer-info h2 { font-size: 0.9375rem; font-weight: 750; color: var(--ink); margin-bottom: 14px; }
.footer-info dl { margin: 0; display: grid; gap: 8px; font-size: 0.9063rem; }
.footer-info dl div { display: flex; flex-wrap: wrap; align-items: baseline; }
.footer-info dt { color: var(--ink-3); font-weight: 600; }
.footer-info dt::after { content: "|"; margin: 0 10px; color: var(--line-2); font-weight: 400; }
.footer-info dd { margin: 0; color: var(--ink-2); }
.footer-info a:hover { color: var(--cite); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); }
.footer-links { display: inline-flex; gap: 20px; }
.footer-links a { font-weight: 650; color: var(--ink-2); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .caret, .typing i, .sk, .spin { animation: none !important; }
}
