/* 컨셉 1 — 종이 훈련일지.
   앱 스티커시트의 크림 종이 + 잉크 브라운 + 형광펜 옐로우를 그대로 옮겼다.
   페이지 전체가 하나의 훈련 코스이고, 점선 경로가 스크롤을 따라 그려진다. */

body {
  word-break: keep-all;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  overflow-x: hidden;
}

.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: .16; mix-blend-mode: multiply;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.noscript { padding: var(--s-8) var(--gutter); max-width: 40rem; }

/* ------------------------------------------------------------------ 타이포 */
.head {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.12;
  font-size: var(--t-h1); margin: 0 0 var(--s-3); text-wrap: balance;
}
.head span { display: block; }
h1.head { font-size: clamp(2.15rem, 1.1rem + 3.1vw, 3.9rem); letter-spacing: -0.045em; }
/* 넓은 화면에서만 한 줄 고정 — 360px급 뷰포트에서는 자연 줄바꿈이 클리핑보다 낫다 */
@media (min-width: 480px) { .head span { text-wrap: nowrap; } }

.lede {
  font-size: var(--t-small); line-height: 1.55; text-wrap: balance;
  color: var(--ink-80); max-width: var(--measure); margin: 0 0 var(--s-3);
  text-wrap: pretty;
}
.label {
  font-family: Gaegu, Pretendard, sans-serif; font-size: 1.35rem;
  color: var(--gold); margin: 0 0 var(--s-1);
}
.note {
  font-family: Gaegu, Pretendard, sans-serif;
  font-size: 1.4rem; line-height: 1.35; color: var(--ink-40);
  margin: var(--s-2) 0 0; transform: rotate(-1.6deg); transform-origin: left center;
}
.note::before { content: '↳ '; color: var(--ink-25); }

/* 형광펜 — 스크롤 진입 시 왼쪽에서 오른쪽으로 칠해진다 */
.hl {
  position: relative; display: inline; padding: 0 .18em;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat; background-position: 0 62%;
  background-size: 0% 62%;
  transition: background-size 700ms var(--ease-out);
}
.hl.is-on { background-size: 100% 62%; }

