/* 다있나 1차 시안 — 참고: 은행연합회 사회공헌 하이라이트(색 판 + 흰 카드 + 큰 숫자)
   레이아웃: 파랑 그라데이션 첫 화면 → 단계별 좌측 색 판/우측 카드 → 연한 바탕 기능 → 그라데이션 보안 → 절차 → 남색·파랑 반반 문의 */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/pretendard-subset.woff2") format("woff2-variations"),
       url("/assets/fonts/pretendard-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0e61be;        /* 큰 숫자·링크 */
  --band-a: #3c5ec4;      /* 그라데이션 시작 */
  --band-b: #38509a;      /* 그라데이션 끝 */
  --bar: #4a65e2;         /* 강조 막대 */
  --bar-soft: #99b7ea;    /* 연한 막대 */
  --navy: #1a294b;        /* 하단·말풍선 */
  --ink: #101a30;         /* 제목 */
  --ink-soft: #4a5468;    /* 본문 */
  --muted: #8b94a5;       /* 보조 글 */
  --line: #e4e9f0;
  --tint: #f2f7f9;        /* 연한 회청 바탕 */
  --gray: #f7f8fa;        /* 연한 회색 바탕 */
  --white: #ffffff;
  --p1: #1167c9;          /* 단계 판 색 */
  --p2: #0a93b8;
  --p3: #2a3fa6;
  --p4: #0e7c8f;
  /* 글자 크기 단계(1440px 이상 기준): 장식 16 · 보조 17 · 본문 21 · 리드 25 · 카드 제목 22 · 소제목 27
     가장 작은 글 16px 기준으로 모두 16/13배. 화면이 줄면 비례해 줄어들되, 읽는 글은 15px 아래로 내려가지 않는다
     (최소: 장식 15 · 보조 16 · 본문 18 · 리드 20, 휴대폰 그래프 축 이름만 13) */
  --fs-xs: clamp(15px, 1.11vw, 16px);
  --fs-sm: clamp(16px, 1.18vw, 17px);
  --fs-base: clamp(18px, 1.46vw, 21px);
  --fs-lead: clamp(20px, 1.74vw, 25px);
  --fs-h4: clamp(18px, 1.53vw, 22px);
  --fs-h3: clamp(22px, 1.88vw, 27px);
  /* 섹션 위아래 여백: 큰 섹션 · Step 칸 · 문의 판 (1440px 이상 최대값, 좁아지면 비례해 줄어듦) */
  --sec-y: clamp(120px, 12.5vw, 180px);
  --step-y: clamp(72px, 6.9vw, 100px);
  --contact-y: clamp(80px, 6.9vw, 100px);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --wrap: 1120px;
  --r: 16px;
  --shadow: 0 14px 34px rgba(16, 26, 48, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--bar-soft); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 24px);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* 버튼 */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: clamp(16px, 1.71vw, 25px); line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}
.pill i { font-style: normal; transition: transform .2s; }
.pill:hover i { transform: translateX(4px); }
.pill-solid { background: var(--white); color: var(--band-a); }
.pill-solid:hover { background: var(--tint); }
.pill-line { border: 1.5px solid rgba(255, 255, 255, .85); color: var(--white); }
.pill-line:hover { background: rgba(255, 255, 255, .12); }

/* 상단 */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: clamp(20px, 2.14vw, 31px); letter-spacing: -0.02em; }
.brand small { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; opacity: .75; margin-left: 2px; }
.mark { width: auto; height: 1.15em; flex: none; fill: currentColor; }   /* 다있나 로고(D + 체크) — 파란 머리·바닥 위 흰색 */
.nav { display: flex; align-items: center; gap: 30px; font-size: var(--fs-xs); font-weight: 500; }
.nav a:not(.pill) { opacity: .88; }
.nav a:not(.pill):hover { opacity: 1; }
.nav .pill { padding: 9px 20px; font-size: var(--fs-xs); }

/* 오른쪽 위치 점 */
.dots {
  position: fixed; z-index: 15;
  right: calc(22px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0;
  padding: 8px 0;
}
.dots a {
  position: relative; display: flex; justify-content: flex-end; align-items: center; gap: 12px;
  height: 34px; padding-right: 30px; font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 300;
}
.dots a::after {
  content: ""; position: absolute; right: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink);
}
.dots a span { opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; }
.dots:hover a span, .dots a.on span { opacity: 1; transform: none; }
.dots a.on { color: var(--ink); font-weight: 500; }
.dots a.on::after { width: 13px; height: 13px; right: -2px; background: var(--white); border: 3px solid var(--ink); }

/* 색 띠 공통 */
.band {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--band-a) 0%, #3a58b4 45%, var(--band-b) 100%);
}

