:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --panel: #ffffff;
  --panel-2: #f1f3f6;
  --line: #e4e7ec;
  --ink: #16181d;
  --ink-soft: #494f5a;
  --ink-mute: #8a909c;
  --accent: #374151;        /* slate gray — the one point color */
  --accent-2: #1f2937;      /* darker slate for gradients/secondary */
  --accent-ink: #111827;    /* near-black for TEXT on white (links, labels) — legible */
  --code: #a3501a;
  --radius: 14px;
  --maxw: 1080px;
  --serif: "STIX Two Text", "IBM Plex Sans KR", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans KR", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: break-word;
}

h1, h2, .section-title, .hero h1, .ob-title, .gate-h, .gate-title, .brand, .flow-node h4 {
  font-family: var(--serif);
  text-wrap: balance;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

code, pre, .code, .prompt { font-family: "IBM Plex Mono", ui-monospace, monospace; }
code {
  background: var(--panel-2);
  color: var(--code);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  font-size: 0.88em;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--display); font-weight: 400; font-size: 1.62rem; color: var(--ink); text-decoration: none; letter-spacing: 0; }
.brand .dot { color: var(--accent); }
/* inline brand/term in the special display serif (italic), green-tinted */
.tcname { font-family: var(--display); font-weight: 400; color: var(--accent-ink); letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.94rem; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* HERO */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(900px 420px at 70% -8%, rgba(124,156,255,0.14), transparent 60%),
    radial-gradient(700px 380px at 12% 8%, rgba(155,140,255,0.10), transparent 55%);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.74rem;
  color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 26px;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 640px; }
.lede strong { color: var(--ink); font-weight: 600; }
.lede em { color: var(--accent); font-style: normal; }

.cta-row { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-size: 0.98rem; font-weight: 600; text-decoration: none; transition: transform .12s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, #4b5563 0%, #111827 100%); color: #fff; font-weight: 700; }
.btn.primary:hover { filter: brightness(1.12); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }

/* SECTIONS */
.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.section-sub { color: var(--ink-soft); margin-top: 14px; max-width: 660px; font-size: 1.05rem; }
.section-sub em { color: var(--accent); font-style: normal; }
.section-sub.narrow { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--ink-mute); }

/* CARDS */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: #fff; border: none; border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 8px 32px -6px rgba(0,0,0,0.13), 0 2px 8px -2px rgba(0,0,0,0.07);
}
.card:hover { box-shadow: 0 8px 32px -6px rgba(0,0,0,0.13), 0 2px 8px -2px rgba(0,0,0,0.07); }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card.big { padding: 32px 30px; }
.card.big p + p { margin-top: 14px; }
.card.big b { color: var(--ink); }

