/* 서비스·작업사례·404·동의 배너 공용(tokens.css 변수만 사용) */
.page { padding-top: calc(var(--header-h) + 56px); padding-bottom: var(--section-y); }
.page__inner { max-width: 760px; }
.page__inner--wide { max-width: 1040px; }
.page__title { font-size: var(--fs-h2); font-weight: 800; line-height: 1.28; letter-spacing: -0.035em; margin-top: 24px; }
.page__lead { margin-top: 16px; font-size: calc(var(--fs-body) + 1px); line-height: 1.75; color: var(--paper-72); }
.page__sec { margin-top: 48px; }
.page__sec h2 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.page__sec p { margin-top: 12px; color: var(--paper-84); line-height: 1.75; }
.page__steps { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 12px; }
.page__steps li { padding: 16px 20px; background: var(--paper-04); border: 1px solid var(--paper-12); border-radius: var(--r-l); }
.page__cta { margin-top: 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--paper-64); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--paper-64); }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.case-grid { margin-top: 40px; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case { padding: 24px; background: var(--paper-04); border: 1px solid var(--paper-12); border-radius: var(--r-l); }
.case__tag { font-size: 13px; color: var(--signal-ink); }
.case__t { margin-top: 8px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.case__d { margin-top: 8px; color: var(--paper-72); line-height: 1.7; }
.case__a { display: inline-block; margin-top: 16px; color: var(--paper); text-underline-offset: 4px; }
.consent-reopen { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* 동의 배너 */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; padding: 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--paper-24); border-radius: var(--r-l); box-shadow: 0 8px 32px var(--ink-64); }
.consent-bar[hidden] { display: none; }
.consent-bar__title { font-weight: 700; }
.consent-bar__text { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--paper-84); }
.consent-bar__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { .consent-bar { left: 24px; right: auto; bottom: 24px; } }

.field--trap { position: absolute; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ===== launch3: 카드 반복 대신 줄 목록·타임라인 ===== */
.caselist { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--paper-24); }
.caserow { display: grid; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--paper-16); }
.caserow .qa__mini { margin-top: 0; max-width: 460px; }
@media (min-width: 880px) { .caserow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 32px; } }
.caserow .case__a { margin-top: 0; white-space: nowrap; }
.page__note { margin-top: 24px; font-size: 14px; color: var(--paper-64); }
.page__mini { margin-top: 16px; padding: 20px 0; border-top: 1px solid var(--paper-16); border-bottom: 1px solid var(--paper-16); }
.page__mini-cap { margin-bottom: 12px; font-size: 13px; color: var(--signal-ink); }
.page__mini .qa__mini { margin-top: 0; max-width: 520px; }
.timeline { margin: 24px 0 0; padding: 0 0 0 28px; list-style: none; border-left: 2px solid var(--paper-24); display: grid; gap: 28px; }
.timeline__item { position: relative; display: grid; gap: 4px; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper-72); }
.timeline__item:last-child::before { background: var(--signal); border-color: var(--signal); }
.timeline__k { font-weight: 800; font-size: var(--fs-h3); letter-spacing: -0.03em; }
.timeline__v { color: var(--paper-84); line-height: 1.7; }

/* ===== launch5 다듬기 2(전체 UI·색) ===== */
/* 아래 쪽들도 첫 쪽과 같은 규칙으로: 본문 왼쪽 끝을 머리글 글자표와 맞추고, 사람이 정하는 자리가 아닌 곳의 호박색 글자는 회색으로,
   미니 화면 · 줄 목록은 1px 선으로, 순서 점은 초록(자동) · 호박색(확인 요청). 동의 배너는 떠 있는 흰 면 + 제대로 된 그림자 */
.wrap.page__inner { margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)) auto; }
.page__inner--wide { max-width: none; }
.page__title { line-height: 1.24; letter-spacing: -0.04em; }
.page__lead { max-width: 34em; line-height: 1.7; }
.page__sec h2 { font-weight: 800; letter-spacing: -0.03em; }
.page__sec p { max-width: 38em; }
.crumbs a { text-decoration-thickness: 1px; text-decoration-color: var(--paper-40); }
.caselist { border-top-color: var(--paper-16); }
.caserow { border-bottom-color: var(--paper-10); }
.case__tag { color: var(--paper-64); }
.page__sec .page__mini-cap { margin-top: 0; line-height: 1.5; color: var(--paper-64); }
.case__t { font-weight: 800; letter-spacing: -0.03em; }
.case__a { font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--paper-40); }
.page__mini { border-color: var(--paper-10); }
.timeline { border-left-color: var(--paper-0); }
.timeline__item::before { left: -30px; top: calc(var(--fs-h3) * .85 - 5px); width: 10px; height: 10px; border: 0; background: var(--beam); }
.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute; left: -25.5px; top: calc(var(--fs-h3) * .85 + 9px); bottom: calc(-19px - var(--fs-h3) * .85);
  width: 1px;
  background: var(--paper-16);
}
.timeline__v { color: var(--paper-72); }
body:has(> .page) { display: flex; flex-direction: column; min-height: 100svh; }
body:has(> .page) > .page { flex: 1 0 auto; }
.consent-bar { border-color: var(--paper-12); background: var(--lift); box-shadow: 0 1px 2px var(--paper-06), 0 24px 48px -24px var(--paper-40); }
.consent-bar__text { color: var(--paper-72); }
