/* ============================================================
   TradeXAI — 공개 홈페이지(랜딩) 스타일
   · 외부 의존 0 (CDN/웹폰트/이미지 없음)
   · 다크 기본 + 라이트 병행 (:root[data-theme])
   · 색은 앱 toss-theme 토큰과 값 공유 (블루 #3182F6)
   · 상승 = 빨강 / 하락 = 파랑 (국내 관례)
   ============================================================ */

/* ── 1. 토큰 ─────────────────────────────────────────────── */
:root {
  --bg: #0B0D14;
  --bg-2: #11141E;
  --bg-3: #161A26;
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .16);

  --text: #E8EAED;
  --bright: #FFFFFF;
  --muted: #9BA1AE;
  --faint: #6E7686;

  --accent: #3182F6;
  --accent-h: #4B96F7;
  --accent-2: #7C5CFF;
  --up: #F04452;
  --down: #3182F6;
  --warn: #FBBF24;

  --grid-line: rgba(255, 255, 255, .035);
  --glow: 0 0 0 1px rgba(49, 130, 246, .18), 0 30px 90px -30px rgba(49, 130, 246, .55);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -18px rgba(0, 0, 0, .8);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .45), 0 40px 80px -40px rgba(0, 0, 0, .95);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sp-1: 8px; --sp-2: 12px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;

  --sec-y: clamp(64px, 8.5vw, 120px);
  --wrap: 1200px;
  --nav-h: 64px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", system-ui, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "D2Coding", Consolas, "Courier New", monospace;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F6F7F9;
  --bg-2: #FFFFFF;
  --bg-3: #EEF0F4;
  --card: #FFFFFF;
  --card-2: #F2F4F7;
  --border: #E4E7EC;
  --border-2: #D0D5DD;

  --text: #12151C;
  --bright: #000000;
  --muted: #5A6472;
  --faint: #8792A2;

  --accent: #2563EB;
  --accent-h: #1D4ED8;
  --accent-2: #6D3BFF;
  --up: #E02D2D;
  --down: #2563EB;
  --warn: #B45309;

  --grid-line: rgba(16, 24, 40, .045);
  --glow: 0 0 0 1px rgba(37, 99, 235, .12), 0 30px 80px -34px rgba(37, 99, 235, .4);
  --sh-1: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -16px rgba(16, 24, 40, .25);
  --sh-2: 0 2px 6px rgba(16, 24, 40, .08), 0 30px 60px -30px rgba(16, 24, 40, .3);
  color-scheme: light;
}

/* 기본 = 다크(제품 톤). 라이트는 사용자가 토글로 선택했을 때만 적용한다.
   시스템 prefers-color-scheme 자동 적용은 하지 않는다 — 앱·관리자 콘솔과 같은 다크 우선 톤 유지. */

/* ── 2. 기본 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* 스티키 헤더에 가려지지 않게 앵커 여백 확보 */
[id] { scroll-margin-top: 84px; }

h1, h2, h3, h4 { margin: 0; color: var(--bright); line-height: 1.18; letter-spacing: -.022em; font-weight: 750; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
sup { font-size: .6em; vertical-align: super; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.lp-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700;
  transition: top .15s ease;
}
.lp-skip:focus { top: 12px; }

.lp-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 3. 레이아웃 유틸 ────────────────────────────────────── */
.lp-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.lp-sec { padding-block: var(--sec-y); position: relative; }
.lp-sec--alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.lp-head { max-width: 720px; margin-bottom: var(--sp-6); }
.lp-head--center { margin-inline: auto; text-align: center; }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--accent);
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.lp-eyebrow .lp-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.lp-sec h2 { font-size: clamp(1.5rem, 3.1vw, 2.15rem); }
.lp-sec h2 + .lp-lead { margin-top: var(--sp-3); }
.lp-h2-sub { display: block; color: var(--faint); font-size: .62em; font-weight: 650; letter-spacing: 0; margin-bottom: 6px; }