/* STEPS */
.steps { list-style: none; margin-top: 48px; display: flex; flex-direction: column; gap: 18px; counter-reset: none; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px;
}
.step-no {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { color: var(--ink-soft); }
.step-body p + p { margin-top: 12px; }

.code, pre.code {
  display: block; background: #f3f4f7; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin-top: 16px;
  color: var(--ink); font-size: 0.9rem; overflow-x: auto;
}
.prompt { color: var(--accent); user-select: none; margin-right: 8px; }

ul.plain { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
ul.plain li { color: var(--ink-soft); font-size: 0.96rem; padding-left: 16px; position: relative; }
ul.plain li::before { content: "—"; position: absolute; left: 0; color: var(--ink-mute); }
ul.plain b { color: var(--ink); }

.chat { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.msg { padding: 11px 16px; border-radius: 12px; font-size: 0.95rem; max-width: 92%; }
.msg.user { background: var(--panel-2); align-self: flex-start; border: 1px solid var(--line); }
.msg.ai { background: rgba(124,156,255,0.08); align-self: flex-start; color: var(--ink-soft); }
.msg b { color: var(--accent); }
.step-body .muted { margin-top: 14px; font-size: 0.92rem; }
.chat-lg { margin-top: 30px; max-width: 640px; gap: 12px; }
.chat-lg .msg { font-size: 1rem; padding: 13px 18px; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--ink-soft); font-size: 0.9rem; }

/* BUTTONS / MISC */
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.center-row { justify-content: center; }
.note-block {
  margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: var(--bg-alt); border-radius: 0 10px 10px 0; color: var(--ink-soft); font-size: 0.96rem;
}
.note-block b { color: var(--ink); }
.tag-internal, .tag-wip {
  display: inline-block; vertical-align: middle; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; margin-left: 6px;
}
.tag-internal { background: rgba(155,140,255,0.18); color: var(--accent-2); }
.tag-wip { background: rgba(255,180,120,0.16); color: var(--code); letter-spacing: 0; }
.hero-internal {
  padding: 96px 0 72px;
  background: radial-gradient(800px 380px at 75% -10%, rgba(155,140,255,0.12), transparent 60%);
}

/* CHECKLIST (직접 미리 할 것) */
.checklist { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.check-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s; }
.check-item:hover { border-color: #cfd3db; }
.check-item label { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; cursor: pointer; }
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--ink-mute);
  margin-top: 2px; display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check-box::after {
  content: ""; width: 11px; height: 6px; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -3px;
}
.check-item input:checked ~ .check-box { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.check-item input:checked ~ .check-box::after { transform: rotate(-45deg) scale(1); }
.check-text { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; }
.check-text b { color: var(--ink); }
.check-text .sub { display: block; color: var(--ink-mute); font-size: 0.88rem; margin-top: 3px; }
.check-item input:checked ~ .check-text { color: var(--ink-mute); }
.check-item input:checked ~ .check-text b { color: var(--ink-soft); }
.step-label { margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* DESKTOP DEMO (마우스·타이핑으로 실제 작업 시연) */
.demo-window { position: relative; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px -28px rgba(20,30,60,0.18); }
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f3f6; border-bottom: 1px solid var(--line); }
.demo-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.dr { background: #ff5f57; } .dot.dy { background: #febc2e; } .dot.dg { background: #28c840; }
.demo-title { margin-left: 8px; font-size: 0.82rem; color: var(--ink-mute); }
.demo-screen { position: relative; min-height: 250px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.demo-cursor { position: absolute; top: 0; left: 0; opacity: 0; transform: translate(24px,24px); transition: transform .6s cubic-bezier(.4,.1,.2,1), opacity .2s; z-index: 6; pointer-events: none; }
.demo-ripple { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); transform: translate(-50%,-50%) scale(.4); opacity: .9; animation: rip .46s ease-out forwards; pointer-events: none; z-index: 5; }
@keyframes rip { to { transform: translate(-50%,-50%) scale(2.5); opacity: 0; } }
.scene-field { display: flex; flex-direction: column; gap: 5px; }
.scene-field label { font-size: 0.78rem; color: var(--ink-mute); }
.scene-inp { background: #f3f4f7; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; color: var(--ink); min-height: 20px; }
.scene-btn { align-self: flex-start; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: none; border-radius: 10px; padding: 11px 22px; font-weight: 600; font-size: 0.92rem; font-family: inherit; }
.scene-btn.ghost2 { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.folder-row { display: flex; align-items: center; gap: 10px; background: #f3f4f7; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 0.9rem; color: var(--ink); }
.folder-row .sync { margin-left: auto; font-size: 0.8rem; color: var(--accent); }
.toggle-row { display: flex; align-items: center; gap: 10px; background: #f3f4f7; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; color: var(--ink); font-size: 0.92rem; }
.toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); position: relative; transition: background .2s; flex: 0 0 auto; }
.toggle .knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-mute); transition: left .2s, background .2s; }
.toggle.on { background: rgba(124,156,255,0.30); }
.toggle.on .knob { left: 21px; background: var(--accent); }
.demo-chat { display: flex; flex-direction: column; gap: 9px; }
.demo-chat .b { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; line-height: 1.55; }
.demo-chat .b.ai { background: rgba(124,156,255,0.08); color: var(--ink-soft); align-self: flex-start; }
.demo-chat .b.user { background: var(--panel-2); color: var(--ink); align-self: flex-end; border: 1px solid var(--line); min-height: 19px; }
.caret::after { content: "▌"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* SCENARIO PLAYER (시나리오 → 데스크탑 시연) */
.scn-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; margin-top: 18px; }
.scn-tab { padding: 8px 16px; border-radius: 8px; border: none; background: transparent; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.scn-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.scn-tab:not(.active):hover { color: var(--ink); }
.scn-player { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.scn-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.scn-dot { display: flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-soft); font-size: 0.85rem; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.scn-dot .n { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: var(--panel-2); color: var(--ink-mute); }
.scn-dot.active { border-color: var(--accent); color: var(--ink); }
.scn-dot.active .n { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.scn-caption { padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.scn-caption b { color: var(--ink); display: block; margin-bottom: 4px; }
.scn-caption p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; }
.scn-nav { display: flex; gap: 10px; }
.scn-nav button { padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.scn-nav button:hover { border-color: var(--accent); color: var(--ink); }
.arch.playing .zone, .arch.playing .arch-arrow { opacity: .36; transition: opacity .3s, box-shadow .3s, border-color .3s; }
.arch.playing .zone.is-on { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,156,255,0.16); }
.arch.playing .arch-arrow.is-on { opacity: 1; color: var(--accent); }

/* ARCH DIAGRAM (사용자 side / MCP / TC 서버 — 컴포넌트) */
.arch { display: flex; align-items: stretch; margin-top: 28px; flex-wrap: wrap; }
.zone { flex: 1 1 0; min-width: 168px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.zone-head { padding: 11px 15px; font-weight: 600; font-size: 0.92rem; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.zone-head span { font-size: 0.72rem; color: var(--ink-mute); font-weight: 400; margin-left: 4px; }
.zone-body { padding: 15px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.comp { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: #f3f4f7; border: 1px solid var(--line); border-radius: 10px; font-size: 0.9rem; color: var(--ink); }
.comp-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--accent); background: rgba(124,156,255,0.12); }
.comp-sub { display: block; font-size: 0.78rem; color: var(--ink-mute); margin-top: 1px; font-weight: 400; }
.comp b { font-weight: 600; }
.arch-arrow { display: flex; align-items: center; justify-content: center; padding: 0 10px; color: var(--ink-mute); flex: 0 0 auto; }
.zone-mcp { flex: 0.85 1 0; }
.zone-server { flex: 1.5 1 0; border-color: rgba(124,156,255,0.40); }
.zone-server .zone-head { background: rgba(124,156,255,0.10); }
.folders { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.folders .pill { font-size: 0.74rem; padding: 4px 9px; }
@media (max-width: 760px) { .arch { flex-direction: column; } .arch-arrow { transform: rotate(90deg); padding: 8px 0; } }

/* FLOW DIAGRAM (사용자 → MCP → TC 서버) */
.flow-diagram { display: flex; align-items: stretch; margin-top: 28px; flex-wrap: wrap; }
.flow-node {
  flex: 1 1 0; min-width: 150px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.flow-node h4 { font-size: 1.05rem; color: var(--ink); }
.flow-node h4 span { display: block; font-size: 0.72rem; color: var(--ink-mute); font-weight: 400; margin-top: 3px; }
.flow-node p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; }
.flow-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.flow-arrow { display: flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--ink-mute); flex: 0 0 auto; }
.flow-node-server { flex: 1.35 1 0; border-color: rgba(124,156,255,0.40); background: linear-gradient(180deg, rgba(124,156,255,0.07), var(--panel)); }
.server-inner { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.pill { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; padding: 4px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-soft); }
.pill-accent { background: rgba(124,156,255,0.16); border-color: transparent; color: var(--accent); }
.mini-arrow { color: var(--ink-mute); }
@media (max-width: 720px) { .flow-diagram { flex-direction: column; align-items: stretch; } .flow-arrow { transform: rotate(90deg); padding: 8px 0; } }

/* FLOW (작동 순서 — 번호 흐름) */
.flow { list-style: none; counter-reset: flow; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.flow li {
  counter-increment: flow; display: grid; grid-template-columns: 32px 1fr; gap: 15px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.flow li::before {
  content: counter(flow); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.flow .ftext { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.flow .ftext b { color: var(--ink); }
.flow .ftext .sub { display: block; color: var(--ink-mute); font-size: 0.85rem; margin-top: 3px; }
.panel-note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-mute); }

/* TABS (원하는 작동 방식 — 내부용/고객용 전환) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
.tab {
  padding: 9px 20px; border-radius: 9px; border: none; background: transparent; color: var(--ink-soft);
  font-size: 0.92rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.tab:not(.active):hover { color: var(--ink); }
.panel { display: none; margin-top: 30px; }
.panel.active { display: block; }
.empty-box {
  margin-top: 8px; padding: 48px 32px; border: 1px dashed var(--line); border-radius: 14px;
  text-align: center; color: var(--ink-mute); line-height: 1.7;
}

/* ONBOARD COMPACT (한 화면 레이아웃) */
.hero-compact { padding: 50px 0 4px; background: radial-gradient(680px 300px at 72% -25%, rgba(124,156,255,0.10), transparent 60%); }
.ob-title { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
.ob-lede { color: var(--ink-soft); margin-top: 8px; font-size: 1rem; }
.section.compact { padding: 30px 0 44px; border-top: none; }
.ob-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px; align-items: start; }
.checklist.tight { margin-top: 14px; gap: 8px; }
.checklist.tight .check-item label { padding: 13px 15px; gap: 11px; }
.checklist.tight .check-text { font-size: 0.92rem; }
.checklist.tight .check-text .sub { font-size: 0.8rem; margin-top: 2px; line-height: 1.5; }
.checklist.tight .check-box { width: 20px; height: 20px; }
.chat.tight { margin-top: 14px; gap: 7px; max-width: none; }
.chat.tight .msg { font-size: 0.9rem; padding: 10px 14px; }
.ob-col .instruction-card { margin-top: 12px; }
.ob-warn { margin-top: 12px; font-size: 0.85rem; color: var(--ink-mute); line-height: 1.6; }
.ob-warn .key-mark { color: var(--accent); font-weight: 700; }
.ob-warn code { font-size: 0.82em; }
@media (max-width: 820px) { .ob-grid { grid-template-columns: 1fr; gap: 28px; } }

/* INSTRUCTION CARD (프로젝트 지침 복사) */
.instruction-card {
  margin-top: 26px; background: #f3f4f7; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.instruction-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  color: var(--ink-mute); font-size: 0.82rem; letter-spacing: 0.04em;
}
.copy-btn {
  border: 1px solid var(--line); background: var(--panel-2); color: var(--ink-soft);
  font-size: 0.8rem; font-weight: 600; padding: 5px 13px; border-radius: 8px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.copy-btn:hover { border-color: var(--accent); color: var(--ink); }
.copy-btn.done { color: var(--accent); border-color: var(--accent); }
.instruction-body {
  margin: 0; padding: 18px 18px; color: var(--ink); font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.instruction-body .ph { color: var(--accent); }
.instr-vars { margin-top: 12px; font-size: 0.88rem; }
.instr-example { font-size: 0.92rem; }
.callout-key {
  margin-top: 22px; padding: 18px 20px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(124,156,255,0.10), rgba(155,140,255,0.06));
  border: 1px solid rgba(124,156,255,0.28); color: var(--ink-soft); font-size: 0.97rem; line-height: 1.65;
}
.callout-key b { color: var(--ink); }
.callout-key .key-mark { color: var(--accent); font-weight: 700; }

/* LAUNCHER (내부 허브 바로가기) */
.launch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.launch-card {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: border-color .15s, transform .15s, background .15s;
}
.launch-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--panel-2); }
.launch-icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px -10px rgba(124,156,255,0.6);
}
.launch-body h3 { font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 5px; color: var(--ink); }
.launch-body p { color: var(--ink-soft); font-size: 0.95rem; }
.launch-arrow { color: var(--accent); transition: transform .15s; display: inline-block; }
.launch-card:hover .launch-arrow { transform: translateX(4px); }
.launch-note { margin-top: 16px; font-size: 0.88rem; }

/* PASSWORD GATE */
.gate {
  position: relative; min-height: 100vh; padding: 24px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gate-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 440px at 50% -8%, rgba(124,156,255,0.24), transparent 62%),
    radial-gradient(520px 380px at 16% 112%, rgba(155,140,255,0.18), transparent 60%),
    radial-gradient(460px 320px at 88% 102%, rgba(124,156,255,0.12), transparent 60%);
  animation: gateFloat 16s ease-in-out infinite alternate;
}
@keyframes gateFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,-16px,0) scale(1.05); } }
@keyframes gateIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.gate-inner {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: gateIn .55s cubic-bezier(.2,.7,.2,1) both;
}
.gate-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.72rem;
  color: var(--accent); font-weight: 600;
}
.gate-h { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.gate-form { width: 100%; margin-top: 8px; }
.gate-field { position: relative; width: 100%; display: flex; align-items: center; }
.gate-input {
  width: 100%; padding: 19px 64px 19px 26px; border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink); font-size: 1.05rem; font-family: "IBM Plex Mono", monospace;
  text-align: center; letter-spacing: 0.22em; outline: none;
  box-shadow: 0 12px 36px -22px rgba(20,30,60,0.22), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.gate-input::placeholder { color: var(--ink-mute); letter-spacing: 0.12em; }
.gate-input:focus {
  border-color: var(--accent); background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59,91,219,0.14), 0 12px 36px -22px rgba(20,30,60,0.22);
}
.gate-submit {
  position: absolute; right: 9px; width: 44px; height: 44px; border: none; cursor: pointer;
  border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); transition: transform .12s, filter .15s;
}
.gate-submit:hover { filter: brightness(1.1); }
.gate-submit:active { transform: scale(0.92); }
.gate-error {
  width: 100%; margin-top: 14px; color: #d92d20; font-size: 0.88rem;
  background: rgba(217,45,32,0.07); border: 1px solid rgba(217,45,32,0.20);
  padding: 9px 12px; border-radius: 9px;
}
.footer-inner a.muted { text-decoration: none; }
.footer-inner a.muted:hover { color: var(--ink); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 84px 0 72px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== SEQUOIA-STYLE DECK (B2B 랜딩) ===== */
.deck-sec { padding: 92px 0; border-top: 1px solid var(--line); }
.deck-sec.cover { border-top: none; }
.slide-no { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 22px; }
.deck-h { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; max-width: 18ch; }
.deck-h.wide { max-width: 24ch; }
.deck-lead { margin-top: 24px; font-size: clamp(1.04rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 660px; line-height: 1.72; }
.deck-lead + .deck-lead { margin-top: 16px; }
.deck-lead b { color: var(--ink); font-weight: 600; }
.deck-lead em { font-style: normal; color: var(--accent-ink); }
.deck-note { margin-top: 18px; font-size: 0.85rem; color: var(--ink-mute); }
.todo { display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; padding: 2px 8px; border-radius: 6px; background: rgba(217,119,6,0.10); color: #b54708; border: 1px solid rgba(217,119,6,0.25); letter-spacing: 0; }

/* cover */
.cover { min-height: 90vh; display: flex; align-items: center; }
.cover .eyebrow { margin-bottom: 26px; }
.cover-title { font-family: var(--serif); font-size: clamp(2.8rem, 8.5vw, 5.6rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.cover-sub { margin-top: 28px; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink-soft); max-width: 620px; line-height: 1.6; }
.cover-meta { margin-top: 40px; font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--ink-mute); letter-spacing: 0.06em; }

/* market figures */
.tam-row { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.fig { flex: 1 1 180px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.fig .k { font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.fig .v { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; margin: 8px 0 6px; }
.fig .d { font-size: 0.9rem; color: var(--ink-soft); }

/* generic deck grid reuse */
.deck-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.deck-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .deck-grid, .deck-grid.three { grid-template-columns: 1fr; } }

/* deck: 실용·심플 조정 (override) */
.deck-sec { padding: 60px 0; }
.deck-h { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; max-width: 22ch; }
.deck-h.wide { max-width: 28ch; }
.cover { min-height: 66vh; }
.cover-title { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.cover-sub { font-size: clamp(1rem, 1.7vw, 1.18rem); }
.deck-prompt { font-style: italic; color: var(--ink-mute); font-size: 0.98rem; max-width: 640px; margin-bottom: 14px; line-height: 1.5; }
.deck-lead { font-size: clamp(1rem, 1.5vw, 1.12rem); }
