/* Z-Mate 메인 페이지 시안 1b "신뢰 먼저": 시안 1(main-1)에서 구역의 순서와 크기를 바꿨다.
   고객 벽 → 이끄는 사람들(큰 사진) → 고객 사례 → 지엔이 해 온 일 → 해 주는 일 … */

:root {
  --blue: #3182f6;
  --blue-deep: #1b64da;
  --blue-window: #2a76e8;
  --blue-50: #e8f3ff;
  --ink: #191f28;
  --ink-2: #333d4b;
  --g700: #4e5968;
  --g600: #6b7684;
  --g500: #8b95a1;
  --g400: #b0b8c1;
  --g300: #d1d6db;
  --g200: #e5e8eb;
  --g100: #f2f4f6;
  --g50: #f9fafb;
  --night: #0e1522;   /* 고객 사례의 어두운 바탕. 5번 시안의 값 */
  --navy: #0f1a30;
  /* 여기부터 다섯 줄과 --warn-text, --ok-text는 시안 1e(남색 톤)의 첫 화면에서 가져온 색이다 */
  --navy-up: #17264a;    /* 남색 면 위에 한 단 올라온 면("화면 예시" 창) */
  --navy-deep: #0a1222;  /* 그 위의 어두운 AI 도구 창 */
  --sky: #9cc4ff;        /* 남색 면 위의 강조 글자와 포커스 표시. 남색 위에서 9.7:1 */
  --blue-btn: #226ae4;   /* 흰 글자가 올라가는 파란 단추. 흰 글자와 4.9:1 */
  --blue-btn-hover: #1b5cd0;
  /* 찾아낸 곳의 표시 색. 겁주지 않게 주황을 쓴다 */
  --warn: #e8760a;
  --warn-ring: #f59f2c;
  --warn-text: #b05800;  /* 흰 바탕 위의 글자로 쓸 때의 주황과 초록 (각각 5.0:1) */
  --ok-text: #06804d;
  --card-shadow: 0 24px 60px rgba(2, 8, 22, .5);
  /* 첫 화면 창의 치수 */
  --win-h: 560px;
  --bar-h: 46px;
  --cap-h: 78px;
  --ok: #03b26c;

  --wrap: 1200px;
  --gut: 40px;
  --nav-h: 72px;
  --sec: 140px;
  --ease: cubic-bezier(.22, .68, .2, 1);
  /* 렌즈 무늬의 선: 굵기 1px, 간격 40px, 옅은 파란 빛. 첫 화면과 마지막 주소 입력 면이 같은 선을 쓴다 */
  --lens-line: rgba(138, 184, 255, .17) 0 1px, rgba(138, 184, 255, 0) 1px 40px;

  /* 고객 벽(5번 시안의 값): 칸 높이, 줄 간격, 칸 간격, 띠 위아래 여백, 로고 배율 */
  --cell: 68px; --lg-row: 10px; --lg-col: 24px; --strip-pad: 5px; --k: 1;
  /* 띠: 붙어 있을 때 아래로 숨기는 높이(--tuck), 보이는 높이(--strip-vis), 그때의 로고 배율(--s0) */
  --tuck: 28px; --strip-vis: 50px; --s0: .7;
  /* 5번 시안에서 가져온 구역이 쓰는 움직임 곡선과 동심원 간격 */
  --ease5: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ring-gap: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
i, em { font-style: normal; }
:focus-visible { outline: 3px solid rgba(49, 130, 246, .55); outline-offset: 3px; border-radius: 6px; }
/* 남색 첫 화면 위에서는 포커스 표시를 밝은 하늘색으로 바꾼다. 흰 입력 상자 안의 단추는 남색 테두리 (시안 1e) */
.hero-surface :focus-visible, .final :focus-visible { outline-color: var(--sky); }
.ask button:focus-visible, .ask2-box button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 15px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.br-m { display: none; }
.nw { white-space: nowrap; }

/* ───────── 머리 ───────── */
.nav { position: sticky; top: 0; z-index: 60; background: #fff; }
.nav-in { height: var(--nav-h); max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 32px; }
/* Z-Mate 로고: 그림 하나로 쓴다. 늘이거나 색을 바꾸지 않고 높이만 정한다 */
.logo { display: inline-flex; align-items: center; padding: 6px 0; }
.logo img { display: block; height: 28px; width: auto; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--g100); color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 22px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; transition: background .25s; }
.btn:hover { background: #17274d; }
.btn-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); transition: transform .35s var(--ease); }
.btn-arrow svg { width: 16px; height: 16px; }
.btn:hover .btn-arrow { transform: translateX(2px); }
.btn--sm { height: 44px; padding-left: 18px; gap: 10px; font-size: 15px; }
.btn--sm .btn-arrow { width: 32px; height: 32px; }

/* ───────── 첫 화면 ───────── */
.top { position: relative; background: #fff; }
.hero { padding: 0 24px; }
.hero-surface {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  padding: 0 40px;
  text-align: center;
  isolation: isolate;
}
.hero-surface::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* 면의 아래쪽 가운데 바깥 한 점에서 퍼지는 가는 동심원. 같은 점에서 파란 빛이 은은하게 번진다 */
  background:
    radial-gradient(circle at 50% 112%, rgba(49, 130, 246, .34) 0, rgba(49, 130, 246, .13) 34%, rgba(49, 130, 246, 0) 64%),
    repeating-radial-gradient(circle at 50% 112%, var(--lens-line));
  /* 제목과 입력칸 둘레에서는 동심원을 더 옅게 */
  -webkit-mask-image: radial-gradient(80% 46% at 50% 24%, rgba(0, 0, 0, .3) 0 50%, #000 100%);
          mask-image: radial-gradient(80% 46% at 50% 24%, rgba(0, 0, 0, .3) 0 50%, #000 100%);
}
.hero-banner {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px;
  margin: 0 -40px; padding: 14px 20px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
  font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .82);
  transition: background .25s;
}
.hero-banner:hover { background: rgba(255, 255, 255, .1); }
/* 면의 가장자리에 붙어 있어 바깥 테두리는 잘린다. 포커스 표시를 안쪽에 그린다 */
.hero-banner:focus-visible { outline-offset: -5px; border-radius: 16px 16px 6px 6px; }
.hero-banner b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky); }
.hero-banner svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hero-banner:hover svg { transform: translateX(3px); }

.hero-copy { padding-top: 84px; }
.hero h1 { font-size: clamp(40px, 4.7vw, 62px); line-height: 1.16; font-weight: 700; letter-spacing: -.035em; }
.hero-sub { margin-top: 20px; font-size: 20px; line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, .8); letter-spacing: -.01em; }

