.lp {
  --ground: #F4F3EF;
  --surface: #FFFFFF;
  --ink: #1A1836;
  --text: #2B2940;
  --muted: #5E5C6E;
  --rule: #D9D6CE;
  --rule-ink: #3A3860;
  --line: #6C4CF1;
  --line-hover: #5A3DE0;
  --line-tint: #EEE9FF;
  --branch: #A7A4B2;
  --lemon: #FFE24A;
  --on-ink: #FFFFFF;
  --on-ink-muted: #C7C4DA;
  --ok-bg: #E6F4EA; --ok-fg: #17663A; --ok-bd: #BFE3CB;
  --skip-bg: #EEF0F3; --skip-fg: #4B5563; --skip-bd: #D5D9E0;
  --hold-bg: #FFF4D6; --hold-fg: #7A4F00; --hold-bd: #EDD08A;
  --err-fg: #B42318;
  --font-ko: "Gothic A1", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-sign: "Barlow Semi Condensed", "Gothic A1", sans-serif;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(26, 24, 54, .06), 0 10px 28px -12px rgba(26, 24, 54, .22);
  --wrap: 1240px;
  --gutter: 40px;
  --dot: 30px;
  --line-w: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 760px) {
  .lp { --gutter: 16px; --dot: 26px; --line-w: 10px; }
}