/* ------------------------------------------------------------------ 헤더 */
.site {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--s-3);
  padding: .7rem var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--ink-25);
}
.site .brand img { width: 44px; height: 44px; }
/* flex: none — 상단바가 붐비는 폭(800~900px)에서 브랜드가 줄어들어 배지에 덮이지 않게 한다. */
.brand { flex: none; display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.brand__name { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
/* 출시 예고 배지 — 로고 옆에 붙는 스티커. 브랜드 <a> 밖에 있어 링크 이름을 오염시키지 않는다.
   누르면 폭죽이 터지는 버튼이라(confetti.js) 손가락을 부르는 표면이 필요하다: 올리면 살짝
   커지고, 누르면 그림자가 사라지며 종이가 눌리듯 내려앉는다. */
.brand__badge {
  flex: none; white-space: nowrap;
  padding: .28rem .6rem;
  border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: var(--yellow); box-shadow: 0 2px 0 var(--ink);
  font-size: var(--t-micro); font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
  transform: rotate(-2deg);
  appearance: none; -webkit-appearance: none;
  font-family: inherit; color: inherit; cursor: pointer;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.brand__badge:hover { transform: rotate(-2deg) translateY(-1px) scale(1.06); box-shadow: 0 3px 0 var(--ink); }
.brand__badge:active { transform: rotate(-2deg) translateY(2px) scale(.98); box-shadow: 0 0 0 var(--ink); }
/* 공식 채널 아이콘 — 브랜드 심볼을 원본 그대로 쓴다.
   테두리를 두르거나 원형으로 잘라내지 않는다: 각 가이드가 정한 배경판·모서리·비율이
   심볼의 일부라서, 사이트 언어를 덧씌우면 그게 곧 가이드 위반이다. 여기서는 크기와
   정렬만 맡는다. 포커스 링만 아이콘 모서리를 따라가도록 반경을 맞춰 둔다. */
.site__social { display: flex; align-items: center; gap: .5rem; flex: none; }
.social-ico {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 26%;
  transition: transform var(--dur-1) var(--ease-out);
}
.social-ico:hover { transform: translateY(-2px) scale(1.06); }
.social-ico__img { display: block; width: 100%; height: 100%; }
.site__nav { margin-left: auto; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.site__nav a {
  color: var(--ink-60); text-decoration: none; font-size: var(--t-small); font-weight: 600;
  padding: .3rem .1rem; border-bottom: 2px solid transparent; transition: color var(--dur-1), border-color var(--dur-1);
}
.site__nav a:hover { color: var(--ink); border-bottom-color: var(--yellow-dp); }
/* 좁은 화면에서는 내비를 숨기는 대신 두 번째 줄의 가로 스크롤 행으로 내린다.
   800px — 그 위로는 브랜드·배지·채널 아이콘·카카오 버튼을 한 줄에 두고도 내비가 두 줄 안에 든다. */
@media (max-width: 800px) {
  .site { flex-wrap: wrap; row-gap: .1rem; padding-block: .55rem; }
  .site__nav {
    order: 3; flex: 1 0 100%; margin-left: 0;
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: .15rem;
    mask-image: linear-gradient(90deg, #000 0, #000 91%, transparent);
  }
  .site__nav::-webkit-scrollbar { display: none; }
  .site__nav a { white-space: nowrap; }
  .site__social { margin-left: auto; }
  .site .btn--sm { margin-left: .5rem; }
}
@media (max-width: 400px) { .site .btn--sm { display: none; } }
/* 상단바 데모 버튼. 첫 줄이 브랜드·출시 배지·내비·채널 아이콘 셋·카카오톡 채널 버튼으로 이미
   가득 차 있어서, 좁아지면 이것부터 내린다. 그 폭에서는 스크롤 없이 보이는 히어로 버튼이
   같은 통로 역할을 하므로 체험 경로가 끊기지 않는다. */
@media (max-width: 1023px) { .site .site__demo { display: none; } }
/* 로고 + 브랜드명 + 배지 + 채널 아이콘이 한 줄에 다 들어가야 한다 — 좁아지면 함께 줄인다. */
@media (max-width: 560px) {
  .site { gap: .45rem; }
  .site .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: 1.15rem; }
  .brand__badge { padding: .2rem .45rem; font-size: .66rem; border-width: 1.5px; box-shadow: 0 1.5px 0 var(--ink); }
  .site__social { gap: .3rem; }
  .social-ico { width: 1.75rem; height: 1.75rem; }
}

/* --------------------------------------- 배지 이스터에그 (confetti.js) */
/* 화면 위에 덮는 한 겹. 클릭을 가로채지 않고, 상단바(z-index 50)보다 위에 뜬다.
   조각이 화면 밖으로 흘러도 문서 폭이 늘지 않도록 레이어가 직접 잘라 낸다. */
.fx-layer {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none; overflow: hidden;
}
.fx-burst { position: absolute; }
/* 조각 하나는 겹 두 장이다 — 바깥이 가로로 퍼지고, 안쪽이 솟았다가 떨어지며 돈다.
   한 요소로는 두 축에 서로 다른 이징을 줄 수 없어서 이렇게 나눈다. */
.fx-bit {
  position: absolute; left: 0; top: 0; display: block;
  animation: mc-fx-x var(--dur) cubic-bezier(.12,.72,.3,1) var(--delay) both;
}
.fx-bit > i {
  display: block; width: var(--w); height: var(--h);
  background: var(--c); border-radius: var(--r);
  animation: mc-fx-y var(--dur) linear var(--delay) both;
}
@keyframes mc-fx-x { from { transform: translateX(0); } to { transform: translateX(var(--dx)); } }
@keyframes mc-fx-y {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1;
         animation-timing-function: cubic-bezier(.16,1,.3,1); }
  34%  { transform: translateY(var(--up)) rotate(calc(var(--rot) / 3)); opacity: 1;
         animation-timing-function: cubic-bezier(.5,0,.85,.6); }
  100% { transform: translateY(var(--fall)) rotate(var(--rot)); opacity: 0; }
}
/* 발자국 — 왼쪽 위 모서리가 아니라 발 한가운데가 좌표에 오도록 음수 마진으로 당긴다. */
.fx-paw {
  position: absolute; display: block; color: var(--ink);
  margin-left: calc(var(--size) / -2); margin-top: calc(var(--size) / -2);
  animation: mc-fx-paw 2.3s var(--ease-out) var(--delay) both;
}
.fx-paw svg { display: block; }
@keyframes mc-fx-paw {
  0%   { opacity: 0; transform: rotate(var(--rot)) scale(.5); }
  14%  { opacity: .8; transform: rotate(var(--rot)) scale(1.08); }
  24%  { opacity: .8; transform: rotate(var(--rot)) scale(1); }
  72%  { opacity: .8; transform: rotate(var(--rot)) scale(1); }
  100% { opacity: 0; transform: rotate(var(--rot)) scale(1.04); }
}
/* 강아지 — 화면 아래에서 튀어 올라와 두 번 흔들리고 다시 내려간다. */
.fx-dog {
  position: absolute; bottom: 0; width: var(--dw);
  margin-left: calc(var(--dw) / -2);
  animation: mc-fx-dog 2.6s both;
}
@keyframes mc-fx-dog {
  0%   { transform: translateY(102%) rotate(-6deg); animation-timing-function: cubic-bezier(.16,1,.3,1); }
  26%  { transform: translateY(3%) rotate(3deg); animation-timing-function: var(--ease-io); }
  40%  { transform: translateY(13%) rotate(-4deg); }
  54%  { transform: translateY(1%) rotate(2deg); }
  76%  { transform: translateY(6%) rotate(0deg); animation-timing-function: cubic-bezier(.7,0,.9,.4); }
  100% { transform: translateY(104%) rotate(5deg); }
}

.sheet { position: relative; z-index: 2; }
/* 제목 첫 줄 앞에 찍히는 번호 배지. 글자 크기에 따라 같이 커지도록 em으로 잡는다.
   왼쪽으로 자기 너비만큼 당겨서 제목의 왼쪽 정렬선을 흐트러뜨리지 않는다. */
.head .path-node,
.path-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: .78em; height: .78em; min-width: 0;
  margin: 0 .3em .06em calc(-.78em - .3em);
  vertical-align: middle; border-radius: 50%;
  background: var(--paper-hi); border: .06em solid var(--ink);
  box-shadow: 0 .04em 0 var(--ink);
  font-weight: 800;
}
.path-node i { font-style: normal; font-size: .42em; line-height: 1; }
/* 좁은 화면에서는 배지를 글줄 밖으로 내밀 여백이 없다 — 왼쪽 당김을 되돌린다.
   (.head .path-node와 구체성을 맞춰야 이긴다) */
@media (max-width: 900px) {
  .head .path-node, .path-node { margin-left: 0; }
}
.path-node.is-done { background: var(--yellow); }

/* ------------------------------------------------------------------ 섹션 */
.entry, .hero { padding-block: var(--s-4) var(--s-12);
  position: relative; z-index: 2;
  max-width: 62rem; margin: 0 auto; padding: var(--s-12) var(--gutter);
}
.entry { padding-top: var(--s-16); }
.entry__head { max-width: var(--measure); }

/* ------------------------------------------------------------------ 히어로 */
.hero {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--s-6);
  align-items: center; padding-top: var(--s-8); padding-bottom: var(--s-8);
}
.hero__actions { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); }
.hero__sub { font-size: var(--t-small); color: var(--ink-60); max-width: 22rem; line-height: 1.45; text-wrap: balance; word-break: keep-all; }
/* 데모 체험 버튼 아래의 보조 문구. 버튼 옆이 아니라 아래에 두어 어느 버튼의 설명인지 분명하게 한다. */
.hero__subs { display: grid; gap: .4rem; max-width: 30rem; margin: var(--s-3) 0 0; }
.hero__sub--demo { max-width: none; font-size: var(--t-micro); color: var(--ink-40); }
.hero__sub--demo b { font-weight: 800; color: var(--ink-80); }
.hero__art { position: relative; display: grid; place-items: center; min-width: 0; }
.hero__frame { position: relative; display: inline-block; }
.screen--hero {
  /* 누끼 SVG는 캔버스(460)보다 폰(402)이 좁아 이전보다 한 치수 키운다 */
  width: min(100%, 21rem); transform: rotate(2.2deg);
  filter: drop-shadow(0 18px 30px rgb(35 25 15 / .22));
}
.tape {
  position: absolute; width: 5.5rem; height: 1.7rem; z-index: 4;
  background: color-mix(in srgb, var(--yellow) 72%, transparent);
  border-left: 1px dashed rgb(35 25 15 / .18); border-right: 1px dashed rgb(35 25 15 / .18);
}
.tape--a { top: -0.75rem; left: 50%; transform: translateX(-52%) rotate(-5deg); }
.scroll-hint {
  grid-column: 1 / -1; font-family: Gaegu, sans-serif; font-size: 1.3rem;
  color: var(--ink-25); margin: var(--s-4) 0 0; text-align: center;
}