/* 첫 화면 */
.hero { padding-top: 76px; }
/* 사진은 assets/img/hero.jpg 로 넣으면 그라데이션 위에 깔린다(가운데 글을 위해 고르게 어둡게) */
.hero-photo {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 46, 112, .66), rgba(26, 41, 75, .6)), url("/assets/img/hero.jpg") center 35% / cover no-repeat;
}
.glow {
  position: absolute; width: 760px; height: 760px; left: -260px; top: 60px; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 60%, transparent 70%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: min(760px, 88vh); padding-block: 100px 130px;
}
.eyebrow { font-size: clamp(16px, 1.46vw, 21px); font-weight: 500; opacity: .9; margin-bottom: 22px; }
.hero h1 { white-space: nowrap; font-size: clamp(32px, 7.88vw, 94px); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: #cfe0ff; }
.lead { margin-top: 26px; font-size: clamp(20px, 1.74vw, 25px); line-height: 1.75; opacity: .92; max-width: 34em; margin-inline: auto; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(48px, 6.94vw, 100px); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 34px; font-size: clamp(15px, 1.46vw, 21px); opacity: .85; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.board-art { position: relative; display: flex; justify-content: center; padding-block: 0 40px; }
.phone {
  width: 270px; padding: 16px 14px 18px; border-radius: 34px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px rgba(10, 20, 60, .3);
  display: flex; flex-direction: column; gap: 10px;
}
.phone-bar { width: 70px; height: 6px; border-radius: 6px; background: var(--line); margin: 0 auto 6px; }
.scan {
  position: relative; height: 196px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #e9eef8, #dfe6f3);
  display: grid; place-items: center;
}
.qr { position: relative; width: 104px; height: 104px; background: var(--white); border-radius: 10px; box-shadow: 0 6px 16px rgba(16, 26, 48, .1); }
.qr i { position: absolute; width: 28px; height: 28px; border: 6px solid var(--ink); border-radius: 4px; }
.qr i:nth-child(1) { left: 12px; top: 12px; }
.qr i:nth-child(2) { right: 12px; top: 12px; }
.qr i:nth-child(3) { left: 12px; bottom: 12px; }
.qr b {
  position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px;
  background:
    linear-gradient(var(--ink) 0 0) 0 0 / 9px 9px no-repeat,
    linear-gradient(var(--ink) 0 0) 100% 0 / 9px 9px no-repeat,
    linear-gradient(var(--ink) 0 0) 50% 50% / 9px 9px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 100% / 9px 9px no-repeat,
    linear-gradient(var(--ink) 0 0) 100% 100% / 9px 9px no-repeat;
}
/* 스캔 틀: 위·아래 모서리 선(4px, 끝 둥글게) */
.scanframe { position: absolute; inset: 30px 54px; width: calc(100% - 108px); height: calc(100% - 60px); overflow: visible; }
.scanframe path { fill: none; stroke: var(--bar); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.scanline {
  position: absolute; left: 50px; right: 50px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: var(--bar); box-shadow: 0 0 12px var(--bar);
  animation: scan 2.6s ease-in-out infinite alternate;
}
@keyframes scan { from { transform: translateY(-58px); } to { transform: translateY(58px); } }
.res { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 14px; background: var(--gray); }
.res strong { font-size: clamp(15px, 1.54vw, 22px); }
.res span { font-size: var(--fs-sm); color: var(--muted); }
.res.ok strong { color: var(--blue); }
.res.warn strong { color: #c2620c; }
.stat {
  position: absolute; right: max(0px, calc(50% - 250px)); bottom: 0;
  width: 190px; padding: 16px 18px; border-radius: 16px;
  background: var(--navy); color: var(--white);
  box-shadow: 0 18px 40px rgba(10, 20, 60, .35);
}
.stat span { font-size: var(--fs-sm); opacity: .8; }
.stat strong { display: block; font-size: clamp(36px, 3.77vw, 54px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: clamp(18px, 1.88vw, 27px); font-weight: 700; margin-left: 2px; }
.stat .bar { margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.stat .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bar-soft), var(--white)); }


/* 검수 현황 그래프 */
.board { background: var(--white); padding-block: clamp(130px, 13.9vw, 200px); }
.board-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.big-label { margin-top: 40px; font-size: var(--fs-base); font-weight: 700; }
.big-num { font-size: clamp(60px, 8.62vw, 103px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.big-num small { font-size: clamp(26px, 2.73vw, 39px); color: var(--ink); margin-left: 6px; letter-spacing: 0; }
/* 섹션 설명 문장은 본문 단계로 통일(검수 현황·Step) */
.board-lead { margin-top: 22px; color: var(--ink-soft); max-width: 32em; }
/* 첫 화면에서 옮겨 온 핵심 특징 3개 — 밝은 바탕용 알약 */
.board .badges { justify-content: flex-start; gap: 10px; margin-top: 28px; font-size: var(--fs-sm); font-weight: 600; opacity: 1; }
.board .badges li { padding: 8px 16px; border-radius: 999px; background: #e8f0fb; color: var(--blue); }
.board .badges li::before { background: var(--blue); }

.dash { margin-top: 56px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px 44px 44px; box-shadow: var(--shadow); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dash-head h3 { font-size: var(--fs-h3); font-weight: 800; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; margin-top: 34px; }
.chart { margin: 0; min-width: 0; }
.chart figcaption { font-size: var(--fs-base); font-weight: 700; }
.chart figcaption small { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); margin-left: 6px; }

.vbars { position: relative; margin-top: 56px; }
.vbars ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; height: 220px; align-items: end; border-bottom: 1.5px solid var(--ink); }
.vbars li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.vbars i { display: block; width: 100%; max-width: 44px; background: var(--bar-soft); border-radius: 3px 3px 0 0; }
.vbars .bv { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.vbars .bl { position: absolute; top: 100%; margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-soft); white-space: nowrap; }
.vbars li.all i { background: linear-gradient(180deg, #5b8be8, var(--bar)); }
.vbars li.all .bv { visibility: hidden; }
.vbars li.all .bl { color: var(--ink); font-weight: 800; }
.vbars .bubble { left: auto; right: 0; top: -40px; font-size: clamp(15px, 1.54vw, 22px); }
.vbars .bubble::after { left: auto; right: 22px; }

.donut-wrap { display: flex; align-items: center; gap: 32px; margin-top: 30px; }
.donut { width: 200px; height: 200px; flex: none; transform: rotate(0deg); }
.donut circle { fill: none; stroke-width: 6.5; }
.donut .track { stroke: var(--gray); }
.c1 { stroke: #4f8ae0; background: #4f8ae0; }
.c2 { stroke: #6352d8; background: #6352d8; }
.c3 { stroke: #1560c0; background: #1560c0; }
.c4 { stroke: #12b8cc; background: #12b8cc; }
.c5 { stroke: #20b98a; background: #20b98a; }
.legend { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-base); color: var(--ink-soft); min-width: 0; flex: 1; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 이렇게 씁니다 */
.board h2, .features h2, .security h2, .adopt h2 { font-size: clamp(30px, 4.43vw, 52px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }

/* 색 판 배경은 화면 끝까지, 글은 다른 섹션(.wrap 1120px)과 같은 시작·끝 선에 맞춘다.
   --g = 가운데 1120px 바깥 여백(최소 24px). 색 판 폭 = --g + 340px */
.how { container-type: inline-size; }
.theme { --g: max(24px, calc((100cqw - 1120px) / 2)); display: grid; grid-template-columns: calc(var(--g) + 340px) minmax(0, 1fr); }
.panel { position: relative; color: var(--white); overflow: hidden; }
.panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 110% 0%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(90% 60% at -10% 100%, rgba(0, 0, 0, .18), transparent 60%);
}
.t1 .panel { background: var(--p1); }
.t2 .panel { background: var(--p2); }
.t3 .panel { background: var(--p3); }
.t4 .panel { background: var(--p4); }
.panel-in {
  position: sticky; top: 0;
  padding: var(--step-y) 40px var(--step-y) max(var(--g), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 0;
}
/* 「이렇게 쓰세요」: 알약 없이 「Step」과 같은 색의 작은 글로 */
.panel-eyebrow { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; opacity: .75; }
/* 「Step」과 번호를 같은 크기·색으로 */
.panel-no { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-size: clamp(22px, 2.31vw, 33px); font-weight: 600; line-height: 1; opacity: .75; font-variant-numeric: tabular-nums; }
/* 두 묶음: [이렇게 쓰세요 + Step N] 사이는 붙이고, 묶음 사이는 넓게, [단계 제목 + 아래 설명]도 붙인다 */
.panel h3 { margin-top: clamp(28px, 3.1vw, 44px); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.panel-note { margin-top: 12px; padding-top: 12px; border-top: 1.5px solid rgba(255, 255, 255, .5); font-size: var(--fs-sm); font-weight: 600; align-self: flex-start; }

.body { background: var(--white); }
.body.alt { background: var(--gray); }
.body-in {
  padding-block: var(--step-y);
  padding-left: 64px; padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}
.body-lead { color: var(--ink-soft); max-width: 32em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 22px 24px; box-shadow: 0 6px 18px rgba(16, 26, 48, .04);
  display: flex; flex-direction: column;
}
/* 카드 제목과 핵심어는 같은 크기(--fs-card), 핵심어 안 단위 글자도 같은 크기 */
.card { --fs-card: clamp(26px, 2.08vw, 30px); }
.card h4 { font-size: var(--fs-card); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; padding-right: 40px; }
.card .sub { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; line-height: 1.55; }
/* 핵심어는 카드 맨 아래에 붙여, 설명 줄 수가 달라도 옆 카드와 높이를 맞춘다 */
.card .val { margin-top: auto; padding-top: 44px; font-size: var(--fs-card); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.card .val small { font-size: inherit; font-weight: inherit; margin: 0 .2em; letter-spacing: inherit; }
.ic { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .ic { position: absolute; right: 18px; top: 18px; }

/* 기능 */
.features { background: var(--tint); padding-block: var(--sec-y); }
.kicker { font-size: clamp(16px, 1.71vw, 25px); font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feat { background: var(--white); border-radius: var(--r); padding: 34px 36px 36px; box-shadow: var(--shadow); min-width: 0; }
.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.feat-head h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; }
.chip { font-size: var(--fs-sm); font-weight: 600; color: var(--blue); background: #e8f0fb; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.feat ul { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.feat li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.feat li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

.road { margin-top: 20px; background: var(--white); border-radius: var(--r); padding: 34px 36px 40px; box-shadow: var(--shadow); }
.road-title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; }
.road-line { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 100px; }
.road-line::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--bar-soft) 0 50%, var(--bar) 50% 100%); }
.step { position: relative; padding-right: 32px; display: flex; flex-direction: column; }
.step .year { font-size: clamp(16px, 1.71vw, 25px); font-weight: 700; line-height: 1; color: var(--muted); height: 24px; }
/* 단계별 도입의 말풍선은 연도 글자와 띄운다 */
.step .bubble { top: -76px; }
.step.next .year { color: var(--ink); }
.step .tag { margin-top: 44px; align-self: flex-start; font-size: var(--fs-sm); font-weight: 700; color: var(--blue); background: #e8f0fb; padding: 4px 11px; border-radius: 999px; }
.step.next .tag { color: var(--white); background: var(--bar); }
.step h4 { margin-top: 12px; font-size: clamp(20px, 2.14vw, 31px); font-weight: 800; }
.step p { margin-top: 6px; color: var(--ink-soft); max-width: 26em; }
.bubble {
  position: absolute; left: 0; top: -54px;
  background: var(--navy); color: var(--white); font-size: clamp(16px, 1.71vw, 25px); font-weight: 700;
  padding: 7px 16px; border-radius: 10px; white-space: nowrap;
}
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; background: var(--navy); transform: rotate(45deg); }

/* 보안 */
/* 라벨 시뮬레이션(기능 다음): 3D 체험(왼쪽 무대 + 오른쪽 고르기) → 카드 3장 → 좋아지는 점. 3D 는 섹션이 가까이 오면 불러온다(assets/label-sim.js) */
.labelsim { background: var(--white); padding-block: var(--sec-y); }
.labelsim h2 { font-size: clamp(30px, 4.43vw, 52px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.ls-lead { margin-top: 22px; font-size: var(--fs-base); line-height: 1.75; }
.ls-demo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.ls-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #eef0f2; box-shadow: var(--shadow); }
.ls-poster, .ls-canvas, .ls-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ls-poster { object-fit: cover; }
.ls-canvas canvas { touch-action: none; }
.ls-ready .ls-poster { display: none; }
.ls-mode { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.ls-badge { align-self: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); background: var(--white); padding: 4px 12px; border-radius: 999px; margin-bottom: -6px; }
.ls-loadnote { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: var(--fs-sm); color: var(--ink-soft); background: rgba(255, 255, 255, .92); padding: 8px 16px; border-radius: 999px; }
.ls-loading .ls-loadnote { display: block; }
.ls-fail .ls-mode { display: none; }
/* 붙일 자리: 3D 위 번호 이름표(K.updatePins 가 위치·흐림·겹침을 매긴다) + 왼쪽 위 반투명 패널 */
.ls-pins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ls-pin { position: absolute; left: 0; top: 0; margin: -40px 0 0 -14px; pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(16, 26, 48, .18); color: var(--ink); font: inherit; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; cursor: pointer; transition: opacity .2s; }
.ls-pin::after { content: ""; position: absolute; left: 13px; top: 28px; width: 2px; height: 12px; background: rgba(60, 94, 196, .7); }
.ls-pin b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--band-a); color: var(--white); font-size: var(--fs-xs); }
.ls-pin.on { background: var(--band-a); color: var(--white); z-index: 2; }
.ls-pin.on b { background: var(--white); color: var(--band-a); box-shadow: inset 0 0 0 2px var(--band-a); }
.ls-pin.big b, .ls-pin.big.on { background: #d9822b; }
.ls-pin.big::after { background: rgba(217, 130, 43, .8); }
.ls-pin.dim { opacity: .4; }
.ls-pin.moving { opacity: .2; pointer-events: none; }
.ls-pin.below { margin-top: 14px; }
.ls-pin.below::after { top: -12px; }
.ls-caption { display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--band-a); color: var(--white); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; box-shadow: 0 2px 8px rgba(16, 26, 48, .1); }
.ls-caption[hidden] { display: none; }
.ls-pin.compact { padding: 0; }
.ls-pin.compact span { display: none; }
.ls-pin:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ls-left { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ls-spotbar { display: none; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-ready .ls-spotbar { display: flex; }
.ls-spotlabel { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); white-space: nowrap; }
.ls-spotlabel .ls-spotn { font-weight: 500; color: var(--muted); }
.ls-spotbar .ls-chips { gap: 6px; }
.ls-spotnote { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) {
  /* 휴대폰: 칩은 한 줄 가로 스크롤 */
  .ls-spotbar .ls-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
  .ls-spotbar .ls-chip { flex: none; }
}
.ls-panel { display: flex; flex-direction: column; gap: 22px; background: var(--tint); border-radius: var(--r); padding: 28px 26px; min-width: 0; }
.ls-group h3 { font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ls-group h3 small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: var(--fs-xs); }
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-chip { font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.ls-chip small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.ls-chip:hover { border-color: var(--bar-soft); }
.ls-chip.on { color: var(--white); background: var(--band-a); border-color: var(--band-a); }
.ls-chip.on small { color: rgba(255, 255, 255, .8); }
.ls-chip.dim { opacity: .55; }
.ls-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ls-mode .ls-chip { box-shadow: 0 2px 8px rgba(16, 26, 48, .1); }
.ls-all { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.ls-all select { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.ls-info { margin-top: auto; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); }
.ls-info b { color: var(--ink); }
.ls-warn { display: inline-block; margin-left: 4px; color: #b4541c; font-weight: 600; }
.ls-warn::before { content: "⚠ "; }
.ls-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.ls-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); padding: 48px 40px 40px; min-width: 0; }
.ls-card h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.ls-card p { margin-top: 14px; color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.8; }
.ls-card .ls-soon { color: var(--muted); }
.ls-gains { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.ls-gains li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.7; }
.ls-gains li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: #e8f0fb; box-shadow: inset 0 0 0 5px #e8f0fb, inset 0 0 0 9px var(--band-a); }
@media (max-width: 960px) {
  .ls-demo { grid-template-columns: minmax(0, 1fr); }
  .ls-cards { grid-template-columns: minmax(0, 1fr); }
  .ls-gains { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .labelsim { padding-block: 104px; }
  .ls-stage { aspect-ratio: 1 / 1; }
  .ls-panel { padding: 22px 18px; }
  .ls-card { padding: 36px 28px 30px; }
}

/* QR 라벨 상태(라벨 쇼룸 다음): 상태 흐름 · 카드 · 좋아지는 점. 예시 번호 DEMO.7K3QZ 만 */
.lifecycle { padding-block: var(--sec-y); }
.lifecycle h2 { font-size: clamp(30px, 4.43vw, 52px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.lc-lead { margin-top: 22px; font-size: var(--fs-base); line-height: 1.75; max-width: 40em; }
.lc-flow { margin: 56px 0 0; padding: 44px 40px 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .8fr) minmax(0, 1fr) minmax(90px, .8fr) minmax(0, 1fr) minmax(110px, .9fr) minmax(0, 1fr); align-items: center; }
.lc-st { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: 16px; text-align: center; border: 1.5px solid transparent; }
.lc-st b { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.02em; }
.lc-st span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.lc-st.none { background: #f1f3f6; } .lc-st.none b { color: var(--ink-soft); }
.lc-st.issued { background: #eef3fd; border-color: #a9c0ee; border-style: dashed; } .lc-st.issued b { color: var(--band-a); }
.lc-st.active { background: #e6f4f1; border-color: #8cc9bb; } .lc-st.active b { color: #1e7a68; }
.lc-st.retired { background: #f1f3f6; } .lc-st.retired b { color: #6b7380; }
.lc-st.void { background: #fbeeee; } .lc-st.void b { color: #b0473f; }
.lc-go { position: relative; display: flex; justify-content: center; padding: 0 8px; }
.lc-go::before { content: ""; position: absolute; left: 8px; right: 14px; top: 50%; height: 2px; background: #c3ccd8; }
.lc-go::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #c3ccd8; border-right: 2px solid #c3ccd8; transform: translate(0, -50%) rotate(45deg); }
.lc-go > span { position: relative; z-index: 1; margin-top: -44px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); text-align: center; line-height: 1.35; }
.lc-branch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .8fr) minmax(0, 1fr) minmax(90px, .8fr) minmax(0, 1fr) minmax(110px, .9fr) minmax(0, 1fr); align-items: start; margin-top: 4px; }
.lc-branch .lc-go.down { grid-column: 3; height: 64px; }
.lc-branch .lc-go.down::before { left: 50%; right: auto; top: 0; bottom: 10px; width: 2px; height: auto; }
.lc-branch .lc-go.down::after { left: 50%; right: auto; top: auto; bottom: 8px; transform: translate(-50%, 0) rotate(135deg); }
.lc-branch .lc-go.down { justify-content: flex-start; }
.lc-branch .lc-go.down > span { margin: 18px 0 0 calc(50% + 14px); text-align: left; white-space: nowrap; }
.lc-branch .lc-st.void { grid-column: 3; grid-row: 2; }
.lc-flow figcaption { margin-top: 22px; font-size: var(--fs-xs); color: var(--muted); }
.lc-cards { margin-top: 32px; }
.lc-verdicts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lc-verdicts li { padding: 6px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: #f1f3f6; color: var(--ink-soft); }
.lc-verdicts .ok { background: #e6f4f1; color: #1e7a68; } .lc-verdicts .due { background: #eef3fd; color: var(--band-a); }
.lc-verdicts .att { background: #fff3e0; color: #a15c00; } .lc-verdicts .ret { background: #f1f3f6; color: #6b7380; }
.lc-verdicts .voi { background: #fbeeee; color: #b0473f; } .lc-verdicts .unk { background: #f1f3f6; color: var(--muted); }
@media (max-width: 960px) {
  .lc-flow { padding: 30px 22px 22px; }
  .lc-steps, .lc-branch { grid-template-columns: minmax(0, 1fr); }
  .lc-go { height: 58px; }
  .lc-go::before { left: 50%; right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; }
  .lc-go::after { left: 50%; right: auto; top: auto; bottom: 10px; transform: translate(-50%, 0) rotate(135deg); }
  .lc-go > span { margin: 0 0 0 calc(50% + 18px); align-self: center; width: auto; text-align: left; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .lc-branch { margin-top: 0; padding-left: 28px; border-left: 2px dashed #e1e6ee; margin-left: 12px; }
  .lc-branch .lc-go.down, .lc-branch .lc-st.void { grid-column: 1; grid-row: auto; }
  .lc-branch .lc-go.down > span { margin: 0 0 0 calc(50% + 18px); }
  .lc-branch .lc-go.down > span::before { content: "발행됨에서 "; } /* 세로로 쌓이면 폐기 아래에 오니, 어디서 갈라지는지 밝힌다 */
}
@media (max-width: 600px) { .lifecycle { padding-block: 104px; } }

/* 라벨 쇼룸: 12종을 같은 축척으로 진열(assets/label-showroom.js 가 섹션 가까이에서 SVG 로 그린다) */
.showroom { background: linear-gradient(180deg, var(--tint), #e9eff6); padding-block: var(--sec-y); }
.showroom h2 { font-size: clamp(30px, 4.43vw, 52px); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.sr-lead { margin-top: 22px; font-size: var(--fs-base); line-height: 1.75; color: var(--ink-soft); max-width: 40em; }
.sr-tabs { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.sr-tab { font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.sr-tab.on { color: var(--white); background: var(--band-a); border-color: var(--band-a); }
.sr-shelf { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 22px; margin-top: 28px; padding: 36px 30px 26px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); min-height: 200px; }
.sr-wait { color: var(--muted); font-size: var(--fs-sm); }
.sr-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sr-item[hidden] { display: none; }
.sr-label { display: block; line-height: 0; border-radius: 4px; box-shadow: 0 10px 18px -8px rgba(16, 26, 48, .28), 0 1px 0 rgba(16, 26, 48, .06); transition: transform .2s, box-shadow .2s; }
.sr-label svg { display: block; }
.sr-item .sr-label { padding: 0; border: 0; background: none; cursor: pointer; }
.sr-label:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.sr-label:hover, .sr-label:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 26px -10px rgba(16, 26, 48, .32); }
.sr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; max-width: 300px; }
.sr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: var(--fs-xs); color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color .15s, opacity .15s, box-shadow .15s; }
.sr-chip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sr-chip i { font-style: normal; font-size: var(--fs-xs); padding: 0 7px; border-radius: 999px; background: var(--gray); color: var(--ink-soft); }
.sr-chip.wp i { background: #e3f3ef; color: #1e7a68; }
.sr-chip.co i { background: #f3ecfb; color: #6b3fa0; }
.sr-chip:hover, .sr-chip:focus-visible { border-color: var(--band-a); outline: 0; box-shadow: 0 0 0 3px rgba(31, 120, 196, .14); }
.sr-chip.hit { border-color: var(--band-a); }
.sr-chip.dim { opacity: .45; }
.sr-count { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }
.sr-spec { font-size: var(--fs-xs); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sr-use { font-size: var(--fs-xs); color: var(--muted); max-width: 210px; line-height: 1.45; }
.sr-ref { cursor: default; }
.sr-card { display: grid; place-items: center; border-radius: 4px; border: 1.5px dashed #b7c0cc; color: var(--muted); font-size: var(--fs-xs); }
.sr-scale { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); }
.sr-ruler { display: inline-block; height: 8px; border: 1.5px solid var(--muted); border-top: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--muted) calc(10% - 1px) 10%) bottom / 100% 4px no-repeat; }
.sr-custom { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px; margin-top: 64px; align-items: center; }
.sr-custom h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.sr-custom-text > p { margin-top: 14px; color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.75; }
.sr-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.sr-points li { font-size: var(--fs-base); color: var(--ink-soft); }
.sr-points b { display: inline-block; min-width: 6em; color: var(--ink); }
.sr-custom .sr-note { font-size: var(--fs-xs); color: var(--muted); }
.sr-themes { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.sr-theme { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sr-theme svg { display: block; border-radius: 4px; box-shadow: 0 12px 22px -10px rgba(16, 26, 48, .3); }
.sr-theme figcaption { font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 600; }
@media (max-width: 960px) { .sr-custom { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .showroom { padding-block: 104px; }
  .sr-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; padding: 24px 14px 18px; gap: 22px 12px; }
  .sr-use { max-width: 150px; }
  .sr-chip { gap: 4px; padding: 3px 4px 3px 8px; }
  .sr-chip i { padding: 0 5px; }
}

.security { padding-block: var(--sec-y) calc(var(--sec-y) + 20px); }
/* 사진은 2880×1600 기준, 방패는 오른쪽 위(세 번째 카드 위 빈자리)에 오도록 잘라 넣는다 */
.sec-photo {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(24, 40, 110, .9) 0%, rgba(30, 50, 130, .78) 50%, rgba(26, 41, 90, .6) 100%),
    url("/assets/img/security.jpg") center / cover no-repeat,
    var(--band-b);
}
.security .wrap { position: relative; }
.security .kicker { color: #cfe0ff; }
.sec-lead { margin-top: 20px; max-width: 34em; opacity: .9; }
.zig { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: start; }
/* 세로로 여유 있게: 높이를 늘리고 아래 핵심어 줄은 카드 바닥에 붙인다 */
.zcard { display: flex; flex-direction: column; min-height: clamp(380px, 32vw, 460px); background: var(--white); color: var(--ink); border-radius: var(--r); padding: 48px 40px 40px; box-shadow: 0 20px 44px rgba(10, 20, 60, .22); }
.zcard:nth-child(2) { margin-top: 40px; }
.zcard:nth-child(3) { margin-top: 80px; }
/* 아이콘(연한 파랑 원)과 파랑 핵심어를 한 묶음으로 카드 바닥에 붙인다 */
.zic { display: grid; place-items: center; align-self: flex-start; flex: none; width: clamp(56px, 4.6vw, 66px); height: clamp(56px, 4.6vw, 66px); margin-top: auto; margin-bottom: 14px; border-radius: 50%; background: #e8f0fb; }
.zic .ic { width: 46%; height: 46%; stroke: var(--blue); stroke-width: 1.8; }
.zcard h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; }
.zcard p { margin-top: 20px; font-size: var(--fs-base); line-height: 1.8; color: var(--ink-soft); }
.zrow { display: flex; align-items: center; gap: 12px; }
/* 세 카드 모두 두 줄로 맞춘다(문구에 <br>). 카드 폭이 충분한 1168px 이상에서는 줄 안에서 줄바꿈 금지 */
.zrow strong { color: var(--blue); font-size: var(--fs-base); font-weight: 800; line-height: 1.4; }
@media (min-width: 1168px) { .zrow strong { white-space: nowrap; } }

/* 도입 절차 */
.adopt { padding-block: var(--sec-y); background: var(--white); }
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; margin-top: 56px; counter-reset: s; }
/* 선은 첫 번호 원의 가운데에서 마지막(5) 원의 가운데까지 — 칸 폭의 절반씩 안쪽(칸 사이 32px × 4) */
.flow::before { content: ""; position: absolute; left: calc((100% - 128px) / 10); right: calc((100% - 128px) / 10); top: 23px; height: 1.5px; background: var(--line); }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.flow .no {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--bar-soft); color: var(--blue);
  font-weight: 800; font-size: clamp(18px, 1.88vw, 27px); margin-bottom: 18px;
}
.flow li:last-child .no { background: var(--bar); border-color: var(--bar); color: var(--white); }
.flow strong { font-size: clamp(20px, 2.14vw, 31px); font-weight: 800; }
.flow span:not(.no) { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); }

/* 문의 */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.half { color: var(--white); display: flex; }
.half.navy { background: var(--navy); }
.half.blue { background: linear-gradient(120deg, var(--band-a), var(--band-b)); }
.half-in {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding-block: var(--contact-y);
  padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: 48px;
}
.half.navy .half-in { margin-left: auto; max-width: 600px; }
.half.blue .half-in { max-width: 600px; padding-right: max(48px, env(safe-area-inset-right, 0px)); }
.half h2 { font-size: clamp(28px, 2.9vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.half p { opacity: .85; max-width: 26em; }
/* 두 판의 버튼을 같은 아래 선에 맞춘다 */
.half-in { flex: 1; }
.half .pill { margin-top: auto; }
.half p { margin-bottom: 26px; }

/* 하단 */
.foot { background: #0f1830; color: #aab3c5; font-size: var(--fs-sm); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(64px, 6.9vw, 100px) calc(clamp(64px, 6.9vw, 100px) + env(safe-area-inset-bottom, 0px)); }
.foot p { margin-top: 4px; }
.foot-brand { color: var(--white); font-weight: 800; font-size: clamp(17px, 1.8vw, 26px); margin: 0 0 8px; }
.foot-brand small { font-size: var(--fs-xs); letter-spacing: .14em; font-weight: 600; opacity: .7; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand small { margin-left: -4px; }
.foot-links { text-align: right; }
.foot-links a { color: var(--white); font-weight: 600; }

/* 반응형 */
@media (max-width: 1180px) {
  .dots { display: none; }
}
@media (max-width: 960px) {
  .nav a:not(.pill) { display: none; }
  .hero-in { min-height: 0; padding-block: 90px 120px; }
  .board { padding-block: 104px; }
  .board-top, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash { padding: 28px 22px 32px; }
  .theme { grid-template-columns: minmax(0, 1fr); }
  .panel-in { position: static; padding: 56px max(24px, env(safe-area-inset-right, 0px)) 48px max(24px, env(safe-area-inset-left, 0px)); }
  .panel-no { margin-top: 4px; }
  .body-in { max-width: none; padding-block: 48px 64px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .zig { grid-template-columns: minmax(0, 1fr); }
  .zcard:nth-child(n) { margin-top: 0; }
  .zcard { min-height: 0; padding: 36px 28px 30px; }
  .zcard p { margin-bottom: 28px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .flow::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 1.5px; height: auto; }
  .flow li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; align-items: start; text-align: left; }
  .flow .no { grid-row: span 2; margin-bottom: 0; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .half .half-in, .half.navy .half-in, .half.blue .half-in { margin: 0; max-width: none; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-block: 56px; }
}
@media (max-width: 600px) {
  :root { --fs-base: 18px; --fs-lead: 20px; --fs-h3: 20px; }
  .hero h1 { white-space: normal; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .brand small { display: none; }
  .lead { font-size: var(--fs-lead); }
  .lead br { display: none; }
  .cards, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .features, .security, .adopt { padding-block: 104px; }
  .feat, .road { padding: 26px 22px 28px; }
  .road-line { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 30px; }
  .road-line::before { display: none; }
  .step .tag { margin-top: 10px; }
  .bubble { display: none; }
  .stat { right: 0; }
  .vbars ol { gap: 6px; height: 180px; }
  /* 막대 7개가 좁아 「물류센터」 같은 긴 이름은 두 줄로 */
  .vbars .bl { font-size: 13px; width: 100%; white-space: normal; word-break: break-all; text-align: center; line-height: 1.25; }
  .donut-wrap { flex-direction: column; align-items: stretch; }
  .donut { align-self: center; width: 180px; height: 180px; }
  .foot-links { text-align: left; }
}
/* 스크롤 등장: 스크립트가 .reveal-on 을 붙였을 때만 숨겼다가 보여 준다(스크립트가 없으면 처음부터 보임).
   같은 줄의 형제끼리는 --i 순서로 0.08초씩 늦게 */
.reveal-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scanline { animation: none; }
}

/* 문서 쪽(개인정보처리방침·404) — 첫 화면 사진 없이 색 판 머리. 이 시안은 밝은 화면만 쓴다(color-scheme: light) */
.top.solid { position: sticky; background: linear-gradient(90deg, var(--band-a), var(--band-b)); }
.doc { max-width: 860px; margin: 0 auto; padding: 56px max(24px, env(safe-area-inset-right, 0px)) 96px max(24px, env(safe-area-inset-left, 0px)); color: var(--ink-soft); }
.doc h1 { color: var(--ink); font-size: clamp(28px, 4.92vw, 47px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.doc h2 { color: var(--ink); font-size: clamp(20px, 2.14vw, 31px); font-weight: 700; margin: 44px 0 12px; }
.doc p { margin: 12px 0; }
.doc ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc a:not(.pill) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); color: var(--band-b); font-weight: 600; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: clamp(16px, 1.71vw, 25px); line-height: 1.6; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--gray); color: var(--ink); font-weight: 700; white-space: nowrap; }
.doc tbody tr:last-child td { border-bottom: 0; }
.pill-blue { background: var(--band-a); color: var(--white); }
.pill-blue:hover { background: var(--band-b); }
.doc-404 { text-align: center; padding-top: 120px; min-height: 60vh; }
.doc-404 .pill { margin-top: 12px; }
