/* Message Break 랜딩
   색: 앱 아이콘의 민트(#3cc4a2 근사)를 단일 액센트로. design/tokens.json을 읽을 수 없어
   아래 변수가 임시 토큰이다. 토큰 파일 값으로 --mint-* 만 바꾸면 전체가 따라간다. */

:root {
  --bg: #f5faf8;
  --surface: #ffffff;
  --surface-2: #e6f5ef;
  --line: #d5e6df;
  --text: #16201d;
  --muted: #3d4b46;
  --mint: #3cc4a2;          /* 브랜드 민트: 면/장식용 (텍스트 금지) */
  --mint-ink: #0e7563;      /* 텍스트·버튼용 진한 민트, 흰 글자 대비 5.5:1 */
  --mint-soft: #cdeee3;
  --on-mint: #ffffff;
  --bubble-me: #0e7563;     /* 내 말풍선: 깊은 민트 (상대 말풍선은 흰 면) */
  --bubble-me-text: #ffffff;
  --shadow: 0 1px 2px rgb(14 60 50 / .06), 0 12px 32px rgb(14 60 50 / .08);
  /* 메탈릭 질감: 빛이 스치는 표면 정도만. 시어 + 상단 1px 하이라이트 + 미세 그레인 */
  --sheen: linear-gradient(135deg, rgb(60 196 162 / .10) 0%, rgb(255 255 255 / .6) 40%, rgb(60 196 162 / .06) 100%);
  --edge: inset 0 1px 0 rgb(255 255 255 / .7);
  --edge-on-ink: inset 0 1px 0 rgb(255 255 255 / .28);
  --rim: linear-gradient(135deg, rgb(255 255 255 / .95), rgb(60 196 162 / .45) 38%, rgb(255 255 255 / .25) 62%, rgb(14 117 99 / .4));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  /* 배경 이미지 위 보정 막: 글자 대비 확보용 옅은 막 */
  --bg-veil: linear-gradient(rgb(255 255 255 / 0), rgb(255 255 255 / 0));
  --bg-veil-cta: linear-gradient(rgb(255 255 255 / .12), rgb(255 255 255 / .12));

  --radius: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--mint-soft); color: var(--text); }
html { scrollbar-color: color-mix(in oklab, var(--mint-ink) 40%, var(--bg)) var(--bg); }
:focus-visible { outline: 3px solid var(--mint-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: 12px; top: -48px; padding: 8px 14px; background: var(--surface); border-radius: 8px; z-index: 30; }
.skip:focus { top: 12px; }

.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--muted); max-width: 34ch; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn--primary { background: var(--mint-ink); color: var(--on-mint); box-shadow: var(--edge-on-ink); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border-color: var(--line); cursor: default; }
.btn[aria-disabled="true"]:active { transform: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: color-mix(in oklab, var(--mint-ink) 88%, var(--text)); }
  .btn--ghost:hover { border-color: var(--mint-ink); }
}

/* 내비 */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { display: block; padding: 8px 10px; font-size: .9375rem; color: var(--muted); text-decoration: none; border-radius: 8px; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 479px) { .nav__links li:not(:first-child) { display: none; } }

