/* 맡겨보고서 by 맘소프트 — 4차 디자인(2026-10-07)
   방향: 잘 편집된 보고서처럼. 상자·아이콘·장식 배경 대신 괘선, 여백, 글자 위계로 정리합니다.
   색은 글자색(잉크)과 판정 3색(전결·결재·이관)만 쓰고, 파랑은 링크와 워드마크 '보고'에만 씁니다.
   제목: 원티드 산스 / 본문: 프리텐다드. 본문 18px, 행간 1.7, 글자 대비 4.5:1 이상.
   판정은 색만으로 구분하지 않도록 늘 모양(원·삼각형·팔각형)과 글자를 함께 씁니다. */

:root {
  --bg: #ffffff;
  --paper: #f6f5f1;        /* 아주 옅은 면(바닥글만) */
  --line: #e5e3de;
  --line-strong: #c8c4bb;
  --control: #8a867d;      /* 체크 칸·선택 원 테두리 3.6:1 */
  --ink: #1c1b19;          /* 17:1 */
  --ink-2: #4a4741;        /* 9:1 */
  --ink-3: #5d5a53;        /* 6.9:1 */
  --brand: #1b64da;        /* 5.4:1 */
  --brand-ink: #174ea6;

  --ok: #007a80;  --ok-soft: #e6f4f4;  --ok-ink: #00666b;
  --check: #ffb020; --check-soft: #fff3d6; --check-ink: #7a4a00;
  --stop: #c8261a; --stop-soft: #feeceb; --stop-ink: #b42318;

  --radius: 10px;
  --radius-sm: 6px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: "Wanted Sans Variable", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  --fs-hero: clamp(1.875rem, 1.1rem + 3.7vw, 3.75rem);  /* 30 → 60 */
  --fs-h1: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem);    /* 28 → 44 */
  --fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);     /* 24 → 36 */
  --fs-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.3125rem);/* 19 → 21 */
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;

  --gap-section: clamp(64px, 8vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
svg { flex: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

/* ---------- 머리글 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "tag tag" "nav nav"; align-items: center; column-gap: 16px; padding-top: 12px; padding-bottom: 4px; }
.header-row .brand { grid-area: brand; }
.header-row .brand-tag { grid-area: tag; margin: 2px 0 0; }
.header-row .nav { grid-area: nav; margin-top: 2px; }
@media (min-width: 960px) {
  .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav cta" "tag nav cta"; padding-top: 14px; padding-bottom: 12px; }
  .header-row .nav { justify-self: end; margin: 0 12px 0 0; }
}
.brand { display: inline-flex; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-line { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.wordmark .bogo { color: var(--brand); }
.by { font-size: var(--fs-small); font-weight: 600; color: var(--ink-3); }
.brand-tag { font-size: var(--fs-small); color: var(--ink-3); line-height: 1.45; }
.nav ul { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-cta { grid-area: cta; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: #3a3833; color: #fff; }
.header-cta[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-sm); font-family: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3a3833; color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 28px 0 0; }
.actions .btn { width: 100%; }
@media (min-width: 720px) { .actions { flex-direction: row; flex-wrap: wrap; } .actions .btn { width: auto; } }
.actions-note { margin: 12px 0 0; font-size: var(--fs-small); color: var(--ink-3); line-height: 1.6; }

/* ---------- 판정 배지(색 + 모양 + 글자) ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 7px; border-radius: 999px; font-size: 1rem; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.badge svg { width: 18px; height: 18px; }
.badge-ok { background: var(--ok); color: #fff; }
.badge-check { background: var(--check); color: var(--ink); }
.badge-stop { background: var(--stop); color: #fff; }
.badge-lg { padding: 6px 14px 6px 9px; font-size: 1.0625rem; }
.badge-lg svg { width: 22px; height: 22px; }
.verdict-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.verdict-mean { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.g-mark { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-small); font-weight: 700; white-space: nowrap; }
.g-mark svg { width: 16px; height: 16px; }
.g-mark.ok { color: var(--ok-ink); }
.g-mark.check { color: var(--check-ink); }
.g-mark.stop { color: var(--stop-ink); }

/* ---------- 섹션: 넓은 화면에서는 왼쪽 칸에 제목, 오른쪽 칸에 내용(보고서의 표제 칸처럼) ---------- */
.section { padding: 0 0 var(--gap-section); }
.section > .wrap::before { content: ""; display: block; height: 1px; margin-bottom: clamp(48px, 6vw, 88px); background: var(--line); }
.sec-head { max-width: 760px; margin: 0 0 28px; }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.32; letter-spacing: -0.025em; }
.sec-head p { margin: 12px 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.sec-body { min-width: 0; max-width: 760px; }
@media (min-width: 1024px) {
  .sec-grid { grid-template-columns: 272px minmax(0, 1fr); column-gap: 64px; }
  .sec-grid > .sec-head { margin: 0; }
  .sec-grid .sec-head h2 { font-size: 2rem; }
}
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }

/* ---------- 첫 화면 ---------- */
.hero { padding: 36px 0 var(--gap-section); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .hero { padding-top: 72px; } .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }
.hero-title { margin: 0; font-size: var(--fs-hero); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; }
.hero .lead { margin: 20px 0 0; max-width: 31em; }
.quick-h { margin: 32px 0 6px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-3); }
.quick { margin: 0; padding: 0; list-style: none; }
.quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; color: var(--ink); font-weight: 700; line-height: 1.45; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.quick a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.trust-line { margin: 18px 0 0; font-size: var(--fs-small); color: var(--ink-3); line-height: 1.7; }

