@import url('../fonts/pretendard.css');

/* ============================================================
   VirtualOmics — 공개 랜딩 페이지 스타일
   app.css 의 디자인 토큰을 그대로 따르되, 랜딩 전용으로 독립 동작한다.
   외부 참조 없음(폰트·이미지 모두 동일 출처). 모바일 우선.
   ============================================================ */

/* ---------- 1. 토큰 ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f7f8f9;
  --text: #2e3c54;
  --text-muted: #646f79;
  --text-subtle: #8a939c;
  --border: #e8e8e9;
  --border-strong: #d3d6d9;

  --accent: #82f384;
  --accent-600: #16a34a;
  --accent-700: #12813b;
  --accent-800: #0d602c;
  --accent-soft: #eafdea;
  --accent-soft-2: #d3fad4;
  --accent-glow: rgba(130, 243, 132, 0.45);

  --canvas-bg: #06110c;
  --canvas-bg-2: #0b1c14;
  --canvas-bg-3: #112a1e;
  --canvas-text: #e6f7ea;
  --canvas-muted: #8fae9b;
  --canvas-accent: #82f384;
  --canvas-border: rgba(130, 243, 132, 0.18);

  --danger: #ef4444;
  --danger-soft: #fdeaea;
  --danger-text: #b91c1c;
  --info: #3b82f6;
  --info-soft: #e8f0fe;
  --info-text: #1d4ed8;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;

  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(24, 39, 30, 0.06), 0 1px 3px rgba(24, 39, 30, 0.05);
  --shadow-md: 0 2px 6px rgba(24, 39, 30, 0.07), 0 8px 20px rgba(24, 39, 30, 0.07);
  --shadow-lg: 0 8px 20px rgba(24, 39, 30, 0.10), 0 24px 48px rgba(24, 39, 30, 0.12);
  --ring: 0 0 0 3px rgba(22, 163, 74, 0.30);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1180px;
  --header-h: 64px;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --gutter: 20px;
}

@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- 2. 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'tnum' 0;
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent-600);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.lp-skip:focus { left: 0; }

.lp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 레이아웃 프리미티브 ---------- */
.lp-wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: calc(var(--gutter) + var(--safe-l)) calc(var(--gutter) + var(--safe-r));
}

.lp-section { padding-block: 72px; position: relative; }
@media (min-width: 900px) { .lp-section { padding-block: 112px; } }

.lp-section--tint { background: var(--bg-2); }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  border-radius: var(--radius-full);
  padding: 5px 13px;
  margin-bottom: 18px;
}
.lp-eyebrow--dark {
  color: var(--canvas-accent);
  background: rgba(130, 243, 132, 0.09);
  border-color: var(--canvas-border);
}

.lp-h2 {
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.lp-h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.4; }

.lp-lead {
  margin-top: 14px;
  font-size: clamp(15px, 2.2vw, 17.5px);
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 62ch;
  text-wrap: pretty;
}

.lp-head { max-width: 780px; margin-bottom: 44px; }
.lp-head--center { margin-inline: auto; text-align: center; }
.lp-head--center .lp-lead { margin-inline: auto; }

