/* 멍케어 소개 페이지 — 색은 앱(src/index.css :root·다크)과 같은 값. 반응형 명세: ../자료용/자료/homepage-responsive-spec.md */
:root {
  --bg: #ffffff; --surface: #fff; /* 소개 페이지는 항상 흰 배경(다크 모드 없음) */ --border: #d6e4f5; --text: #2b2320; --soft: #7a6f63;
  --accent: #4b90e2; --accent-soft: #dde9fa; --accent-strong: #2f6fbd;
  /* 버튼: 흰 글씨 대비 4.5:1 이상(자료용 점검 — #4b90e2는 3.29:1이라 한 단계 진하게) */
  --btn: #2f6fbd; --btn-hover: #2a64ad; --btn-text: #fff;
  --teal: #1d7673; --teal-bg: #d9f1ef; --violet: #5b4fb8; --violet-bg: #e8e5fa; --rose: #b0406c; --rose-bg: #fae0ea;
  --shadow: 0 4px 14px rgba(43, 35, 32, 0.07); --phone-shadow: 0 18px 40px rgba(43, 70, 120, 0.18);
  --radius: 20px; --gutter: 20px; --head: 56px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; --head: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.3; }
p { margin: 0; }
figure { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.small { font-size: 14px; margin-top: 18px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 14px; background: var(--btn); color: var(--btn-text); font-weight: 800; text-decoration: none; border: none; font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 16px rgba(75, 144, 226, 0.28); transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--accent-soft); }

/* 1. 헤더 */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top-in { height: var(--head); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--accent-soft); }
.menu-btn { display: none; width: 44px; height: 44px; border: none; background: none; color: var(--text); border-radius: 12px; align-items: center; justify-content: center; }
@media (max-width: 719px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--head); left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--gutter) 12px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 16px; }
  .top-in .btn-sm { margin-left: auto; }
  .brand { margin-right: 0; }
}

