/* =========================================================
   W3bforU — 모바일 우선 (360~430px 기준) → 768px → 1080px
   방향: 흰색/연회색 면, 큰 제목, 넉넉한 여백, 실제 작업물 중심
   글꼴은 Pretendard 하나, 강조색은 파랑 하나
   ========================================================= */

/* ---------- 1. 토큰 ---------- */
:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --gray: #f5f5f7;
  --accent: #2156f3;
  --accent-hover: #1747d6;
  --danger: #d70015;

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

  --gutter: 20px;
  --max: 1080px;
  --narrow: 720px;
  --tile-r: 28px;
  --topbar: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topbar); interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.015em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:where(ul[role="list"], ol) { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--narrow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.br-m { display: inline; }

/* ---------- 3. 버튼 · 링크 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--line { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn[disabled] { opacity: .5; cursor: progress; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--accent-hover); }
  .btn--line:hover { background: var(--accent); color: #fff; }
}
/* 텍스트 링크 + 꺾쇠 */
.more {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--accent); font-size: 17px; font-weight: 500; text-decoration: none;
}
.more::after {
  content: ""; width: 9px; height: 14px; margin-left: 4px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='m1.5 1.5 5.5 5.5-5.5 5.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='m1.5 1.5 5.5 5.5-5.5 5.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s var(--ease);
}
@media (hover: hover) { .more:hover { text-decoration: underline; } .more:hover::after { transform: translateX(2px); } }

/* ---------- 4. 상단바 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--topbar);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 26px; height: auto; }
.nav { display: none; }
.topbar .btn { transition: opacity .3s, visibility .3s, background-color .2s; }
@media (max-width: 767px) { .sticky-on .topbar .btn { opacity: 0; visibility: hidden; } }

/* ---------- 5. 공통 섹션 ---------- */
.sec { padding: 88px 0; }
.sec--tight { padding-top: 0; }
.sec--gray { background: var(--gray); }
.sec__head { text-align: center; margin-bottom: 44px; }
.sec__title { font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -0.035em; }
.sec__lead { margin: 16px auto 0; max-width: 34em; color: var(--text-2); font-size: 17px; }
.sec__lead a { color: var(--accent); text-decoration: none; }
.fine { margin-top: 20px; text-align: center; font-size: 14px; color: var(--text-2); }

