/* =========================================================
   KMWORKS SmartSuite — 솔루션 소개 페이지 공통 스타일
   제품별로 :root 의 --accent 계열만 바꿔서 사용한다.
   ========================================================= */

:root {
  --ink-950: #05080f;
  --ink-900: #0a0f1c;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --ink-300: #9ca3af;
  --ink-200: #d1d5db;
  --ink-100: #e5e7eb;
  --ink-50: #f4f5f7;
  --paper: #ffffff;
  --paper-soft: #f7f8fa;

  --accent: #3d6bff;
  --accent-2: #22d3ee;
  --accent-ink: #1b3fd9;
  --accent-soft: rgba(61, 107, 255, 0.1);
  --accent-glow: rgba(61, 107, 255, 0.45);

  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(2, 6, 23, 0.45), 0 12px 30px -12px rgba(2, 6, 23, 0.25);

  --page: min(1200px, calc(100% - 48px));
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.page { width: var(--page); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22); font-weight: 800; font-size: 16px;
}
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; }
.brand__text small { font-size: 9px; letter-spacing: 0.24em; color: rgba(255,255,255,.5); margin-top: 4px; }
.site-nav { display: flex; gap: 34px; }
.site-nav a { color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap;
  border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn__icon {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  transition: transform .2s ease;
}
.btn:hover .btn__icon { transform: translateX(2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 34px -10px var(--accent-glow); }
.btn--primary .btn__icon { background: rgba(255,255,255,.18); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn--ghost .btn__icon { border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light .btn__icon { background: var(--ink-900); color: #fff; }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark .btn__icon { background: rgba(255,255,255,.14); }
.btn--sm { height: 42px; padding: 0 16px 0 18px; font-size: 14px; }
.btn--sm .btn__icon { width: 22px; height: 22px; font-size: 11px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(700px 500px at 88% 30%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--ink-950) 0%, #070b16 60%, #0a1020 100%);
  padding: 150px 0 70px;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: 0;
}
.eyebrow b {
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.hero h1 {
  margin: 26px auto 0; font-size: clamp(44px, 7.2vw, 92px); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.055em; max-width: 12.5em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 0%, color-mix(in srgb, var(--accent-2) 70%, #fff) 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  margin: 28px auto 0; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75;
  color: rgba(255,255,255,.66); font-weight: 400;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero__meta { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.42); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }

/* Hero stage: browser + phones */
.stage { position: relative; margin: 80px auto 0; width: min(1180px, calc(100% - 32px)); height: 690px; z-index: 2; }
.stage__glow {
  position: absolute; left: 50%; top: 40px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  filter: blur(40px); opacity: .55;
}
.stage .browser { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 860px; }
.stage .phone--left { position: absolute; left: 10px; top: 120px; transform: rotate(-4deg); }
.stage .phone--right { position: absolute; right: 10px; top: 90px; transform: rotate(4deg); }
.float-card {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  border-radius: 18px; background: rgba(255,255,255,.92); color: var(--ink-900);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.6);
  animation: floaty 6s ease-in-out infinite;
}
.float-card i {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 16px;
}
.float-card small { display: block; font-size: 11.5px; color: var(--ink-400); font-weight: 500; }
.float-card b { font-size: 15px; letter-spacing: -0.02em; }
.float-card--dark { background: rgba(10,15,28,.9); color: #fff; border-color: rgba(255,255,255,.1); }
.float-card--dark small { color: rgba(255,255,255,.55); }
.float-card--dark i { background: rgba(255,255,255,.08); color: var(--accent-2); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__fade { display: none; }

/* ---------- Device frames ---------- */
.browser {
  border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); outline: 6px solid rgba(255,255,255,.04);
}
.browser__bar {
  height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f3f6;
  border-bottom: 1px solid #e5e7eb;
}
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e5ea; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__url {
  margin-left: 14px; flex: 1; max-width: 360px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid #e5e7eb;
  font-size: 11px; color: var(--ink-400); display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.browser__url::before { content: "🔒"; font-size: 9px; }
.browser__body { height: calc(100% - 38px); }

.phone {
  width: 268px; height: 556px; border-radius: 44px; padding: 10px; background: #0b0d12; position: relative;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a2f3a, inset 0 0 0 5px #0b0d12, inset 0 0 0 6px #3a3f4b;
}
.phone__screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #f6f7f9; position: relative; color: var(--ink-900); }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0d12; z-index: 5; }
.phone__status { height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 6px 24px 0; font-size: 12px; font-weight: 700; }
.phone__status span:last-child { letter-spacing: 1px; font-size: 10px; }
.phone__home { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 4px; background: #111; opacity: .8; z-index: 5; }
.phone--dark .phone__screen { background: #0d1220; color: #fff; }
.phone--dark .phone__home { background: #fff; opacity: .6; }

/* ---------- Reference strip ---------- */
.refs { border-bottom: 1px solid var(--ink-100); }
.refs__inner { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; padding: 34px 0; }
.refs__label small { display: block; font-size: 11px; letter-spacing: .18em; color: var(--accent); font-weight: 700; }
.refs__label b { font-size: 17px; letter-spacing: -0.02em; }
.refs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.refs__item { padding: 16px 18px; border-radius: 14px; background: var(--paper-soft); border: 1px solid var(--ink-100); }
.refs__item b { display: block; font-size: 14.5px; letter-spacing: -0.02em; }
.refs__item span { font-size: 12.5px; color: var(--ink-400); }

/* ---------- Sections ---------- */
.section { padding: 140px 0; position: relative; }
.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--ink-950); color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; margin-top: 22px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.h2 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -0.05em; }
.h2 .muted { color: var(--ink-300); }
.section--dark .h2 .muted { color: rgba(255,255,255,.38); }
.lead { margin: 0; font-size: 17.5px; line-height: 1.8; color: var(--ink-500); max-width: 540px; }
.section--dark .lead { color: rgba(255,255,255,.6); }

/* Trio (3 connected screens) */
.trio { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.trio__card {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.trio__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trio__card--hl { background: var(--ink-900); color: #fff; border-color: transparent; }
.trio__num { font-size: 12px; font-weight: 700; color: var(--ink-300); letter-spacing: .12em; }
.trio__icon {
  position: absolute; top: 28px; right: 28px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px;
}
.trio__card--hl .trio__icon { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.trio__card small { display: block; margin-top: 70px; font-size: 11.5px; letter-spacing: .16em; color: var(--accent); font-weight: 700; }
.trio__card--hl small { color: var(--accent-2); }
.trio__card h3 { margin: 8px 0 10px; font-size: 24px; letter-spacing: -0.04em; }
.trio__card p { margin: 0; color: var(--ink-500); font-size: 15px; line-height: 1.7; }
.trio__card--hl p { color: rgba(255,255,255,.6); }

/* Story panel (copy + visual) */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.story--reverse .story__copy { order: 2; }
.story__index { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.story__copy .h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 52px); }
.story__copy .lead { margin-top: 24px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15.5px; letter-spacing: -0.02em; }
.checks li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px;
  background: var(--accent-soft); color: var(--accent); margin-top: 1px;
}
.section--dark .checks li { color: rgba(255,255,255,.9); }
.section--dark .checks li::before { background: rgba(255,255,255,.08); color: var(--accent-2); }
.story__visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.story__visual .orb {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent-2) 28%, #fff), color-mix(in srgb, var(--accent) 16%, #fff) 60%, transparent 72%);
  opacity: .8;
}
.section--dark .story__visual .orb { background: radial-gradient(circle, var(--accent-glow), transparent 65%); opacity: .5; }
.story__visual .ring { position: absolute; border-radius: 50%; border: 1px solid var(--ink-100); }
.section--dark .story__visual .ring { border-color: rgba(255,255,255,.08); }
.story__visual .word {
  position: absolute; font-size: 170px; font-weight: 900; letter-spacing: -0.06em; color: var(--ink-50); z-index: 0; user-select: none;
}
.section--dark .story__visual .word { color: rgba(255,255,255,.03); }
.story__visual .phone, .story__visual .browser, .story__visual .paper { position: relative; z-index: 2; }
.story__visual .float-card { z-index: 6; }

/* AI panel */
.ai-panel {
  margin-top: 60px; display: grid; grid-template-columns: 1fr 72px 1fr; gap: 0; align-items: stretch;
  border-radius: var(--radius-xl); padding: 14px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
.ai-pane { border-radius: 22px; padding: 28px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.ai-pane__label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.ai-pane__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }
.ai-arrow { display: grid; place-items: center; }
.ai-arrow span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 40px var(--accent-glow);
}

/* Flow */
.flow { margin-top: 70px; display: grid; grid-template-columns: repeat(var(--steps, 6), 1fr); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .35; }
.flow__step { text-align: center; position: relative; padding: 0 8px; }
.flow__dot {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; font-size: 22px; position: relative;
  background: #fff; border: 1px solid var(--ink-100); box-shadow: var(--shadow); color: var(--accent);
}
.flow__step:nth-child(odd) .flow__dot { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.flow__step b { display: block; margin-top: 20px; font-size: 16px; letter-spacing: -0.03em; }
.flow__step span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-400); line-height: 1.55; }
.flow__who { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* Bento */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__cell {
  grid-column: span 2; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-100); padding: 30px;
  position: relative; overflow: hidden; min-height: 240px; box-shadow: var(--shadow-sm);
}
.bento__cell--w3 { grid-column: span 3; }
.bento__cell--w4 { grid-column: span 4; }
.bento__cell--dark { background: var(--ink-900); color: #fff; border-color: transparent; }
.bento__cell h3 { margin: 0; font-size: 21px; letter-spacing: -0.04em; }
.bento__cell p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-500); line-height: 1.7; max-width: 32em; }
.bento__cell--dark p { color: rgba(255,255,255,.6); }
.bento__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
.bento__cell--dark .bento__tag { color: var(--accent-2); }

/* Plans */
.plans { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border-radius: var(--radius-xl); padding: 40px; background: #fff; border: 1px solid var(--ink-100); position: relative; box-shadow: var(--shadow-sm); }
.plan--hl { background: var(--ink-900); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: 28px; right: 28px; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.plan small { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--accent); }
.plan--hl small { color: var(--accent-2); }
.plan h3 { margin: 12px 0 6px; font-size: 30px; letter-spacing: -0.05em; }
.plan > p { margin: 0; color: var(--ink-500); font-size: 15px; }
.plan--hl > p { color: rgba(255,255,255,.6); }
.plan__meta { display: flex; gap: 26px; margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.plan--hl .plan__meta { border-color: rgba(255,255,255,.1); }
.plan__meta span { font-size: 12.5px; color: var(--ink-400); }
.plan--hl .plan__meta span { color: rgba(255,255,255,.45); }
.plan__meta b { display: block; font-size: 20px; letter-spacing: -0.03em; color: var(--ink-900); }
.plan--hl .plan__meta b { color: #fff; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan--hl li::before { color: var(--accent-2); }
.plan li.plus { color: var(--ink-400); }
.plan--hl li.plus { color: rgba(255,255,255,.5); }
.plan-note { margin-top: 18px; font-size: 13px; color: var(--ink-400); text-align: center; }

/* Tech strip */
.tech { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech__item { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.tech__item span { font-size: 12px; color: var(--accent-2); font-weight: 700; letter-spacing: .12em; }
.tech__item b { display: block; margin-top: 12px; font-size: 18px; letter-spacing: -0.03em; }
.tech__item p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.55); }

/* FAQ */
.faq { margin-top: 56px; display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--ink-100); padding: 0 26px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 700; letter-spacing: -0.03em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-300); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { margin: 0 0 24px; color: var(--ink-500); font-size: 15.5px; line-height: 1.8; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 40px; margin: 0 auto; padding: 110px 40px; text-align: center; color: #fff;
  background:
    radial-gradient(700px 360px at 20% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    radial-gradient(600px 360px at 90% 100%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%),
    var(--ink-950);
}
.cta h2 { margin: 18px 0 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.12; letter-spacing: -0.055em; font-weight: 800; }
.cta h2 em { font-style: normal; color: rgba(255,255,255,.45); }
.cta p { margin: 22px auto 0; max-width: 560px; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.75; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta__contact { margin-top: 28px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.55); }
.cta__contact a { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { padding: 56px 0 64px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; flex-wrap: wrap; }
.site-footer .brand { color: var(--ink-900); }
.site-footer .brand__mark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.site-footer .brand__text small { color: var(--ink-400); }
.site-footer p { margin: 0; font-size: 13px; color: var(--ink-400); }
.site-footer nav { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-500); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-card { animation: none; } }

/* ---------- Admin mini canvas (hero / story 용 정적 미니 관리자 화면) ---------- */
.mini-admin { display: grid; grid-template-columns: 172px 1fr; height: 100%; font-size: 11px; color: var(--ink-800); background: #f6f7f9; }
.mini-admin__side { background: #0b1020; color: rgba(255,255,255,.62); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.mini-admin__logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 12.5px; margin: 0 4px 16px; }
.mini-admin__logo span { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: 11px; }
.mini-admin__nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-weight: 500; }
.mini-admin__nav.on { background: rgba(255,255,255,.08); color: #fff; }
.mini-admin__nav i { font-style: normal; width: 14px; text-align: center; opacity: .8; }
.mini-admin__main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mini-admin__top { display: flex; justify-content: space-between; align-items: center; }
.mini-admin__top small { display: block; color: var(--ink-400); font-size: 9.5px; }
.mini-admin__top b { font-size: 15px; letter-spacing: -0.03em; }
.mini-admin__top .pill { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--ink-100); font-weight: 600; font-size: 10px; }
.mini-admin__top .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-kpi { background: #fff; border-radius: 12px; padding: 12px; border: 1px solid #edf0f3; }
.mini-kpi span { color: var(--ink-400); font-size: 9.5px; }
.mini-kpi b { display: block; font-size: 18px; letter-spacing: -0.04em; margin-top: 3px; }
.mini-kpi small { font-size: 9px; color: var(--ok); font-weight: 600; }
.mini-kpi.warn b { color: var(--danger); } .mini-kpi.warn small { color: var(--danger); }
.mini-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.mini-panel { background: #fff; border-radius: 12px; border: 1px solid #edf0f3; padding: 12px; overflow: hidden; }
.mini-panel__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mini-panel__h b { font-size: 11.5px; }
.mini-panel__h em { font-style: normal; font-size: 9.5px; color: var(--ink-400); }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th { text-align: left; font-weight: 600; color: var(--ink-400); font-size: 9.5px; padding: 0 6px 7px; border-bottom: 1px solid #f0f2f5; }
.mini-table td { padding: 7px 6px; border-bottom: 1px solid #f4f5f7; font-size: 10.5px; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; }
.tag--blue { background: #e8eeff; color: #2f55e4; } .tag--green { background: #e3f8ef; color: #0f9f6e; }
.tag--amber { background: #fff4de; color: #b86e00; } .tag--red { background: #fde8e8; color: #d92d2d; } .tag--gray { background: #f0f2f5; color: #5b6472; }
.tag--violet { background: #efeaff; color: #6a45f0; }
.section--dark .tag--red { background: rgba(239,68,68,.18); color: #ff8f8f; }
.section--dark .tag--green { background: rgba(16,185,129,.18); color: #5eead4; }
.section--dark .tag--blue { background: rgba(61,107,255,.2); color: #9db4ff; }
.section--dark .tag--amber { background: rgba(245,158,11,.18); color: #fcd34d; }
.mini-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; margin-top: 8px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); position: relative; }
.mini-bars span:nth-child(odd) { opacity: .55; }
.mini-feed { margin-top: 10px; display: grid; gap: 7px; }
.mini-feed div { display: flex; gap: 8px; align-items: center; font-size: 10px; }
.mini-feed i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 6px; }
.mini-feed i.w { background: var(--warn); } .mini-feed i.d { background: var(--danger); }
.mini-feed small { margin-left: auto; color: var(--ink-300); }

/* ---------- App screen primitives (휴대폰 안 화면) ---------- */
.app { padding: 0 16px 16px; font-size: 12px; }
.app__top { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 12px; }
.app__top small { display: block; color: var(--ink-400); font-size: 10.5px; }
.app__top b { font-size: 17px; letter-spacing: -0.04em; }
.app__avatar { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.app-card { background: #fff; border-radius: 16px; padding: 13px; box-shadow: 0 1px 2px rgba(15,23,42,.05); border: 1px solid #eef0f3; }
.app-card + .app-card { margin-top: 9px; }
.phone--dark .app-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.07); }
.app-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-muted { color: var(--ink-400); font-size: 10.5px; }
.phone--dark .app-muted { color: rgba(255,255,255,.45); }
.app-title { font-size: 13.5px; font-weight: 700; letter-spacing: -0.03em; }
.app-btn { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 13px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; border: 0; width: 100%; }
.app-btn--ghost { background: #eef1f6; color: var(--ink-800); }
.app-seg { display: flex; gap: 4px; padding: 4px; background: #eceef2; border-radius: 12px; margin-bottom: 12px; }
.app-seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; font-size: 11px; font-weight: 600; color: var(--ink-500); }
.app-seg span.on { background: #fff; color: var(--ink-900); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: rgba(255,255,255,.94); border-top: 1px solid #eceef2; display: flex; justify-content: space-around; padding-top: 10px; font-size: 9.5px; color: var(--ink-400); backdrop-filter: blur(10px); }
.app-tabbar span { display: grid; justify-items: center; gap: 3px; }
.app-tabbar span i { font-style: normal; font-size: 15px; }
.app-tabbar span.on { color: var(--accent); font-weight: 700; }
.phone--dark .app-tabbar { background: rgba(13,18,32,.94); border-top-color: rgba(255,255,255,.06); color: rgba(255,255,255,.45); }

/* A4 paper (보고서 미리보기) */
.paper { width: 430px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); padding: 34px 34px 30px; font-size: 10.5px; color: var(--ink-800); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stage { height: 640px; }
  .stage .browser { width: 700px; }
  .stage .phone { transform: scale(.86) rotate(0); }
  .stage .phone--left { left: -20px; } .stage .phone--right { right: -20px; }
  .story { grid-template-columns: 1fr; gap: 50px; }
  .story--reverse .story__copy { order: 0; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .hero { padding-top: 120px; }
  .stage { height: 560px; }
  .stage .browser { display: none; }
  .stage .phone--left { left: 50%; transform: translateX(-108%) rotate(-3deg) scale(.9); top: 0; }
  .stage .phone--right { right: 50%; transform: translateX(108%) rotate(3deg) scale(.9); top: 30px; }
  .float-card { display: none; }
  .section { padding: 96px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .trio, .plans, .tech { grid-template-columns: 1fr; }
  .refs__inner { grid-template-columns: 1fr; gap: 18px; }
  .refs__list { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--w3, .bento__cell--w4 { grid-column: auto; }
  .ai-panel { grid-template-columns: 1fr; gap: 14px; }
  .ai-arrow span { transform: rotate(90deg); }
  .story__visual { min-height: 520px; transform: scale(.9); }
  .story__visual .word { font-size: 110px; }
  .paper { width: 100%; }
  .cta { border-radius: 28px; padding: 80px 24px; }
}
@media (max-width: 520px) {
  :root { --page: calc(100% - 32px); }
  .header-actions .btn--ghost { display: none; }
  .stage { height: 470px; }
  .stage .phone--left { transform: translateX(-96%) rotate(-3deg) scale(.78); }
  .stage .phone--right { transform: translateX(96%) rotate(3deg) scale(.78); }
  .hero h1 { font-size: 42px; }
}

/* ---------- Icons ---------- */
.i { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex: none; }
.btn__icon .i { width: 14px; height: 14px; stroke-width: 2.2; }
.trio__icon .i { width: 24px; height: 24px; }
.flow__dot .i { width: 24px; height: 24px; }
.float-card i .i { width: 19px; height: 19px; }
.ai-arrow .i { width: 22px; height: 22px; color: #fff; }
.mini-admin__nav .i { width: 13px; height: 13px; }
.app-tabbar .i { width: 18px; height: 18px; }
.flow__who { font-style: normal; }

/* ---------- Bento visuals ---------- */
.bento__cell { display: flex; flex-direction: column; min-height: 290px; }
.viz { margin-top: auto; padding-top: 26px; }
.viz-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.viz-week div { border-radius: 14px; padding: 12px 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.viz-week small { display: block; font-size: 11px; color: rgba(255,255,255,.45); }
.viz-week b { display: block; font-size: 20px; letter-spacing: -0.04em; margin-top: 2px; }
.viz-week span { display: block; height: 4px; border-radius: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.viz-week .today { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 45%, transparent), rgba(255,255,255,.04)); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.viz-rows { display: grid; gap: 10px; }
.viz-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 12.5px; font-weight: 600; }
.viz-row small { color: var(--ink-400); font-weight: 500; }
.viz-row .track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--ink-50); overflow: hidden; }
.viz-row .track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.viz-row .track i.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.viz-row .track i.bad { background: linear-gradient(90deg, #ef4444, #f97316); }
.viz-qr { display: flex; gap: 14px; align-items: center; }
.viz-qr .qrbox { width: 76px; height: 76px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-900); color: #fff; flex: none; }
.viz-qr .qrbox .i { width: 38px; height: 38px; stroke-width: 1.6; }
.viz-qr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12px; color: var(--ink-500); }
.viz-qr li b { color: var(--ink-900); font-weight: 700; margin-right: 6px; }
.viz-avatars { display: flex; align-items: center; }
.viz-avatars span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; border: 3px solid #fff; margin-left: -8px; }
.viz-avatars span:first-child { margin-left: 0; }
.viz-roles { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.viz-roles em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ink-50); color: var(--ink-500); }
.viz-chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.viz-chart span { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #fff)); opacity: .35; }
.viz-chart span.hl { opacity: 1; }
.viz-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.viz-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ink-100); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.viz-chips span .i { width: 16px; height: 16px; color: var(--accent); }
.viz-chips .hub { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.viz-chips .hub .i { color: var(--accent-2); }
.viz-chips .link { color: var(--ink-300); }

/* Header: 첫 화면을 지나면 밝은 헤더 */
.site-header.is-light { background: rgba(255,255,255,.82); border-bottom-color: var(--ink-100); }
.site-header.is-light .brand { color: var(--ink-900); }
.site-header.is-light .brand__mark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.site-header.is-light .brand__text small { color: var(--ink-400); }
.site-header.is-light .site-nav a { color: var(--ink-500); }
.site-header.is-light .site-nav a:hover { color: var(--ink-900); }
.site-header.is-light .btn--ghost { color: var(--ink-900); border-color: var(--ink-200); background: #fff; }
.site-header.is-light .btn--ghost .btn__icon { border-color: var(--ink-200); }
html { scroll-padding-top: 90px; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } .diff table { font-size: 12.5px; } }

/* 결과 행 (AI·분석 패널 공통) */
.result { margin-top: 20px; display: grid; gap: 10px; }
.result__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.result__row span { color: rgba(255,255,255,.45); font-size: 12.5px; font-weight: 600; }
.result__row b { font-weight: 600; color: #fff; }
.result__row .tag { margin-right: 4px; }
/* 스토리 비주얼: 장식(orb·ring·word) 위에 실제 화면이 오도록 */
.story__visual > *:not(.orb):not(.ring):not(.word):not(.float-card) { position: relative; z-index: 2; }
