/* ==========================================================================
   TAREXIS 홈페이지 개편 시안 (A안: 밝은 바탕 + Platform 짙은 띠)
   현재 사이트(../Tarexis_Homepage)와 독립된 시안이다. 확정 후 assets/ 로 옮긴다.
   ========================================================================== */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #F4F5F7;
  --surface: #FFFFFF;
  --ink:     #0A1028;
  --ink-2:   #4A5370;
  --ink-3:   #7A8299;
  --line:    #D9DCE3;
  --accent:  #1E6AFF;

  --band:        #07091E;
  --band-ink:    #E8EBF2;
  --band-ink-2:  #9AA2BC;
  --band-line:   #232A4A;
  --band-accent: #4D8BFF;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  /* 영문 글자는 Inter, 한글은 Inter 에 없으므로 Pretendard 로 넘어간다 */
  --font: 'Inter Variable', 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo',
          'Malgun Gothic', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
[data-locale="ko"] body { word-break: keep-all; overflow-wrap: break-word; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 650; color: var(--ink); }
.band strong { color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── 공통 머리말 ── */
.label {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--accent);
  margin-bottom: 20px;
}
.band .label { color: var(--band-accent); }

.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 700;
  text-wrap: balance;
}
.lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-2);
  max-width: 36em; margin-top: 20px; text-wrap: pretty;
}
.band .lede { color: var(--band-ink-2); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px;
}
.nav-ci img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 6px; color: var(--ink-3); }
.lang a.active { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; font-size: 15px; font-weight: 600;
  background: var(--ink); color: #fff; border-radius: 2px;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }

/* ── HERO ── */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 112px); }
.hero .wrap {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-size: clamp(46px, 6vw, 84px);
  line-height: .98; letter-spacing: -.045em; font-weight: 750;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin-top: 32px; max-width: 26em; }
.hero-tags {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero-figure { position: relative; }
.hero-figure img { width: 100%; }
.fig-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); text-align: right; }

/* ── PLATFORM (짙은 띠) ── */
.band { background: var(--band); color: var(--band-ink); }
#platform { padding: clamp(80px, 10vw, 140px) 0; }
.platform-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }

.module {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px);
  padding-top: 40px; border-top: 1px solid var(--band-line);
}
.module + .module, .steps + .module { margin-top: clamp(80px, 9vw, 128px); }
.module.reverse { grid-template-columns: 7fr 5fr; }
.module.reverse .module-text { order: 2; }

.module-index {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 15px; font-weight: 600; color: var(--band-ink-2);
  font-variant-numeric: tabular-nums;
}
.module-index b { color: var(--band-accent); font-weight: 600; }
.module h3 {
  font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700;
  margin: 18px 0 28px;
}
.feat { list-style: none; border-top: 1px solid var(--band-line); }
.feat li {
  padding: 14px 0; border-bottom: 1px solid var(--band-line);
  font-size: 16px; color: var(--band-ink-2);
}

.figure-label { font-size: 13px; font-weight: 500; color: var(--band-ink-2); margin-bottom: 14px; }
.module-figure img { width: 100%; }

