/* 링컨 터미널 소개 페이지(/terminal) */
.ti-hero,.ti-sec{word-break:keep-all;overflow-wrap:anywhere}
.ti-hero{position:relative;padding:56px 0 30px;overflow:hidden}
.ti-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 420px at 18% -10%,rgba(255,135,14,.16),transparent 62%),radial-gradient(700px 380px at 92% 0,rgba(57,148,254,.08),transparent 60%);pointer-events:none}
.ti-hero .container{position:relative}
.ti-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:6px 12px;border-radius:99px;background:var(--accent-dim);color:var(--accent2);font-size:13px;font-weight:700}
.ti-hero h1{margin:0 0 14px;font-size:clamp(28px,4.2vw,48px);line-height:1.2;letter-spacing:-1px;font-weight:900}
.ti-hero h1 em{font-style:normal;color:var(--accent);white-space:nowrap}
.ti-lead{margin:0 0 22px;max-width:720px;font-size:16.5px;line-height:1.75;color:var(--muted)}
.ti-cta{display:flex;gap:10px;flex-wrap:wrap}
.ti-promo{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:26px 0 0;padding:14px 18px;border:1px solid var(--accent);border-radius:14px;background:var(--accent-dim)}
.ti-promo b{color:var(--accent2)}
.ti-promo p{margin:0;flex:1 1 320px;font-size:14.5px;line-height:1.65;color:#e3e5ec}
.ti-promo .btn{flex:0 0 auto}

/* 지표 켜 보기 */
.ti-demo{margin:28px 0 0;border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow)}
.ti-demo-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--border)}
.ti-demo-k{font-size:13px;font-weight:800;color:var(--muted)}
.ti-chips{display:flex;gap:8px;flex-wrap:wrap}
.ti-chips button{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:10px;border:1px solid var(--border);background:var(--bg2);color:var(--muted);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.ti-chips button::before{content:"";width:14px;height:14px;border-radius:4px;border:1.5px solid var(--muted2);background:transparent;flex:none}
.ti-chips button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-dim);color:var(--text)}
.ti-chips button[aria-pressed="true"]::before{border-color:var(--accent);background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.ti-stage{position:relative;aspect-ratio:1600/919;background:#0b0d12}
.ti-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top;opacity:0;transition:opacity .25s}
.ti-stage img.on{opacity:1}
.ti-demo-cap{margin:0;padding:12px 16px;border-top:1px solid var(--border);font-size:14px;line-height:1.65;color:#d5d8e2;min-height:48px}
.ti-demo-cap b{color:var(--accent2);margin-right:6px}
.ti-note{margin:10px 2px 0;font-size:12.5px;color:var(--muted2)}

/* 공통 구역 */
.ti-sec{padding:48px 0}
.ti-sec+.ti-sec{border-top:1px solid var(--border)}
.ti-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 24px}
.ti-h h2{margin:0;font-size:clamp(22px,2.6vw,30px);letter-spacing:-.6px;font-weight:900}
.ti-h p{margin:6px 0 0;color:var(--muted);font-size:14.5px;max-width:720px}
.ti-h>a{flex:none;color:var(--accent2);font-weight:700;font-size:14px;white-space:nowrap}
.ti-foot{margin:16px 0 0;font-size:13px;color:var(--muted)}
.ti-foot a{color:var(--accent2);text-decoration:underline}

/* 기능 소개(글 + 화면) */
.ti-feat{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px;align-items:center;margin:0 0 40px}
.ti-feat:last-of-type{margin-bottom:0}
.ti-feat.rev{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.ti-feat.rev .ti-feat-t{order:2}
.ti-feat h3{margin:0 0 10px;font-size:21px;letter-spacing:-.4px}
.ti-feat p{margin:0 0 12px;color:var(--muted);line-height:1.75}
.ti-feat ul{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.ti-feat li{position:relative;padding-left:18px;font-size:14.5px;color:#d5d8e2;line-height:1.6}
.ti-feat li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.ti-feat .btn{margin-top:16px}
.ti-shot{display:block;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#0b0d12;box-shadow:var(--shadow)}
.ti-shot img{display:block;width:100%;height:auto}
.ti-shot:hover{border-color:#3a4055}

/* 시장 지표 카드 */
.ti-mk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ti-mkc{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}
.ti-mkc figure{margin:0;aspect-ratio:16/9;background:#0b0d12;overflow:hidden;border-bottom:1px solid var(--border)}
.ti-mkc figure img{display:block;width:100%;height:100%;object-fit:cover;object-position:left bottom}
.ti-mkc div{padding:14px 16px 16px}
.ti-mkc h3{margin:0 0 6px;font-size:16px;display:flex;align-items:center;gap:8px}
.ti-mkc p{margin:0;font-size:13.5px;line-height:1.7;color:var(--muted)}
.ti-mkc p b{color:#d5d8e2;font-weight:700}
.ti-mkw{grid-column:1/-1;flex-direction:row}
.ti-mkw figure{flex:0 0 58%;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--border)}
.ti-mkw div{align-self:center;padding:20px 22px}
.ti-tag{display:inline-block;padding:2px 7px;border-radius:6px;background:var(--accent-dim);color:var(--accent2);font-size:11px;font-weight:800;font-style:normal;vertical-align:middle}
.c-g,.ti-mkc p b.c-g{color:var(--green)}.c-r,.ti-mkc p b.c-r{color:var(--red)}.c-b,.ti-mkc p b.c-b{color:#4fc3f7}.c-o,.ti-mkc p b.c-o{color:#ff9f1a}

/* 링컨 지표 2종 */
.ti-inds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ti-ind{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}
.ti-ind figure{margin:0;aspect-ratio:2/1;overflow:hidden;background:#0b0d12;border-bottom:1px solid var(--border)}
.ti-ind figure img{display:block;width:100%;height:100%;object-fit:cover}
.ti-ind div{padding:16px 18px 18px}
.ti-ind h3{margin:0 0 8px;font-size:18px}
.ti-ind p{margin:0 0 10px;font-size:14px;line-height:1.75;color:var(--muted)}
.ti-ind dl{margin:0;display:grid;gap:6px}
.ti-ind dl div{display:flex;gap:10px;padding:0;font-size:13.5px;line-height:1.6}
.ti-ind dt{flex:0 0 74px;font-weight:800;color:var(--text)}
.ti-ind dd{margin:0;color:#c9cdd8}

/* 차트 엔진 표기 */
.ti-tv{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:18px 22px}
.ti-tv .k{margin:0 0 4px;font-size:11.5px;font-weight:800;color:var(--accent2);letter-spacing:.5px}
.ti-tv .t{margin:0;font-size:14.5px;line-height:1.8;color:var(--text)}
.ti-tv .t a{color:var(--accent2);text-decoration:underline}

/* 이용 범위 표 */
.ti-tiers-wrap{border:1px solid var(--border);border-radius:14px;overflow-x:auto;background:var(--surface)}
.ti-tiers{width:100%;min-width:560px;border-collapse:collapse;font-size:14px}
.ti-tiers th,.ti-tiers td{padding:13px 14px;border-bottom:1px solid var(--border);text-align:center;vertical-align:middle}
.ti-tiers tr:last-child th,.ti-tiers tr:last-child td{border-bottom:0}
.ti-tiers thead th{font-size:13px;color:var(--muted);font-weight:800;background:var(--bg2)}
.ti-tiers thead th:last-child{color:var(--accent2)}
.ti-tiers th[scope=row]{text-align:left;font-weight:700}
.ti-tiers th[scope=row] span{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--muted)}
.ti-tiers small{font-size:12px;color:var(--muted);line-height:1.45;display:inline-block}
.ti-tiers small b{color:var(--accent2)}
.ti-tiers tr.hl{background:rgba(255,135,14,.05)}
.ti-tiers i[hidden]{display:none}
.ti-tiers i{display:inline-block;width:20px;height:20px;border-radius:50%;vertical-align:middle}
.ti-tiers i.y{background:rgba(29,202,136,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%231dca88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.ti-tiers i.n{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='%235f6478' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat}

/* 지표 여는 방법 */
.ti-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ti-paths.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ti-path{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:20px}
.ti-path.promo{border-color:var(--accent);background:linear-gradient(180deg,rgba(255,135,14,.10),var(--surface) 46%)}
.ti-path .k{margin:0 0 6px;font-size:12px;font-weight:800;color:var(--accent2)}
.ti-path h3{margin:0 0 12px;font-size:18px;letter-spacing:-.3px}
.ti-path ol{margin:0 0 14px;padding:0;list-style:none;counter-reset:s;display:grid;gap:9px}
.ti-path li{counter-increment:s;position:relative;padding-left:30px;font-size:14px;line-height:1.6;color:#d5d8e2}
.ti-path li::before{content:counter(s);position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;background:var(--surface2);border:1px solid var(--border);font-size:11.5px;font-weight:800;display:grid;place-items:center;color:var(--accent2)}
.ti-path li a{color:var(--accent2);text-decoration:underline}
.ti-path dl{margin:auto 0 14px;padding:11px 13px;border-radius:10px;background:var(--bg2);display:flex;justify-content:space-between;gap:12px;font-size:13.5px}
.ti-path dt{color:var(--muted)}
.ti-path dd{margin:0;font-weight:800;text-align:right}
.ti-path dd small{display:block;font-weight:500;font-size:11.5px;color:var(--muted)}
.ti-help{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0 0;padding:14px 18px;border:1px dashed var(--border);border-radius:12px}
.ti-help p{margin:0;color:var(--muted);font-size:14px}

/* 마지막 안내 */
.ti-end{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 28px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(120deg,rgba(255,135,14,.14),var(--surface) 55%)}
.ti-end h2{margin:0 0 6px;font-size:22px;letter-spacing:-.4px}
.ti-end p{margin:0;color:var(--muted);font-size:14.5px}
.ti-end .ti-cta{flex:none}
.ti-disc{margin:18px 0 0;font-size:12.5px;color:var(--muted2);text-align:center}

@media (max-width:900px){
  .ti-hero{padding:36px 0 22px}
  .ti-lead{font-size:15px}
  .ti-feat,.ti-feat.rev{grid-template-columns:1fr;gap:16px;margin-bottom:34px}
  .ti-feat.rev .ti-feat-t{order:0}
  .ti-mk{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ti-mkw{flex-direction:column}
  .ti-mkw figure{flex:none;aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--border)}
  .ti-mkw div{align-self:auto;padding:14px 16px 16px}
  .ti-inds,.ti-paths,.ti-paths.two{grid-template-columns:1fr}
  .ti-sec{padding:36px 0}
  .ti-h{flex-direction:column;align-items:flex-start;gap:8px}
  .ti-stage{aspect-ratio:4/3}
  .ti-stage img{object-position:8% top}
}
@media (max-width:560px){
  .ti-mk{grid-template-columns:1fr}
  .ti-cta .btn{flex:1 1 140px}
  .ti-end{padding:20px}
  .ti-chips button{padding:7px 10px;font-size:13px}
  .ti-tiers{min-width:0;font-size:13px;table-layout:fixed}
  .ti-tiers th,.ti-tiers td{padding:11px 5px}
  .ti-tiers th:first-child{width:43%;padding-left:12px}
  .ti-tiers th[scope=row] span{font-size:11px}
  .ti-tiers small{font-size:10.5px}
  .ti-tiers thead th{font-size:12px}
}