.lp-lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.72; }
.lp-small { font-size: 13px; color: var(--muted); line-height: 1.6; }
.lp-micro { font-size: 12.5px; color: var(--faint); }

.lp-grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 62%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 버튼 */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .14s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.lp-btn svg { width: 17px; height: 17px; }
.lp-btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(49, 130, 246, .8);
}
.lp-btn--primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.lp-btn--ghost { border-color: var(--border-2); color: var(--text); background: var(--card); }
.lp-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.lp-btn--wide { width: 100%; }
.lp-btn[disabled], .lp-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.lp-link { color: var(--accent); font-weight: 650; }
.lp-link:hover { text-decoration: underline; }

/* 카드·스켈레톤 */
.lp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.lp-skel {
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%);
  background-size: 220% 100%;
  animation: lp-shim 1.2s linear infinite;
}
@keyframes lp-shim { from { background-position: 200% 0; } to { background-position: -20% 0; } }

/* ── 4. 배경 레이어 ──────────────────────────────────────── */
.lp-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.lp-bg::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90vh;
  background:
    radial-gradient(760px 380px at 18% 4%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 68%),
    radial-gradient(620px 340px at 84% 12%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  filter: blur(10px);
}
.lp-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1000px 520px at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(1000px 520px at 50% 0%, #000 20%, transparent 80%);
}

/* ── 5. 헤더 ─────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .18s ease, border-color .18s ease, background .18s ease;
}
.lp-nav.is-scrolled {
  height: 56px;
  --nav-h: 56px;
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.lp-nav .lp-wrap { display: flex; align-items: center; gap: var(--sp-4); width: min(var(--wrap), 100% - 40px); }

.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.lp-brand img { width: 28px; height: 28px; border-radius: 8px; }

.lp-nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lp-nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.lp-nav-links a:hover { color: var(--text); background: var(--card); }

.lp-nav-act { display: flex; align-items: center; gap: 8px; }
.lp-icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted);
}
.lp-icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.lp-icon-btn svg { width: 18px; height: 18px; }
.lp-nav .lp-btn { min-height: 40px; padding-inline: 16px; font-size: 14px; }

/* 테마 토글 아이콘 — 전환 목표 상태를 보여준다(다크에선 해, 라이트에선 달) */
:root:not([data-theme="light"]) .lp-theme-dark { display: none; }
:root[data-theme="light"] .lp-theme-light { display: none; }

.lp-burger { display: none; }

/* 모바일 메뉴 */
.lp-sheet {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: var(--sp-3) 0 var(--sp-4);
}
.lp-sheet.is-open { display: block; }
.lp-sheet a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--border); }
.lp-sheet .lp-btn { margin-top: var(--sp-3); }

/* ── 6. 공지 티커 ────────────────────────────────────────── */
.lp-ticker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.lp-ticker .lp-tag {
  flex: 0 0 auto;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.lp-ticker b { color: var(--text); font-weight: 650; }
.lp-ticker .lp-ticker-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 7. 히어로 ───────────────────────────────────────────── */
.lp-hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: var(--sec-y); }
.lp-hero .lp-grid2 {
  display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.lp-hero h1 { font-size: clamp(2.15rem, 5.4vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-top: var(--sp-4); }
.lp-hero .lp-lead { margin-top: var(--sp-4); max-width: 34em; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }
.lp-hero .lp-micro { margin-top: var(--sp-3); }
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--sp-4); font-size: 13px; color: var(--muted); }
.lp-badges li { display: flex; align-items: center; gap: 6px; }
.lp-badges svg { width: 15px; height: 15px; color: var(--accent); }