/* 2. 히어로 */
.hero { padding: 28px 0 44px; }
.hero-in { display: grid; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: var(--accent-strong); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
h1 { font-size: clamp(32px, 7.4vw, 54px); font-weight: 800; }
.lead { margin-top: 14px; font-size: clamp(16px, 2.2vw, 19px); color: var(--soft); max-width: 30em; }
.cta-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.note { margin-top: 12px; font-size: 13.5px; color: var(--soft); }
.qr { display: none; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 16px 12px 12px; width: fit-content; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; font-size: 14px; color: var(--soft); line-height: 1.45; }
.qr img { border-radius: 8px; background: #fff; }
.qr b { color: var(--text); }
.hero-shots { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: min(280px, 72vw); border-radius: 28px; overflow: hidden; border: 6px solid var(--surface); background: var(--surface); box-shadow: var(--phone-shadow); }
.phone img { width: 100%; }
.tag { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(43, 35, 32, 0.62); padding: 3px 9px; border-radius: 999px; }
.phone-back { display: none; }
@media (max-width: 719px) {
  .cta-row .btn { flex: 1 1 100%; }
  .hero-shots .phone { width: min(260px, 70vw); }
}
@media (min-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .hero-in { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
}
@media (min-width: 1024px) {
  .hero { padding: 64px 0 88px; }
  .qr { display: flex; }
  .hero-shots { min-height: 560px; align-items: center; }
  .phone-back { display: block; position: absolute; left: 4%; top: 30px; width: 250px; transform: rotate(-5deg); opacity: 0.95; }
  .phone-front { margin-left: 110px; width: 280px; }
}

/* 섹션 공통 */
section { padding: 40px 0; } /* 휴대폰: 구역 사이 빈칸 줄임(점검 2026-10-27) */
@media (min-width: 720px) { section { padding: 52px 0; } }
@media (min-width: 1024px) { section { padding: 80px 0; } }
.sec-title { font-size: clamp(25px, 4.4vw, 36px); font-weight: 800; text-align: center; margin-bottom: 28px; }
.sec-title-sm { font-size: clamp(21px, 3.4vw, 26px); }

/* 3. 이럴 때 */
.when { padding-top: 24px; }
.when-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1024px) { .when-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.when-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform 0.15s ease; }
.when-card:hover { transform: translateY(-2px); }
.when-card b { font-size: 15.5px; line-height: 1.4; }
.when-card > span:last-child { font-size: 13.5px; color: var(--accent-strong); font-weight: 600; }
.ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-teal { background: var(--teal-bg); color: var(--teal); }
.ic-blue { background: var(--accent-soft); color: var(--accent-strong); }
.ic-rose { background: var(--rose-bg); color: var(--rose); }
.ic-violet { background: var(--violet-bg); color: var(--violet); }
.ic-teal-t { color: var(--teal); } .ic-blue-t { color: var(--accent-strong); } .ic-rose-t { color: var(--rose); } .ic-violet-t { color: var(--violet); }

/* 4. 기능 */
.features { padding-top: 24px; }
.feature { display: grid; gap: 24px; align-items: center; justify-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.f-text { max-width: 34em; display: flex; flex-direction: column; gap: 10px; }
.f-kicker { font-weight: 800; font-size: 15px; }
.feature h3 { font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; margin-bottom: 4px; }
.f-text p:not(.f-kicker) { color: var(--soft); font-size: 16.5px; }
.f-text b { color: var(--text); }
.f-note { font-size: 14px !important; padding: 10px 12px; border-radius: 12px; background: var(--rose-bg); color: var(--text) !important; }
.phones-2 { display: flex; gap: 14px; justify-content: center; }
.phones-2 .phone { width: min(220px, 44vw); border-width: 4px; border-radius: 22px; }
@media (min-width: 720px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; padding: 44px 0; }
  .feature:nth-of-type(even) .f-text { order: 2; }
  .feature .phone { width: 280px; }
  .phones-2 .phone { width: min(230px, 22vw); }
}

/* 5. 그 밖에 */
.more { padding-top: 12px; }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .more-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.more-grid li { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; gap: 4px; }
.more-grid b { font-size: 15.5px; }
.more-grid span { font-size: 13.5px; color: var(--soft); line-height: 1.5; }

/* 6. 시작 방법 */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.steps li { position: relative; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.steps b { font-size: 18px; }
.steps li > span:last-child { color: var(--soft); font-size: 15px; }
.steps em { font-style: normal; font-weight: 700; color: var(--text); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: var(--btn-text); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }

/* 7. 믿을 수 있게 */
.trust-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.trust-card { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.trust-card b { display: block; font-size: 17px; margin-bottom: 6px; }
.trust-card p { color: var(--soft); font-size: 15px; }

/* 8. FAQ */
.faq-in { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--soft); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; color: var(--soft); font-size: 15.5px; }

/* 9. 마지막 CTA */
.final-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 44px; padding-bottom: 44px; background: var(--accent-soft); border-radius: 28px; }
.final-in img { border-radius: 16px; }
.final h2 { font-size: clamp(24px, 4.2vw, 34px); font-weight: 800; }
.final .btn { width: min(320px, 100%); }
.final .note { margin-top: -6px; color: var(--text); }
@media (max-width: 719px) { .final .wrap { border-radius: 0; } }

/* 10. 푸터 */
.foot { padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); font-size: 14px; color: var(--soft); }
.foot-in { display: grid; gap: 20px; }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1fr auto; align-items: start; } }
.foot p { margin-bottom: 8px; }
.foot-brand { font-size: 16px; margin-bottom: 10px; }
.foot-brand img { border-radius: 6px; }
.disclaimer { font-size: 13px; max-width: 36em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; } /* 누르기 쉬운 크기 44px */
.foot-links a:hover { text-decoration: underline; }
.copy { font-size: 12.5px; margin-top: 12px; }