/* 마스코트 */
.mascot { display: block; height: auto; }
.mascot--hero {
  position: absolute; width: 10rem; left: -5rem; bottom: -1.5rem; z-index: 5;
  filter: drop-shadow(0 12px 18px rgb(35 25 15 / .25));
}
.mascot--cta { position: absolute; width: 8.5rem; right: 1.5rem; bottom: 0; z-index: 1; opacity: .95; }

/* -------------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; min-height: 3.5rem;
  border-radius: var(--r-pill); border: 2.5px solid var(--ink);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 var(--ink), 0 12px 20px -10px rgb(35 25 15 / .5); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
/* 데모 체험 — 카카오톡 채널(노랑)과 나란히 서도 서열이 읽히도록 민트로 채운다. 테두리와
   굳은 그림자는 같은 종이 카드 언어를 그대로 쓴다. .btn--sm의 그림자 재정의가 이겨야
   하므로 반드시 그보다 위에 둔다. */
.btn--demo { background: var(--mint); color: var(--ink); box-shadow: 0 5px 0 var(--ink), 0 12px 20px -10px rgb(35 25 15 / .5); }
/* 카카오톡 채널 친구추가 — 카카오 브랜드 노랑(--kakao, #FEE500)에 카카오 가이드대로 검정 글자.
   사이트 노랑(--yellow)보다 채도가 높아 페이지에서 가장 먼저 눈에 띈다. 테두리·굳은 그림자는
   같은 종이 카드 언어다. .btn--demo와 같은 이유로 .btn--sm보다 위에 둔다. */
.btn--kakao { background: var(--kakao); color: #191919; box-shadow: 0 5px 0 var(--ink), 0 12px 20px -10px rgb(35 25 15 / .5); }
.btn__ico { flex: none; }
/* 대문짝 — 채널 카드의 버튼. 예전 폼이 차지하던 34rem 폭을 통째로 쓰고 글자도 한 치수 키운다. */
.btn--xl {
  width: 100%; max-width: 34rem; justify-content: center;
  min-height: 4.75rem; padding: 1.15rem 2rem;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem); font-weight: 800; letter-spacing: -.02em;
  border-width: 3px; box-shadow: 0 7px 0 var(--ink), 0 16px 26px -12px rgb(35 25 15 / .5);
}
/* 폰 폭에서는 카드 안쪽 폭이 280px 남짓이라 여백과 아이콘을 줄여 문구를 한 줄로 유지한다. */
@media (max-width: 520px) {
  .btn--xl { padding: 1rem 1rem; font-size: 1.12rem; letter-spacing: -.03em; gap: .4rem; }
  .btn--xl .btn__ico { width: 24px; height: 24px; }
}
@media (max-width: 380px) { .btn--xl { font-size: 1rem; } }
.btn--sm { box-shadow: 0 4px 0 var(--ink); }
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 0 var(--ink), 0 18px 26px -12px rgb(35 25 15 / .5); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }
.btn--sm { padding: .5rem 1rem; min-height: 2.5rem; gap: .4rem; font-size: var(--t-small); border-width: 2px; white-space: nowrap; }

/* -------------------------------------------------------------- 생애주기 */
.stages { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); counter-reset: st; }
.stage {
  border: 2px solid var(--ink); border-radius: var(--r-lg); padding: var(--s-3);
  background: var(--paper-hi); display: grid; gap: .2rem; align-content: start;
  box-shadow: 0 4px 0 -1px color-mix(in srgb, var(--ink) 16%, transparent);
}
.stage__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.stage__age { font-size: var(--t-micro); color: var(--gold); font-weight: 700; }
.stage__desc { font-size: var(--t-small); color: var(--ink-60); }
.stage:nth-child(1) { background: color-mix(in srgb, var(--yellow) 34%, var(--paper-hi)); }
.stage:nth-child(2) { background: color-mix(in srgb, var(--mint) 40%, var(--paper-hi)); }
.stage:nth-child(3) { background: color-mix(in srgb, var(--sky) 40%, var(--paper-hi)); }
.stage:nth-child(4) { background: color-mix(in srgb, var(--lavender) 46%, var(--paper-hi)); }

