@charset "UTF-8";

@font-face {
    font-family: "Pretendard Variable";
    src: url("../../assets/fonts/PretendardVariable.woff2") format("woff2");
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0d0e14;
    --ink-2: #14161f;
    --ink-3: #1c1f2b;
    --violet: #6d5efc;
    --violet-2: #8d80ff;
    --violet-soft: #efedff;
    --lime: #ccff4d;
    --lime-ink: #2c3a06;
    --paper: #ffffff;
    --paper-2: #f4f4f7;
    --text: #22242e;
    --muted: #63677a;
    --faint: #9a9eb1;
    --line: #e5e5ec;
    --on-dark: rgba(255, 255, 255, .62);
    --on-dark-faint: rgba(255, 255, 255, .38);
    --edge: rgba(255, 255, 255, .1);
    --wrap: 1180px;
    --pad: max(24px, calc((100vw - var(--wrap)) / 2));
    /* 한글 글리프가 없는 monospace 는 한글에서 시스템 고정폭으로 떨어져 자간이 벌어진다.
       generic 앞에 Pretendard 를 두면 숫자·영문만 고정폭이 되고 한글은 본문 폰트로 이어진다. */
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Pretendard Variable", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--text); font-family: "Pretendard Variable", "Noto Sans KR", Arial, sans-serif; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; letter-spacing: -.05em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link { position: fixed; left: 16px; top: -64px; z-index: 120; padding: 12px 18px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 750; }
.skip-link:focus { top: 16px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 110; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--lime)); transform: scaleX(0); transform-origin: left; }