/* 앱 안 브라우저 안내 띠 */
/* 설치 방법 펼치기 */
.howto { margin-top: 6px; font-size: 14.5px; }
.howto summary { cursor: pointer; color: var(--accent-strong); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.howto-os { font-weight: 800; margin-top: 8px !important; color: var(--text); }
.howto ol { margin: 4px 0 0; padding-left: 20px; color: var(--soft); }
.howto em { font-style: normal; font-weight: 700; color: var(--text); }
.pc-note { display: none; }
@media (min-width: 1024px) { .pc-note { display: block; max-width: 30em; } }
.steps .howto li { display: list-item; padding: 2px 0; background: none; border: none; border-radius: 0; box-shadow: none; gap: 0; font-size: 14px; color: var(--soft); }

/* 만든 사람 이야기 */
.story-in { max-width: 760px; text-align: center; }
.story-kicker { font-weight: 800; color: var(--accent-strong); font-size: 15px; margin-bottom: 8px; }
.story-title { font-size: clamp(24px, 4.2vw, 34px); font-weight: 800; margin-bottom: 24px; }
.story-card { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.story-lead { font-size: 17px; line-height: 1.75; }
.story-lead b { color: var(--accent-strong); }
.story-more { margin-top: 14px; }
.story-more summary { cursor: pointer; color: var(--accent-strong); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.story-body { padding-top: 6px; }
.story-body h3 { font-size: 16.5px; font-weight: 800; margin: 16px 0 6px; }
.story-body p, .story-body li { color: var(--soft); font-size: 15.5px; line-height: 1.75; }
.story-body ul { margin: 0; padding-left: 20px; }
.story-sign { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.story-sign p { font-size: 15.5px; }
.story-name { margin-top: 6px; color: var(--soft); font-size: 14px !important; }

/* ── 배경 로고: 크게·흐리게·고정(스크롤해도 제자리). iOS 사파리는 background-attachment:fixed가 불안정해 body::before로 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("/icon-512.png?v=6") center / min(78vw, 620px) no-repeat;
  opacity: 0.07; mix-blend-mode: multiply;
}
body { background: transparent; }
html { background: var(--bg); }
.top { background: color-mix(in srgb, var(--bg) 80%, transparent); }


/* ═══ 2026-10-26 개편: 색·슬로건·누르면 바뀌는 휴대폰 ═══ */
:root {
  /* 비서 강아지마다 색(글씨 대비 4.5:1 이상): 여름=파랑, 가을=호박, 겨울=보라 */
  --c-blue: #2f6fbd; --c-blue-bg: #e8f0fd;
  --c-amber: #a3501c; --c-amber-bg: #fff0e2;
  --c-violet: #5b4fb8; --c-violet-bg: #eeebfd;
}
.svc { --tc: var(--btn); --tb: #eef2f7; } /* 깔끔하게: 설명 창은 모두 대표 파랑 하나 + 회색 */

/* 글 읽기 쉽게: 제목 속 강조 단어에 색, 본문 강조는 진하게 */
.sec-title em, .final h2 em { font-style: normal; color: var(--btn); }
.sec-title em.v, .sec-title em.a { color: var(--btn); }

/* 히어로 배경: 은은한 색 번짐(파랑·복숭아·보라) */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: -10% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 45% at 80% 25%, rgba(75, 144, 226, 0.10), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--btn); box-shadow: 0 0 0 4px rgba(47, 111, 189, 0.15); }
/* 슬로건: "우리 아이"는 작게, "맞춤형 AI"는 크게·그라데이션, "맞춤형"에 형광펜 */
h1 { display: flex; flex-direction: column; gap: 2px; }
.h1-sub { font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; color: var(--soft); letter-spacing: -0.02em; }
/* 아이폰 사파리에서 글씨가 사라지던 그라데이션 글씨(background-clip:text) 대신 단색 — "맞춤형"은 파랑 + 형광펜(배경 그라데이션), "AI"는 보라 */
.h1-main { font-size: clamp(54px, 13vw, 96px); font-weight: 900; line-height: 1.08; letter-spacing: -0.045em; color: var(--text); }
.h1-main mark { color: var(--c-blue); background: linear-gradient(transparent 64%, #ffe1c2 64%, #ffe9a8 92%, transparent 92%); padding: 0 0.04em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(17px, 2.3vw, 20px); color: var(--text); max-width: 26em; }
.lead b { color: var(--text); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.pt { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); padding: 6px 12px; border-radius: 999px; background: #f3f5f8; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
.pt .ic { width: 16px; height: 16px; color: var(--soft); }

/* ── 휴대폰 데모 */
.demo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }
.demo-hint { font-size: 15px; font-weight: 800; color: #fff; background: var(--btn); padding: 8px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(47, 111, 189, 0.3); }
.demo-hint .hand { display: inline-block; animation: hand 1.2s ease-in-out infinite; }
@keyframes hand { 50% { transform: translateY(5px) rotate(180deg) translateY(-2px); } 0%, 100% { transform: rotate(180deg); } }
.demo-phone { width: min(300px, 76vw); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.demo.launch .demo-phone { transform: scale(1.05); box-shadow: 0 30px 60px rgba(47, 111, 189, 0.35); }
/* 화면 바꾸기: 겹쳐 둔 화면을 부드럽게 확대·흐림 → 선명하게 */
.screens { position: relative; aspect-ratio: 300 / 649; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); filter: blur(6px); transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.42s ease; }
.scr.on { opacity: 1; transform: none; filter: none; }
/* 탭 줄 위 안내: 점선 테두리가 숨쉬듯 + "여기를 눌러 보세요" */
.nav-glow { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 10%; border: 2.5px dashed var(--btn); border-radius: 16px; pointer-events: none; animation: glow 1.6s ease-in-out infinite; }
.nav-glow span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 800; color: #fff; background: var(--btn); padding: 5px 12px; border-radius: 999px; }
.nav-glow span::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--btn); }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(47, 111, 189, 0.18); border-color: rgba(47, 111, 189, 0.6); } }
.demo.tried .nav-glow, .demo.tried .demo-hint, .demo.tried .ping { display: none; }
.hots { position: absolute; left: 0; right: 0; bottom: 0; height: 10%; display: grid; grid-template-columns: repeat(5, 1fr); }
.hot { position: relative; border: none; background: transparent; cursor: pointer; border-radius: 12px; padding: 0; }
.hot:hover { background: rgba(47, 111, 189, 0.1); }
.hot[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--btn); }
.hot:focus-visible { outline: 3px solid var(--btn); outline-offset: -3px; }
.ping { position: absolute; top: 6px; right: 22%; width: 8px; height: 8px; border-radius: 50%; background: var(--btn); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--btn); animation: ping 1.6s ease-out infinite; }
.hot:nth-child(2) .ping::after { animation-delay: 0.3s; } .hot:nth-child(3) .ping::after { animation-delay: 0.6s; }
.hot:nth-child(4) .ping::after { animation-delay: 0.9s; } .hot:nth-child(5) .ping::after { animation-delay: 1.2s; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 떠 있는 알림 카드(예시, 넓은 화면에서만) */
.float { display: none; }
@media (min-width: 1024px) {
  .demo-phone { width: 300px; }
  .floats { display: contents; }
  .float { display: flex; align-items: center; gap: 8px; position: absolute; z-index: 2; font-size: 14px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(43, 70, 120, 0.15); animation: floaty 4s ease-in-out infinite; }
  .f1 { left: -22%; top: 24%; } .f2 { right: -16%; top: 48%; animation-delay: 1.2s; } .f3 { left: -18%; bottom: 20%; animation-delay: 2.4s; }
  .float .ic { color: var(--btn); }
  .floats .float { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.35s ease, transform 0.35s ease; }
  .demo[data-cur="assistant"] [data-for="assistant"] .float, .demo[data-cur="checklist"] [data-for="checklist"] .float, .demo[data-cur="profile"] [data-for="profile"] .float,
  .demo[data-cur="calendar"] [data-for="calendar"] .float, .demo[data-cur="budget"] [data-for="budget"] .float { opacity: 1; transform: none; }
  .floats .f2 { transition-delay: 0.08s; } .floats .f3 { transition-delay: 0.16s; }
}
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ── 기능 설명 창: 휴대폰이 살짝 커졌다가, 창이 아래에서 떠오르고 강아지가 통통 등장, 카드가 차례로 */
.svc-wrap { display: grid; gap: 20px; }
.svc { display: none; gap: 22px; padding: 24px; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--phone-shadow); background: #fff; }
.hero.open .hero-in { display: none; }
.svc.on { display: grid; animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.97); } }
.svc:focus { outline: none; }
.svc-head { display: flex; align-items: flex-end; gap: 12px; }
.svc-dog { width: 130px; height: auto; flex-shrink: 0; filter: drop-shadow(0 10px 14px rgba(43, 35, 32, 0.18)); }
.svc.on .svc-dog { animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(0.6); } }
.svc-bubble { position: relative; flex: 1; background: #fff; border: 2px solid var(--tb); border-radius: 22px; padding: 16px 18px; margin-bottom: 22px; box-shadow: var(--shadow); }
.svc-bubble::before { content: ""; position: absolute; left: -9px; bottom: 22px; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--tb); border-bottom: 2px solid var(--tb); transform: rotate(45deg); }
.svc.on .svc-bubble { animation: bubble 0.45s ease 0.35s both; }
@keyframes bubble { from { opacity: 0; transform: scale(0.85); transform-origin: left bottom; } }
.svc-who { font-weight: 800; font-size: 14px; color: var(--tc); }
.svc-who span { font-weight: 600; color: var(--soft); }
.svc-bubble h2 { font-size: clamp(26px, 4.6vw, 34px); font-weight: 900; margin: 2px 0 8px; color: var(--text); }
.svc-say { font-size: 17px; line-height: 1.65; }
.svc-say em { font-style: normal; font-weight: 800; color: var(--tc); }
.svc-body { display: grid; gap: 16px; }
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-cards li { padding: 14px 16px; background: #f7f9fc; border: none; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.svc-cards b { font-size: 16.5px; color: var(--text); }
.svc-cards span { color: var(--soft); font-size: 15px; line-height: 1.6; }
.svc-cards span b, .spot p b { color: var(--text); font-size: inherit; }
.svc.on .svc-cards li, .svc.on .spot { animation: fadeup 0.45s ease both; }
.svc.on .svc-cards li:nth-child(1) { animation-delay: 0.45s; } .svc.on .svc-cards li:nth-child(2) { animation-delay: 0.53s; }
.svc.on .svc-cards li:nth-child(3) { animation-delay: 0.61s; } .svc.on .svc-cards li:nth-child(4) { animation-delay: 0.69s; }
.svc.on .svc-cards li:nth-child(5) { animation-delay: 0.77s; } .svc.on .svc-cards li:nth-child(6) { animation-delay: 0.85s; }
.svc.on .spot:nth-child(1) { animation-delay: 0.65s; } .svc.on .spot:nth-child(2) { animation-delay: 0.75s; } .svc.on .spot:nth-child(3) { animation-delay: 0.85s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
/* 체크리스트 안 하위 기능(건강 체크·사료 계산기·알림): 작은 화면 + 설명 */
.svc-spots { display: grid; gap: 12px; }
.spot { display: flex; gap: 14px; align-items: center; padding: 14px; background: #f7f9fc; border: none; border-radius: 18px; }
.spot .phone.mini { width: 120px; flex-shrink: 0; border-width: 3px; border-radius: 16px; }
.spot .tag { font-size: 9px; top: 6px; right: 6px; padding: 2px 6px; }
.spot b { font-size: 17px; color: var(--text); }
.spot p { color: var(--soft); font-size: 15px; line-height: 1.6; margin-top: 4px; }
.svc-note { font-size: 14.5px; line-height: 1.6; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--soft); }
.svc-shots { position: relative; display: flex; gap: 12px; justify-content: center; }
.svc-shots .phone.mini { width: min(200px, 42vw); border-width: 4px; border-radius: 22px; }
.svc-shots .tag { top: 8px; right: auto; left: 50%; transform: translateX(-50%); }
.svc-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.svc-foot .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(360px, 100%); }
.svc-back { width: min(360px, 100%); }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "head shots" "body shots" "foot foot"; align-items: start; padding: 36px; column-gap: 40px; }
  .svc-head { grid-area: head; } .svc-body { grid-area: body; } .svc-foot { grid-area: foot; }
  .svc-shots { grid-area: shots; position: sticky; top: calc(var(--head) + 16px); }
  .svc-shots .phone.mini { width: min(240px, 18vw); }
  .svc-dog { width: 170px; }
}

