/* sbpapps.com 앱 전용 페이지 공용 스타일. 색은 각 페이지 body 클래스(.t-etoile .t-lock .t-soban)가 바꾼다. */
:root { --bg:#FAF1E6; --fg:#1A2F2A; --muted:rgba(26,47,42,.64); --line:rgba(26,47,42,.14); --card:#FFFDF9; --accent:#1F8A70; --on-accent:#fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--fg); line-height:1.7; font-size:17px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
img, video { display:block; max-width:100%; }
a { color:var(--accent); text-underline-offset:3px; }
a:focus-visible, summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
.wrap { width:min(1040px, 100% - 40px); margin:0 auto; }
h1, h2, h3 { margin:0; line-height:1.25; letter-spacing:-.02em; }
h2 { font-size:clamp(26px,4vw,36px); }
h3 { font-size:19px; }
p { margin:0; }
section { padding-top:clamp(56px,8vw,96px); }
.lede { color:var(--muted); max-width:36em; margin-top:12px; }
.en { color:var(--muted); font-size:14px; margin-top:6px; }

.top { display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:15px; }
.top a { color:inherit; text-decoration:none; opacity:.8; }
.top a:hover { opacity:1; }
.top .brand { font-weight:600; opacity:1; letter-spacing:-.01em; }

.hero { display:grid; gap:32px; align-items:center; padding-top:16px; }
@media (min-width:820px) { .hero { grid-template-columns:1.15fr .85fr; gap:56px; } }
.appicon { width:84px; height:84px; border-radius:20px; margin-bottom:22px; box-shadow:0 6px 22px rgba(0,0,0,.18); }
.hero h1 { font-size:clamp(38px,7vw,64px); letter-spacing:-.03em; }
.tagline { font-size:clamp(19px,2.6vw,24px); margin-top:10px; }
.hero .lede { font-size:18px; margin-top:18px; }
.cta { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:28px; }
.btn { display:inline-block; padding:13px 26px; border-radius:999px; background:var(--accent); color:var(--on-accent);
  text-decoration:none; font-weight:600; }
a.btn:hover { filter:brightness(1.08); }
.btn.off { opacity:.7; cursor:default; }
.meta { font-size:14px; color:var(--muted); }
.hero-shot { justify-self:center; width:min(300px,76vw); }
.hero-shot img { width:100%; height:auto; border-radius:22px; filter:drop-shadow(0 18px 36px rgba(0,0,0,.28)); }
.badge { display:inline-block; font-size:13px; padding:3px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); margin-bottom:14px; }

.points { display:grid; gap:28px 36px; margin-top:32px; }
@media (min-width:760px) { .points { grid-template-columns:repeat(3,1fr); } }
.points h3 { margin-bottom:8px; }
.points p { color:var(--muted); }

.shots { display:flex; gap:18px; margin-top:32px; overflow-x:auto; padding:4px 2px 18px; scroll-snap-type:x mandatory; }
.shots figure { margin:0; flex:none; width:min(230px,62vw); scroll-snap-align:start; }
.shots img { width:100%; height:auto; border-radius:22px; }
.shots figcaption { margin-top:12px; font-size:14px; color:var(--muted); line-height:1.55; }
.shots figcaption b { display:block; color:var(--fg); font-size:15px; margin-bottom:2px; }
.shots.fit { overflow:visible; display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.shots.fit figure { width:auto; }

.steps { counter-reset:s; display:grid; gap:36px 28px; margin-top:32px; }
@media (min-width:720px) { .steps { grid-template-columns:repeat(4,1fr); } }
.steps figure { margin:0; }
.steps img { width:100%; max-width:240px; height:auto; border-radius:20px; margin-bottom:14px; }
.steps h3::before { counter-increment:s; content:counter(s) ". "; color:var(--accent); }
.steps p { color:var(--muted); font-size:15px; margin-top:6px; }

.feat { display:grid; gap:0 48px; margin:28px 0 0; }
@media (min-width:760px) { .feat { grid-template-columns:1fr 1fr; } }
.feat > div { padding:18px 0; border-top:1px solid var(--line); }
.feat dt { font-weight:600; }
.feat dd { margin:4px 0 0; color:var(--muted); font-size:16px; }

.film { display:grid; gap:28px; align-items:center; margin-top:32px; }
@media (min-width:760px) { .film { grid-template-columns:.8fr 1.2fr; } }
.film video { width:min(260px,70vw); border-radius:20px; justify-self:center; }

.langs { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.langs span { padding:5px 14px; border:1px solid var(--line); border-radius:999px; font-size:15px; }

.faq { margin-top:24px; max-width:44em; }
.faq details { border-top:1px solid var(--line); padding:14px 0; }
.faq details:last-child { border-bottom:1px solid var(--line); }
.faq summary { cursor:pointer; font-weight:600; }
.faq details p { color:var(--muted); margin-top:8px; font-size:16px; }

.docs { display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:20px; }
footer { margin-top:clamp(64px,9vw,110px); padding:30px 0 48px; border-top:1px solid var(--line); font-size:14px; color:var(--muted); }
footer a { color:inherit; }

/* 에투알 스냅 — 밤하늘 */
.t-etoile { --bg:#04050B; --fg:#F1ECE2; --muted:#A9ACBB; --line:rgba(241,236,226,.16); --accent:#D9C79E; --on-accent:#04050B; --card:#080C1C;
  background:radial-gradient(120% 60% at 50% 105%, #121C3D 0, #080C1C 55%, #04050B 100%) fixed; }
.t-etoile h1, .t-etoile h2, .t-etoile .tagline { font-family:"Cormorant Garamond", Georgia, "Nanum Myeongjo", "Apple SD Gothic Neo", serif; font-weight:400; }
.t-etoile h1 { font-style:italic; font-weight:300; }
.t-etoile .lede, .t-etoile .hero .lede { color:#C9CAD6; }

/* 락비피엠 — 에메랄드 */
.t-lock { --bg:#F4F8F6; --fg:#0F2A24; --muted:rgba(15,42,36,.64); --line:rgba(15,42,36,.14); --accent:#00A878; --on-accent:#fff; }
.t-lock a:not(.btn) { color:#008a63; }
.t-lock .shots img { box-shadow:0 8px 26px rgba(15,42,36,.14); }

/* 소반 — 한지빛 바탕, 단청 다섯 색 줄 */
.t-soban { --bg:#F3F1EA; --fg:#2A2723; --muted:rgba(42,39,35,.66); --line:rgba(42,39,35,.14); --accent:#C0392B; --on-accent:#fff; }
.t-soban h1 { font-family:"Nanum Myeongjo","Apple SD Gothic Neo",serif; font-weight:800; }
.t-soban .dancheong { display:flex; width:200px; height:4px; margin-top:16px; }
.t-soban .dancheong i { flex:1; }
.t-soban .shots img { box-shadow:0 10px 28px rgba(42,39,35,.16); }
.t-soban .appicon { box-shadow:0 6px 22px rgba(0,0,0,.22); }