/* ── 헤더 ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--edge); background: rgba(13, 14, 20, .82); backdrop-filter: blur(20px) saturate(1.4); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; padding-inline: var(--pad); transition: min-height .3s; }
.site-header.scrolled .header-inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-seal { position: relative; display: block; width: 34px; height: 34px; border-radius: 11px; background: var(--violet); flex: none; box-shadow: 0 6px 20px rgba(109, 94, 252, .45); }
.brand-seal i { position: absolute; left: 8px; top: 10px; width: 18px; height: 3px; border-radius: 2px; background: #fff; }
.brand-seal b { position: absolute; bottom: 10px; width: 4.6px; height: 4.6px; border-radius: 50%; background: var(--lime); }
.brand-seal b:nth-of-type(1) { left: 8px; }
.brand-seal b:nth-of-type(2) { left: 14.7px; }
.brand-seal b:nth-of-type(3) { left: 21.4px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.045em; }

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; color: var(--on-dark); font-size: 14px; font-weight: 620; }
.site-nav > a { position: relative; padding-block: 6px; transition: color .2s; }
.site-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--lime); transition: right .25s; }
.site-nav > a:hover, .site-nav > a:focus-visible { color: #fff; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 11px 20px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 13.5px; font-weight: 780; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(204, 255, 77, .28); }
.menu-button { display: none; }

.family-site { position: relative; display: flex; align-items: center; }
.family-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 999px; color: var(--on-dark); background: rgba(255, 255, 255, .04); font: inherit; font-size: 12.5px; font-weight: 680; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.family-toggle:hover, .family-toggle:focus-visible, .family-toggle[aria-expanded="true"] { color: #fff; border-color: rgba(141, 128, 255, .6); background: rgba(109, 94, 252, .18); }
.family-symbol { display: grid; grid-template-columns: repeat(2, 4px); gap: 2px; flex: none; }
.family-symbol i { width: 4px; height: 4px; border-radius: 1px; background: currentColor; }
.family-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.family-toggle[aria-expanded="true"] .family-caret { transform: translateY(2px) rotate(-135deg); }
.family-list { position: absolute; z-index: 4; top: calc(100% + 16px); right: 0; display: none; width: 216px; padding: 8px; border: 1px solid var(--edge); border-radius: 16px; background: rgba(20, 22, 31, .96); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); backdrop-filter: blur(20px); }
.family-list.open { display: block; }
.family-list a, .family-current, .family-pending { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 12px; border-radius: 10px; color: var(--on-dark); font-size: 14px; }
.family-list a:hover, .family-list a:focus-visible { color: #fff; background: rgba(255, 255, 255, .07); }
.family-current { color: var(--lime); background: rgba(204, 255, 77, .1); font-weight: 730; }
.family-pending { color: var(--on-dark-faint); }
.family-list i { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 10px; font-style: normal; font-weight: 700; }
.family-current i { color: var(--lime-ink); background: var(--lime); }

/* ── 공통 조각 ────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 700; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(204, 255, 77, .16); }
.chip.dark { border-color: var(--line); background: var(--violet-soft); color: var(--violet); }
.chip.dark i { background: var(--violet); box-shadow: 0 0 0 4px rgba(109, 94, 252, .14); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 750; transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn-solid { background: var(--lime); color: var(--lime-ink); }
.btn-solid:hover, .btn-solid:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(204, 255, 77, .3); }
.btn-line { border: 1px solid var(--edge); color: #fff; }
.btn-line:hover, .btn-line:focus-visible { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }

.sec-head { max-width: var(--wrap); margin-inline: auto; }
.sec-head h2 { margin-top: 22px; color: var(--ink); font-size: clamp(34px, 4.4vw, 58px); font-weight: 780; line-height: 1.22; }
.sec-head h2 em { color: var(--violet); font-style: normal; font-weight: inherit; }
.sec-head > p { max-width: 640px; margin-top: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.82; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark h2 em { color: var(--lime); }
.sec-head.on-dark > p { color: var(--on-dark); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row li { padding: 5px 10px; border: 1px solid var(--edge); border-radius: 7px; color: var(--on-dark); font: 620 11px/1.5 var(--mono); }
.tag-row.dark li { border-color: var(--line); background: var(--paper-2); color: var(--muted); }

.scroll-hint { display: none; margin-top: 14px; color: var(--faint); font-size: 12px; }
.scroll-hint.show { display: block; }

/* 시작 상태는 스크립트가 .js 를 붙였을 때만 켠다. 스크립트가 없거나 실패하면
   투명한 채로 남지 않고 처음부터 그냥 보인다. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal].visible { opacity: 1; transform: none; }

/* ── 01 히어로 ────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 108px) var(--pad) 0; }
.hero-aura { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; }
.hero-aura i { position: absolute; border-radius: 50%; filter: blur(110px); }
.hero-aura i:first-child { left: 4%; top: 6%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: rgba(109, 94, 252, .5); }
.hero-aura i:last-child { right: 2%; top: 26%; width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: rgba(204, 255, 77, .14); }
.hero-inner { position: relative; max-width: var(--wrap); margin-inline: auto; }
.hero h1 { margin-top: 30px; color: #fff; font-size: clamp(38px, 6.4vw, 82px); font-weight: 800; line-height: 1.13; }
.hero h1 em { color: var(--lime); font-style: normal; font-weight: inherit; }
.hero-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); align-items: end; gap: 64px; margin-top: clamp(44px, 5vw, 72px); }
.hero-say > p { max-width: 500px; color: var(--on-dark); font-size: 16px; line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-stream { border: 1px solid var(--edge); border-radius: 22px; background: linear-gradient(180deg, rgba(28, 31, 43, .9), rgba(20, 22, 31, .72)); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); overflow: hidden; }
.stream-top { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--edge); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .08em; }
.stream-top i { width: 26px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .2), var(--lime)); }
.stream-top small { margin-left: auto; color: var(--on-dark-faint); font: 600 10.5px/1 var(--mono); letter-spacing: .04em; }
.stream-view { position: relative; height: 292px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.stream-track { animation: stream 22s linear infinite; }
.stream-track li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .05); font: 600 12.5px/1 var(--mono); }
.stream-track .k { padding: 4px 0; border-radius: 5px; color: #fff; font: 700 9px/1.4 "Pretendard Variable", sans-serif; font-style: normal; text-align: center; }
.stream-track .k.name { background: rgba(109, 94, 252, .85); }
.stream-track .k.ssn { background: rgba(141, 128, 255, .55); }
.stream-track .k.tel { background: rgba(255, 255, 255, .16); }
.stream-track .in { color: var(--on-dark-faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .22); }
.stream-track i { color: rgba(255, 255, 255, .3); font-style: normal; }
.stream-track .out { color: var(--lime); }
@keyframes stream { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.stream-foot { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--edge); color: var(--on-dark-faint); font-size: 11px; }
.stream-foot span:last-child { color: var(--lime); }

.hero-facts { max-width: var(--wrap); margin: clamp(64px, 7vw, 104px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--edge); }
.hero-facts li { padding: 30px 26px 34px; border-right: 1px solid var(--edge); }
.hero-facts li:last-child { border-right: 0; }
.hero-facts b { display: block; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.05em; }
.hero-facts span { display: block; margin-top: 10px; color: var(--lime); font-size: 12.5px; font-weight: 700; }
.hero-facts small { display: block; margin-top: 6px; color: var(--on-dark-faint); font-size: 12px; line-height: 1.6; }

/* ── 02 비식별 변환 (라이트) ──────────────────────────────────────── */
.live { padding: clamp(88px, 11vw, 150px) var(--pad); border-radius: 40px 40px 0 0; background: var(--paper); }
.live-board { max-width: var(--wrap); margin: 52px auto 0; padding: 12px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--paper-2), var(--paper)); box-shadow: 0 30px 70px rgba(13, 14, 20, .08); }
.live-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live-rule { display: grid; gap: 5px; padding: 18px 20px; border: 1px solid transparent; border-radius: 18px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.live-rule:hover { background: var(--paper); border-color: var(--line); }
.live-rule em { font-size: 16px; font-style: normal; font-weight: 750; letter-spacing: -.03em; }
.live-rule small { font: 620 11px/1 var(--mono); opacity: .72; }
.live-rule.is-on { border-color: transparent; background: var(--ink); color: #fff; transform: translateY(-1px); }
.live-rule.is-on small { color: var(--lime); opacity: 1; }

.live-panes { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); align-items: stretch; gap: 0; margin-top: 12px; }
.live-pane { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; }
.live-pane.is-masked { border-color: rgba(109, 94, 252, .35); box-shadow: 0 18px 44px rgba(109, 94, 252, .12); }
.pane-top { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 700 12px/1 var(--mono); color: var(--text); }
.pane-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.pane-top .dot.on { background: var(--lime); box-shadow: 0 0 0 4px rgba(204, 255, 77, .3); }
.pane-top small { margin-left: auto; color: var(--faint); font: 600 10.5px/1 "Pretendard Variable", sans-serif; }
.pane-grid { padding: 6px; overflow-x: auto; }
.pane-grid > div { display: grid; grid-template-columns: 92px 68px minmax(126px, 1fr) minmax(118px, 1fr); align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 10px; font: 600 12px/1.4 var(--mono); color: var(--text); }
.pane-grid > div > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s, background .25s; }
.pane-head { color: var(--faint) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .04em; }
.pane-grid > div:not(.pane-head):nth-child(odd) { background: rgba(13, 14, 20, .022); }
.is-origin .pane-grid [data-col]:not([data-col="no"]) { color: var(--muted); }
.is-masked .pane-grid [data-convert] { color: var(--violet); font-weight: 700; }
.live-board[data-active="name"] .pane-grid [data-col="name"]:not(.pane-head span),
.live-board[data-active="ssn"] .pane-grid [data-col="ssn"],
.live-board[data-active="tel"] .pane-grid [data-col="tel"] { background: rgba(109, 94, 252, .09); border-radius: 6px; }
.is-masked .pane-grid [data-convert].flash { color: var(--lime-ink); background: var(--lime) !important; border-radius: 6px; }
.pane-grid .pane-head span { background: none !important; }

