/* LC Inc — design tokens follow DESIGN.md (calm editorial, pill CTAs, 24px cards, 96px rhythm).
   Single brand voltage = logo purple. */
:root {
  --primary: #9150f0;
  --primary-active: #7a35e0;
  --primary-soft: #f3ecfe;
  --primary-disabled: #cdb8f5;
  --ink: #0a0b0d;
  --body: #5b616e;
  --muted: #7c828a;
  --hairline: #dee1e6;
  --canvas: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #eef0f3;
  --dark: #0a0b0d;
  --dark-elevated: #16181c;
  --on-dark-soft: #a8acb3;
  --up: #05b169;
  --font: "Inter", "Noto Sans KR", -apple-system, system-ui, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --container: 1200px;
  --section: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--body); background: var(--canvas); -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section) 0; }
.section.soft { background: var(--surface-soft); }
.section.dark { background: var(--dark); color: var(--on-dark-soft); }
.section.dark h2, .section.dark h3 { color: #fff; }

/* type */
.display-mega { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; letter-spacing: -0.025em; }
.display-lg { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
.title-lg { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.01em; }
.title-md { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 640px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }
.mono { font-family: var(--mono); }
.accent { color: var(--primary); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 100px; font: 600 16px/1 var(--font); border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-lg { height: 56px; padding: 0 32px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-active); }
.btn-secondary { background: var(--surface-strong); color: var(--ink); }
.btn-secondary:hover { background: var(--hairline); }
.btn-outline-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-dark:hover { border-color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 13px; font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: 100px; border: 1px solid var(--hairline); }
.lang:hover { border-color: var(--primary); color: var(--primary); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* hero */
.hero { background: var(--dark); color: var(--on-dark-soft); padding: 88px 0 var(--section); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px;
  background: radial-gradient(closest-side, rgba(145,80,240,.35), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero .lead { margin: 28px 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 100px; background: var(--surface-strong); color: var(--ink); margin-bottom: 28px; }
.badge.on-dark { background: var(--dark-elevated); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(5,177,105,.2); }

/* product ui cards */
.ui-stack { position: relative; min-height: 560px; }
.ui-card { background: var(--dark-elevated); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 28px; color: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.ui-main { position: absolute; inset: 0 40px 100px 0; }
.ui-side { position: absolute; right: 0; bottom: 0; width: 56%; transform: rotate(2.5deg); background: #1c1f25; padding: 20px 22px; }
.ui-title { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-soft); display: flex; justify-content: space-between; margin-bottom: 20px; }
.agent-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.agent-row:first-of-type { border-top: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.avatar.a2 { background: #3b3f48; } .avatar.a3 { background: #5d3aa8; } .avatar.a4 { background: #2a2d35; border: 1px solid rgba(255,255,255,.2); }
.agent-row .name { color: #fff; font-weight: 600; }
.agent-row .task { color: var(--on-dark-soft); font-size: 13px; }
.agent-row .state { margin-left: auto; font: 500 12px var(--mono); color: var(--up); white-space: nowrap; }
.agent-row .state.run { color: #c3a2ff; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; width: 72%; background: var(--primary); border-radius: 6px; animation: grow 3.2s ease-in-out infinite alternate; }
@keyframes grow { from { width: 38%; } to { width: 88%; } }
.log { font: 12px/1.7 var(--mono); color: var(--on-dark-soft); }
.log b { color: #c3a2ff; font-weight: 500; }

/* cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 24px; padding: 32px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.card p { margin-top: 12px; font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 24px; }
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dept { padding: 24px; border-radius: 16px; }
.dept .icon { width: 40px; height: 40px; margin-bottom: 16px; }
.dept p { font-size: 14px; margin-top: 6px; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--hairline); }
.step::before { counter-increment: s; content: "0" counter(s); font: 500 14px var(--mono); color: var(--primary); }
.step h3 { margin: 12px 0 8px; }
.step p { font-size: 15px; }

/* MCP split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-soft); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.8 2.8L14 7.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.code { font: 13px/1.8 var(--mono); color: #d6d9de; overflow-x: auto; white-space: pre; }
.code .k { color: #c3a2ff; } .code .s { color: #7ee0b0; } .code .c { color: #6b7079; }
.section.light-split .checks li { color: var(--body); }

/* contact */
.cta-band { background: var(--dark); border-radius: 32px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 100%; background: radial-gradient(closest-side, rgba(145,80,240,.4), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 20px; }
.cta-band p { color: var(--on-dark-soft); max-width: 560px; margin: 0 auto 36px; }
.form { display: grid; gap: 16px; max-width: 640px; margin: 0 auto; text-align: left; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; height: 48px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline); background: #fff; font: 16px var(--font); color: var(--ink); }
.field textarea { height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-note.ok { color: var(--up); }

/* footer */
.footer { padding: 64px 0 32px; font-size: 14px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer img { height: 34px; width: auto; margin-bottom: 16px; }
.footer .tagline { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: -4px 0 14px; }
:lang(ko) .footer .tagline { letter-spacing: .08em; }
.footer h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--primary); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bar i { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .ui-stack { min-height: 560px; max-width: 560px; }
}
@media (max-width: 860px) {
  :root { --section: 72px; }
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--hairline); padding: 8px 24px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--surface-strong); }
  .nav-actions .btn { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 56px; }
  .grid-4 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 24px; border-radius: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .ui-stack { min-height: 540px; }
  .ui-main { inset: 0 0 110px 0; padding: 20px; }
  .ui-side { width: 78%; }
  .agent-row .task { display: none; }
}