/* -------------------------------------------------------------- AI 단계 */
.steps { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.steps li {
  display: flex; align-items: center; gap: .6rem; font-weight: 700;
  padding: .6rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: var(--paper-hi);
}
.steps li b { font-size: var(--t-micro); color: var(--gold); }

/* ------------------------------------------------------------ 앱 화면 배치 */
.shots { display: flex; justify-content: center; gap: var(--s-3); margin: var(--s-6) 0; flex-wrap: wrap; }
.shot { width: min(16.5rem, 46vw); filter: drop-shadow(0 16px 26px rgb(35 25 15 / .2)); }
.shot--0 { transform: rotate(-3deg); }
.shot--1 { transform: rotate(1.2deg) translateY(-1.2rem); }
.shot--2 { transform: rotate(4deg); }

/* ------------------------------------------------------------ 리포트 예시 */
.report {
  margin: var(--s-4) 0 0; padding: var(--s-4); border-radius: var(--r-lg);
  background: var(--ink); color: var(--paper); position: relative;
  box-shadow: 0 18px 32px -18px rgb(35 25 15 / .8);
}
.report__verdict { font-weight: 800; font-size: var(--t-h3); margin-bottom: var(--s-2); color: var(--yellow); }
.report__detail { margin: 0 0 var(--s-3); color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: var(--measure); }
.report__sol { margin: 0; padding-left: 1.4rem; display: grid; gap: .6rem; }
.report__sol li { color: color-mix(in srgb, var(--paper) 92%, transparent); }
.report__sol li::marker { color: var(--yellow); font-weight: 700; }
.report__tag {
  position: absolute; top: -.8rem; right: 1.4rem; font-size: var(--t-micro); font-weight: 700;
  background: var(--yellow); color: var(--ink); padding: .3rem .7rem; border-radius: var(--r-pill);
  border: 2px solid var(--ink);
}

/* -------------------------------------------------------------- 검수 도장 */
/* 신뢰 배너(.tcard) 안의 체크 도장. 도장 격자·자문자 인용 카드는 배너로 대체됐다. */
.stamp__ring {
  width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center;
  border: 3px double var(--gold); color: var(--gold); margin-bottom: .4rem;
  transform: rotate(-8deg);
}
/* ------------------------------------------------------------------ 숫자 */
.figures { display: grid; gap: var(--s-4) var(--s-3); grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin: var(--s-6) 0 0; }
.fig dt { display: flex; align-items: baseline; gap: .15rem; }
.fig__v { font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.fig__u { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.fig dd { margin: .5rem 0 0; color: var(--ink-60); font-size: var(--t-small); line-height: 1.5; }
.fig__note { display: block; margin-top: .3rem; font-size: var(--t-micro); color: var(--ink-25); }

/* ------------------------------------------------------ 카카오톡 채널 카드 (CTA) */
/* 상단바 바로 아래에 서는 첫 블록이라 위 여백은 짧게, 아래는 히어로의 위 여백에 맡긴다. */
.entry--cta { padding-top: var(--s-4); padding-bottom: 0; }
.cta__card {
  position: relative; overflow: hidden;
  background: var(--paper-hi); border: 3px solid var(--ink); border-radius: var(--r-xl);
  padding: var(--s-6); box-shadow: 0 6px 0 -1px var(--ink), 0 26px 40px -22px rgb(35 25 15 / .6);
}
/* 채널 버튼. 마스코트가 z-index 1로 떠 있어서 버튼을 그 위로 올려 둔다. */
.cta__kakao { position: relative; z-index: 2; margin-top: var(--s-4); }
.cta__sub { font-size: var(--t-small); color: var(--ink-40); margin: var(--s-2) 0 0; }
/* 데모 체험 쪽지 — 채널 버튼과 같은 34rem 안에 세워 카드 오른쪽 아래의 마스코트를 피한다.
   마스코트가 z-index 1로 떠 있어서, 겹치지 않더라도 쪽지를 그 위로 올려 둔다. */
.cta__demo {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: var(--s-2) var(--s-3); max-width: 34rem;
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px dashed var(--ink-25);
}
.cta__demo__text { display: grid; gap: .2rem; }
.cta__demo__label { font-size: 1.05rem; letter-spacing: -.02em; }
.cta__demo__desc { font-size: var(--t-small); color: var(--ink-60); line-height: 1.55; }
/* 문의 카드(.mailcard--wide)와 같은 폭에서 같은 방식으로 한 열로 접는다. */
@media (max-width: 640px) { .cta__demo { grid-template-columns: 1fr; justify-items: start; } }
/* 860px 아래에서는 카드가 좁아져 쪽지가 오른쪽 아래까지 내려온다 — 마스코트 자리다.
   반투명 마스코트 위에 설명 문구가 얹히면 글자가 탁해지므로, 그 폭에서는 마스코트를
   내린다. 마스코트는 같은 화면의 히어로에도 있어서 사라지는 것은 아니다. */
@media (max-width: 860px) { .cta__card:has(.cta__demo) .mascot--cta { display: none; } }

/* ----------------------------------------------------------------- 푸터 */
.site-foot {
  position: relative; z-index: 2; text-align: center; padding: var(--s-8) var(--gutter) var(--s-6);
  border-top: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  color: var(--ink-40); font-size: var(--t-small);
}
.site-foot p { margin: .35rem 0; }
.site-foot b { color: var(--ink); }
.site-foot__launch { color: var(--gold); font-weight: 700; }

/* ---------------------------------------------------------- 화면 넘겨보기 */
.cycler {
  position: relative; display: block; padding: 0; border: 0; background: none;
  cursor: pointer; width: min(16.5rem, 46vw); color: inherit;
}
.cycler .shot { width: 100%; transform: none; filter: none; display: block; }
.cycler__stack {
  position: relative; display: block;
  filter: drop-shadow(0 16px 26px rgb(35 25 15 / .2));
  transition: transform var(--dur-2) var(--ease-out);
}
.cycler:hover .cycler__stack { transform: translateY(-4px); }
.cycler:active .cycler__stack { transform: translateY(0); }
.cycler__stack img { opacity: 0; transition: opacity var(--dur-2) var(--ease-out); }
.cycler__stack img + img { position: absolute; inset: 0; }
.cycler__stack img.is-on { opacity: 1; }
.cycler__dots { display: flex; gap: .4rem; justify-content: center; padding: .6rem 0 .1rem; }
.cycler__dots i {
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink-25);
  transition: background var(--dur-2), transform var(--dur-2);
}
.cycler__dots i.is-on { background: var(--gold); transform: scale(1.2); }
.cycler__tip {
  position: absolute; top: .7rem; right: .55rem; z-index: 2;
  font-family: Gaegu, Pretendard, sans-serif; font-size: .95rem; color: var(--ink);
  background: color-mix(in srgb, var(--yellow) 88%, transparent);
  border: 1.5px solid var(--ink); border-radius: var(--r-pill); padding: .05rem .5rem;
  transform: rotate(3deg);
}

/* ------------------------------------------------------------------- FAQ */
.faq { margin-top: var(--s-5); display: grid; gap: var(--s-2); max-width: 46rem; }
.faq__item {
  background: var(--paper-hi); border: 2px solid var(--ink); border-radius: var(--r-md);
  box-shadow: 0 4px 0 -1px color-mix(in srgb, var(--ink) 16%, transparent);
}
.faq__item:nth-child(odd) { transform: rotate(-.3deg); }
.faq__item:nth-child(even) { transform: rotate(.25deg); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  padding: .95rem 1.1rem; min-height: 3rem; cursor: pointer;
  font-weight: 700; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; color: var(--gold); transition: transform var(--dur-2) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(90deg); }
.faq__a { padding: 0 1.1rem 1rem; color: var(--ink-80); }
.faq__a p { margin: 0 0 .6rem; max-width: var(--measure); }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ 문의 */
.entry--contact { padding-top: var(--s-8); }
.mailcards {
  margin-top: var(--s-5); display: grid; gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); max-width: 46rem;
}
.mailcard {
  background: var(--paper-hi); border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  padding: var(--s-4); display: grid; gap: .45rem; justify-items: start; align-content: start;
  box-shadow: 0 5px 0 -1px var(--ink), 0 18px 28px -18px rgb(35 25 15 / .5);
}
.mailcard__label { font-size: 1.12rem; letter-spacing: -.02em; }
.mailcard__desc { font-size: var(--t-small); color: var(--ink-60); }
.mailcard__addr {
  font-weight: 800; font-size: clamp(1rem, .9rem + .5vw, 1.2rem); letter-spacing: -.01em;
  user-select: all; -webkit-user-select: all;
  background: color-mix(in srgb, var(--yellow) 38%, transparent);
  padding: .25rem .5rem; border-radius: .45rem; overflow-wrap: anywhere;
}
.mailcard__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .3rem; }
.mailcard__msg { font-size: var(--t-small); font-weight: 700; color: var(--gold); min-height: 1.35em; }