/* ---------- 6. 히어로 ---------- */
.hero { padding: 56px 0 0; overflow: hidden; text-align: center; }
.hero__title { font-size: clamp(34px, 10vw, 44px); line-height: 1.16; font-weight: 700; letter-spacing: -0.045em; }
.hero__lead { margin: 18px auto 0; max-width: 30em; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.hero__cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__price { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.hero__stage {
  position: relative; height: 400px; margin-top: 36px;
  --p: 0; /* 스크롤 진행도 0~1 (JS) */
}
.hphone {
  position: absolute; left: 50%; bottom: -60px; width: 200px;
  padding: 7px; border-radius: 40px; background: #1d1d1f;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.hphone__screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 33px; background: #fff; }
.hphone__screen::before { /* 카메라 홈 */
  content: ""; position: absolute; z-index: 1; top: 8px; left: 50%; width: 30%; height: 15px;
  transform: translateX(-50%); border-radius: 99px; background: #1d1d1f;
}
.hphone__screen img { width: 100%; height: auto; }
.hphone--c { z-index: 2; transform: translateX(-50%) translateY(calc(var(--p) * -24px)); }
.hphone--l, .hphone--r { width: 172px; bottom: -110px; opacity: .98; }
.hphone--l { transform: translateX(calc(-50% - 132px - var(--p) * 28px)) rotate(calc(var(--p) * -3deg)); }
.hphone--r { transform: translateX(calc(-50% + 132px + var(--p) * 28px)) rotate(calc(var(--p) * 3deg)); }
.hero__note { position: relative; z-index: 3; padding: 18px var(--gutter); background: var(--bg); font-size: 13px; color: var(--text-3); border-top: 1px solid rgba(0, 0, 0, .06); }

/* ---------- 7. 업종별 데모 ---------- */
.demos {
  display: flex; gap: 16px;
  padding: 4px var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.demos::-webkit-scrollbar { display: none; }
.demo { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }
.demo a {
  position: relative; /* 숨김 글자(.sr)가 스크롤 영역 밖으로 새지 않도록 */
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  padding: 30px 26px 0; border-radius: var(--tile-r); background: var(--bg);
  text-decoration: none;
}
.demo__tag { font-size: 14px; font-weight: 600; color: var(--text-2); }
.demo__name { margin-top: 2px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.demo__desc { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.demo__open { order: 4; margin-top: 12px; font-size: 15px; }
.phone {
  order: 5; width: 80%; margin: 28px auto -90px; padding: 6px;
  border-radius: 36px; background: #1d1d1f;
  transition: transform .5s var(--ease-out);
}
.phone__screen {
  position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 30px; background: #fff;
  display: flex; flex-direction: column; padding-top: 30px;
}
.phone__screen::before {
  content: ""; position: absolute; z-index: 1; top: 8px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 14px; border-radius: 999px; background: #1d1d1f;
}
.phone__view { flex: 1; min-height: 0; overflow: hidden; background: var(--gray); container-type: size; }
.phone__view picture { display: block; }
.phone__view img { width: 100%; height: auto; }
@media (hover: hover) { .demo a:hover .phone { transform: translateY(-8px); } }

/* ---------- 8. 타일 (이런 사장님께 · 기능) ---------- */
.tiles { display: grid; gap: 16px; }
.tile { padding: 32px 28px; border-radius: var(--tile-r); background: var(--gray); }
.sec--gray .tile { background: var(--bg); }
.tile h3 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; }
.tile p { margin-top: 10px; font-size: 16px; color: var(--text-2); }
.tile svg { width: 36px; height: 36px; margin-bottom: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.bento { display: grid; gap: 16px; }
.tile__label { font-size: 15px; font-weight: 600; color: var(--text-2); margin: 0 0 8px !important; }
.tile--wide h3 { font-size: 28px; }
.tile .tile__big { margin-top: 0; font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -0.06em; color: var(--text) !important; }
.tile--num p:last-child { margin-top: 14px; }
/* 기기 3종 그림 (반응형) */
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 4%; margin-top: 32px; }
.dev { display: block; border: 2.5px solid var(--text); border-radius: 10px; background: var(--bg); position: relative; }
.dev::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: linear-gradient(var(--accent) 0 18%, transparent 18% 30%, var(--line) 30% 40%, transparent 40% 52%, var(--line) 52% 62%, transparent 62%); opacity: .9; }
.dev--pc { width: min(170px, 48%); aspect-ratio: 170 / 112; border-radius: 10px 10px 4px 4px; }
.dev--tab { width: min(82px, 23%); aspect-ratio: 82 / 108; }
.dev--ph { width: min(46px, 13%); aspect-ratio: 46 / 92; border-radius: 12px; }
.dev--ph::after { inset: 6px 5px; }

/* ---------- 9. 가격 ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 28px 32px; border-radius: var(--tile-r); background: var(--bg);
}
.plan__tag { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
.plan__name { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.plan__sum { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.plan__price { margin: 20px 0 24px; font-size: 20px; font-weight: 600; }
.plan__price b { font-size: 56px; font-weight: 700; letter-spacing: -0.05em; margin-right: 2px; font-variant-numeric: tabular-nums; }
.plan .btn { width: 100%; max-width: 260px; padding: 0 12px; font-size: 16px; white-space: normal; text-align: center; }
.plan__list { align-self: stretch; display: grid; gap: 14px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.care {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 16px; padding: 28px; border-radius: var(--tile-r); background: var(--bg);
}
.care h3 { font-size: 19px; font-weight: 700; }
.care__opt { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--gray); font-size: 12px; font-weight: 600; color: var(--text-2); vertical-align: 2px; }
.care p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.care .care__amt { margin: 0; font-size: 17px; color: var(--text); white-space: nowrap; }
.care__amt b { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }

/* ---------- 10. 진행 과정 (실제 순서라 번호 사용) ---------- */
.steps { counter-reset: step; margin: 0 auto; padding: 0; display: grid; max-width: 520px; }
.steps li { position: relative; counter-increment: step; padding: 0 0 32px 56px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line); color: var(--text-3); font-size: 15px; font-weight: 700;
  transition: background-color .4s, border-color .4s, color .4s;
  transition-delay: calc(var(--i, 0) * .3s);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 17.25px; top: 36px; bottom: 0; width: 1.5px;
  background: linear-gradient(var(--text), var(--text)) 0 0 / 100% 0% no-repeat, var(--line);
  transition: background-size .3s linear; transition-delay: calc(var(--i, 0) * .3s + .15s);
}
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: 19px; font-weight: 700; line-height: 36px; letter-spacing: -0.02em; }
.steps p { font-size: 16px; color: var(--text-2); }
.steps.is-drawn li::before { background: var(--text); border-color: var(--text); color: #fff; }
.steps.is-drawn li::after { background-size: 100% 100%; }
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }
.steps li:nth-child(4) { --i: 3; }
.steps li:nth-child(5) { --i: 4; }

/* ---------- 11. 약속 (검은 타일) ---------- */
.promise { padding: 56px 28px; border-radius: var(--tile-r); background: #000; color: #f5f5f7; text-align: center; }
.promise__title { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.035em; }
.promise__list { display: grid; gap: 28px; margin-top: 40px; }
.promise__list li { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.promise__list li::before { /* 체크 */
  content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--accent) center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 44px 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.8px; margin-top: -1px;
  background: var(--text); border-radius: 2px; transition: transform .35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details > div { padding: 0 8px 26px 0; color: var(--text-2); font-size: 17px; }

/* ---------- 13. 상담 폼 ---------- */
.contact__note { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.form, .done { padding: 32px 22px; border-radius: var(--tile-r); background: var(--bg); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.req, .opt { margin-left: 4px; font-size: 12px; font-weight: 600; }
.req { color: var(--danger); }
.opt { color: var(--text-3); }
.form input[type="text"], .form input[type="url"], .form select {
  width: 100%; min-height: 54px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 12px; background: var(--gray);
  font-size: 17px; /* 16px 미만이면 iOS가 확대함 */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--gray) right 16px center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form input::placeholder { color: var(--text-3); }
.form input:focus, .form select:focus { outline: none; background-color: var(--bg); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(33, 86, 243, .15); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.hint { font-size: 13px; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { padding: 16px; border-radius: 12px; background: var(--gray); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.consent__more summary { margin-top: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.consent__more p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.consent__more a, .form__alt a { color: var(--accent); }
.form__error { padding: 12px 14px; border-radius: 12px; background: #fff0f0; color: var(--danger); font-size: 15px; }
.form__alt { text-align: center; font-size: 14px; color: var(--text-2); }

.done { text-align: center; padding: 48px 22px; }
.done:focus { outline: none; }
.done__icon { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done__icon circle { fill: var(--accent); transform-origin: center; }
.done__icon path { stroke: #fff; stroke-width: 4; }
.done h3, .done__title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.done p { margin: 8px 0 24px; color: var(--text-2); }

/* ---------- 14. 푸터 ---------- */
.footer { padding: 32px 0 calc(100px + env(safe-area-inset-bottom)); background: var(--gray); color: var(--text-2); font-size: 12px; border-top: 1px solid rgba(0, 0, 0, .06); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer .brand { font-size: 15px; color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.footer__links a { color: var(--text); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__meta { display: grid; gap: 4px; padding-top: 16px; }
.footer__meta a { color: var(--text); }

/* ---------- 15. 하단 고정 버튼 (모바일) ---------- */
.sticky-cta {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(33, 86, 243, .55);
  transform: translateY(calc(100% + 30px)); transition: transform .5s var(--ease-out);
}
.sticky-cta.is-on { transform: none; }

/* =========================================================
   16. 움직임 — 사용자가 움직임 줄이기를 원하지 않을 때만
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* 히어로: 글이 먼저, 폰이 아래에서 떠오름 */
  .js .hero__title, .js .hero__lead, .js .hero__cta, .js .hero__price { animation: fade-up 1s var(--ease-out) both; }
  .js .hero__lead { animation-delay: .08s; }
  .js .hero__cta { animation-delay: .16s; }
  .js .hero__price { animation-delay: .24s; }
  .js .hphone { animation: phone-up 1.3s var(--ease-out) both; }
  .js .hphone--c { animation-delay: .3s; }
  .js .hphone--l, .js .hphone--r { animation-delay: .45s; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
  @keyframes phone-up { from { opacity: 0; translate: 0 120px; } }

  /* 데모: 보이는 동안 폰 속 사이트를 천천히 훑음 (카드마다 시작 지점 다름) */
  .js .phone__view picture { animation: demo-scroll 16s cubic-bezier(.45, 0, .55, 1) infinite; animation-play-state: paused; }
  .js .demo.is-playing .phone__view picture { animation-play-state: running; }
  .js .demo:nth-child(2) .phone__view picture { animation-delay: -5s; }
  .js .demo:nth-child(3) .phone__view picture { animation-delay: -10s; }
  @keyframes demo-scroll {
    0%, 10% { transform: translateY(0); }
    80%, 88% { transform: translateY(calc(-100% + 100cqh)); }
    100% { transform: translateY(0); }
  }

  /* 섹션 등장 */
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }

  /* 반응형 타일: 기기가 차례로 */
  .js .devices .dev { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .js .is-in .devices .dev { opacity: 1; transform: none; }
  .js .is-in .devices .dev--tab { transition-delay: .15s; }
  .js .is-in .devices .dev--ph { transition-delay: .3s; }

  /* 접수 완료 체크 */
  .done:not([hidden]) .done__icon circle { animation: pop .5s var(--ease-out) both; }
  .done:not([hidden]) .done__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .25s var(--ease-out) forwards; }
  @keyframes pop { from { transform: scale(.5); opacity: 0; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steps li::before, .steps li::after, .btn, .phone, .sticky-cta, .faq summary::after { transition: none; }
}

/* ---------- 17. 태블릿 ≥ 768px ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .br-m { display: none; }
  .sec { padding: 120px 0; }
  .sec--tight { padding-top: 0; }
  .sec__head { margin-bottom: 56px; }
  .sec__title { font-size: 48px; line-height: 1.12; }
  .sec__lead { font-size: 19px; }

  .hero { padding-top: 88px; }
  .hero__title { font-size: 64px; line-height: 1.08; }
  .hero__lead { font-size: 21px; }
  .hero__cta { flex-direction: row; justify-content: center; gap: 28px; }
  .hero__stage { height: 500px; margin-top: 48px; }
  .hphone { width: 260px; bottom: -80px; border-radius: 48px; padding: 9px; }
  .hphone__screen { border-radius: 40px; }
  .hphone--l, .hphone--r { width: 228px; bottom: -150px; }
  .hphone--l { transform: translateX(calc(-50% - 230px - var(--p) * 40px)) rotate(calc(var(--p) * -3deg)); }
  .hphone--r { transform: translateX(calc(-50% + 230px + var(--p) * 40px)) rotate(calc(var(--p) * 3deg)); }

  .demos { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; overflow: visible; padding: 0 var(--gutter); }
  .demo { max-width: none; }

  .tiles--3 { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile--wide { grid-column: span 2; }
  .tile { padding: 40px 36px; }

  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan { padding: 40px 20px 32px; }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: none; text-align: center; }
  .steps li { padding: 56px 0 0; }
  .steps li::before { left: 50%; transform: translateX(-50%); }
  .steps li:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% - 2px); top: 17.25px; bottom: auto; width: auto; height: 1.5px; background-size: 0% 100%, auto; }
  .steps.is-drawn li:not(:last-child)::after { background-size: 100% 100%, auto; }
  .steps h3 { line-height: 1.4; margin-bottom: 6px; font-size: 17px; }
  .steps p { font-size: 15px; }

  .promise { padding: 88px 48px; }
  .promise__title { font-size: 48px; }
  .promise__list { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
  .promise__list li { font-size: 22px; }

  .form, .done { padding: 48px; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}

/* ---------- 18. PC ≥ 1080px ---------- */
@media (min-width: 1080px) {
  .nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
  .nav a { color: var(--text); opacity: .8; text-decoration: none; transition: opacity .2s; }
  .nav a:hover { opacity: 1; }
  .hero__title { font-size: 80px; }
  .sec__title { font-size: 56px; }
  .hero__stage { height: 560px; }
  .hphone { width: 290px; }
  .hphone--l, .hphone--r { width: 254px; }
  .hphone--l { transform: translateX(calc(-50% - 280px - var(--p) * 60px)) rotate(calc(var(--p) * -4deg)); }
  .hphone--r { transform: translateX(calc(-50% + 280px + var(--p) * 60px)) rotate(calc(var(--p) * 4deg)); }
  .demos { gap: 20px; }
  .tile--wide h3 { font-size: 34px; }
  .tile .tile__big { font-size: 120px; }
}

/* ---------- 19. 아주 좁은 화면 (≤ 359px) ---------- */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hphone--l, .hphone--r { display: none; }
  .tile .tile__big { font-size: 72px; }
}