/* 제품 목업 */
.lp-mock-wrap { position: relative; }
.lp-mock {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%);
  box-shadow: var(--sh-2), var(--glow);
}
.lp-mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-3) 70%, transparent);
}
.lp-mock-dots { display: flex; gap: 6px; }
.lp-mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.lp-mock-title { font-size: 12px; color: var(--faint); font-weight: 650; letter-spacing: .02em; }
.lp-mock-pill {
  margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up);
}
.lp-mock-body { padding: 14px; display: grid; gap: 12px; }

.lp-mock-idx { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-mock-kv {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--card); padding: 9px 11px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.lp-mock-kv span { font-size: 11.5px; color: var(--faint); font-weight: 650; }
.lp-mock-kv b { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-mock-kv em { font-style: normal; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-up { color: var(--up); }
.lp-down { color: var(--down); }

.lp-mock-chart {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
  padding: 8px 4px 4px; position: relative; overflow: hidden;
}
.lp-mock-chart svg { width: 100%; height: 132px; }
.lp-mock-ma { display: flex; gap: 12px; padding: 2px 8px 6px; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.lp-mock-ma i { font-style: normal; color: var(--accent); font-weight: 700; }

.lp-mock-rows { display: grid; gap: 6px; }
.lp-mock-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 8px 11px; border-radius: var(--r-sm);
  background: var(--card); border: 1px solid var(--border);
  font-size: 12.5px;
}
.lp-mock-row .nm { font-weight: 650; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mock-row .cd { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.lp-mock-row .rt { font-variant-numeric: tabular-nums; font-weight: 700; }

.lp-mock-float {
  position: absolute; right: -22px; bottom: 34px; width: 208px;
  padding: 12px 14px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-2); box-shadow: var(--sh-2);
  display: grid; gap: 6px;
}
.lp-mock-float .k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--accent); }
.lp-mock-float .k svg { width: 14px; height: 14px; }
.lp-mock-float p { font-size: 12.5px; color: var(--text); font-weight: 650; line-height: 1.45; }
.lp-mock-float .m { font-size: 11px; color: var(--faint); }

/* ── 8. 신뢰 스트립 ──────────────────────────────────────── */
.lp-stats {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
}
.lp-stats ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.lp-stats li { background: var(--bg-2); padding: var(--sp-5) var(--sp-3); text-align: center; }
.lp-stats b { display: block; font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; color: var(--bright); font-variant-numeric: tabular-nums; }
.lp-stats b em { font-style: normal; color: var(--accent); }
.lp-stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ── 9. 라이브 티저 ──────────────────────────────────────── */
.lp-live { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.lp-live .lp-live-side h3 { font-size: 1.15rem; margin-top: var(--sp-3); }
.lp-live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--up); letter-spacing: .04em; }
.lp-live-tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
@media (prefers-reduced-motion: no-preference) { .lp-live-tag i { animation: lp-pulse 1.8s ease-in-out infinite; } }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.lp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-tbl caption { text-align: left; font-size: 12px; color: var(--faint); padding-bottom: 8px; }
.lp-tbl th, .lp-tbl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.lp-tbl th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--card); }
.lp-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-family: var(--mono); font-size: 13.5px; }
.lp-tbl tbody tr:hover td { background: var(--card); }
.lp-tbl .nm b { font-weight: 700; }
.lp-tbl .nm span { color: var(--faint); font-family: var(--mono); font-size: 11.5px; margin-left: 6px; }
.lp-tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); }
.lp-rank { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; font-size: 11.5px; font-weight: 800; background: var(--card-2); color: var(--muted); }
.lp-rank.top { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }

/* ── 10. 벤토 그리드 ─────────────────────────────────────── */
.lp-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-bento > * { padding: var(--sp-4); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.lp-bento .lp-w2 { grid-column: span 2; }
.lp-bento .lp-h2 { grid-row: span 2; }
.lp-ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.lp-ic svg { width: 19px; height: 19px; }
.lp-bento h3 { font-size: 1rem; }
.lp-bento p { font-size: 13.5px; color: var(--muted); line-height: 1.62; }
.lp-bento .lp-w2 p { max-width: 46ch; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.lp-tag-chip {
  font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px;
  background: var(--card-2); color: var(--muted); border: 1px solid var(--border);
}
.lp-bento .lp-spark { position: absolute; right: -6px; top: -6px; width: 128px; opacity: .18; pointer-events: none; }

/* ── 11. 흐름 ────────────────────────────────────────────── */
.lp-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: f; }
.lp-flow li { position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) 68px; }
.lp-flow li::before {
  counter-increment: f; content: "0" counter(f);
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--accent);
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.lp-flow h3 { font-size: .98rem; }
.lp-flow p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.lp-flow .lp-time { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--faint); }
.lp-flow .lp-time svg { width: 13px; height: 13px; }

/* ── 12. 안전 ────────────────────────────────────────────── */
.lp-safe { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lp-checks { display: grid; gap: 10px; }
.lp-checks li { display: flex; gap: 12px; padding: var(--sp-3) var(--sp-4); }
.lp-checks svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.lp-checks b { display: block; font-size: .95rem; color: var(--bright); font-weight: 700; }
.lp-checks p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.lp-disclaimer {
  margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md); border: 1px dashed var(--border-2);
  font-size: 12.5px; color: var(--muted); line-height: 1.7;
}
.lp-disclaimer b { color: var(--warn); }

/* ── 13. 요금 ────────────────────────────────────────────── */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.lp-plan { padding: var(--sp-5) var(--sp-4); display: flex; flex-direction: column; gap: 12px; position: relative; }
.lp-plan--hot { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--sh-1), var(--glow); }
.lp-plan-hot {
  position: absolute; top: -11px; left: var(--sp-4);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff;
}
.lp-plan .nm { font-size: 1rem; font-weight: 750; color: var(--bright); }
.lp-plan .amt { display: flex; align-items: baseline; gap: 6px; }
.lp-plan .amt b { font-size: clamp(1.6rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-plan .amt span { font-size: 13px; color: var(--muted); }
.lp-plan .per { font-size: 12.5px; color: var(--faint); }
.lp-plan ul { display: grid; gap: 8px; margin-top: 4px; }
.lp-plan li { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); }
.lp-plan li svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan .save { font-size: 11.5px; font-weight: 750; color: var(--up); }

.lp-plan-note { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: var(--sp-4); font-size: 13px; color: var(--muted); }
.lp-plan-note li { display: flex; align-items: center; gap: 7px; }
.lp-plan-note svg { width: 15px; height: 15px; color: var(--accent); }

/* ── 14. 다운로드 ────────────────────────────────────────── */
.lp-dl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.lp-dl-card { padding: var(--sp-5) var(--sp-4); display: grid; gap: var(--sp-3); }
.lp-dl-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 13.5px; }
.lp-dl-card dt { color: var(--faint); }
.lp-dl-card dd { margin: 0; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.lp-dl-note { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.lp-spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lp-spec th, .lp-spec td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.lp-spec th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--card); }
.lp-spec td:first-child { color: var(--muted); }
.lp-steps { display: grid; gap: 10px; margin-top: var(--sp-3); }
.lp-steps li { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.lp-steps i {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--card-2); color: var(--text); border: 1px solid var(--border);
}