/* ------------------------------------------------------- 약관 문서 본문 */
/* 이 본문 타이포는 약관 단독 페이지(.doc-page)가 쓴다. 랜딩의 모달은 걷어냈다. */
.doc__body { font-size: var(--t-small); line-height: 1.7; }
.doc__meta { color: var(--gold); font-weight: 700; margin: 0 0 1rem; }
.doc__body h3 { font-size: 1.02rem; margin: 1.5rem 0 .5rem; letter-spacing: -.02em; }
.doc__body p { margin: 0 0 .6rem; color: var(--ink-80); max-width: none; }
.doc__body ul { margin: 0 0 .6rem; padding-left: 1.2rem; color: var(--ink-80); display: grid; gap: .35rem; }
.doc__body ol { margin: 0 0 .6rem; padding-left: 1.4rem; color: var(--ink-80); display: grid; gap: .35rem; }
.doc__body strong { color: var(--ink); font-weight: 800; }
.doc__body a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
/* 표(보유 기간·위탁) — 좁은 화면에서는 .table-wrap(base.css)이 가로 스크롤을 만든다 */
.doc__body .table-wrap { margin: 0 0 .8rem; }
.doc__body table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: var(--t-small); }
.doc__body th, .doc__body td {
  border: 1px solid var(--ink-25); padding: .45rem .6rem; text-align: left; vertical-align: top; color: var(--ink-80);
}
.doc__body th { background: var(--paper); color: var(--ink); font-weight: 700; }

/* ------------------------------------------ 약관 단독 페이지(/terms 등) */
/* 셸은 terms.html·privacy.html·location-terms.html, 조립은 legal.js. 본문 스타일은 위 .doc__body를 그대로 쓴다. */
.doc-page { max-width: 44rem; margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-12); }
.doc-page__title {
  font-size: var(--t-h2); font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  margin: 0 0 var(--s-2); text-wrap: balance;
}
.doc-page .doc__body { font-size: var(--t-body); }
.doc-page .doc__body h3 { font-size: 1.1rem; margin-top: var(--s-4); }
.site__nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--yellow-dp); }