/* ---------- 4. 버튼 ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
              background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
  background: transparent;
}
.lp-btn:active { transform: translateY(1px); }

.lp-btn--primary {
  background: linear-gradient(135deg, #1fbb59 0%, var(--accent-600) 55%, var(--accent-700) 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 96, 44, 0.24), 0 8px 22px rgba(22, 163, 74, 0.24);
}
.lp-btn--primary:hover {
  box-shadow: 0 2px 4px rgba(13, 96, 44, 0.26), 0 14px 32px rgba(22, 163, 74, 0.34);
  transform: translateY(-1px);
}

.lp-btn--ghost { color: var(--text); border-color: var(--border-strong); background: #fff; }
.lp-btn--ghost:hover { border-color: var(--accent-600); color: var(--accent-700); background: var(--accent-soft); }

.lp-btn--quiet { color: var(--text-muted); }
.lp-btn--quiet:hover { color: var(--accent-700); background: var(--accent-soft); }

.lp-btn--mint {
  background: var(--accent);
  color: #06110c;
  box-shadow: 0 0 0 1px rgba(130, 243, 132, 0.5), 0 10px 34px rgba(130, 243, 132, 0.28);
}
.lp-btn--mint:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(130, 243, 132, 0.7), 0 16px 44px rgba(130, 243, 132, 0.42); }

.lp-btn--outline-dark { color: var(--canvas-text); border-color: rgba(130, 243, 132, 0.34); }
.lp-btn--outline-dark:hover { background: rgba(130, 243, 132, 0.10); border-color: var(--accent); }

.lp-btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.lp-cta-row .lp-btn { flex: 1 1 auto; min-width: 150px; }
@media (min-width: 560px) { .lp-cta-row .lp-btn { flex: 0 0 auto; } }

.lp-cta-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-subtle);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  text-wrap: pretty;
}
.lp-cta-note svg { flex: none; margin-top: 3px; color: var(--accent-600); }

/* ---------- 5. 헤더 ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.lp-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(24, 39, 30, 0.06);
}

.lp-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: clamp(19px, 3.4vw, 23px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
}
.lp-logo svg, .lp-logo img { flex: none; width: 34px; height: 34px; object-fit: contain; }
.lp-logo b { font-weight: 800; color: var(--accent-700); }
.lp-logo span { font-weight: 600; }

.lp-nav { display: none; margin-left: auto; }
.lp-nav ul { display: flex; align-items: center; gap: 4px; }
.lp-nav a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 150ms, background-color 150ms;
}
.lp-nav a:hover { color: var(--accent-700); background: var(--accent-soft); }

.lp-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 980px) { .lp-header-actions { margin-left: 18px; } }

/* 좁은 헤더에서는 언어 토글을 햄버거 패널로 내려 가로 넘침을 막는다 */
.lp-header-actions .lp-lang { display: none; }
@media (min-width: 720px) { .lp-header-actions .lp-lang { display: inline-flex; } }
@media (min-width: 720px) { .lp-mobile-nav .lp-lang-row { display: none; } }

.lp-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
  background: var(--bg-2);
  flex: none;
}
.lp-lang button {
  border: 0;
  background: transparent;
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-subtle);
  cursor: pointer;
  min-height: 30px;
  transition: background-color 150ms, color 150ms;
}
.lp-lang button[aria-pressed='true'] {
  background: #fff;
  color: var(--accent-700);
  box-shadow: var(--shadow-sm);
}

.lp-header-actions .lp-btn { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.lp-login-btn { display: none; }
@media (min-width: 560px) { .lp-login-btn { display: inline-flex; } }
@media (min-width: 980px) { .lp-nav { display: block; } }

.lp-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  color: var(--text);
}
@media (min-width: 980px) { .lp-burger { display: none; } }
.lp-burger svg { width: 20px; height: 20px; }
.lp-burger .lp-burger-x { display: none; }
.lp-burger[aria-expanded='true'] .lp-burger-x { display: block; }
.lp-burger[aria-expanded='true'] .lp-burger-menu { display: none; }

.lp-mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding-block: 12px calc(16px + var(--safe-b));
}
.lp-mobile-nav.is-open { display: block; }
.lp-mobile-nav ul { display: grid; gap: 2px; }
/* nav 안쪽 링크에만 적용한다 — CTA 버튼(.lp-btn)의 flex 정렬을 덮지 않도록 */
.lp-mobile-nav nav a {
  display: block;
  padding: 12px 12px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.lp-mobile-nav nav a:hover { background: var(--accent-soft); color: var(--accent-700); }
.lp-mobile-nav .lp-mobile-cta { display: grid; gap: 8px; margin-top: 12px; }
.lp-mobile-nav .lp-mobile-cta .lp-btn { width: 100%; }
.lp-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
}
@media (min-width: 980px) { .lp-mobile-nav { display: none !important; } }

/* ---------- 6. 히어로 ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px 64px;
  background:
    radial-gradient(1100px 560px at 12% -8%, rgba(130, 243, 132, 0.20) 0%, transparent 62%),
    radial-gradient(900px 500px at 92% 8%, rgba(22, 163, 74, 0.10) 0%, transparent 58%),
    linear-gradient(180deg, #fbfffb 0%, #ffffff 68%);
}
@media (min-width: 900px) { .lp-hero { padding-block: 76px 104px; } }

.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('/static/img/landing-mesh.png');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 980px) {
  .lp-hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 56px; }
}

.lp-hero h1 {
  font-size: clamp(32px, 7.2vw, 60px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-700) 0%, #1fbb59 48%, #34d75f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.74;
  color: var(--text-muted);
  max-width: 54ch;
  text-wrap: pretty;
}

.lp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.lp-hero-tags li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  box-shadow: var(--shadow-sm);
}

.lp-hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 100% at 22% 8%, #123423 0%, transparent 60%),
    linear-gradient(155deg, var(--canvas-bg-2) 0%, var(--canvas-bg) 100%);
  border: 1px solid var(--canvas-border);
  box-shadow: 0 24px 70px rgba(6, 17, 12, 0.28), inset 0 1px 0 rgba(130, 243, 132, 0.10);
  padding: 14px;
  overflow: hidden;
}
.lp-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/landing-hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  pointer-events: none;
}
.lp-hero-visual > svg { position: relative; width: 100%; height: auto; }

.lp-visual-caption {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 8px 2px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--canvas-muted);
}
.lp-visual-caption span { display: inline-flex; align-items: center; gap: 6px; }
.lp-visual-caption i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--canvas-accent);
  box-shadow: 0 0 8px rgba(130, 243, 132, 0.8);
}
.lp-visual-caption i.alt { background: #4ee0c1; box-shadow: 0 0 8px rgba(78, 224, 193, 0.7); }
.lp-visual-caption i.alt2 { background: #7bb0ff; box-shadow: 0 0 8px rgba(123, 176, 255, 0.7); }

/* 히어로 SVG 애니메이션 */
.lp-edge {
  stroke-dasharray: 6 10;
  animation: lp-dash 3.4s linear infinite;
}
@keyframes lp-dash { to { stroke-dashoffset: -64; } }