html:has(.lp) { scrollbar-color: #A9A4C4 var(--ground); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.lp) { scroll-behavior: auto; } }
.lp {
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
/* 어절 단위 줄바꿈은 한국어에만 쓴다. 일본어에 keep-all을 주면 문장 전체가 한 덩어리가 되어 넘친다. */
.lp:lang(ko) { word-break: keep-all; }
.lp:lang(ja) { --font-ko: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; }
/* application.css가 전역 ::selection을 !important로 지정하므로 같은 강도로 덮는다. */
.lp ::selection { background: var(--lemon) !important; color: var(--ink) !important; }
html:has(.lp)::-webkit-scrollbar { width: 12px; height: 12px; }
html:has(.lp)::-webkit-scrollbar-track { background: var(--ground); }
html:has(.lp)::-webkit-scrollbar-thumb { background: #A9A4C4; border-radius: 6px; border: 3px solid var(--ground); }
:where(.lp) a { color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
:where(.lp) a:hover { color: var(--line-hover); }
:where(.lp) :focus-visible { outline: 3px solid var(--line); outline-offset: 3px; border-radius: 4px; }
.lp-on-ink :focus-visible { outline-color: var(--lemon); }
:where(.lp) h1, :where(.lp) h2, :where(.lp) h3, :where(.lp) h4, :where(.lp) p { margin: 0; }
:where(.lp) h1, :where(.lp) h2, :where(.lp) h3, :where(.lp) h4 { color: var(--ink); text-wrap: balance; letter-spacing: -0.02em; }
:where(.lp) img, :where(.lp) svg { display: block; }
.lp-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.lp-num { font-family: var(--font-sign); font-variant-numeric: tabular-nums; }
.lp-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- logo (G4 wordmark + two-bar mark) ---------- */
.lp-logo-word { display: block; fill: currentColor; color: var(--ink); }
.lp-logo-mark { display: block; }
.lp-h2-word { display: inline-block; height: 0.8em; width: 4.22em; vertical-align: -0.04em; margin: 0 0.06em 0 0.3em; color: var(--on-ink); fill: currentColor; }

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 0 18px; border-radius: 4px;
  font: 700 15px/1 var(--font-ko); text-decoration: none; letter-spacing: -0.01em;
  background: var(--line); color: var(--on-ink);
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.lp-btn:hover { background: var(--line-hover); color: var(--on-ink); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn .lp-icon { transition: transform .25s var(--ease-out); }
.lp-btn:hover .lp-icon { transform: translateX(4px); }
.lp-btn--sign { min-height: 60px; padding: 0 8px 0 26px; font-size: 18px; gap: 18px; }
.lp-btn--sign .lp-btn__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-left: 1px solid rgba(255, 255, 255, .35); }
/* 출시 전: 가입 버튼 자리의 상태 표지. 누를 수 없으므로 버튼처럼 채우지 않고, 노선 신호처럼 레몬 점을 둔다. */
.lp-soon {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 24px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px;
  font: 700 18px/1 var(--font-ko); letter-spacing: -0.01em; color: var(--on-ink); cursor: default;
}
.lp-soon__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 4px rgba(255, 226, 74, .18); animation: lp-soon-blink 2.4s ease-in-out infinite; }
@keyframes lp-soon-blink { 50% { opacity: .55; } }
.lp-link-quiet { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.lp-link-quiet:hover { color: var(--line); }

/* ---------- header ---------- */
.lp-site-header { background: var(--surface); border-bottom: 1px solid var(--rule); }
.lp-site-header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.lp-brand > .lp-logo-mark { width: 30px; height: 30px; }
.lp-brand > .lp-logo-word { width: 122px; height: 23px; }
.lp-site-nav { display: flex; align-items: center; gap: 6px; }
.lp-lang { display: flex; align-items: center; margin-right: 8px; }
.lp-lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.lp-lang a[aria-current="page"] { color: var(--ink); font-weight: 800; }
.lp-lang a:hover { color: var(--ink); }
.lp-lang .lp-short { display: none; }

/* ---------- hero: station sign ---------- */
.lp-hero { padding-top: 32px; overflow-x: clip; }
.lp-sign {
  background: var(--ink); color: var(--on-ink);
  border-radius: var(--radius);
  box-shadow: inset 0 10px 0 var(--line), var(--shadow);
}
.lp-sign--hero { padding: 50px 52px 36px; }
.lp-sign__main { display: flex; align-items: flex-start; gap: 24px; }
.lp-line-badge { flex: none; display: block; width: 64px; height: 64px; margin-top: 2px; }
.lp-sign__title { color: var(--on-ink); font-weight: 800; font-size: clamp(27px, 4vw, 56px); line-height: 1.18; letter-spacing: -0.03em; }
.lp-sign__title span { display: block; }
.lp-sign__en { margin-top: 10px; font: 500 20px/1.3 var(--font-sign); color: var(--on-ink-muted); letter-spacing: .01em; }
.lp-sign__foot {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start;
}
.lp-sign__desc { color: #E4E2F0; font-size: 18px; line-height: 1.7; max-width: 640px; }
.lp-sign__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-sign__note { font-size: 14px; line-height: 1.6; color: var(--on-ink-muted); max-width: 360px; }

/* ---------- hero: route map ---------- */
.lp-route { position: relative; padding: 52px 0 40px; }
.lp-route__line { list-style: none; margin: 0; padding: 0 0 200px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; position: relative; }
.lp-route__line::before {
  content: ""; position: absolute; z-index: 0;
  left: -100vw; right: calc(100% / 14);
  bottom: calc(200px + var(--dot) / 2 - var(--line-w) / 2);
  height: var(--line-w); background: var(--line); border-radius: 0 6px 6px 0;
}
.lp-station { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.lp-station__code {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; margin-bottom: 6px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--surface);
  font: 700 13px/1 var(--font-sign); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .03em;
}
.lp-station__name { font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--ink); letter-spacing: -0.02em; }
.lp-station__en { font: 500 14px/1.3 var(--font-sign); color: var(--muted); }
.lp-station__dot {
  position: relative; z-index: 1; margin-top: 16px;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--surface); border: 6px solid var(--line);
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.lp-station.lp-is-lit .lp-station__dot { background: var(--lemon); transform: scale(1.12); }
.lp-station.lp-is-passed .lp-station__dot { background: var(--line-tint); }
.lp-station--junction .lp-station__dot { width: 36px; height: 36px; margin-bottom: -3px; border: 5px solid var(--ink); }
.lp-station--junction .lp-station__code { border-color: var(--ink); }
.lp-station--terminal .lp-station__dot { box-shadow: 0 0 0 5px var(--ground), 0 0 0 11px var(--line); }

.lp-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 12px; border: 1px solid; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.lp-chip--ok { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-bd); }
.lp-chip--skip { background: var(--skip-bg); color: var(--skip-fg); border-color: var(--skip-bd); }
.lp-chip--hold { background: var(--hold-bg); color: var(--hold-fg); border-color: var(--hold-bd); }
.lp-chip--free { background: var(--line-tint); color: #4B2FD0; border-color: #D6CCFF; }
.lp-chip--sample { background: transparent; color: var(--muted); border-color: var(--rule); font-weight: 600; }

/* branch line (안전 검사 지선) */
.lp-branch { position: absolute; left: calc(50% - 4px); top: calc(100% - 18px); width: calc(200% + 4px); height: 200px; pointer-events: none; }
.lp-branch__elbow { position: absolute; left: 0; top: 0; width: 80px; height: 100px; overflow: visible; }
.lp-branch__elbow path { stroke: var(--branch); stroke-width: 8; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.lp-branch__run { position: absolute; left: 76px; right: 0; top: 88px; height: 8px; background: var(--branch); border-radius: 0 4px 4px 0; }
.lp-branch__run::after { content: ""; position: absolute; right: -2px; top: -10px; width: 8px; height: 28px; border-radius: 4px; background: var(--branch); }
/* 두 출구 라벨은 지선 길이(역 2칸)에 맞춰 폭을 줄인다. 고정 210px이면 1440px에서도 두 설명이 겹쳤다.
   중심 간격 = 100% - 120px, 폭 ≤ 간격 - 16px. */
.lp-exit { position: absolute; top: 80px; display: flex; flex-direction: column; align-items: center; text-align: center; width: clamp(120px, calc(100% - 136px), 210px); transform: translateX(-50%); pointer-events: auto; }
.lp-exit--skip { left: 120px; }
.lp-exit--hold { left: calc(100% - 4px); }
.lp-exit__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 5px solid var(--branch); }
.lp-exit__label { margin-top: 12px; }
.lp-exit__why { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.lp-branch__traveler {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--muted); opacity: 0;
  offset-path: path("M4 0 V 36 L 60 92 H 120"); offset-rotate: 0deg; offset-distance: 0%;
}
.lp-route__legend { position: absolute; left: var(--gutter); bottom: 48px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.lp-route__legend li { display: flex; align-items: center; gap: 10px; }
.lp-route__legend ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-legend-swatch { width: 36px; height: 8px; border-radius: 4px; flex: none; }
.lp-legend-swatch--line { background: var(--line); }
.lp-legend-swatch--branch { background: var(--branch); }
.lp-legend-swatch--train { width: 16px; height: 16px; border-radius: 50%; background: var(--lemon); border: 3px solid var(--ink); margin: 0 10px; }
.lp-route .lp-wrap { position: relative; }
.lp-train {
  position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--lemon); border: 4px solid var(--ink);
  box-shadow: 0 2px 6px rgba(26, 24, 54, .35);
}

/* ---------- journey ---------- */
.lp-journey { position: relative; }
.lp-journey__head { padding-top: 104px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; }
.lp-h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.28; font-weight: 800; }
.lp-lede { color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 66ch; }

.lp-strip {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 243, 239, .97); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.lp-strip__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 32px; min-height: 76px; }
.lp-strip__now { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.lp-strip__now b { color: var(--ink); font-weight: 800; font-size: 17px; }
.lp-strip__next { display: inline-flex; align-items: center; gap: 8px; }
.lp-next-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--lemon); color: var(--ink); font-size: 12px; font-weight: 800; }
.lp-strip__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.lp-strip__line::before { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 13px; height: 6px; border-radius: 3px; background: var(--line); }
.lp-strip__line a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 44px; padding-top: 4px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; }
.lp-strip__line a::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--line); transition: background-color .3s var(--ease-out), transform .3s var(--ease-out); }
.lp-strip__line a:hover { color: var(--ink); }
.lp-strip__line a.lp-is-passed::before { background: var(--line-tint); }
.lp-strip__line a[aria-current="step"] { color: var(--ink); }
.lp-strip__line a[aria-current="step"]::before { background: var(--lemon); transform: scale(1.25); border-color: var(--ink); }
.lp-strip__line li:nth-child(5) a::before { border-color: var(--ink); }