/* ------------------------------------------------------ 푸터 확장(01 전용) */
.site-foot__legal {
  margin-top: var(--s-4); display: flex; align-items: center; justify-content: center;
  gap: .6rem var(--s-3); flex-wrap: wrap;
}
.linklike {
  border: 0; background: none; padding: 0; font: inherit; font-weight: 600;
  color: var(--ink-60); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.linklike:hover { color: var(--ink); }
.site-foot__mail { color: var(--ink-60); font-weight: 600; text-underline-offset: 3px; }
.site-foot__mail:hover { color: var(--ink); }
.site-foot__iitp {
  margin-top: var(--s-4); padding-top: var(--s-4);
  border-top: 1.5px solid color-mix(in srgb, var(--ink) 10%, transparent);
  display: grid; gap: .5rem; justify-items: center;
}
.site-foot__soma { width: min(280px, 62vw); height: auto; }
.site-foot__iitp p {
  margin: 0; font-size: var(--t-micro); color: var(--ink-40);
  max-width: 46rem; text-wrap: balance;
}
.site-foot__iitp p[lang='en'] { word-break: normal; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ 반응형 */
@media (max-width: 860px) {
  .hero__frame { max-width: 82%; }
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero__art { order: -1; }
  .mascot--hero { width: 6.5rem; left: -2.5rem; bottom: -1.5rem; }
  .shot--1 { transform: rotate(1.2deg); }
  .cta__card { padding: var(--s-4); }
  .mascot--cta { width: 6rem; opacity: .5; }
}
@media (max-width: 520px) {
  .shots { gap: var(--s-2); }
  .shot { width: min(13rem, 60vw); }
  .cycler { width: min(14rem, 66vw); }
  /* 좁은 화면에서는 기울임을 풀고 그림자 부담을 줄인다 (04·09 컨셉과 같은 선택) */
  .shot--0, .shot--1, .shot--2 { transform: none; }
  .shot { filter: drop-shadow(0 8px 14px rgb(35 25 15 / .18)); }
  .cycler__stack { filter: drop-shadow(0 8px 14px rgb(35 25 15 / .18)); }
}

/* 애니메이션 진입 전 기본 상태. 모션을 끄면 전부 보이는 상태로 둔다. */
.js-rise { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  .js-rise { opacity: 1; transform: none; }
  .hl { background-size: 100% 62%; }
}
/* 마스코트가 히어로 밖으로 나가 문서 폭을 넓히지 않게 잘라낸다 */
.hero { overflow: clip; }

/* ==========================================================================
   시안 개정 — 디자인 캔버스(멍코치 랜딩.dc.html)가 정한 구성.
   인용 카드 → 설문 막대, 비교표 → 비용 대비, 도장 격자 → 흐름 배너,
   앱 화면 → 실제로 눌러 볼 수 있는 프로토타입.
   ========================================================================== */

/* ------------------------------------------------------- 본문 글줄 폭 */
/* 제목과 리드문은 가운데 놓인 좁은 글줄로 모으고, 정렬은 왼쪽을 유지한다. */
.entry .entry__head,
.entry > .head,
.entry > .lede,
.entry > .label {
  width: 100%; max-width: 517px; margin-inline: auto; text-align: left;
}
.entry__head > .head,
.entry__head > .lede,
.entry__head > .label { max-width: none; margin-inline: 0; text-align: left; }

/* ------------------------------------------------------------ 설문 막대 */
/* 문제 섹션 바로 아래에 붙어 한 덩어리로 읽히도록 위로 당긴다. */
.survey {
  position: relative; z-index: 2;
  max-width: 62rem; width: 100%;
  margin: calc(-1 * var(--s-12)) auto var(--s-8);
  padding-inline: var(--gutter);
  box-sizing: border-box;
}
.survey__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.survey__item {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: var(--s-3); padding: var(--s-2);
  background: var(--paper-hi); border: 1px dashed var(--ink-25); border-radius: var(--r-md);
}
.survey__item.is-top { border: 2px solid var(--ink); box-shadow: 0 4px 0 -1px var(--ink); }
.survey__q {
  grid-column: 1; margin: 0;
  font-size: 1.1rem; font-weight: 700; line-height: 1.4; text-wrap: pretty;
}
.is-top .survey__q {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.35;
}
.survey__pct {
  grid-column: 2; margin: 0; display: flex; align-items: baseline; gap: .15rem;
  font-variant-numeric: tabular-nums;
}
.survey__pct b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.survey__pct span { font-size: .9rem; font-weight: 700; color: var(--gold); }
.is-top .survey__pct b { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); letter-spacing: -.045em; }
.is-top .survey__pct span { font-size: 1rem; }
.survey__track {
  grid-column: 1 / -1; margin-top: .45rem; height: .45rem;
  border-radius: var(--r-pill); overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.is-top .survey__track { margin-top: .55rem; height: .6rem; }
.survey__bar {
  height: 100%; border-radius: var(--r-pill); transform-origin: left;
  background: color-mix(in srgb, var(--yellow) 60%, var(--paper-3));
  animation: mc-bar-grow 900ms var(--ease-out) both;
}
.survey__item:nth-child(1) .survey__bar { background: var(--yellow-dp); }
.survey__item:nth-child(2) .survey__bar { background: var(--yellow); }
@keyframes mc-bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ------------------------------------------------------------ 비용 대비 */
.cost {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: var(--s-3); margin: var(--s-6) auto 0; width: min(48rem, 100%);
}
.cost__card {
  flex: 1 1 15rem; min-width: 0; display: grid; gap: .35rem; align-content: center;
  padding: var(--s-3);
  background: var(--paper-hi); border: 1px dashed var(--ink-25); border-radius: var(--r-lg);
}
.cost__card--us {
  background: color-mix(in srgb, var(--yellow) 34%, var(--paper-hi));
  border: 2px solid var(--ink); box-shadow: 0 5px 0 -1px var(--ink);
}
.cost__label { font-size: var(--t-small); font-weight: 700; color: var(--ink-60); }
.cost__card--us .cost__label { font-weight: 800; color: var(--ink); }
.cost__amt {
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.8rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
}
.cost__amt--was { color: var(--ink-40); text-decoration: line-through; text-decoration-thickness: 3px; }
.cost__num { font-variant-numeric: tabular-nums; }
.cost__note { font-size: var(--t-small); color: var(--ink-80); }
.cost__vs {
  align-self: center; line-height: 1; color: var(--gold);
  font-family: Gaegu, Pretendard, sans-serif; font-size: 2rem;
}

/* --------------------------------------------------------- 신뢰 배너 */
.entry--trust { padding-bottom: var(--s-3); }
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  padding-block: var(--s-2) var(--s-12);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* 카드를 두 벌 늘어놓고 트랙을 절반만큼 옮겨 끊김 없이 이어 붙인다. */
.marquee__track { display: flex; width: max-content; animation: mc-trust-marquee 56s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.tcard {
  flex: none; width: min(34rem, 82vw); margin-right: var(--s-3);
  display: grid; gap: .7rem; align-content: start; padding: var(--s-4);
  background: var(--paper-hi); border: 1px dashed var(--ink-25); border-radius: var(--r-lg);
}
.tcard b { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); letter-spacing: -.02em; }
.tcard > span:last-child { color: var(--ink-60); font-size: var(--t-body); line-height: 1.6; }
@keyframes mc-trust-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* 프로토타입 캡처는 네모난 스크린샷이다 — 앱 화면으로 읽히도록 모서리를 둥글린다.
   (원래 쓰던 앱 화면 SVG는 둥근 폰 실루엣이 그림 안에 들어 있었다.) */
.shots img.screen { border-radius: 22px; }
@media (max-width: 520px) { .shots img.screen { border-radius: 16px; } }

/* ------------------------------------------------------- 폰 프레임 */
/* 안에 앱 프로토타입이 실제로 돈다(proto.js). 화면 비율 390:844에 테두리 11px을 더한 값. */
.proto-box {
  position: relative; box-sizing: border-box; overflow: hidden;
  border: 11px solid var(--ink); border-radius: 44px; background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink-40), 0 18px 30px -18px rgb(35 25 15 / .55);
}
.proto-box > iframe {
  display: block; width: 100%; height: 100%; border: 0;
  border-radius: 33px; background: var(--paper-hi);
}
.proto-box::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px;
  z-index: 2; pointer-events: none;
}
.proto-box--hero { width: min(100%, 21rem); aspect-ratio: 412 / 866; }
.proto-box--live { width: min(20rem, 76vw); aspect-ratio: 412 / 866; }
@media (max-width: 520px) {
  .proto-box { border-width: 8px; border-radius: 34px; }
  .proto-box > iframe { border-radius: 26px; }
  .proto-box::after { height: 18px; }
  .proto-box--live { width: min(17.5rem, 84vw); }
}