.lp-node { transform-box: fill-box; transform-origin: center; animation: lp-pulse 3.6s var(--ease-out) infinite; }
@keyframes lp-pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.92); }
  45% { opacity: 1; transform: scale(1.12); }
}

.lp-halo { transform-box: fill-box; transform-origin: center; animation: lp-halo 3.6s var(--ease-out) infinite; }
@keyframes lp-halo {
  0%, 100% { opacity: 0.05; transform: scale(0.7); }
  45% { opacity: 0.34; transform: scale(1.5); }
}

.lp-flow {
  stroke-dasharray: 22 240;
  animation: lp-flow 2.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes lp-flow { from { stroke-dashoffset: 262; } to { stroke-dashoffset: -20; } }

.lp-cell { animation: lp-cell 4.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes lp-cell {
  0%, 100% { opacity: 0.14; }
  50% { opacity: var(--o, 0.9); }
}

.lp-sweep { animation: lp-sweep 4.4s ease-in-out infinite; }
@keyframes lp-sweep {
  0%, 100% { opacity: 0; transform: translateX(0); }
  20% { opacity: 0.55; }
  60% { opacity: 0; transform: translateX(230px); }
}

/* ---------- 7. 숫자 스트립 ---------- */
.lp-stats {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-bottom: 8px;
}
.lp-stats-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px 20px 22px;
}
@media (min-width: 720px) { .lp-stats-card { padding: 34px 32px 30px; } }

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
}
@media (min-width: 720px) { .lp-stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }

.lp-stat { text-align: center; position: relative; min-width: 0; }
@media (min-width: 720px) {
  .lp-stat + .lp-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 12%; bottom: 12%;
    width: 1px;
    background: var(--border);
  }
}
.lp-stat b {
  display: block;
  font-size: clamp(24px, 5.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.lp-stat span {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}
.lp-stat[hidden] { display: none; }

.lp-stats-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--text-subtle);
  text-align: center;
  text-wrap: pretty;
}

/* ---------- 8. 3단계 흐름 ---------- */
/* 좁은 화면에서는 도식을 감추고 아래 3장의 카드만 보여 준다(가로 스크롤 방지) */
.lp-flow-figure { display: none; }
@media (min-width: 860px) {
  .lp-flow-figure {
    display: block;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
  }
}
.lp-flow-figure svg { width: 100%; height: auto; }

.lp-steps {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
@media (min-width: 860px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.lp-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms;
}
.lp-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-soft-2); }
.lp-step::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-600) 100%);
}
.lp-step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-700);
}
.lp-step h3 { margin-top: 8px; }
.lp-step p { margin-top: 9px; font-size: 14.5px; color: var(--text-muted); line-height: 1.68; }
.lp-step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lp-step-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ---------- 9. 기능 그리드 ---------- */
.lp-features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr));
}

.lp-feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms;
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-soft-2); }
.lp-feature::after {
  content: '';
  position: absolute;
  inset: auto -30% -60% auto;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 243, 132, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.lp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid var(--accent-soft-2);
  color: var(--accent-700);
  margin-bottom: 16px;
}
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature h3 { position: relative; }
.lp-feature p { position: relative; margin-top: 9px; font-size: 14.5px; color: var(--text-muted); line-height: 1.68; }
.lp-feature-meta {
  position: relative;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-subtle);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

/* 장식용 배경 레이어. 이미지 파일이 없으면 아무것도 그려지지 않으므로
   카드 레이아웃은 그대로 유지된다(폴백 그라디언트는 카드 자체가 갖는다). */