/* ── 15. 공지 ────────────────────────────────────────────── */
.lp-news { display: grid; gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.lp-news li { background: var(--bg-2); padding: 14px var(--sp-4); display: flex; align-items: center; gap: 12px; }
.lp-news .dt { margin-left: auto; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.lp-news .tt { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-news .im { flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--up) 15%, transparent); color: var(--up); }

/* ── 16. FAQ ─────────────────────────────────────────────── */
.lp-faq { display: grid; gap: 10px; max-width: 880px; margin-inline: auto; }
.lp-faq details { padding: 0 var(--sp-4); }
.lp-faq summary {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 15px 0; font-weight: 700; font-size: .98rem; color: var(--bright);
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary svg { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; flex: 0 0 auto; }
.lp-faq details[open] summary svg { transform: rotate(180deg); color: var(--accent); }
.lp-faq .a { padding: 0 0 16px; font-size: 13.8px; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 14px; }
.lp-faq .a b { color: var(--text); }

/* ── 17. CTA 밴드 + 푸터 ─────────────────────────────────── */
.lp-band {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background:
    radial-gradient(620px 260px at 12% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(520px 240px at 92% 100%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 72%),
    var(--bg-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
}
.lp-band h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
.lp-band p { color: var(--muted); margin-top: 8px; max-width: 46em; }
.lp-band .lp-cta { margin-top: 0; margin-left: auto; }

.lp-foot { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: var(--sp-6) var(--sp-5); margin-top: var(--sp-7); }
.lp-foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-5); }
.lp-foot h4 { font-size: 12.5px; color: var(--muted); font-weight: 750; letter-spacing: .03em; margin-bottom: 12px; }
.lp-foot li + li { margin-top: 9px; }
.lp-foot a { font-size: 13.5px; color: var(--muted); }
.lp-foot a:hover { color: var(--accent); }
.lp-foot .lp-brand { margin-bottom: 12px; }
.lp-foot-bot {
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  font-size: 12.5px; color: var(--faint);
}
.lp-foot-bot .lp-disc { max-width: 62ch; line-height: 1.65; }

/* ── 18. 리빌 모션 ───────────────────────────────────────────
   html.lp-js 일 때만 숨긴다 → JS 차단/no-JS 환경에서도 콘텐츠가 그대로 보인다.
   (head 인라인 스크립트가 렌더 전에 lp-js 를 부여한다) */
@media (prefers-reduced-motion: no-preference) {
  html.lp-js .lp-rev { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22, .7, .3, 1); transition-delay: var(--d, 0ms); }
  html.lp-js .lp-rev.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.lp-js .lp-rev { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── 19. 반응형 ──────────────────────────────────────────── */
@media (max-width: 1079px) {
  .lp-hero .lp-grid2 { grid-template-columns: 1fr; }
  .lp-mock-wrap { order: 2; max-width: 640px; }
  .lp-mock-float { right: 8px; }
  .lp-bento { grid-template-columns: repeat(2, 1fr); }
  .lp-bento .lp-h2 { grid-row: span 1; }
  .lp-safe { grid-template-columns: 1fr; }
  .lp-plans { grid-template-columns: repeat(2, 1fr); }
  .lp-dl { grid-template-columns: 1fr; }
  .lp-band .lp-cta { margin-left: 0; }
  .lp-foot-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 819px) {
  .lp-wrap { width: min(var(--wrap), 100% - 32px); }
  .lp-nav-links { display: none; }
  .lp-burger { display: grid; }
  .lp-nav-act .lp-btn { display: none; }
  .lp-live { grid-template-columns: 1fr; }
  .lp-flow { grid-template-columns: 1fr; }
  .lp-stats ul { grid-template-columns: repeat(2, 1fr); }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-bento .lp-w2 { grid-column: span 1; }
  .lp-mock-float { display: none; }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lp-cta .lp-btn { width: 100%; }
  .lp-news li { flex-wrap: wrap; }
  .lp-news .dt { margin-left: 0; }
  .lp-foot-top { grid-template-columns: 1fr; gap: var(--sp-4); }
}

@media (max-width: 479px) {
  .lp-tbl th:nth-child(1), .lp-tbl td:nth-child(1) { display: none; }
  .lp-mock-idx { grid-template-columns: 1fr; }
  .lp-stats li { padding: var(--sp-4) var(--sp-2); }
}

/* ── 20. 인쇄 ────────────────────────────────────────────── */
@media print {
  .lp-nav, .lp-sheet, .lp-ticker, .lp-bg, .lp-band, .lp-mock-float { display: none !important; }
  body { background: #fff; color: #000; }
  .lp-rev { opacity: 1 !important; transform: none !important; }
}

/* ── 21. 법적 문서 (약관·개인정보·환불) ──────────────────── */
.doc-wrap { width: min(880px, 100% - 40px); margin-inline: auto; }
.doc { padding-block: clamp(28px, 4.5vw, 52px) clamp(48px, 7vw, 96px); }
.doc-head { border-bottom: 1px solid var(--border); padding-bottom: var(--sp-4); }
.doc-head h1 { font-size: clamp(1.45rem, 3.1vw, 2rem); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: var(--sp-3); font-size: 12.5px; color: var(--faint); }
.doc-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 32%, transparent);
}
.doc-toc {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--border);
}
.doc-toc a { font-size: 12.5px; color: var(--muted); padding: 3px 8px; border-radius: 6px; }
.doc-toc a:hover { color: var(--accent); background: var(--card-2); }

.doc h2 { font-size: 1.02rem; margin: var(--sp-6) 0 10px; }
.doc h2:first-of-type { margin-top: var(--sp-5); }
.doc h3 { font-size: .95rem; margin: var(--sp-4) 0 6px; color: var(--text); }
.doc p, .doc li { font-size: 14px; line-height: 1.85; color: var(--muted); }
.doc p + p, .doc p + ol, .doc p + ul { margin-top: 10px; }
.doc ol, .doc ul { margin: 8px 0 0; padding-left: 20px; }
.doc ol { list-style: decimal; }
.doc ul { list-style: disc; }
.doc li + li { margin-top: 5px; }
.doc b, .doc strong { color: var(--text); font-weight: 700; }
.doc a { color: var(--accent); }
.doc a:hover { text-decoration: underline; }
.doc code { font-family: var(--mono); font-size: 12.5px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.7; }
.doc th { background: var(--card); color: var(--muted); font-weight: 700; white-space: nowrap; }
.doc td { color: var(--muted); }
.doc-note {
  margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md); border: 1px dashed var(--border-2);
  font-size: 12.5px; color: var(--muted); line-height: 1.75;
}
.doc-note b { color: var(--warn); }
.doc-end { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--border); font-size: 12.5px; color: var(--faint); }
.doc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }

/* ── 22. 히어로 실사진 슬롯 (assets/shot-workspace.png 존재 시 자동 사용) ── */
.lp-shot { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-2), var(--glow); }

/* ── 23. 문의 폼 ────────────────────────────────────────── */
.lp-contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.lp-form { padding: var(--sp-5) var(--sp-4); display: grid; gap: 12px; }
.lp-field { display: grid; gap: 6px; }
.lp-field > label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.lp-field .req { color: var(--up); }
.lp-in, .lp-ta, .lp-sel {
  width: 100%; padding: 11px 13px; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font: inherit; font-size: 14px;
}
.lp-in::placeholder, .lp-ta::placeholder { color: var(--faint); }
.lp-in:focus, .lp-ta:focus, .lp-sel:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.lp-ta { min-height: 132px; resize: vertical; }
.lp-grid2f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.lp-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-msg { font-size: 13px; line-height: 1.65; padding: 10px 13px; border-radius: var(--r-sm); display: none; }
.lp-form-msg.ok { display: block; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.lp-form-msg.err { display: block; background: color-mix(in srgb, var(--up) 14%, transparent); color: var(--up); }
.lp-form .lp-btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.lp-contact-info { display: grid; gap: 10px; margin-top: var(--sp-4); }
.lp-contact-info li { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.lp-contact-info svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--accent); margin-top: 3px; }

@media (max-width: 819px) {
  .lp-contact { grid-template-columns: 1fr; }
  .lp-grid2f { grid-template-columns: 1fr; }
  .doc-wrap { width: min(880px, 100% - 32px); }
  .doc-toc { padding: var(--sp-2) var(--sp-3); }
}