/* 나머지 구역 읽기 쉽게: 단계 번호·신뢰 카드에 색 */
.trust-card b { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  .scr, .demo-phone { transition: none; }
  .svc.on, .svc.on .svc-dog, .svc.on .svc-bubble, .svc.on .svc-cards li, .svc.on .spot, .demo-hint .hand, .nav-glow, .ping::after, .float { animation: none !important; }
}

@media (max-width: 719px) {
  .svc { padding: 18px 16px; }
  .svc-head { gap: 6px; }
  .svc-dog { width: 92px; }
  .svc-bubble { padding: 12px 14px; margin-bottom: 14px; }
  .svc-bubble h2 { font-size: 24px; }
  .svc-say { font-size: 16px; }
  .spot { align-items: flex-start; }
  .spot .phone.mini { width: 104px; }
}
.hero.open { padding-top: 44px; }

/* 휴대폰 아래 안내: 간략 미리보기 + 설명서로 */
.demo-cap { font-size: 14px; color: var(--soft); text-align: center; max-width: 300px; line-height: 1.6; }
.demo-cap b { color: var(--text); }
.demo-cap a { display: inline-block; margin-top: 2px; padding: 11px 4px; font-weight: 800; color: var(--btn); text-decoration: none; }
/* 비서 창: 세 친구 */
.svc-dogs { display: grid; gap: 10px; }
.svc-dogs-title { font-size: 15px; font-weight: 800; }
.svc-dogcard { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f7f9fc; border-radius: 16px; }
.svc-dogcard img { width: 76px; height: auto; flex-shrink: 0; }
.svc-dogcard p { font-size: 14.5px; color: var(--soft); line-height: 1.5; }
.svc-dogname { font-size: 17px !important; font-weight: 900; color: var(--text) !important; }
.svc-dogname span { font-size: 13px; font-weight: 600; color: var(--soft); }
.svc-dogrole { font-weight: 800; color: var(--btn) !important; }
.svc.on .svc-dogcard { animation: fadeup 0.45s ease both; }
.svc.on .svc-dogcard:nth-child(2) { animation-delay: 0.7s; } .svc.on .svc-dogcard:nth-child(3) { animation-delay: 0.8s; } .svc.on .svc-dogcard:nth-child(4) { animation-delay: 0.9s; }
@media (min-width: 720px) { .svc-dogs { grid-template-columns: repeat(3, 1fr); } .svc-dogs-title { grid-column: 1 / -1; } .svc-dogcard { flex-direction: column; text-align: center; } .svc-dogcard img { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .svc.on .svc-dogcard { animation: none; } .floats .float { transition: none; } }

/* 가이드북 띠(자료실 입구) — FAQ 위 */
.book-band { padding: 8px 0 28px; }
.band-in { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.band-in:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(43, 70, 120, 0.12); }
.band-ic { width: 34px; height: 34px; flex-shrink: 0; color: var(--btn); }
.band-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.band-text b { font-size: 17px; }
.band-text span { font-size: 14px; color: var(--soft); }
.band-go { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--btn); white-space: nowrap; }
.band-go .ic { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .band-in { transition: none; } }
.pad-link { display: inline-block; padding: 12px 8px; }