.lp-stop { padding: 88px 0 24px; scroll-margin-top: 80px; overflow-x: clip; }
.lp-platform-sign {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 28px 28px 20px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink);
  box-shadow: inset 0 8px 0 var(--line);
}
.lp-platform-sign .lp-station__code { margin: 0; background: transparent; color: var(--on-ink); border-color: #9C88FF; height: 28px; font-size: 15px; padding: 0 10px; border-radius: 14px; }
.lp-platform-sign--junction .lp-station__code { border-color: var(--on-ink); }
.lp-platform-sign h3 { color: var(--on-ink); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.lp-platform-sign h3 span[lang="en"] { font: 500 17px/1.2 var(--font-sign); color: var(--on-ink-muted); letter-spacing: .01em; }
.lp-platform-sign__next { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--on-ink); }
.lp-platform-sign__next .lp-icon { color: var(--lemon); }

.lp-stop__body { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.lp-stop__body + .lp-stop__body { margin-top: 64px; }
.lp-stop__body--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-stop__body--flip > :first-child { order: 2; }
.lp-copy h4 { font-size: 24px; font-weight: 800; line-height: 1.35; }
.lp-copy p { margin-top: 12px; color: var(--muted); }
.lp-copy .lp-statement { color: var(--ink); font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; margin-top: 0; text-wrap: balance; }
.lp-copy .lp-statement + p { margin-top: 16px; }
.lp-copy .lp-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* platform screens (demos) */
.lp-screen { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lp-screen__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 700; color: var(--ink); }
.lp-screen__body { padding: 18px; }
.lp-screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-field { display: grid; gap: 4px; }
.lp-field + .lp-field { margin-top: 10px; }
.lp-field label, .lp-field .lp-label { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.4; }
.lp-field .lp-value { display: flex; align-items: center; min-height: 38px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #FBFAF8; font-size: 15px; color: var(--ink); line-height: 1.4; }
.lp-fields-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-fields-row .lp-field + .lp-field { margin-top: 0; }
.lp-fields-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-field .lp-value { min-width: 0; overflow-wrap: anywhere; }
.lp-token { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 4px; background: var(--line-tint); color: #4B2FD0; font: 600 13px/1 var(--font-sign); letter-spacing: .01em; }
.lp-tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lp-template { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 4px; background: #FBFAF8; font-size: 15px; line-height: 1.7; color: var(--text); }
.lp-callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: 4px; background: var(--line-tint); color: var(--ink); font-size: 14px; line-height: 1.6; }
.lp-callout .lp-icon { color: var(--line); margin-top: 2px; }
.lp-callout b { display: block; font-weight: 800; }
.lp-paste { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-paste th, .lp-paste td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; line-height: 1.35; }
.lp-paste th { background: #F1EFEA; font-size: 12px; color: var(--muted); font-weight: 700; }
.lp-paste td.lp-rowno, .lp-paste th.lp-rowno { width: 36px; text-align: center; color: var(--muted); font-family: var(--font-sign); font-variant-numeric: tabular-nums; background: #F1EFEA; }

.lp-counter { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.lp-digits { font: 700 28px/1 var(--font-sign); font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: .04em; }
.lp-digits .lp-z { color: #C9C6D3; }

.lp-auto-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.lp-auto-grid::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 33px; height: var(--line-w); background: var(--line); z-index: 0; }
.lp-auto-stop { position: relative; z-index: 1; display: flex; flex-direction: column; }
.lp-auto-stop__head { display: flex; align-items: center; gap: 12px; height: 78px; }
.lp-auto-stop__head .lp-station__dot { margin: 0; }
.lp-auto-stop__head .lp-station__code { margin: 0; }
.lp-auto-stop__head b { font-size: 19px; font-weight: 800; color: var(--ink); background: var(--ground); padding: 0 6px; }
.lp-auto-stop .lp-screen { flex: 1; }
.lp-auto-stop .lp-screen__foot { padding: 12px 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 600 14px/1.3 var(--font-sign); color: var(--muted); }
.lp-crumbs span { padding: 4px 8px; border: 1px solid var(--rule); border-radius: 4px; background: #FBFAF8; }
.lp-crumbs .lp-hit { border-color: var(--line); color: var(--ink); background: var(--line-tint); }
.lp-crumbs .lp-icon { width: 16px; height: 16px; }
.lp-found { margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lp-found .lp-icon { color: var(--ok-fg); width: 18px; height: 18px; }
.lp-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink); }
.lp-checklist li { display: flex; align-items: center; gap: 10px; }
.lp-checklist .lp-icon { width: 18px; height: 18px; color: var(--ok-fg); }
.lp-checklist small { margin-left: auto; color: var(--muted); font: 500 13px/1 var(--font-sign); }

/* safety junction */
.lp-junction { position: relative; padding-left: 52px; }
.lp-junction::before { content: ""; position: absolute; left: 14px; top: -36px; bottom: 26px; width: 8px; border-radius: 4px; background: var(--branch); }
.lp-junction__elbow { position: absolute; left: -46px; top: -40px; width: 70px; height: 50px; overflow: visible; }
.lp-rule-exit { position: relative; padding: 18px 0 18px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
.lp-rule-exit:first-child { padding-top: 4px; }
.lp-rule-exit:last-child { border-bottom: 0; }
.lp-rule-exit::before { content: ""; position: absolute; left: -48px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 5px solid var(--branch); }
.lp-rule-exit:first-child::before { top: 8px; }
.lp-rule-exit__tag { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lp-rule-exit__label { color: var(--err-fg); font-size: 14px; font-weight: 800; line-height: 1.45; }
.lp-rule-exit p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* schedule + log tables */
.lp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--rule); background: #FBFAF8; white-space: nowrap; }
.lp-table td { padding: 12px 14px; border-bottom: 1px solid var(--rule); color: var(--ink); line-height: 1.4; vertical-align: middle; }
.lp-table tr:last-child td { border-bottom: 0; }
.lp-table td small { display: block; color: var(--muted); font-size: 12px; }
.lp-table .lp-num { font-size: 15px; }
.lp-window { margin-top: 20px; display: flex; align-items: center; gap: 0; }
.lp-window__tick { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.lp-window__tick small { color: var(--muted); font-weight: 500; }
.lp-window__bar { flex: 1; height: 8px; margin: 0 14px; border-radius: 4px; background: var(--line); position: relative; top: -10px; }

.lp-capture { position: relative; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: var(--surface); }
.lp-capture__label { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 800; color: var(--ink); background: #FBFAF8; }
.lp-capture__page { padding: 14px; display: grid; gap: 8px; min-height: 200px; }
.lp-capture__page .lp-mini { height: 28px; border: 1px solid var(--rule); border-radius: 3px; padding: 0 8px; display: flex; align-items: center; font-size: 12px; color: var(--ink); }
.lp-capture__page .lp-mini--area { height: 54px; align-items: flex-start; padding-top: 6px; line-height: 1.5; }
.lp-capture__page .lp-mini-btn { justify-self: start; height: 28px; padding: 0 12px; border-radius: 3px; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; font-size: 12px; font-weight: 700; }
.lp-capture__done { display: grid; place-items: center; text-align: center; gap: 10px; min-height: 200px; padding: 14px; font-size: 14px; color: var(--ink); font-weight: 700; }
.lp-capture__done .lp-ok-ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok-fg); }
.lp-capture__done small { font-size: 12px; color: var(--muted); font-weight: 500; }
.lp-log-sum { display: flex; flex-wrap: wrap; gap: 24px; padding: 16px 18px; border-top: 1px solid var(--rule); }

/* fare */
.lp-fare { padding: 120px 0 40px; }
.lp-fare__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-copy .lp-fare__tagline { margin-top: 14px; font-size: 19px; font-weight: 700; color: var(--line); }
.lp-fareboard { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: var(--shadow); overflow: hidden; }
.lp-fareboard table { width: 100%; border-collapse: collapse; }
.lp-fareboard th { background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 700; text-align: left; padding: 14px 22px; }
.lp-fareboard th:last-child, .lp-fareboard td:last-child { text-align: right; }
.lp-fareboard td { padding: 18px 22px; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--ink); line-height: 1.5; }
.lp-fareboard td small { display: block; font-size: 13px; color: var(--muted); }
.lp-fareboard tr:last-child td { border-bottom: 0; }
.lp-fareboard .lp-charge { font-weight: 800; white-space: nowrap; }
.lp-fareboard .lp-charge--free { color: #4B2FD0; }
.lp-fareboard .lp-charge--paid { color: var(--ink); }
.lp-fareboard tr.lp-is-paid td { background: #FBFAF8; }
.lp-fareboard .lp-bonus { color: var(--ok-fg); font-weight: 700; }

/* 크레딧 충전표 — 현재 언어 통화의 활성 상품이 있을 때만 렌더된다 */
.lp-topup { padding: 72px 0 40px; }
.lp-copy .lp-topup__rate { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); }
.lp-copy .lp-topup__note { margin-top: 20px; font-size: 14px; line-height: 1.7; }

/* 시안의 인라인 style을 옮긴 간격·상태 클래스 */
.lp-callout--spaced { margin-top: 16px; }
.lp-fields-row--spaced { margin-top: 14px; }
.lp-field--spaced { margin-top: 12px; }
.lp-btn--mock { margin-top: 14px; pointer-events: none; }
.lp-copy .lp-meta--flush { margin-top: 0; }
.lp-digits--sm { font-size: 18px; }
.lp-table .lp-reason { color: var(--err-fg); }

/* facilities (ink) */
.lp-facilities { margin-top: 112px; background: var(--ink); color: var(--on-ink); border-top: 12px solid var(--line); padding: 88px 0 96px; }
.lp-facilities .lp-h2 { color: var(--on-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; }
.lp-dir { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.lp-dir li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--rule-ink); }
.lp-pict { width: 56px; height: 56px; border-radius: 4px; background: var(--on-ink); color: var(--ink); display: grid; place-items: center; }
.lp-pict .lp-icon { width: 30px; height: 30px; stroke-width: 2.2; }
.lp-dir h3 { color: var(--on-ink); font-size: 21px; font-weight: 800; line-height: 1.35; }
.lp-dir p { margin-top: 8px; color: var(--on-ink-muted); font-size: 16px; line-height: 1.75; }
.lp-dir .lp-src { margin-top: 12px; font-size: 13px; color: #A9A5C3; line-height: 1.6; }
.lp-facilities__close { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rule-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.lp-facilities__close p { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; color: var(--on-ink); letter-spacing: -0.02em; line-height: 1.35; }

/* b2b: 운영 안내판 */
.lp-biz { padding: 112px 0 0; }
.lp-biz__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-biz .lp-lede { margin-top: 16px; }
.lp-infoboard { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lp-infoboard__head { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 700; box-shadow: inset 0 4px 0 var(--line); }
.lp-infoboard__head span[lang="en"] { font: 500 14px/1 var(--font-sign); color: var(--on-ink-muted); letter-spacing: .02em; }
.lp-infoboard dl { margin: 0; }
.lp-infoboard__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 22px; border-top: 1px solid var(--rule); }
.lp-infoboard__row:first-child { border-top: 0; }
.lp-infoboard dt { font-weight: 800; color: var(--ink); font-size: 16px; line-height: 1.55; }
.lp-infoboard dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* faq */
.lp-faq { padding: 112px 0 40px; }
.lp-faq__head { display: flex; align-items: center; gap: 16px; }
.lp-faq__head .lp-pict { background: var(--line); color: var(--on-ink); width: 48px; height: 48px; }
.lp-faq__head .lp-pict .lp-icon { width: 26px; height: 26px; }
.lp-faq__list { list-style: none; margin: 36px 0 0; padding: 0; border-bottom: 1px solid var(--rule); max-width: 960px; }
.lp-faq__list li { border-top: 1px solid var(--rule); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 4px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; border-radius: 4px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { color: var(--line); }
.lp-faq summary .lp-toggle { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--rule); display: grid; place-items: center; color: var(--ink); flex: none; transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), border-color .3s; }
.lp-faq summary .lp-toggle .lp-icon { width: 16px; height: 16px; stroke-width: 2.6; }
.lp-faq details[open] summary .lp-toggle { transform: rotate(45deg); background: var(--lemon); border-color: var(--lemon); }
.lp-faq .lp-answer { padding: 0 60px 24px 4px; color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 72ch; }

/* closing: 종착역 — 화면 왼쪽에서 들어온 노선이 브랜드 배지에서 끝난다(히어로 AX07 종착역과 같은 이중 링).
   시안은 허공에서 시작하는 세로선·종착 원·로고가 따로 떠 있어 노선과 이어지지 않았다. */
.lp-closing { position: relative; text-align: center; padding: 16px 0 104px; margin-top: 96px; overflow: hidden; }
.lp-closing__terminal { position: relative; width: 104px; height: 104px; margin: 0 auto; }
.lp-closing__terminal::before { content: ""; position: absolute; right: 50%; top: 50%; width: 100vw; height: var(--line-w); transform: translateY(-50%); background: var(--line); }
.lp-closing__badge { position: relative; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px var(--ground), 0 0 0 12px var(--line); }
.lp-closing h2 { margin-top: 48px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.3; }
/* 좁은 화면에서는 제목이 언어별 줄 단위(쉼표 뒤)에서 먼저 꺾이게 한다. */
.lp-closing .lp-line { display: inline-block; }
.lp-closing .lp-btn { margin-top: 28px; }
.lp-closing .lp-soon { margin-top: 28px; color: var(--ink); border-color: var(--rule); background: var(--surface); }
.lp-closing .lp-soon__dot { background: var(--line); box-shadow: 0 0 0 4px var(--line-tint); }
.lp-closing__login { margin-top: 14px; font-size: 15px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.lp-closing__login a { font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* footer */
.lp-site-footer { background: var(--surface); border-top: 1px solid var(--rule); padding: 36px 0 40px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.lp-site-footer a { color: var(--muted); }
.lp-site-footer a:hover { color: var(--ink); }
.lp-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.lp-legal a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--text); text-decoration: none; }
.lp-legal a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lp-station__name { font-size: 17px; }
}
/* 노선도는 760px보다 넓은 구간에서 먼저 세로로 바꾼다. 960px 이하에서는 지선(역 2칸)이 짧아 두 출구 설명이 겹친다. */
@media (max-width: 960px) {
  .lp-route { padding: 28px 0 32px; }
  .lp-route__line { grid-template-columns: 1fr; padding: 0 0 0; align-items: stretch; }
  .lp-route__line::before { left: calc(var(--dot) / 2 - var(--line-w) / 2); right: auto; width: var(--line-w); height: auto; top: -28px; bottom: 26px; border-radius: 0 0 5px 5px; }
  .lp-station { display: grid; grid-template-columns: var(--dot) auto minmax(0, 1fr); grid-template-areas: "dot code name" "dot code en" "tag tag tag"; column-gap: 12px; row-gap: 0; align-items: center; text-align: left; padding: 10px 0; }
  .lp-route .lp-station__dot { grid-area: dot; margin: 0; }
  .lp-route .lp-station__code { grid-area: code; margin: 0; }
  .lp-route .lp-station__name { grid-area: name; font-size: 17px; }
  .lp-route .lp-station__en { grid-area: en; font-size: 13px; }
  .lp-station--junction .lp-station__dot { width: 32px; height: 32px; margin: 0 0 0 -3px; }
  .lp-station--terminal { padding-bottom: 14px; }
  .lp-branch { position: relative; grid-column: 1 / -1; grid-row: 4; left: auto; top: auto; width: auto; height: auto; margin: 14px 0 6px calc(var(--dot) + 12px); padding: 4px 0 0 34px; }
  .lp-branch__elbow { display: none; }
  .lp-branch__run { display: none; }
  .lp-branch::before { content: ""; position: absolute; left: 10px; top: -14px; bottom: 8px; width: 7px; border-radius: 4px; background: var(--branch); }
  .lp-branch::after { content: ""; position: absolute; left: -26px; top: -36px; width: 46px; height: 7px; border-radius: 4px; background: var(--branch); transform-origin: left center; transform: rotate(48deg); }
  .lp-exit { position: relative; left: auto; top: auto; transform: none; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; gap: 6px 10px; padding: 8px 0; }
  .lp-exit--skip, .lp-exit--hold { left: auto; }
  .lp-exit__dot { position: absolute; left: -33px; top: 12px; width: 20px; height: 20px; border-width: 4px; }
  .lp-exit__label { margin: 0; }
  .lp-exit__why { margin: 0; width: 100%; }
  .lp-branch__traveler { display: none; }
  .lp-route__legend { position: static; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .lp { font-size: 16px; }
  .lp-lang .lp-full { display: none; }
  .lp-lang .lp-short { display: inline; }
  .lp-lang a { padding: 0 5px; font-size: 13px; }
  .lp-lang { margin-right: 0; }
  .lp-site-nav .lp-btn { display: none; }
  .lp-brand > .lp-logo-mark { width: 26px; height: 26px; }
  .lp-brand > .lp-logo-word { width: 106px; height: 20px; }
  .lp-hero { padding-top: 16px; }
  .lp-sign--hero { padding: 36px 20px 24px; }
  .lp-sign__main { flex-direction: column; gap: 14px; }
  .lp-line-badge { width: 48px; height: 48px; margin-top: 0; }
  .lp-sign__title { font-size: clamp(22px, 6.2vw, 30px); }
  .lp-sign__en { font-size: 15px; }
  .lp-sign__foot { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; padding-top: 20px; }
  .lp-sign__desc { font-size: 16px; }
  .lp-sign__cta { align-items: stretch; }
  .lp-btn--sign { min-height: 56px; justify-content: space-between; font-size: 17px; }
  .lp-soon { min-height: 56px; font-size: 17px; }
  .lp-sign__note { max-width: none; }

  .lp-journey__head { grid-template-columns: 1fr; gap: 14px; padding-top: 72px; padding-bottom: 32px; }
  .lp-lede { font-size: 16px; }
  .lp-strip__in { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 0; padding-top: 10px; padding-bottom: 8px; }
  .lp-strip__now { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 13px; }
  .lp-strip__now b { font-size: 15px; }
  .lp-strip__line a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-strip__line a { min-height: 32px; }
  .lp-stop { padding-top: 64px; scroll-margin-top: 96px; }
  .lp-platform-sign { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "next pcode"; padding: 24px 16px 16px; gap: 12px 14px; }
  .lp-platform-sign h3 { grid-area: name; }
  .lp-platform-sign .lp-station__code { grid-area: pcode; justify-self: end; }
  .lp-platform-sign__next { grid-area: next; font-size: 14px; }
  .lp-platform-sign h3 span[lang="en"] { font-size: 15px; }
  .lp-stop__body { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .lp-stop__body + .lp-stop__body { margin-top: 48px; }
  .lp-stop__body--flip { grid-template-columns: 1fr; }
  .lp-stop__body--flip > :first-child { order: 0; }
  .lp-copy h4 { font-size: 21px; }
  .lp-fields-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-fields-row--2 { grid-template-columns: 1fr; }
  .lp-screen__body { padding: 14px; }
  .lp-screen-pair { grid-template-columns: 1fr; }
  .lp-auto-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .lp-auto-grid::before { left: calc(var(--dot) / 2 - var(--line-w) / 2); right: auto; width: var(--line-w); top: 0; bottom: 0; height: auto; }
  .lp-auto-stop__head { height: 64px; }
  .lp-auto-stop .lp-screen { margin-left: calc(var(--dot) + 12px); }
  .lp-junction { padding-left: 44px; margin-top: 8px; }
  .lp-junction::before { left: 10px; top: 0; bottom: 20px; }
  .lp-junction__elbow { display: none; }
  .lp-rule-exit { grid-template-columns: 1fr; gap: 10px; }
  .lp-rule-exit::before { left: -42px; }
  .lp-table th, .lp-table td { padding: 10px 10px; }
  .lp-table .lp-hide-sm { display: none; }
  .lp-fare { padding-top: 88px; }
  .lp-fare__grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-fareboard th, .lp-fareboard td { padding: 14px 14px; font-size: 15px; }
  .lp-facilities { margin-top: 80px; padding: 64px 0 72px; }
  .lp-dir { grid-template-columns: 1fr; margin-top: 32px; }
  .lp-dir li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .lp-pict { width: 48px; height: 48px; }
  .lp-facilities__close { flex-direction: column; align-items: stretch; }
  .lp-facilities__close .lp-btn, .lp-facilities__close .lp-soon { min-height: 52px; }
  .lp-biz { padding-top: 80px; }
  .lp-biz__grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-infoboard__head { padding: 12px 16px; }
  .lp-infoboard__row { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .lp-faq { padding-top: 80px; }
  .lp-faq summary { font-size: 16px; min-height: 64px; }
  .lp-faq .lp-answer { padding-right: 8px; font-size: 15px; }
  .lp-closing { margin-top: 64px; padding-bottom: 72px; }
  .lp-closing__terminal { width: 84px; height: 84px; }
  .lp-closing h2 { margin-top: 40px; }
  .lp-closing .lp-btn, .lp-closing .lp-soon { width: 100%; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition-duration: 0s !important; animation: none !important; }
}