/* 4단계 */
.steps { margin-top: clamp(64px, 7vw, 96px); }
.steps-title { font-size: 15px; font-weight: 600; color: var(--band-ink); margin-bottom: 28px; }
.steps-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.steps-replay, .hero-replay { background: none; border: 0; padding: 0; color: var(--band-ink-2); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.steps-replay:hover, .steps-replay:focus-visible { color: var(--band-accent); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--band-line); }
.step { position: relative; padding: 28px 24px 8px 0; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; right: 24px; height: 2px; background: var(--band-accent); transform: scaleX(0); transform-origin: left; transition: transform .55s ease; }
.steps.motion-ready .step { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.steps.motion-ready .step.is-active, .steps.motion-ready .step.is-complete { opacity: 1; transform: translateY(0); }
.step.is-active::before, .step.is-complete::before { transform: scaleX(1); }
.step + .step { padding-left: 24px; border-left: 1px solid var(--band-line); }
.step img { width: 100%; max-width: 224px; margin-bottom: 24px; }
.step-no { font-size: 13px; font-weight: 600; color: var(--band-accent); font-variant-numeric: tabular-nums; }
.step h4 { font-size: 18px; line-height: 1.3; font-weight: 700; margin: 6px 0 12px; letter-spacing: -.01em; }
.step ul { list-style: none; font-size: 14px; line-height: 1.5; color: var(--band-ink-2); display: grid; gap: 4px; }
.step-copy { min-height: 145px; }
.step .step-diagram { display: block; width: min(100%, 210px); height: 137px; object-fit: contain; object-position: left center; margin: 0 0 20px; }
.step-microfield {
  display: grid; grid-template-columns: repeat(12, 11px); grid-template-rows: repeat(9, 11px);
  gap: 3px; align-content: center; justify-content: center;
  width: 172px; height: 130px; max-width: 100%; margin-top: 2px;
}
.microform { display: block; width: 11px; height: 11px; background-repeat: no-repeat; background-size: contain; transition: opacity .45s ease, transform .45s ease; }
.microform.variant-0 { background-image: url('../img/microform_a.svg'); }
.microform.variant-1 { background-image: url('../img/microform_b.svg'); }
.microform.variant-2 { background-image: url('../img/microform_c.svg'); }
.microform.is-kept { opacity: .84; }
.microform.is-filtered { opacity: .1; }
.microform.is-priority { opacity: 1; background-image: url('../img/microform_priority.svg'); transform: scale(1.12); }
.step.is-active .microform.is-kept { animation: micro-arrive .6s ease-out both; }
@keyframes micro-arrive { from { opacity: .15; transform: scale(.7); } to { opacity: .86; transform: scale(1); } }

/* PDO 격자 — 큰 칸 하나 + 작은 칸 둘 */
.pdo-grid {
  display: flex; justify-content: center; gap: 12px;
}
.pdo-grid img {
  width: min(48%, 235px); height: auto; aspect-ratio: 1; object-fit: cover;
}
.pdo-caption { margin-top: 12px; font-size: 13px; color: var(--band-ink-2); }

/* ── PIPELINE ── */
#pipeline { padding: clamp(80px, 10vw, 136px) 0; }
.pipe { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.pipe th {
  text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-3);
  padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
.pipe td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pipe td:first-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tag.fic { color: var(--accent); }
.muted { color: var(--ink-3); }

.stage-col { width: 30%; }
.stage-scale { display: grid; grid-template-columns: repeat(3, 1fr); font-weight: 500; }
.stage-scale span { padding-left: 6px; border-left: 1px solid var(--line); }
.track { display: grid; grid-template-columns: repeat(3, 1fr); height: 8px; background: #E6E8ED; }
.track .fill { background: var(--accent); }
.table-footnote { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* ── CONTACT ── */
#contact { padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
#contact .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); }
.contact-info { margin-top: 12px; display: grid; gap: 28px; }
.contact-info h5 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.contact-info a { font-size: 22px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.contact-info a:hover { border-color: var(--accent); color: var(--accent); }
.contact-info span { color: var(--ink-2); }

.form h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.form > p { color: var(--ink-2); margin: 6px 0 32px; }
.field { display: grid; gap: 6px; margin-bottom: 24px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 8px 0; transition: border-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.form .btn { border: 0; cursor: pointer; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 13px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 36px; width: auto; }

/* ── 반응형 ── */
@media (max-width: 960px) {
  .hero .wrap, .module, .module.reverse, #contact .wrap { grid-template-columns: 1fr; }
  .module.reverse .module-text { order: 0; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--band-line); }
  .nav-links { display: none; }
  .nav .wrap { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-sub { font-size: 18px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--band-line); }
  .step-copy { min-height: 0; margin-bottom: 24px; }
  .nav-right .btn { display: none; }

  /* 파이프라인 표 → 행마다 한 덩어리 */
  .pipe thead { display: none; }
  .pipe, .pipe tbody, .pipe tr, .pipe td { display: block; width: 100%; }
  .pipe tr { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .pipe td { border: 0; padding: 0; }
  .pipe td:first-child { font-size: 18px; grid-column: 1 / -1; }
  .pipe td[data-k]::before { content: attr(data-k); display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
  .pipe td.stage-cell { grid-column: 1 / -1; }
}

/* Tx-Finder 화면 흐름을 보여주는 별도 시안. 수치와 표적명은 모두 합성·익명 처리. */
.dashboard-trigger {
  display: block; position: relative; width: 100%; overflow: hidden;
  border: 1px solid var(--band-line); background: var(--band);
  color: #fff; cursor: pointer; text-align: left; font: inherit;
}
.dashboard-trigger img { width: 100%; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.dashboard-trigger:hover img { transform: scale(1.025); }
.dashboard-trigger-label {
  position: absolute; right: 14px; bottom: 14px;
  padding: 10px 14px; background: #E8EBF2; color: #0A1028;
  font-size: 13px; line-height: 1.1; font-weight: 700;
}
.dashboard-trigger-label span { margin-left: 12px; }

/* 실제 앱의 정보 위계를 다시 그린 축소 일러스트. 원본 화면이나 실데이터를 사용하지 않는다. */
.dashboard-art { display: block; padding: clamp(13px, 2vw, 22px); color: #E8EBF2; background: #080D22; }
.dashboard-art-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #263451; color: #94A6C7; font-size: 9px; letter-spacing: .09em; }
.dashboard-art-top b { color: #E8EBF2; font-weight: 700; }
.dashboard-art-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 15px 0 11px; font-size: clamp(17px, 2vw, 23px); font-weight: 650; letter-spacing: -.025em; }
.dashboard-art-title i { color: #5A93FF; font-size: 10px; font-style: normal; letter-spacing: .05em; white-space: nowrap; }
.dashboard-art-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; }
.dashboard-art-panel { display: block; min-width: 0; padding: 10px; border: 1px solid #263451; background: #101A34; }
.dashboard-art-label { display: block; margin-bottom: 8px; color: #A6B5CF; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.dashboard-art-panel svg { display: block; width: 100%; height: auto; }
.dashboard-art-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-width: 0; }
.dashboard-art-detail strong { display: block; color: #E8EBF2; font-size: 12px; font-weight: 600; }
.poster-bars { display: grid; gap: 7px; margin-top: 15px; }
.poster-bars i { display: block; width: 100%; height: 3px; background: #253956; }
.poster-bars i::before { content: ''; display: block; width: var(--bar-width, 58%); height: 100%; background: #4D8BFF; }
.dashboard-art-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.dashboard-trigger .dashboard-trigger-label { position: static; display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; font-size: 13px; }
.dashboard-trigger:hover .dashboard-trigger-label { background: #F3F5FA; }
.dashboard-trigger:focus-visible { outline: 2px solid #8BB4FF; outline-offset: 3px; }
@media (max-width: 620px) {
  .dashboard-art-top { font-size: 7px; }
  .dashboard-art-title { font-size: 15px; }
  .dashboard-art-panel { padding: 6px; }
  .dashboard-art-label { font-size: 6px; margin-bottom: 5px; }
  .dashboard-art-detail strong { font-size: 9px; }
  .poster-bars { margin-top: 7px; gap: 4px; }
}

.dashboard-demo {
  width: min(1320px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  border: 1px solid #374464; padding: 0; background: #07091E; color: #E8EBF2;
  overflow: auto; font-family: var(--font);
}
.dashboard-demo::backdrop { background: rgb(2 5 15 / .82); }
.demo-shell { padding: clamp(18px, 2.4vw, 32px); }
.demo-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.demo-kicker { display: block; color: #4D8BFF; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.demo-header h2 { font-size: clamp(25px, 3vw, 39px); line-height: 1.08; letter-spacing: -.035em; font-weight: 650; }
.demo-close {
  padding: 8px 0 8px 12px; background: none; border: 0; color: #E8EBF2;
  font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.demo-close span { font-size: 24px; vertical-align: -.1em; margin-left: 8px; }
.demo-close:hover { color: #4D8BFF; }
.demo-note { margin: 12px 0 23px; color: #A7B1CA; font-size: 12px; line-height: 1.4; }
.demo-workflow {
  display: flex; align-items: center; gap: 14px; min-height: 42px; padding: 0 14px;
  border: 1px solid #293452; background: #0E1732; color: #C4CEE1;
  font-size: 12px; font-weight: 600;
}
.demo-workflow b { color: #4D8BFF; font-size: 11px; margin-right: 6px; }
.demo-workflow-line { flex: 1; height: 1px; background: #293452; }
.demo-workflow-final { color: #E8EBF2; }
.dashboard-demo[data-state="selected"] .demo-workflow-final { color: #8BB4FF; }
.demo-controls {
  display: flex; gap: 24px; padding: 14px 0 2px; color: #8E9BB7;
  font-size: 11px; line-height: 1.25;
}
.demo-controls strong { color: #D8E1F4; font-weight: 600; margin-left: 7px; }
.demo-main { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr); gap: 12px; margin-top: 12px; }
.demo-side { display: grid; grid-template-rows: 1fr 1.2fr; gap: 12px; min-width: 0; }
.demo-panel { border: 1px solid #293452; background: #0E1732; padding: 14px; min-width: 0; }
.demo-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.demo-panel-head h3 { font-size: 13px; line-height: 1.25; font-weight: 650; color: #E8EBF2; }
.demo-panel-head span { font-size: 11px; color: #9AA7C2; }
.demo-panel svg { display: block; width: 100%; height: auto; }
.demo-map-panel svg { aspect-ratio: 680 / 280; }
#demo-map .plot-point { cursor: pointer; }
#demo-map .plot-point:hover, #demo-map .plot-point:focus { fill: #fff; stroke: #4D8BFF; stroke-width: 3px; outline: none; }
.demo-selection-panel { display: flex; flex-direction: column; }
.demo-selection-mark { display: flex; align-items: center; gap: 8px; margin: auto 0 12px; }
.demo-selection-mark i { display: block; width: 42px; height: 4px; background: #273857; }
.demo-selection-mark i:first-child { background: #4D8BFF; }
.demo-selection-panel p { color: #A7B1CA; font-size: 13px; line-height: 1.45; max-width: 28em; }
.demo-results { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 12px; }
.demo-profile { display: grid; gap: 12px; padding-top: 12px; }
.demo-profile-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.demo-profile-row span { color: #A7B1CA; font-size: 11px; }
.demo-profile-row i { display: block; height: 4px; background: #283957; position: relative; overflow: hidden; }
.demo-profile-row i::before { content: ''; display: block; width: var(--value); height: 100%; background: #4D8BFF; transform-origin: left; }
.demo-results[data-state="selected"] .demo-profile-row i::before { animation: bar-enter .65s cubic-bezier(.2,.7,.2,1) both; }
.demo-results[data-state="selected"] svg circle { animation: point-enter .45s ease-out both; }
.demo-detail-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0 12px; color: #A7B1CA; font-size: 12px; }
.demo-detail-action button { border: 1px solid #5A84CF; background: #163264; color: #F0F5FF; padding: 11px 15px; min-height: 44px; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.demo-detail-action button:hover:not(:disabled), .demo-detail-action button:focus-visible { background: #25509A; }
.demo-detail-action button:disabled { opacity: .46; cursor: default; }
.demo-detail-action button span { margin-left: 14px; font-size: 16px; }
.demo-deep { border-top: 1px solid #34415E; padding-top: 25px; }
.demo-deep-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.demo-deep-heading h3 { font-size: clamp(22px, 2.4vw, 31px); line-height: 1.1; font-weight: 650; letter-spacing: -.025em; }
.demo-deep-heading > span { font-size: 11px; color: #8DA5D0; }
.demo-deep-note { max-width: 75ch; margin: 10px 0 19px; color: #AAB8D0; font-size: 12px; line-height: 1.5; }
.demo-methods { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.demo-method { border: 1px solid #354568; background: #101A34; color: #B6C5DF; padding: 9px 14px; min-height: 40px; font: inherit; font-size: 11px; cursor: pointer; }
.demo-method:hover, .demo-method:focus-visible { border-color: #7FA9F9; color: #F4F7FF; }
.demo-method.is-current { background: #1D3C75; border-color: #78A2F4; color: #F3F7FF; }
.demo-deep-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(270px, .8fr); gap: 12px; }
.demo-deep-left, .demo-deep-right { display: grid; align-content: start; gap: 12px; min-width: 0; }
.demo-deep .demo-panel-head h4 { font-size: 13px; line-height: 1.25; font-weight: 650; }
.demo-deep .demo-panel { padding: 17px; }
.demo-deep svg { width: 100%; height: auto; }
.demo-indication-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-indication-inner > div + div { border-left: 1px solid #293452; padding-left: 14px; }
.demo-indication-inner p { font-size: 11px; color: #AABAD3; margin-bottom: 8px; }
.demo-heatmap-panel { display: grid; gap: 12px; }
.demo-heatmap-panel .demo-panel-head { margin-bottom: 0; }
.demo-heatmap-row { display: grid; grid-template-columns: 94px 1fr; align-items: center; gap: 12px; }
.demo-heatmap-row > span { color: #AABAD3; font-size: 11px; }
.demo-heatmap { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; }
.demo-heatmap i { display: block; height: 25px; border: 1px solid #334461; background: #1E2E4C; }
.demo-deep[data-state="empty"] .demo-deep-grid { opacity: .36; }
.demo-modality-graphic { height: 170px; border: 1px solid #293C60; overflow: hidden; background: #0B142C; }
.demo-modality-graphic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-modality-rows { display: grid; gap: 10px; padding-top: 17px; }
.demo-modality-rows span { display: grid; grid-template-columns: 1fr 96px; gap: 12px; color: #AABAD3; font-size: 11px; }
.demo-modality-rows i { position: relative; height: 5px; background: #314363; align-self: center; }
.demo-modality-rows i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--meter, 0%); background: #6D9FFF; transition: width .45s ease; }
.demo-survival { display: grid; gap: 10px; }
.demo-survival-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; min-height: 25px; color: #B8C8E0; font-size: 11px; }
.demo-survival-row i { display: block; height: 6px; position: relative; background: #2A3D60; }
.demo-survival-row i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--meter, 0%); background: #78A4EF; transition: width .45s ease; }
.demo-landscape { display: grid; gap: 3px; }
.demo-landscape-row { display: grid; grid-template-columns: 1fr 68px; gap: 8px; align-items: center; padding: 10px 11px; background: #172541; font-size: 11px; color: #BCCBE3; }
.demo-landscape-row b { color: #88ACF3; font-size: 10px; text-align: right; font-weight: 600; }
@keyframes bar-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes point-enter { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dashboard-trigger img, .demo-profile-row i::before, .demo-results svg circle { transition: none; animation: none !important; } }
@media (max-width: 900px) {
  .demo-main { grid-template-columns: 1fr; }
  .demo-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .demo-results { grid-template-columns: 1fr 1fr; }
  .demo-results > :last-child { grid-column: 1 / -1; }
  .demo-deep-grid { grid-template-columns: 1fr; }
  .demo-deep-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .dashboard-demo { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .demo-shell { padding: 14px; }
  .demo-side, .demo-results { grid-template-columns: 1fr; }
  .demo-results > :last-child { grid-column: auto; }
  .demo-note { margin-bottom: 14px; }
  .demo-workflow { flex-wrap: wrap; gap: 7px 12px; padding: 10px 12px; }
  .demo-workflow-line { flex: 0 0 10px; }
  .demo-controls { flex-wrap: wrap; gap: 7px 16px; }
  .demo-detail-action { align-items: flex-start; flex-direction: column; }
  .demo-deep-right, .demo-indication-inner { grid-template-columns: 1fr; }
  .demo-indication-inner > div + div { border-left: 0; border-top: 1px solid #293452; padding-left: 0; padding-top: 14px; }
  .demo-heatmap-row { grid-template-columns: 1fr; gap: 6px; }
  .demo-heatmap i { height: 19px; }
}

/* Hero: 빛 효과 대신 실제 일러스트 한 장과 작은 합성 후보군으로 장면을 만든다. */
.hero .wrap { grid-template-columns: 5.5fr 6.5fr; }
.hero-title { font-size: clamp(48px, 5.2vw, 74px); }
.hero-stage { position: relative; aspect-ratio: 800 / 620; overflow: hidden; background: #07091E; }
.hero-stage canvas { display: block; width: 100%; height: 100%; }
.hero-stage .hero-target {
  position: absolute; z-index: 1; width: 45%; max-width: none;
  top: 17%; right: 7%; height: auto; pointer-events: none;
  opacity: .93;
}
.hero-stage-meta {
  position: absolute; z-index: 2; left: 25px; bottom: 22px;
  display: grid; gap: 3px; color: #C3D0E8;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.hero-stage-meta span { color: #7F93BC; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.hero-stage-meta strong { color: #F3F7FF; font-size: clamp(28px, 3vw, 42px); line-height: 1; font-weight: 450; letter-spacing: -.05em; }
.hero-stage-meta small { color: #AEBBD5; font-size: 11px; }
.hero-stage.is-animating .hero-target { animation: target-arrive 5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes target-arrive { 0%,25% { opacity: .45; transform: scale(.94); } 75%,100% { opacity: .98; transform: scale(1); } }
.hero-figure .fig-note { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: left; }
.hero-replay { color: var(--ink-3); white-space: nowrap; }
.hero-replay:hover, .hero-replay:focus-visible { color: var(--accent); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { max-width: 800px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage.is-animating .hero-target { animation: none; }
  .steps.motion-ready .step { opacity: 1; transform: none; transition: none; }
  .step::before { transition: none; }
  .step.is-active .microform.is-kept { animation: none; }
}

/* v10 — A full-frame cell-to-target film, with the original copy over the scene. */
:root {
  --max: 1580px;
  --gutter: clamp(22px, 3.3vw, 64px);
}

.nav { background: #070B19; border-bottom-color: #202B43; }
.nav-ci img { filter: brightness(0) invert(1); }
.nav-links a, .lang a { color: #BFCBE0; }
.nav-links a:hover, .lang a.active { color: #FFFFFF; }
.nav-right .btn { background: var(--accent); }
.nav-right .btn:hover { background: #4384FF; }
.nav-menu-toggle { display: none; min-height: 44px; padding: 8px 10px; border: 1px solid #52627E; background: none; color: #F7F9FF; font: inherit; font-size: 14px; cursor: pointer; }
.nav-menu-toggle:hover, .nav-menu-toggle:focus-visible { border-color: #91AEEC; }
.mobile-nav { display: grid; padding: 8px var(--gutter) 16px; border-top: 1px solid #202B43; background: #070B19; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 10px 4px; min-height: 44px; color: #E5EBF6; font-size: 16px; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: #79A7FF; }

.hero.hero-cinema {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 68px);
  min-height: calc(100dvh - 68px);
  padding: 100px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background: #050A19 url('../img/hero_loop_poster.webp') center center / cover no-repeat;
  color: #F7F9FF;
}
.hero-video, .hero-video-tint { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { z-index: -2; display: block; object-fit: cover; object-position: center center; }
.hero-video-tint { z-index: -1; background: #020817; opacity: .24; pointer-events: none; }
.hero-cinema .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
}
.hero-copy { width: min(66%, 890px); }
.hero-cinema .hero-title {
  font-size: clamp(62px, 7.1vw, 116px);
  line-height: .96;
  letter-spacing: -.055em;
  color: #FFFFFF;
  text-wrap: balance;
}
.hero-cinema .hero-title em { color: #5B96FF; }
.hero-cinema .hero-sub {
  max-width: 690px;
  margin-top: clamp(28px, 3.6vw, 54px);
  color: #E3E9F5;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.48;
}
.hero-cinema .hero-sub strong, .hero-cinema .hero-tags strong { color: #FFFFFF; }
.hero-cinema .hero-tags {
  max-width: 690px;
  margin-top: clamp(28px, 3.5vw, 48px);
  padding-top: 23px;
  border-top: 1px solid #66738D;
  color: #CCD6E9;
  font-size: clamp(16px, 1.24vw, 19px);
  line-height: 1.5;
  gap: 3px;
}
.hero-cinema .hero-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #B8C6DD;
  font-size: 12px;
}
.hero-controls { display: flex; align-items: center; gap: 8px; }
.hero-cinema .hero-controls button { min-height: 44px; padding: 8px 12px; border: 1px solid #71809B; background: #0B172A; color: #E8EFFB; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.hero-cinema .hero-controls button:hover, .hero-cinema .hero-controls button:focus-visible { border-color: #9FB9ED; color: #FFFFFF; }
.hero-cinema .hero-controls button[hidden] { display: none; }

/* Widen the story and make the dashboard and four steps read at presentation scale. */
.h2 { font-size: clamp(42px, 4.3vw, 68px); }
.lede { font-size: clamp(20px, 1.6vw, 24px); max-width: 45em; }
#platform { padding: clamp(78px, 6.7vw, 108px) 0; }
.platform-head { max-width: 1080px; margin-bottom: clamp(52px, 5vw, 78px); }
.module { gap: clamp(44px, 5vw, 98px); }
.module + .module, .steps + .module { margin-top: clamp(80px, 7vw, 106px); }
.module-index { font-size: 17px; }
.module h3 { font-size: clamp(32px, 3vw, 48px); margin: 18px 0 32px; }
.feat li { padding: 16px 0; font-size: clamp(17px, 1.25vw, 19px); }
.figure-label { font-size: 16px; }
.dashboard-art { padding: clamp(16px, 1.8vw, 26px); }
.dashboard-art-top { font-size: 10px; }
.dashboard-art-title { font-size: clamp(20px, 1.6vw, 27px); }
.dashboard-art-label { font-size: 9px; }
.dashboard-art-detail strong { font-size: 13px; }
.dashboard-trigger .dashboard-trigger-label { font-size: 15px; padding: 17px 20px; }

.steps { margin-top: clamp(70px, 6vw, 92px); }
.steps-title { font-size: clamp(21px, 1.7vw, 26px); margin-bottom: 30px; }
.steps-replay { font-size: 14px; }
.step { padding-top: 32px; padding-bottom: 12px; }
.step-no { font-size: 15px; }
.step h4 { font-size: clamp(20px, 1.48vw, 23px); }
.step ul { font-size: clamp(15px, 1.13vw, 17px); }
.step-copy { min-height: 179px; }
.step .step-diagram { width: min(100%, 290px); max-width: 290px; height: 190px; margin-bottom: 24px; }

#pipeline, #contact { padding-top: clamp(78px, 6.7vw, 108px); padding-bottom: clamp(78px, 6.7vw, 108px); }
.pipe { font-size: 17px; }
.pipe th { font-size: 15px; }
.pipe td { padding-top: 24px; padding-bottom: 24px; }
.contact-info a { font-size: clamp(22px, 1.7vw, 27px); }
.form h3 { font-size: clamp(26px, 2.2vw, 34px); }
.form > p { font-size: 18px; }

@media (max-width: 960px) {
  .nav-menu-toggle { display: inline-block; }
  .hero-copy { width: min(82%, 760px); }
  .hero-cinema .hero-title { font-size: clamp(58px, 9vw, 88px); }
  .module, .module.reverse { gap: 35px; }
  .module.reverse .module-text { order: 0; }
  .module.reverse .module-figure { order: 1; }
  .step-copy { min-height: 155px; }
}
@media (max-width: 640px) {
  .nav-right { gap: 10px; }
  .nav-menu-toggle { order: 2; }
  .hero.hero-cinema { min-height: calc(100svh - 68px); min-height: calc(100dvh - 68px); padding: 76px 0 86px; background-position: 74% center; }
  .hero-video { object-position: 74% center; }
  .hero-video-tint { opacity: .49; }
  .hero-copy { width: 100%; }
  .hero-cinema .hero-title { font-size: clamp(44px, 11.6vw, 68px); line-height: .98; }
  .hero-cinema .hero-sub { margin-top: 27px; font-size: 18px; line-height: 1.48; }
  .hero-cinema .hero-tags { margin-top: 27px; padding-top: 17px; font-size: 15px; }
  .hero-cinema .hero-caption { bottom: 12px; gap: 10px; font-size: 10px; }
  .hero-cinema .hero-controls button { min-height: 44px; padding: 8px 10px; font-size: 11px; }
  .h2 { font-size: clamp(38px, 10vw, 52px); }
  .lede { font-size: 19px; }
  .module h3 { font-size: 32px; }
  .feat li { font-size: 17px; }
  .step-copy { min-height: 0; }
  .step .step-diagram { width: min(100%, 290px); }
  .dashboard-art-top { font-size: 7px; }
  .dashboard-art-label { font-size: 7px; }
  .dashboard-art-detail strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* v11 — show the original-resolution PDO microscopy at the figure's full width. */
.module.reverse .module-figure { min-width: 0; }
.pdo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: clamp(12px, 1.5vw, 22px); }
.pdo-grid img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1; object-fit: cover; }
.pdo-caption { margin-top: 16px; font-size: 15px; }

@media (max-width: 640px) {
  .pdo-grid { grid-template-columns: 1fr; }
}

/* v12 — the labels called out in review are approximately twice their v11 size. */
.label { font-size: 26px; line-height: 1.25; font-weight: 750; margin-bottom: 28px; }
.module-index { font-size: 34px; line-height: 1.15; font-weight: 750; }
.module-index b { font-weight: 750; }
.figure-label { font-size: 32px; line-height: 1.2; font-weight: 750; }
.steps-title { font-size: clamp(42px, 3.4vw, 52px); line-height: 1.12; font-weight: 750; margin-bottom: 38px; }
.step-no { font-size: 30px; font-weight: 750; }
.step h4 { font-size: clamp(40px, 2.96vw, 46px); line-height: 1.16; font-weight: 750; overflow-wrap: break-word; }
.step ul { font-size: clamp(30px, 2.26vw, 34px); line-height: 1.28; font-weight: 700; overflow-wrap: break-word; }
.step-copy { min-height: 450px; }
.stage-col { line-height: 1.4; }
.stage-scale { margin-top: 22px; font-size: 15px; }
.stage-scale span { padding-left: 12px; }
.pipe th { padding-bottom: 23px; }
.hero-cinema .hero-caption { justify-content: flex-end; }

@media (max-width: 960px) {
  .step-copy { min-height: 390px; }
}
@media (max-width: 640px) {
  .step-copy { min-height: 0; }
  .steps-title { font-size: 42px; }
  .step h4 { font-size: 40px; }
}

/* v14 — white hero and navigation for the new cell-to-target film. */
.nav {
  background: #FFFFFF;
  border-bottom-color: #DBE3EA;
}
.nav-ci img { filter: none; }
.nav-links a, .lang a { color: #34445C; }
.nav-links a:hover, .lang a:hover, .lang a.active { color: #0A1028; }
.nav-menu-toggle {
  border-color: #9EAFBF;
  background: #FFFFFF;
  color: #0A1028;
}
.nav-menu-toggle:hover, .nav-menu-toggle:focus-visible { border-color: #2466DE; }
.mobile-nav {
  border-top-color: #DBE3EA;
  background: #FFFFFF;
}
.mobile-nav a { color: #263C55; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: #1E6AFF; }

.hero.hero-cinema {
  background: #FFFFFF url('../img/hero_loop_poster.webp') center center / cover no-repeat;
  color: #0A1028;
}
.hero-video-tint { display: none; }
.hero-cinema .hero-title { color: #0A1028; }
.hero-cinema .hero-title em { color: #2466DE; }
.hero-cinema .hero-sub { color: #34445C; }
.hero-cinema .hero-sub strong, .hero-cinema .hero-tags strong { color: #0A1028; }
.hero-cinema .hero-tags {
  border-top-color: #A5B4C5;
  color: #52647B;
}
.hero-cinema .hero-caption { color: #52647B; }
.hero-cinema .hero-controls button {
  border-color: #8FA2B5;
  background: #FFFFFF;
  color: #0A1028;
}
.hero-cinema .hero-controls button:hover,
.hero-cinema .hero-controls button:focus-visible {
  border-color: #2466DE;
  color: #184F9C;
}

@media (max-width: 640px) {
  .hero.hero-cinema { background-position: 74% center; }
  .hero-video { object-position: 74% center; }
}

/* v13 — 4단계 위계: 제목(h4)은 v12 크기를 유지하고, 하위 항목은 본문 크기·보통 굵기로 낮춘다. */
.step ul { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; font-weight: 400; gap: 6px; }
.step-copy { min-height: 330px; }
@media (max-width: 960px) { .step-copy { min-height: 300px; } }
@media (max-width: 640px) { .step-copy { min-height: 0; } .step ul { font-size: 17px; } }

/* v13 — 파이프라인 단계명을 막대 아래에 글자로 보여준다 (라이브와 같은 정보). */
.stage-label { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* v13 — 국문 "다시 보기"가 좁은 화면에서 두 줄로 꺾이지 않게 한다. */
.steps-replay { white-space: nowrap; flex-shrink: 0; }

/* Keep the copy on an uninterrupted white field on narrow screens. The film
   continues below it, so the selected target never covers the headline. */
@media (max-width: 800px) {
  .hero.hero-cinema {
    display: block;
    min-height: 920px;
    padding: 62px 0 410px;
    background-size: auto 46%;
    background-position: 74% bottom;
  }
  .hero-video {
    top: auto;
    bottom: 0;
    height: 46%;
    object-position: 74% center;
  }
  .hero-cinema .hero-content { display: block; }
  .hero-copy { width: 100%; max-width: 690px; }
}
@media (max-width: 640px) {
  .hero.hero-cinema {
    min-height: calc(100dvh - 68px);
    padding: 44px 0 370px;
  }
}