/* 휴대폰 화면 예시 */
.device-wrap { position: relative; max-width: 390px; margin: 0 auto; }
.device { position: relative; padding: 11px; border-radius: 38px; background: #1c1b19; }
.device-screen { overflow: hidden; border-radius: 28px; background: #fff; }
.device-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 16px 14px 18px; background: #f4f3ef; }
.msg { position: relative; display: flex; gap: 8px; align-items: flex-start; }
.msg-me { justify-content: flex-end; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 800; flex: none; }
.bubble { margin: 0; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; line-height: 1.55; max-width: 85%; }
.msg-me .bubble { border-radius: 16px 4px 16px 16px; background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.msg-before .bubble { color: var(--ink-3); }
.report { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; overflow: hidden; flex: 1; }
.report li { display: grid; grid-template-columns: 1fr; padding: 9px 14px; border-top: 1px solid var(--line); }
.report li:first-child { border-top: 0; }
.report li.report-title { display: flex; justify-content: space-between; padding: 9px 12px; color: var(--ink); font-size: 0.875rem; font-weight: 800; }
.report li.report-title span + span { color: var(--ok-ink); }
.report .r-k { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); line-height: 1.4; }
.report .r-v { font-size: 0.9375rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
.device-copy { margin: 20px auto 0; max-width: 390px; }
.device-copy .copy-btn { width: 100%; }
.device-note { margin: 10px 0 0; font-size: var(--fs-small); color: var(--ink-3); text-align: center; }

/* ---------- 1분 진단 ---------- */
.dx fieldset { margin: 0; padding: 28px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.dx fieldset:first-child { padding-top: 0; border-top: 0; }
.dx fieldset + fieldset { margin-top: 28px; }
.dx legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.dx legend .q-no { margin-right: 6px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dx-help { clear: both; margin: 0 0 10px; font-size: var(--fs-small); color: var(--ink-3); }
.dx legend + .opts { clear: both; }
.opts { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 700; line-height: 1.45; transition: border-color .15s ease, background-color .15s ease; }
.opt:hover { border-color: var(--ink-3); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .ring { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--control); background: #fff; }
.opt.is-on, .opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt.is-on .ring, .opt:has(input:checked) .ring { border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.opt small { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink-3); }
/* 고르기가 끝났는지 보이게: 몇 개 골랐는지 안내 + '결과 보기'(주 버튼) / '다시 선택하기'(테두리 버튼) */
.dx-actions { clear: both; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.dx-status { margin: 0 0 14px; font-weight: 700; color: var(--ink-2); }
.dx-status.is-ready { color: var(--ok-ink); }
.dx-buttons { display: flex; flex-direction: column; gap: 10px; }
.dx-buttons .btn { width: 100%; }
@media (min-width: 640px) { .dx-buttons { flex-direction: row; } .dx-buttons .btn { width: auto; min-width: 180px; } }
#dx-submit[aria-disabled="true"] { background: var(--line); color: var(--ink-3); }
#dx-submit[aria-disabled="true"]:hover { background: #dcd9d2; color: var(--ink-2); }
.dx-result:focus { outline: none; }
.dx-result-h { margin-bottom: 10px; }
.dx-again { margin: 24px 0 0; }
.dx-result { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--ink); }
.dx-result[hidden] { display: none; }
.dx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; }
.dx-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.45; }
.dx-head + .label { margin-top: 18px; }
.dx-todo { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.dx-warn { margin: 16px 0; color: var(--ink); }
.dx-warn strong { color: var(--stop-ink); }
.dx-next { margin: 18px 0 0; padding-left: 1.3em; }
.dx-next li { padding: 3px 0; }
.dx-foot { margin: 14px 0 0; font-size: var(--fs-small); color: var(--ink-3); }

/* ---------- 시작하는 순서 ---------- */
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); grid-row: span 3; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.01em; }
.steps p { margin: 4px 0 0; color: var(--ink-2); }
.steps a { justify-self: start; margin-top: 2px; font-weight: 700; }
.note-line { margin: 18px 0 0; font-size: var(--fs-small); color: var(--ink-3); line-height: 1.6; }

/* ---------- 판정 기준: 한 줄에 판정 하나(왼쪽 판정, 오른쪽 설명) ---------- */
.grades { border-top: 1px solid var(--line); }
.grade { padding: 24px 0; border-bottom: 1px solid var(--line); }
.grade h3 { margin: 12px 0 0; font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.01em; }
@media (min-width: 720px) {
  .grade { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .grade > .badge { justify-self: start; margin-top: 1px; }
  .grade h3 { margin-top: 0; }
}
.grade p { margin: 8px 0 0; color: var(--ink-2); font-size: 1.0625rem; }
.grade .ex { margin: 10px 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.grade .ex b { color: var(--ink-2); font-weight: 700; }
.grade-link { margin: 14px 0 0 !important; }
.grade-link a { font-weight: 700; }

/* ---------- 반려 사유 카드: 정말 카드처럼 ----------
   놀이 카드의 모서리 표시를 빌림: 왼쪽 위 카드 번호, 오른쪽 위 판정(채운 모양 + 글자), 오른쪽 아래에 거꾸로 된 번호와 모양.
   또렷한 검은 테두리와 아래쪽 2px 두께로 실제 카드처럼, 마우스를 올리면 집어 드는 것처럼 살짝 들리고 기울어짐. */
.rcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rcards li { display: flex; }
.rcard { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 216px; padding: 18px 20px 46px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 2px 0 var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
@media (min-width: 640px) { .rcards:not(.mini) .rcard { aspect-ratio: 3 / 2; min-height: 0; } }
a.rcard:hover, a.rcard:focus-visible { color: var(--ink); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.rcard:hover { transform: translateY(-4px) rotate(-.8deg); box-shadow: 0 6px 0 var(--ink); }
  .rcards li:nth-child(even) a.rcard:hover { transform: translateY(-4px) rotate(.8deg); }
}
.rcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-3); }
.rcard-no { font-family: var(--font-display); letter-spacing: .02em; }
.rcard-grade { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; white-space: nowrap; }
.rcard-grade.ok { color: var(--ok-ink); }
.rcard-grade.check { color: var(--check-ink); }
.rcard-grade.stop { color: var(--stop-ink); }
.suit { display: block; width: 20px; height: 20px; flex: none; }
.rcard-t { margin: 16px 0 0; font-family: var(--font-display); font-size: 1.3125rem; font-weight: 800; line-height: 1.38; letter-spacing: -0.02em; }
.rcard-q { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.rcard-corner { position: absolute; right: 18px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; transform: rotate(180deg); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; color: var(--ink-3); }
.rcard-corner .suit { width: 16px; height: 16px; }
.rcard-corner b { font-weight: 700; }
/* 카드 페이지 아래 작은 카드 */
.rcards.mini { gap: 14px; }
.rcards.mini .rcard { min-height: 0; padding: 14px 16px 38px; border-radius: 12px; }
.rcards.mini .rcard-t { margin-top: 10px; font-size: 1.0625rem; font-weight: 700; }
.rcards.mini .rcard-corner { right: 14px; bottom: 10px; }
.rcard[aria-current="page"] { border-style: dashed; box-shadow: none; color: var(--ink-3); }
.rcard[aria-current="page"] .rcard-t::after { content: " (지금 보는 카드)"; font-size: .85em; font-weight: 600; }
/* 카드 페이지 머리: 같은 카드가 크게 펼쳐진 앞면 */
.rcard.face { min-height: 0; margin: 4px 0 0; padding: 22px 24px 54px; }
.rcard.face .rcard-suit .suit { width: 26px; height: 26px; }
.rcard.face .page-title { margin-top: 18px; }
.rcard.face .verdict-line { margin-top: 18px; }
.rcard.face .case-label { margin-top: 14px; }
.rcard.face .rcard-corner { right: 22px; bottom: 18px; }
@media (max-width: 400px) { .rcard { padding-left: 16px; padding-right: 16px; } .rcard.face { padding: 18px 18px 50px; } }
.card-more { margin: 36px 0 0; }

/* ---------- 이번 주 세 가지 ---------- */
.week-count { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meter { height: 6px; margin: 10px 0 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s ease; }
.week-list { margin: 10px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.week-item { border-bottom: 1px solid var(--line); }
.week-link { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0 8px 40px; font-weight: 700; }
.week-item label { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 16px 0; cursor: pointer; }
.week-item input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 1px 0 0; border: 2px solid var(--control); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.week-item input:checked { background: var(--ink); border-color: var(--ink); }
.week-item input:checked::after { content: ""; width: 7px; height: 12px; margin-top: -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.week-item input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.week-t { display: block; font-weight: 700; line-height: 1.5; }
.week-s { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--ink-3); line-height: 1.55; }
.week-item input:checked + span .week-t { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.week-msg { margin: 14px 0 0; font-weight: 700; color: var(--ink); }
.week-msg.done { color: var(--ok-ink); }
.week-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.week-foot p { margin: 0; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand); font-family: inherit; font-size: var(--fs-small); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- 이어받기 ---------- */
.plain-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plain-list b { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.plain-list span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 1.0625rem; }

/* ---------- 만든 사람 ---------- */
.maker-who { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.maker-who b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.maker-who span span { display: block; font-size: var(--fs-small); color: var(--ink-3); }
.promise { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: p; }
.promise li { display: grid; grid-template-columns: 32px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.6; }
.promise li::before { counter-increment: p; content: counter(p) "."; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.promise small { display: block; font-size: var(--fs-small); color: var(--ink-3); font-weight: 400; }

/* ---------- 질문과 답 ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 1.125rem; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 6px 6px 0; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq .faq-a { padding: 0 0 22px; color: var(--ink-2); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- 문서형 페이지 ---------- */
.page-head { padding: 28px 0 8px; }
@media (min-width: 960px) { .page-head { padding-top: 48px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.label { display: block; margin: 0 0 8px; color: var(--ink-3); font-size: var(--fs-small); font-weight: 700; }
.page-title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; }
.page-head .lead { margin: 16px 0 0; }
.page-head .verdict-line { margin: 18px 0 0; }
.case-label { margin: 14px 0 0; color: var(--ink-3); font-size: var(--fs-small); line-height: 1.5; }
.case-label strong { color: var(--ink-2); }
.doc { padding: 0 0 var(--gap-section); }
.facts-line { margin: 16px 0 0; color: var(--ink-2); font-size: 1rem; font-weight: 600; }

/* 카드 페이지: 넓은 화면은 오른쪽 '지금 할 일 + 보낼 문장' 칸이 따라옴 */
.card-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "act" "body"; column-gap: 56px; }
.card-layout > .page-head { grid-area: head; }
.card-act { grid-area: act; }
.card-body { grid-area: body; min-width: 0; }
@media (min-width: 1024px) {
  .card-layout { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head act" "body act"; }
  .card-act { position: sticky; top: 20px; align-self: start; margin-top: 48px; }
}
.act-todo-block { margin: 28px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); }
@media (min-width: 1024px) { .act-todo-block { margin-top: 0; } }
.act-todo-block .label { margin-bottom: 6px; }
.act-todo { margin: 0; font-family: var(--font-display); font-size: 1.3125rem; font-weight: 700; line-height: 1.5; letter-spacing: -0.015em; }
.say-act { margin: 20px 0 0; }
.say-act .say-text { font-weight: 600; }

.block { margin: 44px 0 0; }
.block-h { margin: 0 0 12px; font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.01em; }

/* AI에게 줄 문장 */
.say { margin: 16px 0; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.say-label { margin: 0 0 6px; color: var(--ink-3); font-size: var(--fs-small); font-weight: 700; line-height: 1.4; }
.say-label svg { display: none; }
.say-text { margin: 0 0 14px; color: var(--ink); font-size: 1.125rem; line-height: 1.75; }
.say-sm { margin: 10px 0 0; padding: 0; border: 0; background: none; border-radius: 0; }
.say-sm .say-label { display: inline; margin: 0 6px 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.say-sm .say-label::after { content: ":"; }
.say-sm .say-text { display: inline; margin: 0; font-size: 1.0625rem; color: var(--ink); }

.copy-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 10px 20px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-family: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer; transition: background-color .15s ease; }
.copy-btn:hover { background: #3a3833; }
.copy-btn svg { width: 19px; height: 19px; }
.copy-btn.is-done, .copy-btn.is-done:hover { background: var(--ok); }
.copy-btn-2 { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.copy-btn-2:hover { background: #fff; border-color: var(--ink); }
.copy-btn-2.is-done, .copy-btn-2.is-done:hover { background: var(--ok); color: #fff; border-color: var(--ok); }
@media (min-width: 720px) { .copy-btn { width: auto; } .say-act .copy-btn, .device-copy .copy-btn { width: 100%; } }
.copy-help { margin: 12px 0 0; font-size: 1rem; font-weight: 600; color: var(--ink-2); line-height: 1.55; }
.copy-help.is-ok { color: var(--ok-ink); }
.copy-box { display: block; width: 100%; margin: 12px 0 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; line-height: 1.6; }
.note { color: var(--ink-3); font-size: var(--fs-small); line-height: 1.6; }

/* 휴대폰: 보낼 문장이 화면 밖으로 나가면 아래 복사 막대 */
.copy-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(16, 24, 40, 0.25); }
.copy-bar[hidden] { display: none; }
.copy-bar p { flex: 1; margin: 0; font-size: var(--fs-small); font-weight: 700; color: #fff; }
.copy-bar .copy-btn { width: auto; min-height: 46px; padding: 8px 16px; background: #fff; color: var(--ink); flex: none; }
.copy-bar .copy-btn.is-done { background: var(--ok); color: #fff; }
.copy-bar .copy-help { display: none; }
@media (min-width: 1024px) { .copy-bar { display: none !important; } }
@media (max-width: 1023px) { .page-card .site-footer { padding-bottom: 112px; } }

/* 판정 설명 */
.verdict p { margin: 10px 0 0; color: var(--ink); }

/* 목록 */
.doc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc-list > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-list .say-sm { display: block; margin-top: 8px; }

/* 접는 칸 */
details.more { margin: 12px 0 0; }
details.more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--brand); font-weight: 700; cursor: pointer; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
details.more > :not(summary) { color: var(--ink-2); }
.refs { font-size: var(--fs-small); color: var(--ink-3); }
.acc-group { margin: 48px 0 0; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc-ico { display: none; }
.acc-t { flex: 1; font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.acc-sub { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: 400; color: var(--ink-3); }
.acc > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 6px 6px 0; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.acc[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.acc-body { padding: 0 0 24px; }
.acc-body > :last-child { margin-bottom: 0; }
.acc-body .refs { color: var(--ink-3); }
.acc-body .note { margin-top: 14px; }
.acc-body ul.help-links { margin: 6px 0 0; padding: 0; list-style: none; }
.acc-body ul.help-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; }
details.tools { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.tools > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
details.tools > summary::-webkit-details-marker { display: none; }
details.tools > summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); }
details.tools[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.tools > :last-child { margin-bottom: 20px; }
details.tools ul { margin: 0; padding: 0; list-style: none; }
details.tools li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; }
.tip-tool { font-weight: 800; color: var(--ink); }

/* 다음으로 */
.next { margin: 64px 0 0; }
.next h2 { font-size: var(--fs-h3); letter-spacing: -0.01em; margin: 0 0 12px; }
.link-list2 { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list2 li { border-bottom: 1px solid var(--line); }
.link-list2 a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 56px; padding: 14px 0; color: var(--ink); font-weight: 700; line-height: 1.45; text-decoration: none; }
.link-list2 a:hover .ll-t { text-decoration: underline; text-underline-offset: 4px; }
.link-list2 .ll-s { font-weight: 400; color: var(--ink-3); font-size: 1rem; }
.cta-plain { margin: 56px 0 0; padding: 24px 0 0; border-top: 2px solid var(--ink); }
.cta-plain h2 { font-size: var(--fs-h3); line-height: 1.45; margin: 0; }
.cta-plain p { margin: 8px 0 0; color: var(--ink-2); }
.cta-plain .actions { margin-top: 18px; }

/* 일러두기 팩 */
.toolbar { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .toolbar { flex-direction: row; align-items: center; gap: 18px; } }
.toolbar p { margin: 0; font-size: 1rem; color: var(--ink-2); line-height: 1.55; }
.toolbar .copy-btn { flex: none; }
.pack-list { margin: 28px 0 0; padding: 0; list-style: none; }
.pack-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pack-title { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-h3); line-height: 1.45; letter-spacing: -0.01em; }
.pack-no { color: var(--ink-3); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack-item > p { margin: 10px 0 0; color: var(--ink-2); font-size: 1.0625rem; }
.pack-item .say { margin-bottom: 0; }

/* 멈춤 관문 */
.gate { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.gate-legend { padding: 0; margin: 0 0 12px; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; }
.gate-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gate-item { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gate-item input { appearance: none; -webkit-appearance: none; grid-row: span 2; width: 28px; height: 28px; margin: 2px 0 0; border: 2px solid var(--control); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.gate-item input:checked { background: var(--stop); border-color: var(--stop); }
.gate-item input:checked::after { content: ""; width: 7px; height: 13px; margin-top: -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gate-item label { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.45; cursor: pointer; }
.gate-item label::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 60px; }
.gate-desc p { margin: 4px 0 0; color: var(--ink-2); font-size: 1.0625rem; }
.gate-ex { color: var(--ink); }
.gate-item.is-checked label { color: var(--stop-ink); }
.gate-item details { position: relative; z-index: 1; }
.stop-hint { margin: 20px 0 0; font-size: 1rem; color: var(--ink-2); }
.stop-status { margin: 0; }
.stop-result { margin: 32px 0 0; padding: 22px 0 0; border-top: 2px solid var(--stop); }
.stop-result h2 { margin: 12px 0 0; font-size: var(--fs-h3); line-height: 1.45; }
.stop-result h2 + p { margin-top: 10px; }
.stop-result h3 { margin: 26px 0 8px; font-size: 1.125rem; }
.todo-h { margin: 18px 0 0; font-weight: 700; }
.todo-list, .expert-list { margin: 8px 0 0; padding-left: 1.4em; }
.todo-list li, .expert-list li { padding: 4px 0; }
.expert-list h4 { margin: 0; font-size: 1.0625rem; }
.expert-list p { margin: 4px 0 8px; color: var(--ink-2); font-size: 1rem; }
.stop-jump { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 16px; border-radius: var(--radius); background: var(--stop); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 26px rgba(16, 24, 40, 0.22); }
.stop-jump:hover { color: #fff; background: var(--stop-ink); }
.stop-jump[hidden] { display: none; }
@media (min-width: 720px) { .stop-jump { left: 50%; right: auto; transform: translateX(-50%); min-width: 360px; } }
.disclosure { margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.disclosure h2 { font-size: 1.0625rem; margin: 0 0 6px; }
.disclosure p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* 보고 동석 */
.flow { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow li { display: grid; grid-template-columns: 112px 1fr; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.flow-time { font-size: var(--fs-small); font-weight: 700; color: var(--ink-3); line-height: 1.75; font-variant-numeric: tabular-nums; }
@media (max-width: 400px) { .flow li { grid-template-columns: 1fr; } }
.memo { margin: 16px 0 0; padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.memo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.memo-title { margin: 0; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; white-space: nowrap; }
.memo-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.memo .doc-list { border-top: 0; }
.apply-box { padding: 22px 0 0; border-top: 2px solid var(--ink); }
.apply-first { font-weight: 700; }
.apply-actions { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 720px) { .apply-actions { grid-template-columns: repeat(2, 1fr); } }
.apply-actions .btn { width: 100%; }
/* 컴퓨터 화면에서만: 휴대폰으로 찍는 오픈채팅 QR(휴대폰에서는 버튼을 누르면 되므로 숨김) */
.apply-qr { display: none; }
@media (min-width: 720px) {
  .apply-qr { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; }
  .apply-qr img { width: 128px; height: 128px; flex: none; }
  .apply-qr p { margin: 0; max-width: 26em; font-size: 1rem; color: var(--ink-2); line-height: 1.6; }
}
.contact-line { font-size: 1rem; color: var(--ink-2); }

/* 도구별 설정 */
.tool-sec { margin: 40px 0 0; }
.tool-sec > h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; line-height: 1.32; margin: 0 0 12px; }
.tool-card { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.tool-card h3 { font-size: var(--fs-h3); margin: 0 0 6px; }
.tool-card ul { margin: 0; padding: 0; list-style: none; }
.tool-card li { padding: 8px 0; color: var(--ink-2); font-size: 1.0625rem; }
.tool-card li strong { color: var(--ink); }
.tool-tag { display: none; }

/* ---------- 바닥글 ---------- */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.site-footer .wordmark { font-size: 1.25rem; }
.footer-about { margin: 10px 0 0; }
.footer-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; }
.footer-trust p { margin: 0; }
.ph-photo { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px dashed var(--line-strong); color: var(--ink-3); font-size: 0.8125rem; text-align: center; line-height: 1.3; flex: none; }
.ceo-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.maker-who .ceo-photo { width: 80px; height: 80px; }
.footer-contact { margin: 16px 0 0; }
.footer-note { margin: 12px 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.footer-bottom::before { content: none; }
.footer-mark { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.footer-legal { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.footer-legal a { color: var(--ink-2); }
.footer-legal a.footer-privacy { color: var(--ink); font-weight: 800; }

/* ---------- 첫 화면 연출(영화의 여는 장면처럼) ----------
   1) 여는 장면: 처음 들어올 때 세션당 한 번, 약 2초. 검은 화면의 '다 됐습니다.'에 반려 줄이 그어지고 위아래로 갈라지며 열림
   2) 제목: 줄마다 아래에서 떠오름(타이틀 시퀀스)
   3) 휴대폰 예시: 화면에 들어오면 AI 입력 중 → 막연한 보고 → 리더의 한 문장 → 근거 보고가 한 줄씩 채워짐
   움직임 줄이기 설정이면 모두 끄고, 스크립트가 없어도 내용은 그대로 보입니다. */
.intro { display: none; }
.typing { display: none; }
.replay { margin-left: 4px; min-height: 0; font-size: inherit; }
:root { --hero-delay: .15s; }

@media (prefers-reduced-motion: no-preference) {
  html.intro-on { --hero-delay: 1.55s; }
  html.intro-on.intro-skip { --hero-delay: 0s; }
  html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 200; animation: introGone 0s linear 2.05s forwards; }
  html.intro-on.intro-skip .intro { animation: introSkip .25s ease forwards; }
  .intro-top, .intro-bottom { position: absolute; left: 0; right: 0; height: 50.5%; background: #121110; }
  .intro-top { top: 0; animation: introTop .7s cubic-bezier(.7, 0, .2, 1) 1.35s forwards; }
  .intro-bottom { bottom: 0; animation: introBottom .7s cubic-bezier(.7, 0, .2, 1) 1.35s forwards; }
  .intro-card { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 20px; text-align: center; animation: fadeOut .28s ease 1.22s forwards; }
  .intro-slug { margin: 0 0 18px; color: #a8a39a; font-size: 1rem; font-weight: 600; letter-spacing: .14em; animation: fadeIn .5s ease .1s both; }
  .intro-line { position: relative; margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.25rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
  .intro-mask { display: block; overflow: hidden; padding-bottom: .08em; }
  .intro-quote { display: inline-block; animation: riseIn .62s cubic-bezier(.2, .7, .1, 1) .28s both; }
  .intro-strike { position: absolute; left: -4%; right: -4%; top: 50%; height: .085em; border-radius: 999px; background: var(--stop); transform: rotate(-1.6deg); transform-origin: left center; animation: strike .36s cubic-bezier(.6, 0, .3, 1) .92s both; }

  .ht-line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
  .ht-line > span { display: inline-block; animation: riseIn .85s cubic-bezier(.2, .7, .1, 1) var(--hero-delay) both; }
  .ht-line + .ht-line > span { animation-delay: calc(var(--hero-delay) + .12s); }
  .hero .lead, .hero .actions, .hero .quick-h, .hero .quick li, .hero .trust-line { animation: fadeUp .7s cubic-bezier(.2, .7, .1, 1) both; }
  .hero .lead { animation-delay: calc(var(--hero-delay) + .38s); }
  .hero .actions { animation-delay: calc(var(--hero-delay) + .48s); }
  .hero .quick-h { animation-delay: calc(var(--hero-delay) + .58s); }
  .hero .quick li:nth-child(1) { animation-delay: calc(var(--hero-delay) + .62s); }
  .hero .quick li:nth-child(2) { animation-delay: calc(var(--hero-delay) + .67s); }
  .hero .quick li:nth-child(3) { animation-delay: calc(var(--hero-delay) + .72s); }
  .hero .quick li:nth-child(4) { animation-delay: calc(var(--hero-delay) + .77s); }
  .hero .trust-line { animation-delay: calc(var(--hero-delay) + .85s); }
  .hero-visual { animation: fadeIn .9s ease calc(var(--hero-delay) + .25s) both; }

  /* 휴대폰 예시: 스크립트가 .anim을 붙이면 숨겨 두었다가, 화면에 들어오면 .play로 재생 */
  .device.anim .typing { display: inline-flex; position: absolute; left: 38px; top: 0; align-items: center; gap: 4px; height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; background: #fff; opacity: 0; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dot 1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; }
  .typing i:nth-child(3) { animation-delay: .3s; }
  .device.anim .avatar, .device.anim .bubble, .device.anim .report, .device.anim .report li { opacity: 0; }
  .report-title span + span { display: inline-block; transform-origin: right center; }
  .device.anim .report-title span + span { opacity: 0; }
  .device.play { animation: dolly 5.2s cubic-bezier(.2, .6, .2, 1) forwards; }
  .device.play .msg-before .avatar { animation: fadeIn .3s ease forwards; }
  .device.play .msg-before .typing { animation: typing .8s ease forwards; }
  .device.play .msg-before .bubble { animation: bubbleIn .42s cubic-bezier(.2, .7, .1, 1) .72s forwards; }
  .device.play .msg-me .bubble { animation: bubbleInRight .46s cubic-bezier(.2, .7, .1, 1) 1.45s forwards; }
  .device.play .msg-report .avatar { animation: fadeIn .3s ease 2.2s forwards; }
  .device.play .msg-report .typing { animation: typing .8s ease 2.2s forwards; }
  .device.play .report { animation: bubbleIn .42s cubic-bezier(.2, .7, .1, 1) 2.95s forwards; }
  .device.play .report li { animation: rowIn .36s ease forwards; }
  .device.play .report li:nth-child(1) { animation-delay: 3s; }
  .device.play .report li:nth-child(2) { animation-delay: 3.22s; }
  .device.play .report li:nth-child(3) { animation-delay: 3.44s; }
  .device.play .report li:nth-child(4) { animation-delay: 3.66s; }
  .device.play .report li:nth-child(5) { animation-delay: 3.88s; }
  .device.play .report-title span + span { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 4.25s forwards; }
  /* 재생이 끝나면(또는 움직임이 멈춘 환경이면) 마지막 화면을 그대로 보여 줌 */
  .device.done .avatar, .device.done .bubble, .device.done .report, .device.done .report li, .device.done .report-title span + span { opacity: 1; }
}

@keyframes introTop { to { transform: translateY(-100%); } }
@keyframes introBottom { to { transform: translateY(100%); } }
@keyframes introGone { to { visibility: hidden; } }
@keyframes introSkip { to { opacity: 0; visibility: hidden; } }
@keyframes riseIn { from { transform: translateY(105%); } to { transform: none; } }
@keyframes strike { from { transform: scaleX(0) rotate(-1.6deg); } to { transform: scaleX(1) rotate(-1.6deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0% { opacity: 0; } 15%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bubbleInRight { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(1.7); } to { opacity: 1; transform: none; } }
@keyframes dolly { from { transform: scale(.965); } to { transform: none; } }

@media (max-width: 359px) { .wrap { padding: 0 16px; } }
@media print {
  .pilot, .nav, .header-cta, .copy-btn, .copy-bar, .stop-jump, .site-footer .footer-nav { display: none !important; }
}