.live-bridge { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 0 14px; }
.bridge-line { width: 1px; flex: 1; height: 42px; background: linear-gradient(180deg, transparent, var(--line)); }
.bridge-line:last-child { background: linear-gradient(180deg, var(--line), transparent); }
.bridge-tag { display: grid; justify-items: center; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 16px 36px rgba(13, 14, 20, .28); }
.bridge-tag b { font-size: 14px; font-weight: 800; letter-spacing: -.03em; }
.bridge-tag small { color: var(--lime); font-size: 10px; font-weight: 650; }

.live-desc { margin: 12px 4px 4px; padding: 18px 20px; border-radius: 16px; background: var(--violet-soft); color: #3f3a80; font-size: 13.5px; line-height: 1.75; }
.live-note { max-width: var(--wrap); margin: 20px auto 0; color: var(--faint); font-size: 12.5px; }

/* ── 03 벤토 (다크) ───────────────────────────────────────────────── */
.bento-section { padding: clamp(88px, 11vw, 150px) var(--pad); background: var(--ink); }
.bento { max-width: var(--wrap); margin: 52px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--edge); border-radius: 22px; background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); transition: border-color .3s, transform .3s, background .3s; }
.bento-card:hover { border-color: rgba(141, 128, 255, .5); background: linear-gradient(165deg, rgba(109, 94, 252, .16), rgba(255, 255, 255, .02)); transform: translateY(-3px); }
.bento-no { color: var(--lime); font: 750 11px/1 var(--mono); letter-spacing: .1em; }
.bento-card h3 { margin-top: 14px; color: #fff; font-size: 21px; font-weight: 760; }
.bento-card > p { margin-top: 12px; color: var(--on-dark); font-size: 13.5px; line-height: 1.78; }
.bento-card .tag-row { margin-top: auto; padding-top: 22px; }
.bento-card.is-lead { grid-column: span 2; grid-row: span 2; padding: 34px; background: linear-gradient(160deg, rgba(109, 94, 252, .26), rgba(255, 255, 255, .02)); border-color: rgba(141, 128, 255, .34); }
.bento-card.is-lead h3 { font-size: 28px; }
.bento-card.is-lead > p { font-size: 14.5px; }
.bento-card.is-wide { grid-column: span 2; }

.rule-mini { margin-top: auto; padding-top: 26px; display: grid; gap: 8px; }
.rule-mini > div { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(13, 14, 20, .42); }
.rule-mini b { color: #fff; font: 650 11.5px/1 var(--mono); }
.rule-mini em { padding: 4px 8px; border-radius: 6px; font: 700 9.5px/1 "Pretendard Variable", sans-serif; font-style: normal; }
.rule-mini em.c { background: rgba(109, 94, 252, .3); color: #cfc8ff; }
.rule-mini em.l { background: rgba(204, 255, 77, .16); color: var(--lime); }
.rule-mini small { margin-left: auto; color: var(--on-dark-faint); font: 600 10.5px/1 var(--mono); }

/* ── 04 이관 절차 (라이트 · 스티키) ──────────────────────────────── */
.journey { padding: clamp(88px, 11vw, 150px) var(--pad); border-radius: 40px 40px 0 0; background: var(--paper); }
.journey-body { max-width: var(--wrap); margin: 60px auto 0; display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 80px; }
.journey-rail { position: sticky; top: 132px; align-self: start; display: grid; grid-template-columns: 3px 1fr; gap: 26px; height: fit-content; }
.rail-line { position: relative; width: 3px; border-radius: 3px; background: var(--line); }
.rail-line i { position: absolute; inset: 0 0 auto; height: 0; border-radius: 3px; background: linear-gradient(180deg, var(--violet), var(--lime)); transition: height .45s cubic-bezier(.16, 1, .3, 1); }
.journey-rail ol { display: grid; gap: 28px; }
.journey-rail li { display: flex; align-items: baseline; gap: 12px; color: var(--faint); transition: color .3s, transform .3s; }
.journey-rail li b { font: 750 11px/1 var(--mono); }
.journey-rail li span { font-size: 19px; font-weight: 750; letter-spacing: -.04em; }
.journey-rail li.is-on { color: var(--ink); transform: translateX(4px); }
.journey-rail li.is-on b { color: var(--violet); }

.journey-list { display: grid; gap: clamp(48px, 7vw, 92px); }
/* 자식 선택자로 좁힌다. 후손까지 잡으면 안쪽 .tag-row 의 li 에도 아래 여백과 밑줄이 붙는다. */
.journey-list > li { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.journey-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.step-no { color: var(--violet); font: 750 11px/1 var(--mono); letter-spacing: .12em; }
.journey-list h3 { margin-top: 16px; color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); font-weight: 780; line-height: 1.26; }
.journey-list > li > p:not(.step-no) { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.journey-list .tag-row { margin-top: 24px; }

/* ── 05 데이터 흐름 (다크 파이프) ────────────────────────────────── */
.flow { padding: clamp(88px, 11vw, 150px) var(--pad); background: var(--ink); }
.flow-diagram { max-width: var(--wrap); margin: 60px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .82fr) minmax(0, 1fr); align-items: center; gap: 0 18px; }
.flow-node { padding: 26px; border: 1px solid var(--edge); border-radius: 20px; background: rgba(255, 255, 255, .035); }
.flow-node.is-out { border-color: rgba(204, 255, 77, .3); background: linear-gradient(160deg, rgba(204, 255, 77, .08), rgba(255, 255, 255, .02)); }
.flow-node > p { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.flow-node b { color: #fff; font-size: 17px; font-weight: 760; letter-spacing: -.03em; }
.flow-node em { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark); font: 700 9.5px/1.5 var(--mono); font-style: normal; }
.flow-node.is-out em { background: rgba(204, 255, 77, .16); color: var(--lime); }
.flow-node ul { display: grid; gap: 8px; }
.flow-node li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 0 15px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; font-size: 13px; }
.flow-node li span { color: var(--on-dark-faint); font-size: 11px; }
.flow-node.is-out li span { color: var(--lime); }

.flow-pipe { position: relative; display: grid; justify-items: center; gap: 16px; }
.pipe-body { position: relative; display: block; width: 100%; height: 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(109, 94, 252, .55) 48%, rgba(204, 255, 77, .5)); overflow: hidden; }
.pipe-body s { position: absolute; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .9; animation: drift 3.4s linear infinite; }
.pipe-body s:nth-child(1) { animation-delay: 0s; }
.pipe-body s:nth-child(2) { animation-delay: .56s; }
.pipe-body s:nth-child(3) { animation-delay: 1.12s; }
.pipe-body s:nth-child(4) { animation-delay: 1.68s; }
.pipe-body s:nth-child(5) { animation-delay: 2.24s; }
.pipe-body s:nth-child(6) { animation-delay: 2.8s; }
@keyframes drift {
    0% { left: -8px; background: #fff; }
    46% { background: #fff; }
    54% { background: var(--lime); }
    100% { left: 100%; background: var(--lime); }
}
.pipe-gate { display: grid; justify-items: center; gap: 3px; padding: 16px 22px; border: 1px solid rgba(141, 128, 255, .5); border-radius: 18px; background: linear-gradient(160deg, rgba(109, 94, 252, .4), rgba(13, 14, 20, .8)); box-shadow: 0 18px 44px rgba(109, 94, 252, .3); }
.pipe-gate b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.pipe-gate small { color: var(--lime); font-size: 10.5px; font-weight: 650; }
.pipe-label { position: absolute; top: -22px; color: var(--on-dark-faint); font: 650 10px/1 var(--mono); font-style: normal; letter-spacing: .06em; }
.pipe-label.left { left: 0; }
.pipe-label.right { right: 0; color: var(--lime); }

.flow-conf { grid-column: 1 / -1; margin-top: 20px; padding: 24px 26px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 20px; }
.flow-conf > p { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.flow-conf b { color: #fff; font-size: 15px; font-weight: 750; }
.flow-conf em { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark); font: 700 9.5px/1.5 var(--mono); font-style: normal; }
.flow-conf ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flow-conf li { min-height: 46px; display: flex; align-items: center; padding: 0 15px; border-radius: 12px; background: rgba(255, 255, 255, .045); color: var(--on-dark); font-size: 12.5px; }

.flow-notes { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 40px; border-top: 1px solid var(--edge); }
.flow-notes b { display: block; color: #fff; font-size: 15.5px; font-weight: 740; letter-spacing: -.03em; }
.flow-notes span { display: block; margin-top: 10px; color: var(--on-dark); font-size: 13px; line-height: 1.75; }

/* ── 06 관리 화면 (라이트 · 탭) ──────────────────────────────────── */
.screens { padding: clamp(88px, 11vw, 150px) var(--pad); border-radius: 40px 40px 0 0; background: var(--paper); }
.screen-viewer { max-width: var(--wrap); margin: 48px auto 0; }
.screen-tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.screen-tabs button { padding: 11px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.screen-tabs button:hover { color: var(--ink); }
.screen-tabs button.is-on { background: var(--ink); color: #fff; }

.screen-stage { margin-top: 22px; }
.mock { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 70px rgba(13, 14, 20, .1); animation: mockin .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes mockin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 0 20px; min-height: 50px; background: var(--ink); color: #fff; font-size: 13px; }
.mock-seal { width: 18px; height: 18px; border-radius: 6px; background: var(--violet); flex: none; }
.mock-bar small { margin-left: auto; color: var(--on-dark-faint); font-size: 11px; }
.mock-body { padding: 24px; overflow-x: auto; }
.mock-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.mock-title h3 { color: var(--ink); font-size: 19px; font-weight: 760; }
.mock-title > div { display: flex; align-items: center; gap: 7px; color: var(--faint); font-size: 11px; }
.mock-title b { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: 620 11px/1 var(--mono); }
.mock-title button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); color: var(--text); font-size: 11px; font-weight: 650; cursor: default; }

.mock-run { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(109, 94, 252, .25); border-radius: 12px; background: var(--violet-soft); font-size: 12px; color: var(--muted); }
.mock-run em { padding: 5px 10px; border-radius: 999px; background: var(--violet); color: #fff; font: 700 10px/1 "Pretendard Variable", sans-serif; font-style: normal; }
.mock-run b { color: var(--ink); font: 700 12.5px/1 var(--mono); }
.mock-run small { margin-left: auto; color: var(--faint); }

.mock-grid { min-width: 720px; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mock-grid > div { display: grid; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mock-grid > div:last-child { border-bottom: 0; }
.mock-grid > div > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-head { min-height: 40px !important; background: var(--paper-2); color: var(--faint) !important; font-size: 10.5px !important; font-weight: 700; }
.mock-grid b { color: var(--ink); font-weight: 720; }
.mock-grid i { color: var(--faint); font-style: normal; }
.mock-grid em { justify-self: start; padding: 4px 9px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font: 700 10px/1 "Pretendard Variable", sans-serif; font-style: normal; }
.mock-grid em.t.load { background: rgba(109, 94, 252, .12); color: var(--violet); }
.mock-grid em.t.del { background: #fdeceb; color: #b4352c; }
.mock-grid u { text-decoration: none; font-weight: 700; font-size: 11.5px; }
.mock-grid u.ok { color: #2f7d4f; }
.mock-grid u.wait { color: #a06a12; }
.mock-grid u.diff { color: #a06a12; }
.mock-grid u.same { color: var(--faint); }
.mock-grid u.only { color: var(--violet); }
.mock-grid button { justify-self: start; padding: 6px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--text); font-size: 10.5px; font-weight: 650; cursor: default; }
.cols-rule > div { grid-template-columns: 44px 1.1fr 1.1fr 1.2fr 52px 52px 82px; }
.cols-transfer > div { grid-template-columns: 44px 78px 62px 1fr 1.1fr 1.1fr 58px 100px; }
.cols-compare > div { grid-template-columns: 96px 1.2fr 1.2fr 1fr 76px; }
.mock-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mock-foot span { flex: 1; min-width: 220px; color: var(--faint); font-size: 12px; }
.mock-foot button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); font-size: 12px; font-weight: 650; cursor: default; }
.mock-foot button.on { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ── 07 문의 ──────────────────────────────────────────────────────── */
.cta { padding: clamp(88px, 11vw, 150px) var(--pad); background: radial-gradient(120% 140% at 12% 0%, rgba(109, 94, 252, .5), transparent 62%), var(--ink); }
.cta-inner { max-width: var(--wrap); margin-inline: auto; }
.cta h2 { margin-top: 24px; color: #fff; font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.18; }
.cta > .cta-inner > p { max-width: 560px; margin-top: 24px; color: var(--on-dark); font-size: 15.5px; line-height: 1.85; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; margin-top: 40px; }
/* 데이터 값이 아니라 사람이 읽는 연락처라 본문 글꼴을 쓴다. 고정폭이면 옆 버튼과 따로 논다. */
.cta-mail { color: var(--lime); font-size: 15px; font-weight: 700; border-bottom: 1px solid rgba(204, 255, 77, .4); padding-bottom: 4px; }

/* ── 푸터 ─────────────────────────────────────────────────────────── */
footer { padding: 72px var(--pad) 56px; border-top: 1px solid var(--edge); background: var(--ink); }
.footer-inner { max-width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 60px; }
.footer-brand p { margin-top: 18px; max-width: 380px; color: var(--on-dark); font-size: 13.5px; line-height: 1.75; }
.footer-meta { display: grid; align-content: start; gap: 8px; color: var(--on-dark); font-size: 13.5px; }
.footer-meta span { color: #fff; font-weight: 700; }
.footer-meta a:hover { color: var(--lime); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--edge); color: var(--on-dark-faint); font-size: 12.5px; }
.footer-bottom a:hover { color: var(--lime); }

/* ── 반응형 ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .hero-band { grid-template-columns: 1fr; align-items: start; gap: 48px; }
    .hero-facts { grid-template-columns: repeat(2, 1fr); }
    .hero-facts li:nth-child(2) { border-right: 0; }
    .hero-facts li:nth-child(-n+2) { border-bottom: 1px solid var(--edge); }
    .live-panes { grid-template-columns: 1fr; gap: 0; }
    .live-bridge { grid-auto-flow: column; justify-content: center; padding: 14px 0; }
    .bridge-line { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
    .bridge-line:last-child { background: linear-gradient(90deg, var(--line), transparent); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card.is-lead { grid-column: span 2; grid-row: auto; }
    .bento-card.is-wide { grid-column: span 2; }
    .journey-body { grid-template-columns: 1fr; gap: 40px; }
    .journey-rail { position: static; grid-template-columns: 3px 1fr; }
    .journey-rail ol { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
    .journey-rail li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .journey-rail li span { font-size: 14px; }
    .rail-line { width: 100%; height: 3px; grid-column: 1 / -1; }
    .journey-rail { grid-template-columns: 1fr; gap: 18px; }
    .rail-line i { inset: 0 auto 0 0; width: 0; height: 100%; transition: width .45s cubic-bezier(.16, 1, .3, 1); }
    .flow-diagram { grid-template-columns: 1fr; gap: 22px; }
    .flow-pipe { padding: 30px 0; }
    .pipe-label { top: 4px; }
    .flow-notes { grid-template-columns: 1fr; gap: 22px; }
    .flow-conf ul { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    html { scroll-padding-top: 76px; }
    .header-inner { min-height: 66px; gap: 14px; }
    .menu-button { display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; padding: 0 10px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
    .menu-button i { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s; }
    .menu-button[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-button[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .site-header { background: rgba(13, 14, 20, .9); backdrop-filter: blur(20px); }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--edge); background: rgba(13, 14, 20, .98); backdrop-filter: blur(20px); }
    .site-nav.open { display: flex; }
    .site-nav > a { padding-block: 16px; border-bottom: 1px solid var(--edge); font-size: 16px; }
    .site-nav > a::after { display: none; }
    .family-site { padding-top: 18px; }
    .family-toggle { width: 100%; justify-content: space-between; }
    .family-list { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
    .nav-cta { margin-top: 14px; text-align: center; justify-content: center; display: flex; align-items: center; min-height: 48px; }
    .live, .journey, .screens { border-radius: 28px 28px 0 0; }
    .live-rules { grid-template-columns: 1fr; }
    .live-rule { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; }
    .pane-grid > div { grid-template-columns: 84px 62px 122px 116px; }
    .bento { grid-template-columns: 1fr; }
    .bento-card, .bento-card.is-lead, .bento-card.is-wide { grid-column: span 1; padding: 24px; }
    .journey-rail ol { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); }
    .journey-rail li b { font-size: 10px; }
    .journey-rail li span { font-size: 12.5px; }
    .screen-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; }
    .screen-tabs button { padding: 12px 8px; border-radius: 12px; font-size: 13px; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .cta-mail { text-align: center; }
}

@media (max-width: 560px) {
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts li { border-right: 0; border-bottom: 1px solid var(--edge); }
    .hero-facts li:last-child { border-bottom: 0; }
    .stream-view { height: 244px; }
    .live-board { padding: 8px; border-radius: 22px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .stream-track, .pipe-body s, .mock { animation: none !important; }
    * { transition-duration: .01ms !important; }
}