/* ------------------------------------------------------ AI 섹션 2열 */
#ai {
  display: grid; grid-template-columns: auto auto; justify-content: center;
  column-gap: var(--s-6); align-items: center;
}
#ai > .entry__head { grid-column: 1 / -1; }
#ai > .steps {
  grid-column: 1; grid-row: 2;
  flex-direction: column; align-items: stretch; justify-content: center;
  gap: var(--s-3); width: 22rem; max-width: 100%;
  align-self: stretch; height: auto; margin: var(--s-6) 0;
}
#ai > .steps li {
  flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr;
  align-content: center; align-items: center; gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper-hi); border: 1px dashed var(--ink-25); border-radius: var(--r-lg);
  font-size: clamp(1.05rem, .95rem + .3vw, 1.25rem);
  font-weight: 700; letter-spacing: -.02em; text-align: left;
}
#ai > .steps li b {
  font-family: Gaegu, Pretendard, sans-serif;
  font-size: clamp(1.9rem, 1.6rem + .8vw, 2.4rem);
  line-height: 1; color: var(--gold); letter-spacing: -.03em;
}
#ai > .shots { grid-column: 2; grid-row: 2; }
#ai > .report { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 900px) {
  #ai { grid-template-columns: 1fr; }
  #ai > .steps { grid-column: 1; grid-row: auto; max-width: none; margin: 0; }
  #ai > .shots { grid-column: 1; grid-row: auto; }
  #ai > .report { grid-row: auto; }
}

/* ---------------------------------------------------- 지표 · CTA · FAQ */
.entry--stats { padding-block: var(--s-6); }
.entry--stats .fig__note { display: none; }
.entry--stats .head span { display: inline; }
.entry--stats .head span + span::before { content: ' '; }

.entry--cta .cta__card {
  max-width: 52rem; margin-inline: auto;
  padding: var(--s-6) var(--s-6) var(--s-4);
  box-shadow: 0 9px 0 var(--ink), 0 26px 40px -22px rgb(35 25 15 / .6);
}
/* 제목은 카피가 나눈 두 줄 그대로 세운다 — 한 줄로 합치면 카드 폭을 넘어 잘린다. */
.entry--cta .cta__card .head { max-width: 26ch; }

#faq { padding-block: var(--s-6); text-align: center; }
#faq .head { font-size: var(--t-h3); text-align: center; margin-inline: auto; }
#faq .head span { display: inline; }
#faq .head span + span::before { content: ' '; }
#faq .faq { margin-inline: auto; }
#faq .faq__q, #faq .faq__a { text-align: left; }
#faq .faq__q { font-size: var(--t-small); padding: .7rem .9rem; }
#faq .faq__a { font-size: var(--t-small); padding: 0 .9rem .8rem; }

/* ----------------------------------------------------------- 문의 카드 */
.mailcards--one { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }
.mailcard--wide {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: var(--s-3); row-gap: .3rem;
}
.mailcard--wide .mailcard__actions { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
.mailcard--wide .mailcard__msg { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .mailcard--wide { grid-template-columns: 1fr; }
  .mailcard--wide .mailcard__actions { grid-column: 1; grid-row: auto; }
}

/* -------------------------------------------------------------- 푸터 */
.site-foot--compact {
  padding-block: var(--s-2); font-size: var(--t-micro);
  border-top: 1px solid var(--ink-25);
}
.site-foot--compact p { margin: .15rem 0; line-height: 1.25; }
.site-foot__lockup {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s-3); margin-bottom: var(--s-2);
}
.site-foot__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.site-foot__brand img { width: 30px; height: 30px; }
.site-foot__brand b { font-size: 1.15rem; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.site-foot__x { color: var(--ink-40); font-size: var(--t-micro); }
.site-foot--compact .site-foot__soma { width: 150px; height: auto; margin: 0; }
.site-foot--compact .site-foot__iitp {
  margin-top: var(--s-1); padding-top: 0; border-top: none; gap: .25rem;
}
.site-foot--compact .site-foot__iitp p { font-size: var(--t-micro); }
.site-foot--compact .site-foot__legal {
  margin-top: var(--s-1); font-size: var(--t-micro);
  justify-content: center; align-items: center;
}
.site-foot__copy { color: var(--ink-60); }

/* --------------------------------------------------------- 앵커 이동 */
/* 고정 헤더 실측 높이(68px)에 여유를 더한 값 */
#problem, #cost, #curriculum, #ai, #walk, #contact, #faq, .entry--trust {
  scroll-margin-top: 88px;
}