.lp-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.09;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
}
.lp-feature--f1 .lp-feature-bg { background-image: url('/static/img/feature-simulate.png'); }
.lp-feature--f2 .lp-feature-bg { background-image: url('/static/img/feature-statistics.png'); }
.lp-feature--f4 .lp-feature-bg { background-image: url('/static/img/feature-knowledge.png'); }
.lp-feature--f5 .lp-feature-bg { background-image: url('/static/img/feature-validation.png'); }

/* ---------- 10. 프로토콜 타임라인 ---------- */
.lp-protocol-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 980px) { .lp-protocol-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; } }

.lp-timeline { position: relative; padding-left: 26px; }
.lp-timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-600) 45%, var(--border) 100%);
  border-radius: 2px;
}
.lp-tl-item { position: relative; padding-bottom: 26px; }
.lp-tl-item:last-child { padding-bottom: 0; }
.lp-tl-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-600);
  box-shadow: 0 0 0 4px rgba(130, 243, 132, 0.18);
}
.lp-tl-when {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.lp-tl-item h3 { margin-top: 4px; font-size: 16.5px; }
.lp-tl-item p { margin-top: 5px; font-size: 14.5px; color: var(--text-muted); line-height: 1.66; }

.lp-protocol-card {
  background: linear-gradient(160deg, var(--canvas-bg-2) 0%, var(--canvas-bg) 100%);
  border: 1px solid var(--canvas-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: 0 20px 56px rgba(6, 17, 12, 0.22);
  color: var(--canvas-text);
  overflow: hidden;
}
@media (min-width: 560px) { .lp-protocol-card { padding: 26px 26px; } }
/* 넓은 화면에서는 카드를 타임라인 높이에 맞춰 늘리고 항목 간격을 고르게 편다
   (오른쪽에 큰 빈 공간이 생기지 않도록) */
@media (min-width: 980px) {
  .lp-protocol-grid { align-items: stretch; }
  .lp-protocol-card { display: flex; flex-direction: column; padding: 30px; }
  .lp-protocol-card .lp-kv { flex: 1 1 auto; align-content: space-between; }
  .lp-protocol-card .lp-gate { margin-top: 22px; }
}
.lp-protocol-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--canvas-border);
}
.lp-protocol-card header h3 { font-size: 15px; letter-spacing: 0.01em; }
.lp-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--canvas-accent);
  background: rgba(130, 243, 132, 0.10);
  border: 1px solid var(--canvas-border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}
.lp-mini-chart { margin: 0 0 18px; }
.lp-mini-chart svg { width: 100%; height: auto; }
.lp-mini-chart figcaption {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--canvas-muted);
}

.lp-kv { display: grid; gap: 10px; }
.lp-kv > div {
  display: grid;
  grid-template-columns: minmax(84px, 34%) minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(130, 243, 132, 0.14);
}
.lp-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-kv dt { font-size: 12.5px; font-weight: 600; color: var(--canvas-muted); }
.lp-kv dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.lp-kv dd code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--canvas-accent);
}
.lp-gate {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(130, 243, 132, 0.08);
  border: 1px solid var(--canvas-border);
  font-size: 13px;
  line-height: 1.62;
  color: var(--canvas-text);
}
.lp-gate b { color: var(--canvas-accent); }

