/* 냥반장 랜딩 · 공유 링크 페이지. 색은 앱의 것 (catcaptain-android scripts/store_images/store.html) */
:root {
    --bg: #faf6f1; --card: #fff; --ink: #2c2c2a; --ink2: #5f5e5a; --sub: #8a8880;
    --line: #eee9df; --line2: #ded9cf; --point: #d85a30; --point-soft: #faece7; --point-ink: #993c1d;
    --butter: #ffe8ad;
    --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--point); }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 머리 */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 232, 173, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { border-radius: 9px; }
.top nav { display: flex; gap: 18px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink2); font-size: 15px; font-weight: 600; }
.top nav a:hover { color: var(--ink); }
.top-cta { text-decoration: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
@media (max-width: 560px) { .top nav { display: none; } .top-cta { margin-left: auto; } }

/* 히어로 */
.hero { background: var(--butter); padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--point-soft); color: var(--point-ink); font-size: 14px; font-weight: 700; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; }
.intro { margin: 18px 0 26px; font-size: 18px; color: var(--ink2); max-width: 30em; }
.free { margin: 12px 0 0; font-size: 14px; color: var(--ink2); }
.hero-art { position: relative; height: 420px; }
.cat { position: absolute; height: auto; aspect-ratio: 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 10px 28px rgba(120, 80, 20, .18); background: #fff; object-fit: cover; }
.stamp { position: absolute; left: 63%; top: 30%; width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--point); color: var(--point); background: rgba(255, 255, 255, .9);
    display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-14deg); line-height: 1.1; box-shadow: 0 6px 18px rgba(216, 90, 48, .2); }
.stamp b { font-size: 26px; font-weight: 900; }
.stamp small { font-size: 13px; font-weight: 800; }
@media (max-width: 820px) {
    .hero { padding: 40px 0 48px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-art { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
    .cat { transform: scale(.82); transform-origin: top left; }
}

/* 스토어 버튼 */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.15; }
.badge small { font-size: 11px; opacity: .85; }
.badge strong { font-size: 18px; font-weight: 700; }
.badge.soon { background: rgba(255, 255, 255, .7); color: var(--ink2); border: 1px dashed var(--line2); font-size: 15px; font-weight: 600; padding: 8px 18px; }

/* 기능 */
.feature { padding: 64px 0; }
.feature:nth-child(even) { background: #fff; }
.feature:nth-child(even) .shot { background: var(--bg); }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature.flip .feature-copy { order: 2; }
.kicker { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 6px; background: var(--point-soft); color: var(--point-ink); font-size: 14px; font-weight: 700; }
.feature h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.feature-copy p:last-child { margin: 16px 0 0; font-size: 17px; color: var(--ink2); max-width: 26em; }
.shot { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border-radius: 28px; }
@media (max-width: 760px) {
    .feature { padding: 48px 0; }
    .feature-inner { grid-template-columns: 1fr; gap: 20px; }
    .feature.flip .feature-copy { order: 0; }
}

/* 더 */
.more { padding: 72px 0; }
.more h2, .faq h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; text-align: center; margin-bottom: 28px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.more-card h3 { font-size: 19px; font-weight: 800; }
.more-card p { margin: 8px 0 0; color: var(--ink2); }
@media (max-width: 760px) { .more-grid { grid-template-columns: 1fr; } }

/* 자주 묻는 질문 */
.faq { padding: 72px 0; background: #fff; }
.faq-inner { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-size: 17px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--sub); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink2); }

/* 맺음 */
.closing { padding: 80px 0; background: var(--butter); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing img { border-radius: 22px; box-shadow: 0 10px 28px rgba(120, 80, 20, .18); }
.closing h2 { margin-top: 22px; font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; }
.closing p { margin: 14px 0 26px; font-size: 17px; color: var(--ink2); }
.closing .stores { justify-content: center; }

/* 바닥 */
footer { padding: 28px 0 40px; font-size: 14px; color: var(--sub); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* 공유 링크 페이지 (/catcaptain/open/) */
.open-body { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; background: var(--butter); }
.open-card { width: min(420px, 100% - 32px); margin: 32px auto; padding: 36px 24px 28px; background: #fff; border-radius: 28px; text-align: center; box-shadow: 0 16px 40px rgba(120, 80, 20, .16); }
.open-card img { border-radius: 22px; }
.open-card h1 { margin-top: 18px; font-size: 23px; font-weight: 800; }
.open-card p { margin: 10px 0 24px; color: var(--ink2); }
.open-actions { display: flex; flex-direction: column; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 16px; background: var(--point); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--line2); }
.btn.soon { color: var(--sub); border-style: dashed; }
.btn[hidden] { display: none; }
.open-about { display: inline-block; margin-top: 20px; font-size: 14px; color: var(--sub); }