/* ------------------------------------------------------- 모션 축소 */
/* 흐름 배너는 멈추는 대신 정적 3열로 편다. 두 번째 벌은 중복이므로 감춘다. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow: visible; mask-image: none; -webkit-mask-image: none;
    max-width: 62rem; margin-inline: auto;
    padding: 0 var(--gutter) var(--s-12);
  }
  .marquee__track {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: var(--s-3); width: auto; animation: none;
  }
  .tcard { width: auto; margin-right: 0; }
  .tcard[aria-hidden='true'] { display: none; }
  .survey__bar { animation: none; }
}

/* ------------------------------------------------------- 공식 채널 (문의) */
/* 상단바는 아이콘만 두지만, 문의 섹션에서는 어떤 채널인지 읽고 누를 수 있게 카드로 편다.
   카드 언어는 .mailcard와 같은 종이 카드다. */
.social { margin-top: var(--s-6); }
.social__head { font-size: var(--t-h3); letter-spacing: -.02em; margin: 0 0 .35rem; }
.social__lede { font-size: var(--t-small); color: var(--ink-60); margin: 0 0 var(--s-3); max-width: var(--measure); }
.social__row {
  display: grid; gap: var(--s-2); max-width: 46rem;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}
.social-card {
  display: grid; justify-items: start; align-content: start; gap: .3rem;
  padding: var(--s-3); text-decoration: none; color: inherit;
  background: var(--paper-hi); border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 5px 0 -1px var(--ink), 0 18px 28px -18px rgb(35 25 15 / .5);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 -1px var(--ink), 0 24px 34px -20px rgb(35 25 15 / .5);
}
.social-card__ico {
  display: grid; place-items: center;
  width: 2.7rem; height: 2.7rem; margin-bottom: .35rem;
}
.social-card__ico svg { display: block; width: 100%; height: 100%; }
.social-card__label { font-size: 1.05rem; letter-spacing: -.02em; }
.social-card__desc { font-size: var(--t-small); color: var(--ink-60); line-height: 1.5; }

/* --------------------------------------------------- 출시 예고 팝업 */
/* <dialog>.showModal()로 연다 — 포커스 가두기·Esc 닫기는 브라우저에 맡긴다.
   카드가 마스킹 테이프를 밖으로 내밀므로 dialog 자체는 overflow: visible이어야 한다. */
.launch {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--ink);
  width: min(26rem, calc(100vw - 2.5rem)); max-width: none; overflow: visible;
}
.launch::backdrop {
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.launch__card {
  position: relative; text-align: center;
  display: grid; justify-items: center; gap: .4rem;
  padding: var(--s-4) var(--s-3) var(--s-3);
  /* 앱 스플래시(assets/screens/01-splash.svg)가 쓰는 노란 번짐을 그대로 가져왔다. */
  background:
    radial-gradient(circle at 50% 16%, color-mix(in srgb, var(--yellow) 52%, transparent), transparent 58%),
    var(--paper-hi);
  border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 6px 0 var(--ink), 0 30px 48px -22px rgb(35 25 15 / .75);
  /* 열릴 때 종이 카드가 살짝 올라오며 자리를 잡는다. is-on은 launch-popup.js가 붙인다. */
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.launch.is-on .launch__card { opacity: 1; transform: none; }
.launch__close {
  /* 카드 모서리 반경(--r-lg)이 24px라, 이보다 바깥에 두면 버튼이 곡선에 걸쳐 보인다. */
  position: absolute; top: .8rem; right: .8rem; z-index: 5;
  width: 2rem; height: 2rem; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
  transition: background var(--dur-1) var(--ease-out);
}
.launch__close:hover { background: var(--yellow); }
.launch__logo { width: 62px; height: 62px; transform: rotate(-4deg); }
.launch__eyebrow { font-size: var(--t-micro); font-weight: 700; letter-spacing: .18em; color: var(--ink-40); }
/* 날짜와 "정식 출시 예정"은 한 문장처럼 읽혀야 한다 — 한 덩어리로 묶고 서체를 공유한다.
   Jua는 굵기가 400 하나뿐이라 강조는 크기로만 낸다(strong의 합성 볼드를 끈다). */
.launch__lockup {
  display: grid; justify-items: center; gap: .06rem; margin: .05rem 0 0;
  font-family: Jua, Pretendard, sans-serif;
}
.launch__date { font-size: clamp(2.25rem, 1.4rem + 3.5vw, 3rem); line-height: 1.05; }
.launch__title { font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--ink-80); }
/* 형광펜은 카드가 자리를 잡은 뒤에 칠해진다 — 열자마자 칠해져 있으면 그냥 배경처럼 보인다. */
/* 기본 .hl의 좌우 여백은 본문 크기에 맞춘 값이라, 3rem짜리 날짜에서는 사이가 벌어져 보인다. */
.launch__date .hl { padding: 0 .06em; }
.launch.is-on .launch__date .hl { background-size: 100% 56%; transition-delay: 400ms; }
.launch__body { margin: .55rem 0 0; font-size: var(--t-small); line-height: 1.65; color: var(--ink-80); }
.launch__actions { display: grid; gap: .55rem; justify-items: center; width: 100%; margin-top: var(--s-2); }
.launch__actions .btn--kakao { width: 100%; justify-content: center; }
/* 카드가 짧은 화면에서 잘리지 않게 — 세로가 좁으면 여백부터 줄인다. */
@media (max-height: 640px) {
  .launch__card { padding-top: var(--s-3); gap: .3rem; }
  .launch__logo { width: 46px; height: 46px; }
  .launch__date { font-size: 2rem; }
  .launch__title { font-size: 1.3rem; }
}