/* ---------- 11. 신뢰성 ---------- */
.lp-trust { background: var(--canvas-bg); color: var(--canvas-text); position: relative; overflow: hidden; }
.lp-trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 460px at 10% 0%, rgba(130, 243, 132, 0.16) 0%, transparent 60%),
    radial-gradient(700px 420px at 92% 100%, rgba(78, 224, 193, 0.10) 0%, transparent 58%);
  pointer-events: none;
}
.lp-trust > * { position: relative; }
.lp-trust .lp-h2 { color: #fff; }
.lp-trust .lp-lead { color: var(--canvas-muted); }

.lp-cols {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.lp-col {
  border-radius: var(--radius-lg);
  border: 1px solid var(--canvas-border);
  background: rgba(255, 255, 255, 0.028);
  padding: 24px 22px;
}
.lp-col--no { border-color: rgba(255, 255, 255, 0.10); }
.lp-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lp-col-head svg { width: 20px; height: 20px; flex: none; }
.lp-col--yes .lp-col-head { color: var(--canvas-accent); }
.lp-col--no .lp-col-head { color: #ff9d9d; }

.lp-list { display: grid; gap: 14px; }
.lp-list li { display: flex; gap: 11px; align-items: flex-start; }
.lp-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.lp-col--yes .lp-list svg { color: var(--canvas-accent); }
.lp-col--no .lp-list svg { color: #ff9d9d; }
.lp-list b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.lp-list p { margin-top: 3px; font-size: 13.5px; color: var(--canvas-muted); line-height: 1.62; }

.lp-disclosure {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--canvas-border);
  background: rgba(130, 243, 132, 0.055);
  padding: 22px 22px;
  display: grid;
  gap: 14px;
}
@media (min-width: 800px) { .lp-disclosure { grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; } }
.lp-disclosure-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(130, 243, 132, 0.12);
  border: 1px solid var(--canvas-border);
  color: var(--canvas-accent);
  flex: none;
}
.lp-disclosure h3 { font-size: 15.5px; color: #fff; }
.lp-disclosure p { margin-top: 8px; font-size: 14px; color: var(--canvas-muted); line-height: 1.72; }

/* ---------- 12. 참고문헌 ---------- */
.lp-refs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.lp-ref {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-600);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.lp-ref:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lp-ref-use {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.lp-ref h3 { margin-top: 7px; font-size: 15px; line-height: 1.45; }
.lp-ref cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-subtle);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

/* ---------- 13. 최종 CTA ---------- */
.lp-final {
  background: var(--canvas-bg);
  color: var(--canvas-text);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.lp-final::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: min(1000px, 150%); height: min(1000px, 150%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(130, 243, 132, 0.22) 0%, rgba(130, 243, 132, 0.05) 42%, transparent 68%);
  pointer-events: none;
}
.lp-final > * { position: relative; }
.lp-final .lp-h2 { color: #fff; }
.lp-final .lp-lead { color: var(--canvas-muted); margin-inline: auto; }
.lp-final .lp-cta-row { justify-content: center; }
.lp-final .lp-cta-note { justify-content: center; color: var(--canvas-muted); }
.lp-final .lp-cta-note svg { color: var(--canvas-accent); }

/* ---------- 14. 푸터 ---------- */
.lp-footer {
  background: #04100a;
  color: var(--canvas-muted);
  padding-block: 52px calc(34px + var(--safe-b));
  border-top: 1px solid rgba(130, 243, 132, 0.12);
}
.lp-footer-top { display: grid; gap: 32px; }
@media (min-width: 820px) { .lp-footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; } }

.lp-footer .lp-logo { color: #fff; font-size: 21px; }
.lp-footer .lp-logo b { color: var(--canvas-accent); }
.lp-footer-about { margin-top: 14px; font-size: 13.5px; line-height: 1.72; max-width: 42ch; }

.lp-footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(230, 247, 234, 0.55);
  margin-bottom: 12px;
}
.lp-footer-col ul { display: grid; gap: 9px; }
.lp-footer-col a { font-size: 14px; color: var(--canvas-muted); transition: color 150ms; }
.lp-footer-col a:hover { color: var(--canvas-accent); }

.lp-footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(130, 243, 132, 0.10);
  display: grid;
  gap: 14px;
}
@media (min-width: 820px) { .lp-footer-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; } }
.lp-disclaimer { font-size: 12.5px; line-height: 1.7; color: rgba(143, 174, 155, 0.9); max-width: 78ch; text-wrap: pretty; }
.lp-version {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(143, 174, 155, 0.75);
}
.lp-version span {
  border: 1px solid rgba(130, 243, 132, 0.16);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  white-space: nowrap;
}

/* ---------- 15. 스크롤 리빌 ---------- */
/* 기본은 '보임'. JS 가 켜진 경우에만 숨겼다가 뷰포트 진입 시 드러낸다
   (noscript 환경에서도 내용이 그대로 보이고, 초기 깜빡임이 없다) */
.lp-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.lp-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 16. 모션 축소 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .lp-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .lp-cell { opacity: var(--o, 0.6) !important; }
  .lp-node, .lp-halo { opacity: 0.9 !important; }
  .lp-sweep { display: none; }
}

/* ---------- 17. 초소형 화면 보정 ---------- */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .lp-logo { font-size: 17px; gap: 8px; }
  .lp-logo svg, .lp-logo img { width: 28px; height: 28px; }
  .lp-header-actions .lp-btn { padding: 8px 12px; font-size: 13.5px; }
  .lp-lang button { padding: 5px 8px; }
  .lp-stats-grid { gap: 18px 10px; }
}

/* 한국어 줄바꿈 — 문장이 단어 중간에서 끊기지 않게 */
html, body { word-break: keep-all; overflow-wrap: break-word; }
button, input, select, textarea { word-break: keep-all; }
.mono, code, pre, kbd, a[href^='http'], [class*='cite'] {
  word-break: normal;
  overflow-wrap: anywhere;
}