/* 히어로 */
.hero { padding: 40px 0 64px; overflow: clip; background: #e4f7ee; }
/* 배경: 맨 위 레이어는 하단 페이드(다음 섹션 --bg 와 이음새 제거), 그 아래 보정 막, 이미지. 뷰포트별로 한 장만 내려받는다 */
@media (max-width: 767px) {
  .hero { background: linear-gradient(to bottom, transparent 72%, var(--bg)), var(--bg-veil), url("assets/bg/hero-m.webp") center / cover no-repeat, #e4f7ee; }
}
@media (min-width: 768px) {
  .hero { background: linear-gradient(to bottom, transparent 72%, var(--bg)), var(--bg-veil), url("assets/bg/hero.webp") center / cover no-repeat, #e4f7ee; }
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.hero__copy .lead { margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.hero__visual { position: relative; display: grid; place-items: center; padding: 28px 0; }
.hero__backdrop {
  position: absolute; inset: 0 -20px; width: calc(100% + 40px); height: 100%;
  object-fit: cover; object-position: 78% 50%; border-radius: 28px; background: var(--mint-soft);
}
@media (min-width: 768px) {
  .hero__backdrop { inset: 0; width: 100%; object-position: 100% 50%; }
  .hero__visual { justify-items: start; padding: 28px 0 28px 28px; }
}

.phone {
  position: relative; margin: 0; width: min(100%, 340px);
  background: var(--sheen), var(--grain), var(--surface); border-radius: 28px; box-shadow: var(--edge), var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
/* 금속 모서리: 1px 그라데이션 테두리 (마스크로 속을 비운 의사요소) */
.phone::after {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--rim); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.phone__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.phone__name { font-weight: 700; font-size: .95rem; }
.phone__tag { font-size: .75rem; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }

.chat { display: flex; flex-direction: column; gap: 26px; padding: 20px 16px 24px; min-height: 236px; background: color-mix(in oklab, var(--surface-2) 55%, var(--surface)); }
.msg { position: relative; max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; text-wrap: balance; }
.msg--them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--bubble-me); color: var(--bubble-me-text); border-top-right-radius: 6px; box-shadow: var(--edge-on-ink); }
.msg--note { align-self: center; max-width: 92%; font-size: .8125rem; color: var(--muted); background: none; padding: 2px 6px; text-align: center; }
.msg {
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.msg.is-entering { opacity: 0; transform: translateY(8px) scale(.98); }
.msg--me.is-rewinding { opacity: .35; text-decoration: line-through; }

/* 히어로 등장 시퀀스: 60ms 간격으로 차례로, 마지막에 사실/생각 라벨이 갈라져 나온다 (총 약 700ms).
   fill-mode는 backwards만 써서 끝난 뒤에는 원래 스타일(되감기 전환 등)이 그대로 동작한다. */
@keyframes seq-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes seq-tag { from { opacity: 0; transform: translateY(-6px) scale(.95); } }
@keyframes seq-fade { from { opacity: 0; } }
[data-seq] { animation: seq-in 260ms var(--ease-out) var(--t, 0ms) backwards; }
.msg--them[data-seq] { transform-origin: 0 100%; }
.msg--me[data-seq] { transform-origin: 100% 100%; }
.msg__tag {
  position: absolute; bottom: -13px; padding: 1px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; line-height: 1.5; white-space: nowrap; pointer-events: none;
  animation: seq-tag 240ms var(--ease-out) var(--t, 0ms) backwards;
}
.msg__tag--fact { left: 12px; background: var(--mint-soft); color: var(--mint-ink); border: 1px solid color-mix(in oklab, var(--mint-ink) 30%, transparent); }
.msg__tag--thought { right: 12px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.chat.is-rewound .msg__tag { display: none; }

.phone__dock { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.phone__hint { font-size: .8125rem; color: var(--muted); }
.break-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .9rem;
  color: var(--mint-ink); background: var(--mint-soft); border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.break-btn:active { transform: scale(.96); transition-duration: 100ms; }
.break-btn[aria-pressed="true"] { background: var(--mint-ink); color: var(--on-mint); }
.break-btn__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }

.sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 16px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--edge), var(--shadow);
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.sheet[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(16px); pointer-events: none; }
.sheet__title { font-weight: 700; }
.sheet__body { margin: 6px 0 14px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.sheet__body b { color: var(--text); font-weight: 700; }

/* 문제 공감 */
.empathy { padding: 72px 0; }
.empathy__list { margin-top: 32px; display: grid; gap: 12px; }
.empathy__list li {
  font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.empathy__list li:last-child { border-bottom: 1px solid var(--line); }
.empathy__note { margin-top: 28px; color: var(--mint-ink); font-weight: 600; }
@media (min-width: 900px) {
  .empathy .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 64px; }
  .empathy__list { margin-top: 0; grid-row: span 2; }
  .empathy__note { align-self: end; }
}

/* 기능 bento */
.features {
  padding: 72px 0;
  background: linear-gradient(to bottom, var(--bg), transparent 14%, transparent 86%, var(--bg)), var(--bg-veil), url("assets/bg/features.webp") center / cover no-repeat, var(--bg);
}
.bento { display: grid; gap: 14px; margin-top: 36px; }
.cell { padding: 22px; border-radius: var(--radius); background: var(--sheen), var(--grain), var(--surface); border: 1px solid var(--line); box-shadow: var(--edge); }
.cell p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.cell__art {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px;
  border-radius: var(--radius-sm); background: var(--surface-2);
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell--a { grid-column: span 4; }
  .cell--b { grid-column: span 2; }
  .cell--c { grid-column: span 2; }
  .cell--d { grid-column: span 4; }
  .cell--a .cell__art, .cell--d .cell__art { aspect-ratio: 16 / 7; }
  .cell--b .cell__art, .cell--c .cell__art { aspect-ratio: 4 / 3; }
}

/* 흐름 */
.flow { padding: 72px 0; }
.flow__list { display: grid; gap: 28px; margin-top: 36px; counter-reset: step; }
.flow__list li { counter-increment: step; position: relative; padding-left: 40px; }
.flow__list li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  color: var(--mint-ink); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.flow__list p { margin-top: 4px; color: var(--muted); max-width: 30ch; }
@media (min-width: 900px) {
  .flow__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow__list li { padding-left: 0; padding-top: 56px; border-top: 1px solid var(--line); }
  .flow__list li::before { top: 18px; }
}

/* 사실/생각 모션그래픽 루프 (CSS, 5.6초, 무음). 기본 스타일 = 갈라진 최종 컷이라
   모션 줄이기 설정이나 CSS 로딩 실패에서도 의미가 전달된다. transform+opacity만 쓴다. */
.split { margin: 32px 0 0; max-width: 520px; }
.split__stage {
  --dy: 5.8cqw;
  container-type: inline-size; position: relative; aspect-ratio: 360 / 230;
  display: grid; align-content: center; padding-inline: 11.11%;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
/* 고정 높이 없이 흐름 배치: 글자가 두 줄이 되어도 박스가 늘어나 겹치지 않는다 */
.split__bubble { display: grid; font-size: max(13px, 4.6cqw); font-weight: 600; }
.split__pair { position: relative; display: grid; }
.split__a, .split__b, .split__union { margin: 0; text-align: center; }
.split__a, .split__b {
  position: relative; display: grid; place-items: center;
  min-height: 12.22cqw; padding: .5em 1em; border-radius: 4.4cqw; line-height: 1.35;
}
.split__a { background: var(--mint-soft); color: var(--mint-ink); transform: translateY(calc(var(--dy) * -1)); }
.split__b { background: var(--bubble-me); color: var(--bubble-me-text); transform: translateY(var(--dy)); }
.split__union { position: absolute; inset: 0; border-radius: 5cqw; background: var(--bubble-me); opacity: 0; }
.split__a::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bubble-me); opacity: 0;
}
.split__a > span { position: relative; animation: split-ink 5600ms linear infinite; }
.split__tag {
  font-size: max(12px, 3.6cqw); font-weight: 700; line-height: 1.4;
  color: var(--mint-ink);
}
.split__tag--a { margin-bottom: calc(var(--dy) + 2.2cqw); }
.split__tag--b { margin-top: calc(var(--dy) + 2.2cqw); color: var(--muted); }
.split figcaption { margin-top: 12px; font-size: .9375rem; color: var(--muted); }

@keyframes split-group {
  0%   { opacity: 0; transform: translateY(2cqw); animation-timing-function: var(--ease-out); }
  7%   { opacity: 1; transform: none; }
  88%  { opacity: 1; transform: none; animation-timing-function: var(--ease-out); }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes split-union { 0%, 30% { opacity: 1; } 30.5%, 100% { opacity: 0; } }
@keyframes split-a {
  0%, 30% { transform: translateY(0); animation-timing-function: var(--ease-in-out); }
  46%, 100% { transform: translateY(calc(var(--dy) * -1)); }
}
@keyframes split-b {
  0%, 30% { transform: translateY(0); animation-timing-function: var(--ease-in-out); }
  46%, 100% { transform: translateY(var(--dy)); }
}
@keyframes split-tint { 0%, 30% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes split-ink { 0%, 30% { color: var(--bubble-me-text); } 42%, 100% { color: var(--mint-ink); } }
@keyframes split-tag {
  0%, 36% { opacity: 0; transform: translateY(4px); animation-timing-function: var(--ease-out); }
  44%, 100% { opacity: 1; transform: none; }
}
.split__bubble { animation: split-group 5600ms linear infinite; }
.split__union { animation: split-union 5600ms linear infinite; }
.split__a { animation: split-a 5600ms linear infinite; }
.split__b { animation: split-b 5600ms linear infinite; }
.split__a::before { animation: split-tint 5600ms linear infinite; }
.split__tag--a { animation: split-tag 5600ms linear infinite; }
.split__tag--b { animation: split-tag 5600ms linear infinite; animation-delay: 170ms; }
.js .split:not(.is-playing) * { animation-play-state: paused; }

/* 드릴 */
.drill { padding: 72px 0; background: var(--surface-2); }
.drill__grid { display: grid; gap: 36px; align-items: center; }
.drill__grid > * { min-width: 0; }
.drill .lead { margin-top: 16px; }
.drill__card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--edge); max-width: 440px; }
.drill__label { font-size: .875rem; font-weight: 700; color: var(--mint-ink); }
.drill__q { margin-top: 8px; font-size: 1.125rem; font-weight: 600; line-height: 1.55; }
.drill__side { display: grid; gap: 16px; max-width: 440px; }
.drill__video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--mint-soft); }
.drill__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.drill__facts li { max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: .8125rem; font-weight: 600; }
@media (min-width: 900px) { .drill__grid { grid-template-columns: 1fr 1fr; gap: 64px; } .drill__side { justify-self: end; width: 100%; } }

/* 요금제 */
.pricing { padding: 80px 0; }
.plans { display: grid; gap: 14px; margin-top: 32px; max-width: 760px; }
.plan { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--edge); }
.plan__price { margin: 10px 0 18px; font-size: 1.05rem; font-weight: 600; }
.plan__price span { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--mint-ink); border-bottom: 2.5px solid var(--mint-ink); transform: rotate(-45deg);
}
.plan--pro { border-color: var(--mint-ink); background: var(--sheen), var(--grain), var(--surface); box-shadow: 0 0 0 1px var(--mint-ink) inset, var(--edge); }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { padding: 72px 0; }
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq__list details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* 마무리 */
.closing {
  padding: 88px 0;
  background: linear-gradient(to bottom, var(--bg), transparent 18%), var(--bg-veil-cta), url("assets/bg/cta.webp") center / cover no-repeat, #8fe6c4;
}
.closing__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }

/* 푸터 */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer__grid { display: grid; gap: 22px; }
.footer__privacy { margin-top: 12px; color: var(--muted); max-width: 60ch; line-height: 1.65; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__links a { color: var(--muted); text-underline-offset: 3px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto; } .footer__copy { grid-column: 1 / -1; } }

/* 스크롤 진입: JS가 있을 때만 숨김 → JS 실패 시 그대로 보인다 */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .msg, .sheet { transform: none !important; transition: opacity 160ms ease !important; }
  .msg.is-entering { transform: none; }
  .btn:active, .break-btn:active { transform: none; }
  [data-seq], .msg__tag { animation-name: seq-fade; animation-duration: 160ms; }
  .split__bubble, .split__union, .split__a, .split__b, .split__a::before, .split__a > span, .split__tag { animation: none; }
}

.plan__sub { color: var(--muted); font-size: .9rem; }

/* 문서 페이지 (개인정보 처리방침·이용약관) */
.doc { padding: 40px 0 72px; }
.doc__inner { max-width: 760px; }
.doc h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; }
.doc h2 { margin-top: 36px; font-size: 1.25rem; letter-spacing: -0.01em; }
.doc p, .doc li { margin-top: 10px; line-height: 1.75; }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc a { color: var(--mint-ink); text-underline-offset: 3px; }
.doc__meta { margin-top: 14px; color: var(--muted); }
.doc__draft { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--mint-soft); color: var(--text); font-weight: 600; }
.doc__table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .9375rem; }
.doc__table th, .doc__table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.doc__table th { background: var(--surface-2); }
.doc__scroll { overflow-x: auto; }