.ask {
  display: flex; align-items: center;
  width: 100%; max-width: 500px; height: 68px; margin: 36px auto 0; padding: 7px;
  background: #fff; border-radius: 999px;
  /* 남색 면에서 가장 밝은 것이 이 흰 입력칸이다. 둘레에 옅은 하늘색 띠를 둘러 먼저 눈에 들어오게 한다 */
  box-shadow: 0 0 0 6px rgba(156, 196, 255, .16), 0 18px 44px rgba(2, 8, 22, .45);
  transition: box-shadow .25s;
}
.ask:focus-within { box-shadow: 0 0 0 4px var(--sky), 0 18px 44px rgba(2, 8, 22, .45); }
.ask input { flex: 1; min-width: 0; height: 100%; padding: 0 12px 0 22px; border: 0; background: none; outline: none; font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.ask input::placeholder { color: var(--g500); font-weight: 400; }
.ask button { flex: none; height: 100%; padding: 0 28px; border-radius: 999px; background: var(--blue-btn); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.01em; transition: background .25s, transform .15s; }
.ask button:hover { background: var(--blue-btn-hover); }
.ask button:active { transform: scale(.97); }
.ask.is-shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 80% { transform: translateX(-2px); } }
.hero-note { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .66); }
/* 주소 형식이 틀렸을 때의 안내. 남색 면 위라 밝은 주황을 쓴다(겁주는 빨강은 쓰지 않는다) */
.hero-note.is-bad, .ask2-note.is-bad { color: #ffc27a; font-weight: 500; }
.ask2-box.is-shake { animation: shake .4s; }

/* ───────── 고객 띠와 고객 벽: 5번 시안(main-5)과 같은 방식 ─────────
   벽의 첫 줄(.wall-row1)이 화면 아래에 붙어 띠가 된다(position: sticky). 붙어 있을 때는 --tuck 만큼 아래로 숨어 50px만 보이고 로고도 작다.
   제자리가 가까워지면 스크립트가 --p(0→1)를 올려, 숨긴 만큼 올라오면서 로고가 벽의 크기로 커지고 제자리에 그대로 놓인다.
   좌우 폭만 이 페이지의 값(.wrap)을 쓴다. 고객 로고는 어디에서나 한 가지 색이고, 로고 뒤에 칸을 깔지 않는다 */
.wall-label { position: relative; text-align: center; padding-top: clamp(44px, 5vw, 64px); padding-bottom: calc(26px - var(--strip-pad)); font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--g600); opacity: var(--p, 1); }
.wall-sentinel { height: 0; }
.wall-row1 { position: relative; z-index: 5; background: #fff; padding-block: var(--strip-pad); }
.wall-row1::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--p, 1)); box-shadow: 0 -1px 0 rgba(0, 27, 55, .08), 0 -14px 34px rgba(0, 27, 55, .07); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: var(--lg-col); row-gap: var(--lg-row); }
.logos li { height: var(--cell); min-width: 0; display: flex; align-items: center; justify-content: center; }
.logos img { flex: none; height: calc(var(--h) * var(--k)); width: auto; max-width: none; }
.logos img.px { filter: brightness(0) invert(.11); }   /* 원래 색 PNG뿐인 두 로고는 필터로 같은 짙은 색을 낸다 */
/* 띠로 붙어 있을 때는 로고를 줄이고 보이는 띠의 가운데로 올려 두었다가, 내려앉으면서 벽의 크기와 자리로 이어진다 */
.dock .wall-row1 .logos img { transform: translateY(calc((1 - var(--p, 1)) * var(--tuck) / -2)) scale(calc(var(--s0) + (1 - var(--s0)) * var(--p, 1))); }
.wall-rest { position: relative; background: #fff; padding-top: calc(var(--lg-row) - var(--strip-pad)); padding-bottom: clamp(32px, 3.4vw, 44px); }
.wall-row2 { opacity: var(--q, 1); transform: translateY(calc((1 - var(--q, 1)) * 14px)); }
/* 스크립트가 켜지고 움직임을 줄이지 않을 때만 띠로 붙인다 */
.dock .wall-row1 { position: sticky; bottom: calc((1 - var(--p, 1)) * var(--tuck) * -1); }
.zien-mark { display: inline-block; width: 1.3em; height: 1.3em; margin: 0 .32em 0 .1em; vertical-align: -.3em; }

/* ───────── 이어지는 바탕: 이끄는 사람들(흰색) → 고객 사례(어두운 색) → 지엔이 해 온 일(흰색) → 해 주는 일(옅은 회색) ─────────
   화면의 70% 선을 지난 구역의 색으로 상자(.flow) 전체의 바탕이 바뀐다. 바탕이 바뀌는 동안 앞뒤 구역의 글자가 묻히지 않도록
   카드 밖의 글자와 선은 --ffg(글자), --ffg2(옅은 글자), --fline(선)을 따른다 */
.flow { --ffg: var(--ink); --ffg2: var(--g700); --ffg3: var(--g600); --fline: rgba(25, 31, 40, .14); background: #fff; }
.js .flow { transition: background-color .7s ease; }
.js .flow[data-theme="soft"] { background: #f5f7fa; }
.js .flow[data-theme="dark"] { background: var(--night); --ffg: #fff; --ffg2: rgba(255, 255, 255, .72); --ffg3: rgba(255, 255, 255, .6); --fline: rgba(255, 255, 255, .16); }
html:not(.js) .cases-sec { background: var(--night); --ffg: #fff; --ffg2: rgba(255, 255, 255, .72); --ffg3: rgba(255, 255, 255, .6); --fline: rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: reduce) { .js .flow { transition: none; } }

/* 고객 사례: 5번 시안(main-5)의 같은 구역에서 출발했다. 글자, 카드 색, 관계 목록의 값은 그쪽 것을 따르고,
   카드는 펼침 없이 낮은 네 장을 같은 폭으로 둔다(사용자, 2026-11-25, 안 A).
   구역 위아래 여백과 좌우 폭만 이 페이지의 값(--sec, .wrap)을 쓴다. 머리글은 "해 주는 일"과 같은 부품(.w5-head)이다.
   바탕은 이어지는 바탕(.flow)이 어두운 색으로 바꿔 준다. 바탕이 바뀌는 동안에도 글자가 읽히도록 카드 밖의 글자는 --ffg를 따른다(어두울 때는 5번 시안과 같은 흰색) */
.cases-sec { padding: var(--sec) 0; color: var(--ffg); }
.cases-sec .w5-eyebrow { color: var(--ffg); opacity: .86; transition: color .7s ease; }
.cases-sec .w5-h2 { color: var(--ffg); transition: color .7s ease; }
.cases-sec .w5-lead { color: var(--ffg); opacity: .62; transition: color .7s ease; }
.cases { display: flex; gap: 16px; }
.case { position: relative; flex: 1 1 0; min-width: 0; height: 220px; overflow: hidden; border-radius: 24px; padding: 26px 26px 24px; display: flex; flex-direction: column; isolation: isolate; color: #fff; font-size: 16px; }
.case::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rings), linear-gradient(180deg, rgba(8, 13, 24, 0) 38%, rgba(8, 13, 24, .72) 100%); }
.c1 { --bg: linear-gradient(155deg, #3d7df0 0%, #1f4fc0 46%, #13244f 100%); --at: 112% -8%; }
.c2 { --bg: linear-gradient(200deg, #234a9c 0%, #15295a 52%, #0f1a36 100%); --at: 118% 46%; }
.c3 { --bg: linear-gradient(170deg, #5a93f5 0%, #2b62d4 42%, #172d63 100%); --at: 108% 112%; }
.c4 { --bg: linear-gradient(165deg, #3a465c 0%, #232d40 50%, #151c2a 100%); --at: 50% 128%; }
/* 카드의 사진 자리는 한 점에서 퍼지는 가는 동심원으로 채운다. 점 무늬는 쓰지 않는다 */
.case { --rings: radial-gradient(circle at var(--at), rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 46%), repeating-radial-gradient(circle at var(--at), rgba(255, 255, 255, .13) 0 1px, rgba(255, 255, 255, 0) 1px var(--ring-gap)); }
.case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
/* 고객 로고는 어디서나 한 가지 색. 어두운 카드 위에는 흰색 로고를 바탕 없이 바로 올리고, 세 로고의 넓이와 가운데 선을 맞춘다 */
.case-logo { flex: none; display: flex; align-items: center; height: 44px; }
.case-logo img { height: var(--h); width: auto; }
.case-name { font-size: 21px; font-weight: 700; letter-spacing: -.035em; line-height: 44px; white-space: nowrap; }
.case-tag { flex: none; margin-top: 12px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .92); white-space: nowrap; }
.case-fact { margin-top: auto; font-size: 16px; letter-spacing: -.015em; line-height: 1.4; white-space: nowrap; }
.case-fact b { display: block; margin-top: 3px; font-weight: 600; }
.case-fact span { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.case-fact .yr { margin-left: 6px; }
/* 한 카드에 사실이 둘일 때: 줄마다 해를 앞에 둔다 */
.case-fact--two b .yr { margin: 0 6px 0 0; }
.rel { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.rel > div { padding-top: 20px; border-top: 1px solid var(--fline); transition: border-color .7s ease; }
.rel dt { font-size: 13px; font-weight: 600; color: var(--ffg); opacity: .56; margin-bottom: 10px; transition: color .7s ease; }
.rel dd { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.5; color: var(--ffg); transition: color .7s ease; }
.rel dd + dd { margin-top: 12px; }
.rel dd span { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; opacity: .56; }

/* ───────── 이끄는 사람들: 3번 시안(main-3)의 구역에서 출발해, 고객 벽 바로 다음에 오도록 다시 짰다 ─────────
   머리글은 고객 벽의 제목처럼 가운데에 두고, 사진 줄은 본문 폭 밖으로 넓혀(.lwide) 첫 화면의 파란 면과 같은 좌우 끝까지 쓴다.
   글자는 이어지는 바탕(.flow)의 색을 따른다. 아래 구역(고객 사례)이 올라와 바탕이 어두워져도 이름이 읽힌다 */
.l3 { padding: clamp(36px, 4vw, 52px) 0 clamp(72px, 8vw, 104px); color: var(--ffg, var(--ink)); }
.l3-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.l3-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.6; font-weight: 600; color: var(--ffg2, var(--ink-2)); letter-spacing: -.01em; transition: color .7s ease; }
.l3-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.l3-head h2 { margin-top: 12px; font-size: clamp(27px, 7.4vw, 32px); line-height: 1.34; font-weight: 700; letter-spacing: -.035em; color: var(--ffg, var(--ink)); transition: color .7s ease; }
.l3-sub { margin: 12px auto 0; font-size: 16px; line-height: 1.7; color: var(--ffg2, var(--g700)); max-width: 36em; transition: color .7s ease; }

.lwide { max-width: 1560px; margin: 0 auto; }
.lgrid { display: flex; gap: 14px; padding: 0 var(--gut) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.lgrid::-webkit-scrollbar { display: none; }
.lcard { flex: 0 0 78%; max-width: 340px; scroll-snap-align: start; }
/* 네 카드 모두 3:4, 같은 object-fit과 object-position이다. 사진과 자리 그림은 눈높이(위에서 31.7%)와 머리 크기가 같게 만들어져 있어서, 이 규칙만 같으면 얼굴이 한 가로선에 놓인다 */
.lphoto { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 36px; overflow: hidden; background: radial-gradient(130% 105% at 62% 30%, #dde1e2 0%, #d7dbdc 42%, #cbd0d1 78%, #bdc3c4 100%); transform: translateZ(0); }
.lphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.lname { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-left: 4px; font-size: 19px; line-height: 1.6; letter-spacing: -.03em; color: var(--ffg, var(--ink)); transition: color .7s ease; }
.lname b { font-weight: 700; }
.lname i { font-style: normal; font-weight: 300; color: var(--g400); transform: translateY(-1px); }
.lname span { font-weight: 600; }
.lline { display: block; margin-top: 6px; padding-left: 4px; font-size: 14.5px; line-height: 1.6; color: var(--ffg3, var(--g600)); transition: color .7s ease; }

/* ───────── 지엔이 해 온 일: main-1에서는 리더 구역 끝의 목록이었다. 고객 사례 다음의 흰 면으로 옮겼다 ───────── */
.rec { padding: clamp(80px, 9vw, 120px) 0; color: var(--ffg); }
.rec-in { display: grid; gap: 32px; }
.rec-head h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.34; font-weight: 700; letter-spacing: -.03em; color: var(--ffg); transition: color .7s ease; }
.rec-head p { margin-top: 14px; max-width: 24em; font-size: 16px; line-height: 1.7; color: var(--ffg2); transition: color .7s ease; }
.rec-list li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--fline); font-size: 15.5px; line-height: 1.55; transition: border-color .7s ease; }
.rec-list time { color: var(--ffg3); font-variant-numeric: tabular-nums; letter-spacing: -.01em; transition: color .7s ease; }
.rec-list span { font-weight: 600; letter-spacing: -.02em; color: var(--ffg); transition: color .7s ease; }
.rec-list small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ffg3); transition: color .7s ease; }
@media (min-width: 900px) {
  /* 넓은 화면: 왼쪽에 제목, 오른쪽에 기록을 두 줄(세 개씩)로. 시간 순서는 위에서 아래로, 왼쪽 줄 다음 오른쪽 줄 */
  .rec-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
  .rec-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 40px; }
  .rec-list li { grid-template-columns: 1fr; gap: 4px; align-content: start; padding: 18px 0 20px; font-size: 16.5px; }
  .rec-list time { font-size: 14px; }
}

@media (min-width: 720px) {
  .l3-head { margin-bottom: 36px; }
  .l3-head h2 { font-size: 40px; line-height: 1.32; }
  .l3-sub { font-size: 17px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  /* 태블릿 폭: 두 줄로 쌓으면 구역이 너무 길어져 고객 사례가 밀린다. 휴대폰처럼 한 줄로 두고 옆으로 넘겨 본다 */
  .lcard { flex-basis: 40%; }
}
@media (min-width: 900px) {
  /* 네 장을 한 줄로, 첫 화면의 파란 면과 같은 좌우 끝(24px)까지. 1440 폭에서 한 장이 336x448쯤이다(main-1은 285x380) */
  .lwide { padding: 0 24px; }
  .lgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; overflow: visible; }
  .lcard { max-width: none; }
  .lphoto { border-radius: 40px; }
  .lname { margin-top: 20px; padding-left: 8px; font-size: 21px; }
  .lline { padding-left: 8px; padding-right: 8px; font-size: 15px; }
}
/* 카드가 좁아지는 폭(900~1179): 한 줄 소개의 줄 수가 사람마다 달라져 글 끝이 어긋나지 않게 한다.
   글자를 조금 줄이고 오른쪽 여백을 없애 1100 이상에서는 네 장 모두 두 줄(스크롤 막대가 자리를 차지하는 화면까지 여유를 둔 값), 그보다 좁으면 글의 폭을 좁혀 네 장 모두 세 줄이 되게 한다 */
@media (min-width: 900px) and (max-width: 1179px) {
  .lline { padding-right: 0; font-size: 14px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .lline { max-width: calc(12.4em + 8px); text-wrap: balance; }
}
@media (min-width: 960px) {
  .l3-head h2 { font-size: 44px; }
}

/* ───────── 공통 구역 머리 ───────── */
.sec-head h2 { font-size: 46px; line-height: 1.24; font-weight: 700; letter-spacing: -.035em; }
.sec-head > p:not(.eyebrow) { margin-top: 16px; max-width: 620px; font-size: 19px; line-height: 1.6; color: var(--g700); }
.sec-head--center { text-align: center; }
.sec-head--center > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--blue-deep); }



/* 해 주는 일: 5번 시안(main-5)의 같은 구역과 같은 모양. 글자 크기와 카드 값은 그쪽 것을 따르고,
   구역 위아래 여백과 좌우 폭만 이 페이지의 값(--sec, .wrap)을 쓴다 */
.w5 { padding: var(--sec) 0; background: #f5f7fa; }
.js .flow .w5 { background: transparent; }   /* 이어지는 바탕(.flow)이 같은 색으로 바꿔 준다 */
.w5-head { margin-bottom: clamp(40px, 5vw, 64px); }
.w5-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; line-height: 1.6; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.w5-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .82; }
.w5-h2 { margin-top: 18px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.34; font-weight: 700; letter-spacing: -.028em; }
.w5-lead { margin-top: 18px; max-width: 600px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.7; color: var(--g700); }
.w5-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.w5-card { display: flex; flex-direction: column; padding: 32px 32px 30px; border-radius: 28px; background: #fff; font-size: 16px; line-height: 1.6; }
.w5-no { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--blue); }
.w5-card h3 { margin-top: 10px; font-size: 22px; line-height: 1.6; font-weight: 700; letter-spacing: -.025em; }
.w5-card > p { margin-top: 8px; font-size: 16px; color: var(--g700); }
.w5-shot { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 132px; margin-top: 28px; padding: 18px; border-radius: 18px; background: #f5f7fa; font-size: 14px; }
.w5-row { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 12px; background: #fff; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 27, 55, .05); }
.w5-sev { flex: none; padding: 3px 8px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.w5-sev--a { background: #ffeceb; color: #d63b33; }
.w5-sev--b { background: #fff3d6; color: #a86a00; }
.w5-old { padding-left: 2px; font-size: 13px; color: var(--g500); text-decoration: line-through; text-decoration-color: rgba(139, 149, 161, .6); }
.w5-new { padding: 11px 13px; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 27, 55, .05); }
.w5-bubble { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #fff; line-height: 1.55; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 27, 55, .05); }
.w5-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; background: var(--blue-50); color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.w5-chip svg { width: 13px; height: 13px; }
.w5-note { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--g500); }
@media (min-width: 900px) and (max-width: 1040px) {
  /* 좁은 컴퓨터 창: 세 장을 한 줄에 그대로 두고 안쪽 여백과 글자만 줄인다. 가로로 넘기지 않는다 */
  .w5-cards { gap: 16px; }
  .w5-card { padding: 28px 24px 26px; }
  .w5-card h3 { font-size: 20px; }
  .w5-shot { padding: 14px; }
}
@media (max-width: 899px) {
  /* 휴대폰과 태블릿: 카드를 옆으로 넘겨 본다.
     가로로만 넘어가야 한다. overflow-x만 auto로 두면 세로도 auto가 되어, 카드가 등장하기 전 아래로 22px 내려가 있는 동안(.rv)
     이 상자가 세로로도 22px 스크롤된다. 그래서 세로는 막고(overflow-y: hidden), 등장 움직임과 흐림이 잘리지 않게 위아래에 자리를 둔다 */
  .w5-cards { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-block: 12px 28px; margin-block: -12px -28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .w5-cards::-webkit-scrollbar { display: none; }
  .w5-cards > li { flex: 0 0 min(84%, 380px); scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .w5-cards { gap: 12px; }
  .w5-card { padding: 26px 22px 22px; border-radius: 24px; }
  .w5-shot { margin-top: 22px; min-height: 148px; }
  .w5-card h3 { font-size: 20px; }
}

/* 진행 순서 */
.steps { padding: var(--sec) 0; }
.step-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 72px; counter-reset: s; }
.step-row li { position: relative; }
.step-row li::before { content: ""; position: absolute; left: 56px; right: -28px; top: 21px; height: 2px; background: var(--g200); }
.step-row li:last-child::before { display: none; }
.step-row i { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; }
.step-row li:first-child i { background: var(--blue); }
.step-row h3 { margin-top: 26px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.step-row p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--g700); text-wrap: pretty; }

/* 약속과 자주 묻는 질문: 시안 1d(짧은 흐름)의 두 구역을 그대로 가져왔다.
   두 구역의 제목 크기는 1d의 값(40px)이라 이 두 구역에만 따로 준다 */
.promise .sec-head h2, .faq .sec-head h2 { font-size: 40px; line-height: 1.28; }
/* 약속: 시안 1의 여덟 가지에서 핵심 여섯 가지만 남기고 설명 줄을 뺐다.
   머리글은 왼쪽, 두 칸은 오른쪽. 바로 아래 "자주 묻는 질문"과 같은 세로줄(1:2)에 맞춘다 */
.promise { padding: var(--sec) 0; }
.promise-in { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promise-col { padding: 30px 30px 14px; border-radius: 28px; background: #f5f7fa; }
.promise-col h3 { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.p-ico { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); flex: none; }
.p-ico--yes { background: var(--blue); }
.p-ico::before, .p-ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; }
.p-ico--no::before { width: 11px; height: 2.4px; transform: translate(-50%, -50%); }
.p-ico--no::after { display: none; }
.p-ico--yes::before { width: 6.5px; height: 2.4px; transform: translate(-98%, 60%) rotate(45deg); }
.p-ico--yes::after { width: 11px; height: 2.4px; transform: translate(-28%, -20%) rotate(-48deg); }
.promise-col ul { margin-top: 16px; }
.promise-col li { padding: 17px 0; border-top: 1px solid rgba(25, 31, 40, .08); font-size: 17.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.45; text-wrap: balance; }

/* 자주 묻는 질문 */
.faq { padding: 0 0 var(--sec); }
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.faq-list { border-top: 1px solid var(--g200); }
.faq details { border-bottom: 1px solid var(--g200); }
.faq summary { position: relative; display: block; padding: 24px 56px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.45; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-deep); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.7; color: var(--g700); }
/* 처음에는 세 개만 보이고, 나머지는 단추로 편다. 스크립트가 꺼져 있으면 처음부터 다 보인다 */
.js .faq-more:not(.is-open) { display: none; }
.faq-toggle { display: none; align-items: center; gap: 6px; margin-top: 20px; height: 44px; padding: 0 14px 0 18px; border-radius: 999px; background: var(--g100); font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); transition: background .2s; }
.js .faq-toggle { display: inline-flex; }
.faq-toggle:hover { background: var(--g200); }
.faq-toggle svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.faq-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* 마지막 주소 입력 */
/* 3번 시안(main-3)의 마지막 면과 같은 모양: 짙은 남색의 둥근 큰 카드, 아래쪽 가운데가 중심인 가는 동심원 */
.final { padding: 0 8px 8px; }
.final-panel { border-radius: 28px; color: #fff; background-color: var(--navy); background-image: radial-gradient(circle at 50% 130%, rgba(49, 130, 246, .3) 0, rgba(49, 130, 246, .11) 34%, rgba(49, 130, 246, 0) 62%), repeating-radial-gradient(circle at 50% 130%, var(--lens-line)); padding: 72px 0 64px; }
.final-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.035em; }
.final-in > p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.ask2 { width: 100%; max-width: 520px; margin-top: 32px; }
.ask2-box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 20px; background: #fff; transition: box-shadow .25s; }
/* 포커스 표시는 첫 화면의 입력칸과 같은 하늘색 테두리 */
.ask2-box { box-shadow: 0 0 0 6px rgba(156, 196, 255, .16); }
.ask2-box:focus-within { box-shadow: 0 0 0 4px var(--sky); }
.ask2-box input { flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.ask2-box input::placeholder { color: #647083; font-weight: 400; }
.ask2-box button { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--blue-btn); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.ask2-box button:hover { background: var(--blue-btn-hover); }
.ask2-box button:active { transform: scale(.97); }
.ask2-note { margin-top: 12px; min-height: 22px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .64); }
@media (min-width: 720px) {
  .br-720 { display: none; }
  .final { padding: 0 12px 12px; }
  .final-panel { border-radius: 32px; padding: 112px 0 104px; }
  .final-in { max-width: 1264px; padding: 0 32px; }
  .final h2 { font-size: 48px; }
  .final-in > p { font-size: 17px; }
}
@media (min-width: 960px) {
  .ask2 { margin-top: 36px; }
  .ask2-box { padding: 7px 7px 7px 22px; border-radius: 22px; }
  .ask2-box input { height: 56px; font-size: 18px; }
  .ask2-box button { height: 56px; padding: 0 28px; border-radius: 16px; font-size: 17px; }
}

/* 바닥글: 짙은 카드 바로 아래라 밝게 둔다 */
.foot { padding: 56px 0 56px; background: #fff; color: var(--g700); font-size: 15px; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--g200); }
.foot-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 72px; }
.foot-cols h4 { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.foot-cols a { display: block; padding: 5px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-biz { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 36px; font-size: 14px; line-height: 1.7; }
.foot-biz div { display: flex; gap: 8px; }
.foot-biz dt { color: var(--g500); }
.foot-review { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--g100); font-size: 14px; color: var(--ink-2); }


/* 안내 말풍선 */
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 120; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; text-align: center; box-shadow: 0 12px 34px rgba(0, 0, 0, .22), 0 0 0 1px rgba(255, 255, 255, .14); opacity: 0; transform: translate(-50%, 14px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── 스크롤 등장: 흐릿했다가 또렷해진다. 내용은 기본으로 보이고, 화면 아래에 있던 것만 숨겼다 푼다 ───────── */
.rv { opacity: 0; transform: translateY(22px); filter: blur(8px); }
.rv-go { transition: opacity .8s ease, transform .9s var(--ease), filter .8s ease; }
.rv-go.rv-in { opacity: 1; transform: none; filter: none; }
html.slow .rv { opacity: 1; transform: none; filter: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; filter: none; }
}

/* ───────── 중간 폭 ───────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
}

/* ───────── 휴대폰 ───────── */
@media (max-width: 899px) {
  :root {
    --gut: 20px;
    --nav-h: 60px;
    --sec: 88px;
  }
  body { font-size: 16px; }
  .br-m { display: inline; }
  .logo img { height: 26px; }
  .btn--sm { height: 40px; padding-left: 16px; font-size: 14px; }
  .btn--sm .btn-arrow { width: 28px; height: 28px; }

  .hero { padding: 0 12px; }
  .hero-surface { padding: 0 20px; border-radius: 18px; }
  .hero-banner { margin: 0 -20px; padding: 12px 16px; font-size: 13.5px; flex-direction: column; gap: 2px; }
  .hero-copy { padding-top: 52px; }
  .hero h1 { font-size: 31px; line-height: 1.26; }
  .hero-sub { margin-top: 16px; font-size: 16px; }
  .ask { height: 58px; margin-top: 28px; padding: 6px; }
  .ask input { padding: 0 8px 0 16px; font-size: 16px; }
  .ask button { padding: 0 20px; font-size: 16px; }
  .hero-note { margin-top: 14px; font-size: 14px; }


  .sec-head h2 { font-size: 29px; line-height: 1.32; }
  .sec-head > p:not(.eyebrow) { font-size: 16.5px; margin-top: 12px; }

  .step-row { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .step-row li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .step-row li:last-child { padding-bottom: 0; }
  .step-row li::before { left: 19px; right: auto; top: 44px; bottom: 4px; width: 2px; height: auto; }
  .step-row i { grid-row: span 2; width: 40px; height: 40px; font-size: 16px; }
  .step-row h3 { margin-top: 6px; font-size: 19px; }
  .step-row p { margin-top: 4px; font-size: 15.5px; }

  .promise .sec-head h2, .faq .sec-head h2 { font-size: 27px; line-height: 1.34; }
  .promise .eyebrow { margin-bottom: 10px; }
  .promise-in { grid-template-columns: 1fr; gap: 20px; }
  .promise-grid { grid-template-columns: 1fr; gap: 10px; }
  .promise-col { padding: 20px 20px 4px; border-radius: 22px; }
  .promise-col h3 { font-size: 18.5px; gap: 10px; }
  .p-ico { transform: scale(.9); }
  .promise-col ul { margin-top: 12px; }
  .promise-col li { padding: 13px 0; font-size: 16px; }

  .faq-in { grid-template-columns: 1fr; gap: 20px; }
  .faq summary { padding: 18px 40px 18px 0; font-size: 17px; }
  .faq summary::before, .faq summary::after { right: 4px; width: 15px; }
  .faq details p { padding: 0 8px 20px 0; font-size: 15.5px; }
  .faq-toggle { margin-top: 16px; }


  .foot { padding: 56px 0 40px; font-size: 14.5px; }
  .foot-top { gap: 36px; padding-bottom: 36px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; width: 100%; }
  .foot-biz { flex-direction: column; gap: 4px; padding-top: 28px; font-size: 13.5px; }
  .foot-biz dt { flex: none; width: 96px; }
  .foot-review { font-size: 13.5px; line-height: 1.55; }

  .toast { bottom: 84px; font-size: 15px; padding: 12px 18px; }
}

/* ───────── 태블릿 폭: 휴대폰 배치를 쓰되 큰 글자만 키운다 ───────── */
@media (min-width: 600px) and (max-width: 899px) {
  :root { --gut: 32px; }
  .hero h1 { font-size: 42px; line-height: 1.22; }
  .hero-sub { font-size: 18px; }
  .hero-copy { padding-top: 64px; }
  .sec-head h2 { font-size: 36px; }
  .promise .sec-head h2, .faq .sec-head h2 { font-size: 34px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
}

/* ───────── 고객 벽과 고객 사례의 폭별 값 (5번 시안의 값) ───────── */
@media (max-width: 1120px) {
  /* 사례 카드: 네 장이 한 줄에 서면 로고와 분야 표시가 좁아지는 폭부터는 두 장씩 두 줄 */
  .cases { flex-wrap: wrap; }
  .case { flex: 1 1 calc(50% - 8px); height: 180px; }
}
@media (max-width: 1040px) {
  /* 고객 벽은 이 폭에서도 5칸 5줄이다(25곳이라 3칸이면 마지막 줄에 하나가 남는다). 칸이 좁아지는 만큼 로고를 줄인다 */
  :root { --k: .8; }
  .case { padding: 22px 20px 22px; }
}
@media (max-width: 760px) {
  :root { --cell: 54px; --lg-row: 8px; --lg-col: 12px; --strip-pad: 4px; --k: .8; --tuck: 14px; --strip-vis: 48px; --s0: .85; }
  .rel { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .rel dd { font-size: 15px; }
  /* 사례 카드: 세로로 쌓는다 */
  .cases { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  .case { flex: none; height: 104px; padding: 20px 20px 20px; border-radius: 22px; }
  .case-logo { height: 38px; }
  .case-logo img { height: calc(var(--h) * .86); }
  .case-name { font-size: 19px; line-height: 38px; }
  .case-tag { margin-top: 8px; }
  .case-fact { margin-top: 6px; }
  .case-fact { order: 1; display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .8); }
  .case-fact b { margin: 0; font-weight: 500; }
  .case-fact .lb { display: none; }
  .case-fact .yr { order: 2; margin: 0; font-size: 13px; }
  .case--two { height: 126px; }
  .case-fact--two { flex-direction: column; align-items: flex-start; gap: 1px; }
  .case-fact--two b { display: flex; align-items: baseline; gap: 6px; }
  .case-fact--two b .yr { order: 2; margin: 0; }
}
/* 5칸을 지키는 폭(561 이상)에서는 칸이 좁아지는 만큼 로고를 더 줄여, 옆 칸과 닿지 않게 한다 */
@media (max-width: 899px) and (min-width: 701px) {
  :root { --k: .7; }
}
@media (max-width: 700px) and (min-width: 561px) {
  :root { --k: .56; }
}
@media (max-width: 560px) {
  /* 휴대폰 폭: 5칸은 로고가 너무 작아져서, 3곳과 2곳이 번갈아 놓이는 줄로 쌓는다(3, 2, 3, 2 … 로 25곳이 꼭 맞는다).
     격자는 6칸이고 로고 하나가 2칸을 차지한다. 띠는 첫 줄의 세 곳이고, 그 아래 목록은 2곳 줄부터 시작한다 */
  .logos { --cols: 3; grid-template-columns: repeat(6, 1fr); }
  .logos li { grid-column: span 2; }
  #wall-list li:nth-child(5n + 1) { grid-column: 2 / span 2; }
}
@media (max-width: 480px) {
  :root { --cell: 50px; --k: .62; --tuck: 10px; --s0: .92; }
}
@media (max-width: 359px) {
  :root { --k: .54; }
}

/* ═════════ 첫 화면 창의 애니메이션: 시안 2b "두 창이 겹쳐 있어요" ═════════
   animation/anim.css 에서 창과 그 안쪽 규칙만 가져오고(단계 칸은 여섯 개로 늘림), 이어서 anim-2b.html 의 고유 스타일을 그대로 붙였다.
   맨 끝에 이 페이지에서 덧붙인 주소 입력 장면(첫 칸)의 규칙이 있다.
   재생은 anim.js 가 맡는다. 장면은 전부 아래 CSS가 그리고, .demo 에 붙는 클래스가 시각마다 바뀐다.
   HTML에 클래스를 모두 적어 둔 모습이 마지막 장면이라, 스크립트가 꺼졌거나 움직임 줄이기 설정이면 그 모습이 보인다 */
/* ───────── 창 ───────── */
.window {
  position: relative;
  max-width: 1040px; height: var(--win-h); margin: 76px auto 0;
  /* 남색 바탕보다 한 단 밝은 면에 가는 테두리와 그림자. 가운데에는 파란 빛을 깔아 그 위의 어두운 AI 도구 창이 바탕에 묻히지 않게 한다 */
  border: 1px solid rgba(255, 255, 255, .17); border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background:
    radial-gradient(62% 70% at 50% 64%, rgba(49, 130, 246, .3) 0, rgba(49, 130, 246, .1) 55%, rgba(49, 130, 246, 0) 100%),
    linear-gradient(180deg, #1b2c55 0%, var(--navy-up) 46%, #14213f 100%);
  box-shadow: 0 -30px 80px -30px rgba(2, 8, 22, .6), inset 0 1px 0 rgba(255, 255, 255, .07);
  text-align: left;
}
.window-bar { display: flex; align-items: center; gap: 8px; height: var(--bar-h); padding: 0 12px 0 18px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.window-bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .26); }
.window-bar > span { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* 멈춤과 다시 보기 */
.zl-ctl { display: flex; gap: 4px; margin-left: 6px; }
.zl-ctl button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s; }
.zl-ctl button:hover { background: rgba(255, 255, 255, .2); }
.zl-ctl svg { width: 14px; height: 14px; }
.zl-ctl .ic-play { display: none; }
.is-paused .zl-ctl .ic-play { display: block; }
.is-paused .zl-ctl .ic-pause { display: none; }
html:not(.js) .zl-ctl, .is-still .zl-ctl { display: none; }

.demo { position: absolute; inset: var(--bar-h) 0 0; overflow: hidden; transition: opacity .45s ease; }
.demo.is-out { opacity: 0; }
/* 한 번에 상태를 옮길 때(다시 시작, 시점 이동)는 움직임 없이 바꾼다 */
.zl-instant, .zl-instant *, .zl-instant *::before, .zl-instant *::after { transition: none !important; }
.is-paused .demo *, .is-paused .demo *::before, .is-paused .demo *::after { animation-play-state: paused !important; }

/* ───────── 단계 설명 줄: 한 줄 문장(여섯 단계, 첫 단계는 주소 입력). 진행 칸 여섯 개는 뺐고, 문장은 이 줄의 가운데에 놓인다 ───────── */
.cap { position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: var(--cap-h); padding: 0 20px; display: grid; align-content: center; justify-items: center; gap: 11px; text-align: center; color: #fff; }
.cap-txt { display: grid; }
/* 나가는 자막은 빨리 사라지고(0.2초), 들어오는 자막은 그 뒤에 나타난다. 같은 자리에 두 문장이 겹쳐 보이지 않게 하려는 것이다 */
.cap-txt p { grid-area: 1 / 1; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
[data-stage="1"] .cap-txt p:nth-child(1),
[data-stage="2"] .cap-txt p:nth-child(2),
[data-stage="3"] .cap-txt p:nth-child(3),
[data-stage="4"] .cap-txt p:nth-child(4),
[data-stage="5"] .cap-txt p:nth-child(5),
[data-stage="6"] .cap-txt p:nth-child(6),
[data-stage="7"] .cap-txt p:nth-child(7) { opacity: 1; transform: none; transition: opacity .35s ease .22s, transform .5s var(--ease) .22s; }

.stage { position: absolute; inset: var(--cap-h) 0 0; }
.bub, .note, .d-title, .d-prompt, .cap-txt p { text-wrap: pretty; }
.bub, .d-title, .cap-txt p { text-wrap: balance; }

/* ───────── Z-Mate 쪽 카드 (흰색, main-1의 .d-card) ───────── */
.d-card { width: min(420px, 100%); padding: 26px 28px 28px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--card-shadow); }
.lz-head { display: flex; align-items: center; gap: 7px; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.lz-head svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.lz-head em { margin-left: auto; font-weight: 500; color: var(--g600); }
.d-eyebrow { font-size: 14px; font-weight: 500; color: var(--g600); }
.d-eyebrow b { font-weight: 600; color: var(--ink); }
.d-rows { margin-top: 14px; }
.d-rows li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--g100); font-size: 16px; font-weight: 500; }
.d-rows li span { flex: 1; }
.d-rows em { font-size: 14px; font-weight: 600; color: var(--ok-text); opacity: 0; transition: opacity .3s; }
.d-rows em.warn { color: var(--warn-text); }
.d-dot { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--g200); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.r1 .d-rows li:nth-child(1) .d-dot,
.r2 .d-rows li:nth-child(2) .d-dot,
.r3 .d-rows li:nth-child(3) .d-dot { animation: none; border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.r1 .d-rows li:nth-child(1) .d-dot.is-warn,
.r2 .d-rows li:nth-child(2) .d-dot.is-warn,
.r3 .d-rows li:nth-child(3) .d-dot.is-warn { border-color: var(--warn-ring); background: var(--warn-ring) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4.6v5.2M9 12.9v.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.r1 .d-rows li:nth-child(1) em,
.r2 .d-rows li:nth-child(2) em,
.r3 .d-rows li:nth-child(3) em { opacity: 1; }

.d-badge { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-text); font-size: 13px; font-weight: 700; line-height: 1.4; }
.d-badge--ok { background: var(--blue-50); color: var(--blue-deep); }
.d-badge--step { background: var(--g100); color: var(--g700); }
/* 신청 장면의 세 줄: 넣은 값은 먹색으로, 마지막 "끝났어요"만 초록으로 */
.d-rows--form em { font-weight: 500; color: var(--ink-2); }
.d-rows--form li:last-child em { font-weight: 600; color: var(--ok-text); }
.d-title { margin-top: 14px; font-size: 22px; line-height: 1.36; font-weight: 700; letter-spacing: -.025em; }
.d-prompt { margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: var(--g100); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.d-copy { position: relative; display: grid; place-items: center; height: 48px; margin-top: 14px; border-radius: 14px; background: var(--blue-btn); color: #fff; font-size: 16px; font-weight: 600; overflow: hidden; transition: background .3s, transform .18s ease; }
.d-copy span { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.d-copy-b { opacity: 0; transform: translateY(10px); }
.press .d-copy { transform: scale(.97); }
.copied .d-copy { background: var(--ink); transform: none; }
.copied .d-copy-a { opacity: 0; transform: translateY(-10px); }
.copied .d-copy-b { opacity: 1; transform: none; }

/* 다시 확인: 도는 표시에서 확인 표시로 */
.d-done { position: relative; display: grid; justify-items: center; gap: 20px; padding: 32px 0 22px; border-radius: 16px; background: var(--blue-50); color: var(--blue-deep); font-size: 24px; font-weight: 700; letter-spacing: -.02em; overflow: hidden; }
.d-done-ic { position: relative; display: grid; place-items: center; width: 48px; height: 48px; }
.d-done-ic > * { grid-area: 1 / 1; }
.d-done-ic .d-dot { width: 34px; height: 34px; border-width: 3px; border-color: var(--g300); border-top-color: var(--blue); transition: opacity .3s; }
.d-done-ic svg { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: var(--blue); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
/* 확인 표시 둘레로 퍼지는 가는 동심원 */
.d-done-ic::before, .d-done-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; border: 1px solid rgba(49, 130, 246, .42); opacity: 0; transition: opacity .5s ease .1s, transform .9s var(--ease) .1s; }
.d-done-txt { display: grid; justify-items: center; }
.d-done-txt span { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s ease; }
.d-done-txt span:last-child { opacity: 0; transform: translateY(8px); }
.ok .d-done-ic .d-dot { opacity: 0; }
.ok .d-done-ic svg { opacity: 1; transform: none; }
.ok .d-done-ic::before { opacity: 1; transform: scale(1.4); }
.ok .d-done-ic::after { opacity: .55; transform: scale(1.8); }
.ok .d-done-txt span:first-child { opacity: 0; transform: translateY(-8px); }
.ok .d-done-txt span:last-child { opacity: 1; transform: none; transition: opacity .3s ease .2s, transform .45s var(--ease) .2s; }

/* 찾은 문제와 남은 문제 */
.d-count { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--g700); }
.d-count b { font-weight: 700; color: var(--ink); transition: color .4s ease; }
.d-count svg { width: 16px; height: 16px; color: var(--g400); }
.ok .d-count b.is-left { color: var(--blue-deep); }
/* 숫자가 위로 밀려 올라가며 바뀐다 */
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; text-align: center; }
.roll > i { grid-area: 1 / 1; transition: transform .55s var(--ease), opacity .3s ease; }
.roll > i + i { transform: translateY(100%); opacity: 0; }

/* ───────── 내가 쓰던 AI 도구 (어두운 대화 창. 특정 제품을 닮지 않게 그린다) ───────── */
.ai { display: flex; flex-direction: column; width: min(420px, 100%); height: 330px; padding: 20px 20px 18px; border-radius: 22px; background: var(--navy-deep); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .1), var(--card-shadow); }
.ai-head { display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.4; font-weight: 600; color: rgba(255, 255, 255, .9); }
.ai-head i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .13); }
.ai-head svg { width: 14px; height: 14px; }
.ai-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px 0 14px; }
.bub { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; letter-spacing: -.005em; }
.bub--me { align-self: flex-end; background: var(--blue-btn); border-bottom-right-radius: 6px; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .5s var(--ease); }
.send .bub--me { opacity: 1; transform: none; }
.ai-reply { display: grid; justify-items: start; }
.ai-reply > * { grid-area: 1 / 1; }
.bub--ai { background: rgba(255, 255, 255, .11); border-bottom-left-radius: 6px; }
.bub--dots { display: flex; gap: 5px; align-items: center; height: 40px; opacity: 0; transition: opacity .3s; align-self: end; }
.bub--dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: dots 1.1s ease-in-out infinite; }
.bub--dots i:nth-child(2) { animation-delay: .15s; }
.bub--dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bub--ans { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease); }
.bub--ans b { font-weight: 700; }
.dots .bub--dots { opacity: 1; }
.ans .bub--dots { opacity: 0; }
.ans .bub--ans { opacity: 1; transform: none; }
.ai-input { position: relative; display: flex; align-items: center; height: 48px; padding: 0 7px 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: rgba(255, 255, 255, .46); transition: border-color .3s, background .3s; }
.ai-ph { transition: opacity .2s; }
.ai-pasted { position: absolute; left: 8px; top: 50%; display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-top: -16px; padding: 0 12px 0 9px; border-radius: 9px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .35s var(--ease); }
.ai-pasted svg { width: 15px; height: 15px; color: var(--blue); }
.ai-send { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 10px; background: rgba(255, 255, 255, .13); transition: background .3s; }
.ai-send svg { width: 15px; height: 15px; }
.paste .ai-input { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .11); }
.paste .ai-ph { opacity: 0; }
.paste .ai-pasted { opacity: 1; transform: none; }
.paste .ai-send { background: var(--blue); }
.send .ai-input { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
.send .ai-ph { opacity: 1; }
.send .ai-pasted { opacity: 0; transform: translateY(-14px) scale(.96); }
.send .ai-send { background: rgba(255, 255, 255, .13); }

/* ───────── 건너가는 문장 쪽지와 손가락 표시 ───────── */
.note { position: absolute; left: var(--nx, 0px); top: var(--ny, 0px); width: var(--nw, 300px); z-index: 8; padding: 13px 16px 14px; border-radius: 14px; background: #fff; color: var(--ink-2); box-shadow: 0 18px 44px rgba(2, 8, 22, .5); font-size: 14.5px; line-height: 1.5; pointer-events: none; opacity: 0; }
.note b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.note b svg { width: 15px; height: 15px; }
.cur { position: absolute; left: 0; top: 0; z-index: 9; width: 24px; height: 24px; pointer-events: none; opacity: 0; filter: drop-shadow(0 3px 5px rgba(2, 8, 22, .4)); transform: translate(calc(var(--cx, 0px) + 70px), calc(var(--cy, 0px) + 56px)); transition: opacity .3s ease, transform .7s var(--ease); }
.cur-on .cur { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)); }
.press .cur { transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(.88); transition-duration: .2s, .15s; }
.copied .cur { transform: translate(var(--cx, 0px), var(--cy, 0px)); }
.cur-off .cur { opacity: 0; }
.lz-head img { flex: none; width: 18px; height: 18px; }
@media (max-width: 899px) {
  :root { --bar-h: 40px; --cap-h: 66px; }
  .window { margin: 48px -8px 0; border-radius: 16px 16px 0 0; }
  .window-bar { padding: 0 8px 0 14px; }
  .window-bar > i { width: 8px; height: 8px; }
  .window-bar > span { font-size: 12px; }
  .zl-ctl button { width: 28px; height: 28px; }
  .cap { gap: 9px; padding: 0 12px; }
  .cap-txt p { font-size: 16px; }
  .d-card { padding: 20px 20px 22px; border-radius: 18px; }
  .d-rows li { padding: 11px 0; font-size: 14.5px; gap: 10px; }
  .d-rows em { font-size: 13px; }
  .d-title { font-size: 19px; }
  .d-prompt { padding: 14px; font-size: 14.5px; }
  .d-copy { height: 44px; font-size: 15px; }
  .d-done { font-size: 21px; padding: 30px 0 20px; }
  .d-count { font-size: 14px; gap: 8px; }
  .ai { height: 318px; padding: 16px 16px 14px; border-radius: 18px; }
  .ai-head { font-size: 13.5px; }
  .bub { font-size: 13.5px; padding: 10px 12px; border-radius: 14px; }
  .ai-input { height: 44px; }
  .note { font-size: 13.5px; padding: 11px 13px 12px; }
}

/* ── 여기부터 anim-2b.html 의 고유 스타일 ── */
/* 시안 2b: 두 창이 앞뒤로 겹쳐 있다. 지금 쓰는 창이 앞으로 나오고, 복사한 문장 쪽지는 창이 바뀌는 동안 손에 들려 있다.
   창이 나란히 놓이지 않아 휴대폰에서도 길어지지 않는다 */
.deck { display: grid; place-items: center; padding: 0 24px 40px; }
.deck-in { position: relative; display: grid; width: min(420px, 100%); --fx: -52px; --fy: 26px; --bx: 76px; --by: -34px; }
.win2 { grid-area: 1 / 1; display: grid; transition: transform .75s var(--ease), z-index 0s linear .26s; }
.win2 > * { grid-area: 1 / 1; width: 100%; height: 314px; }
/* 앞에 나온 창과 뒤로 물러난 창 */
.win2--lz { z-index: 2; transform: translate(var(--fx), var(--fy)); }
.win2--ai { z-index: 1; transform: translate(var(--bx), var(--by)) scale(.94); }
.swap .win2--lz { z-index: 1; transform: translate(var(--bx), var(--by)) scale(.94); }
.swap .win2--ai { z-index: 2; transform: translate(var(--fx), var(--fy)); }
.back .win2--lz { z-index: 2; transform: translate(var(--fx), var(--fy)); }
.back .win2--ai { z-index: 1; transform: translate(var(--bx), var(--by)) scale(.94); }
/* 뒤에 있는 창은 살짝 가라앉힌다 */
.win2::after { content: ""; grid-area: 1 / 1; z-index: 3; border-radius: 22px; background: rgba(23, 38, 74, .42); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.win2--ai::after { opacity: 1; }
.swap .win2--ai::after { opacity: 0; }
.swap .win2--lz::after { opacity: 1; }
.back .win2--lz::after { opacity: 0; }
.back .win2--ai::after { opacity: 1; }

.lz { display: flex; flex-direction: column; padding: 22px 24px 24px; }
.lz-body { flex: 1; display: grid; margin-top: 16px; }
/* 카드 안에서 내용이 바뀔 때: 나가는 칸은 0.22초에 사라지고, 들어오는 칸은 그 뒤(0.24초 늦게)에 올라온다 */
.lz-body > * { grid-area: 1 / 1; transition: opacity .22s ease, transform .3s ease; }
.lz-b { display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); }
.rep .lz-a { opacity: 0; transform: translateY(-10px); }
.rep .lz-b { opacity: 1; transform: none; transition: opacity .4s ease .24s, transform .55s var(--ease) .24s; }
.lz-a .d-rows { margin-top: 10px; }
.lz-b .d-title { margin-top: 10px; font-size: 20px; }
.badges { display: grid; justify-items: start; }
.badges .d-badge { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s ease; }
.badges .d-badge--ok { opacity: 0; transform: translateY(6px); }
.ok .badges .d-badge:first-child { opacity: 0; transform: translateY(-6px); }
.ok .badges .d-badge--ok { opacity: 1; transform: none; transition: opacity .3s ease .2s, transform .45s var(--ease) .2s; }
.lz-low { flex: 1; display: grid; margin-top: 14px; }
.lz-low > * { grid-area: 1 / 1; display: flex; flex-direction: column; transition: opacity .22s ease, transform .3s ease; }
.lz-fix .d-prompt { flex: 1; display: flex; align-items: center; margin-top: 0; padding: 12px 16px; font-size: 15px; line-height: 1.55; }
.lz-fix .d-copy { margin-top: 12px; height: 46px; font-size: 15.5px; }
.lz-chk { opacity: 0; transform: translateY(12px); }
.lz-chk .d-done { flex: 1; grid-auto-flow: column; justify-content: center; align-content: center; align-items: center; gap: 28px; padding: 0 12px; font-size: 21px; }
.lz-chk .d-done-txt { justify-items: start; }
.lz-chk .d-count { margin-top: 12px; height: 46px; }
.back .lz-fix { opacity: 0; transform: translateY(-10px); }
.back .lz-chk { opacity: 1; transform: none; transition: opacity .4s ease .24s, transform .55s var(--ease) .24s; }
.ok .roll > i:first-child { transform: translateY(-100%); opacity: 0; }
.ok .roll > i + i { transform: none; opacity: 1; }
/* 마지막 장면(got): 카드의 내용이 받은 리포트 메일로 바뀐다. 주인 확인 칸(.lz-b)은 위로 물러나고 메일 칸(.lz-c)이 올라온다 */
.lz-c { display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); }
.got .lz-b { opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .3s ease; }
.got .lz-c { opacity: 1; transform: none; transition: opacity .4s ease .24s, transform .55s var(--ease) .24s; }
.lz-mail { display: flex; align-items: center; gap: 7px; }
.lz-mail svg { flex: none; width: 17px; height: 17px; color: var(--blue); }
.lz-c .d-title { margin-top: 10px; font-size: 20px; }
.lz-file { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 9px 14px 9px 9px; border-radius: 14px; background: var(--g100); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.lz-file i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--blue-deep); }
.lz-file i svg { width: 18px; height: 18px; }
.lz-file span { flex: 1; }
.lz-file em { font-size: 13px; font-weight: 600; color: var(--g600); }
.lz-pts { display: grid; gap: 8px; margin: auto 0; padding-top: 14px; }
.lz-pts li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--ink-2); }
.lz-pts li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* 쪽지와 손가락 표시는 앞 창과 같은 자리에 놓인다 */
.carry { position: absolute; inset: 0; z-index: 8; pointer-events: none; transform: translate(var(--fx), var(--fy)); }
.note { transition: opacity .25s ease, transform .95s var(--ease); }
.copied .note { opacity: 1; transform: translateY(-8px) rotate(-1.6deg) scale(1.02); }
.swap .note { transform: translate(var(--dx), calc(var(--dy) - 60px)) scale(.84); }
.paste .note { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.5); transition: opacity .22s ease .16s, transform .42s cubic-bezier(.5, 0, .8, .5); }

@media (max-width: 899px) {
  :root { --win-h: 520px; }
  .deck { padding: 0 14px 20px; align-items: start; }
  .deck-in { margin-top: 44px; --fx: -5px; --fy: 20px; --bx: 7px; --by: -34px; }
  .win2 > * { height: 322px; }
  .win2::after { border-radius: 18px; }
  .lz { padding: 16px 18px 18px; }
  .lz-body { margin-top: 12px; }
  .lz-a .d-rows li { padding: 10px 0; }
  .lz-b .d-title { font-size: 17px; margin-top: 8px; }
  .lz-low { margin-top: 10px; }
  .lz-fix .d-prompt { padding: 11px 13px; font-size: 13.5px; }
  .lz-fix .d-copy { height: 42px; margin-top: 10px; font-size: 14.5px; }
  .lz-chk .d-done { font-size: 18px; gap: 26px; }
  .lz-chk .d-count { height: 42px; margin-top: 10px; }
  .lz-c .d-title { font-size: 17px; margin-top: 8px; }
  .lz-file { margin-top: 12px; font-size: 14.5px; }
  .lz-pts li { font-size: 14px; }
}

/* ── 여기부터 이 페이지에서 덧붙인 것: 주소 입력 장면(첫 칸) ──
   원래 애니메이션(animation/anim-0.html)의 첫 장면이다. 창 한가운데의 주소칸에 주소가 한 글자씩 찍힌다.
   주소칸(.d-field, .d-caret)의 생김새는 그쪽 것 그대로다.
   다 찍히면(went) 주소칸은 제자리에서 살짝 위로 올라가며 빠르게 흐려져 사라지고, 거의 다 사라진 뒤에 두 창이 평소의 등장 움직임으로 나타난다.
   주소칸은 옆으로 움직이거나 크기가 바뀌지 않고, 두 창보다 뒤에 놓여서 겹쳐 떠 보이지 않는다 */
.scene { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding: 0 24px 64px; pointer-events: none; }
.d-field { display: flex; align-items: center; gap: 12px; width: min(460px, 100%); height: 66px; padding: 0 24px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 10px rgba(255, 255, 255, .16); color: var(--ink); font-size: 19px; font-weight: 500; }
.d-field svg { width: 20px; height: 20px; color: var(--g500); flex: none; }
.d-caret { width: 2px; height: 24px; margin-left: -9px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.d-field { transition: opacity .26s ease, transform .3s var(--ease); }
.went .d-field { opacity: 0; transform: translateY(-12px); }
.deck-in { z-index: 1; transition: opacity .5s ease .24s, transform .6s var(--ease) .24s; }
.demo:not(.went) .deck-in { opacity: 0; transform: translateY(14px) scale(.985); }
/* 넓은 화면: 창에 비해 카드와 글자가 작아 보여서 무대(.stage)를 통째로 키운다.
   자리 재기(anim.js)는 키우기 전의 치수로 하므로 쪽지와 손가락 표시의 자리도 그대로 맞는다 */
@media (min-width: 1100px) {
  :root { --win-h: 620px; }
  .stage { transform: scale(1.2); transform-origin: 50% 50%; }
}
/* 화면이 낮은 컴퓨터(높이 900 이하): 첫 화면에서 창 안의 흐름이 보이도록 제목과 위쪽 여백을 줄이고, 카드를 창의 위쪽에 붙인다 */
@media (min-width: 900px) and (max-height: 900px) {
  :root { --bar-h: 40px; --cap-h: 54px; --win-h: 520px; }
  .hero-copy { padding-top: 32px; }
  .hero h1 { font-size: clamp(38px, 4vw, 52px); }
  .hero-sub { margin-top: 12px; font-size: 19px; }
  .ask { height: 60px; margin-top: 24px; }
  .hero-note { margin-top: 12px; }
  .window { margin-top: 26px; }
  .deck { align-items: start; }
  /* 두 창의 어긋남도 조금 줄여 앞 창이 더 위에 놓이게 한다 */
  .deck-in { margin-top: 28px; --fy: 16px; --by: -22px; }
  .stage { transform: scale(1.12); transform-origin: 50% 0; }
}
@media (max-width: 899px) {
  .scene { padding: 0 14px 56px; }
  .d-field { height: 56px; padding: 0 18px; font-size: 16px; border-radius: 16px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .16); }
}
