/* 캑터스랩스 홈페이지 — 브랜드: 민트 #2DD4BF→#34D399, 글꼴 Paperlogy (cactuslabs-marketing/brand-guide.md 7·8절) */
@font-face { font-family: "Paperlogy"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Paperlogy-5Medium.woff2?v=202611171330") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Paperlogy-6SemiBold.woff2?v=202611171330") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Paperlogy-8ExtraBold.woff2?v=202611171330") format("woff2"); }

:root {
  --mint-1: #2DD4BF;
  --mint-2: #34D399;
  --mint-ink: #0F766E;      /* 흰 바탕 위 민트 글자(대비 확보) */
  --ink: #0F1A1F;
  --ink-2: #3D4A52;
  --muted: #6B7780;
  --line: #E4E9EC;
  --bg: #FFFFFF;
  --bg-alt: #F5F8F8;
  --dark: #0E1A1C;
  --radius: 20px;
  --wrap: 1120px;
  --font: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 500; line-height: 1.6; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 34px; height: 34px; flex: none; }
.mark.sm { width: 40px; height: 40px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .lang { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }

/* 첫 화면 */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--mint-ink); margin-bottom: 18px; }
.eyebrow.dark { color: var(--mint-ink); }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: linear-gradient(90deg, var(--mint-1), var(--mint-2)); color: #fff; box-shadow: 0 6px 20px rgba(45,212,191,.32); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(45,212,191,.38); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #C9D3D8; }

.hero-panel { position: relative; aspect-ratio: 1; border-radius: 32px; background: linear-gradient(135deg, var(--mint-2), var(--mint-1)); overflow: hidden;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 7%; padding: 15%; align-content: center; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 15%, rgba(255,255,255,.35), transparent 55%); }
.hi { position: relative; width: 100%; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 16px 36px rgba(6,60,55,.26); }
.hi-2, .hi-4 { transform: translateY(18%); }

/* 섹션 */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 44px; }
.sec-head h2, .contact h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* 대표 서비스 */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.app-id { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.feature .app-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.tag { font-size: 13px; font-weight: 600; color: var(--mint-ink); }
.feature .tag { color: var(--mint-1); }
.feature h3 { font-size: 28px; }
.han { font-size: .62em; font-weight: 600; opacity: .6; margin-left: 4px; }
.feature .desc { color: rgba(255,255,255,.78); font-size: 16px; }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.store svg { width: 18px; height: 18px; }
.store:hover { transform: translateY(-1px); border-color: #C9D3D8; }
.feature .store { border-color: transparent; }
.store.sm { height: 40px; padding: 0 13px; font-size: 13px; }
.link-video { font-size: 14px; font-weight: 600; color: var(--mint-1); margin-left: 6px; }

/* 앱 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 36px rgba(15,26,31,.08); transform: translateY(-2px); }
.card .app-icon { margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line); }
.card h3 { font-size: 22px; }
.card .desc { color: var(--ink-2); font-size: 15px; flex: 1; }
.card .stores { margin-top: 12px; }

/* 회사 */
.company { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.company .sec-head { margin: 0; }
.company-lead { font-size: 19px; color: var(--ink-2); line-height: 1.75; }
.pillars { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pillars dt { font-weight: 800; font-size: 17px; }
.pillars dd { margin: 0; color: var(--ink-2); }

/* 문의 */
.contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact h2 { margin-bottom: 14px; }
.muted { color: var(--muted); max-width: 34em; }
.contact-box { display: flex; gap: 12px; flex-wrap: wrap; }

/* 바닥 */
.foot { background: var(--dark); color: rgba(255,255,255,.72); padding: 48px 0 40px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { color: #fff; font-weight: 600; font-size: 15px; }
.foot-info { font-size: 13px; margin-top: 4px; line-height: 1.7; }
.foot-info a:hover { color: #fff; }
.nw { white-space: nowrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }

/* 좁은 화면 */
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; }
  .feature { grid-template-columns: 1fr; }
  .feature-media img { min-height: 220px; max-height: 300px; }
  .feature-body { padding: 30px 24px; }
  .cards { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; font-size: 14px; }
  .nav a:not(.lang):nth-child(2) { display: none; }
  .pillars div { grid-template-columns: 64px 1fr; }
}

/* 영어판: 라틴 글자는 자간을 덜 좁힌다 */
:lang(en) h1, :lang(en) h2, :lang(en) h3 { letter-spacing: -0.01em; }

/* 404 */
.nf { min-height: 100vh; max-width: 640px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.nf .brand { margin-bottom: 28px; }
.nf h1 { font-size: clamp(28px, 4vw, 40px); }
.nf .lead { margin: 0; }
.nf .lead.en { font-size: 15px; color: var(--muted); }
.nf .hero-cta { margin-top: 12px; }

/* 영어판 폰: 메뉴 글자가 길어 '서비스'도 숨긴다(첫 화면 단추로 갈 수 있음) */
@media (max-width: 560px) {
  :lang(en) .nav a:not(.lang):first-child { display: none; }
}

/* ───────── 제품 소개 하위 페이지 (/samguk/ 등) ───────── */
.crumb { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 8px; opacity: .6; }

.p-hero { padding: 28px 0 72px; }
.p-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.p-hero .app-id { margin-bottom: 26px; }
.p-hero .app-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(15,26,31,.10); }
.p-hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.p-hero .lead { margin-top: 14px; }
.p-hero .stores { margin-top: 30px; }
.p-meta { margin-top: 22px; font-size: 14px; color: var(--muted); }
.p-hero-art img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(15,26,31,.16); }
.p-hero-art.phone { display: flex; justify-content: center; }
.p-hero-art.phone img { width: auto; max-width: 100%; max-height: 560px; border-radius: 28px; }
.p-hero-art.empty { aspect-ratio: 4 / 3; border-radius: 32px; background: linear-gradient(135deg, var(--mint-2), var(--mint-1)); display: grid; place-items: center; }
.p-hero-art.empty img { width: 38%; border-radius: 22%; box-shadow: 0 16px 36px rgba(6,60,55,.26); }

.p-sec { padding: 80px 0; }
.p-sec.alt { background: var(--bg-alt); }
.p-sec h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 36px; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; color: var(--ink-2); }
.who { margin: 0; padding: 0; }

.feats { margin: 0; padding: 0; list-style: none; counter-reset: feat; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feats li { counter-increment: feat; display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feats li::before { content: counter(feat, decimal-leading-zero); font-weight: 800; font-size: 20px; color: var(--mint-ink); grid-row: span 2; padding-top: 2px; }
.feats h3 { font-size: 20px; }
.feats p { color: var(--ink-2); }

.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin-top: 44px; }
.shots figure { margin: 0; flex: none; scroll-snap-align: start; }
.shots img { height: 460px; width: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(15,26,31,.08); }
.shots.wide img { height: auto; width: min(720px, 82vw); border-radius: 16px; }
.shots figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 30em; }

.diff { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.diff li { position: relative; padding-left: 22px; color: var(--ink-2); }
.diff li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--mint-1), var(--mint-2)); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fact h3 { font-size: 18px; margin-bottom: 14px; }
.fact ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; }
.fact .note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.help { display: flex; flex-wrap: wrap; gap: 12px; }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff; transition: box-shadow .2s, transform .2s; }
.other:hover { box-shadow: 0 10px 28px rgba(15,26,31,.08); transform: translateY(-2px); }
.other img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.other b { display: block; font-size: 16px; }
.other small { color: var(--muted); font-size: 13px; }

/* 첫 화면 카드의 '자세히' 링크 */
.more { font-size: 14px; font-weight: 600; color: var(--mint-ink); margin-left: 4px; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.feature .more { color: var(--mint-1); }
.card h3 a:hover, .feature h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .p-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .p-hero-art.phone img { max-height: 480px; }
  .who, .others { grid-template-columns: 1fr; }
  .diff, .facts { grid-template-columns: 1fr; }
  .p-sec { padding: 64px 0; }
  .shots img { height: 380px; }
}
@media (max-width: 560px) {
  .feats li { grid-template-columns: 44px 1fr; }
  .shots img { height: 340px; }
}

/* ───────── 첫 화면 서비스: 카드 전체 클릭 + 자동 넘김 큰 칸 ───────── */
/* 제목 링크(.stretch)가 카드 전체를 덮는다. 스토어 버튼·영상 링크는 그 위에 올려 따로 눌린다. */
.feature, .card.linked { position: relative; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.feature .stores, .card .stores, .card .more { position: relative; z-index: 2; }
.feature { cursor: pointer; }
.feature-media { overflow: hidden; }
.feature-media img { transition: transform .5s ease; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature:has(.stretch:focus-visible), .card:has(.stretch:focus-visible) { outline: 3px solid var(--mint-1); outline-offset: 3px; }
.stretch:focus-visible { outline: none; }

.rot { position: relative; }
.rot-track { display: grid; }
.rot-track > .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.rot-track > .slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.rot-ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
.rot-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.rot-btn:hover { border-color: #C9D3D8; color: var(--ink); }
.rot-pause { font-size: 11px; letter-spacing: -1px; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: #C9D3D8; cursor: pointer; transition: width .3s, background .3s; }
.dot.on { width: 26px; background: linear-gradient(90deg, var(--mint-1), var(--mint-2)); }
.rot-btn:focus-visible, .dot:focus-visible { outline: 3px solid var(--mint-1); outline-offset: 2px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.four .card { padding: 26px 22px 24px; }
@media (max-width: 1100px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .cards.four { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .rot-track > .slide, .feature-media img { transition: none; }
}
.shots-note { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 46em; }
.feature .photo-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: -12px; }
.pillars dd a { color: var(--mint-ink); font-weight: 600; white-space: nowrap; }
.pillars dd a:hover { text-decoration: underline; }
/* 움직이는 화면(GIF 처럼 반복되는 영상) — 그림과 같은 자리·같은 모양 */
video.loop { display: block; max-width: 100%; }
.feature-media video.loop { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.p-hero-art video.loop { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(15,26,31,.16); }
.p-hero-art.phone video.loop { width: auto; max-width: 100%; max-height: 560px; border-radius: 28px; }
.shots video.loop { height: 460px; width: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(15,26,31,.08); }
.shots.wide video.loop { height: auto; width: min(720px, 82vw); border-radius: 16px; }
@media (max-width: 900px) { .feature-media video.loop { min-height: 220px; max-height: 300px; } .shots video.loop { height: 380px; } }
@media (max-width: 560px) { .shots video.loop { height: 340px; } }

/* ───────── 블로그 홍보 (11-16): 첫 화면 칸 .bs-home, 소개 페이지 /blog-service/ .bs-* ───────── */
@media (max-width: 560px) {
  /* 한국어 메뉴는 '앱·게임 · 블로그 홍보 · EN'만 남긴다(회사·문의는 아래 칸으로) */
  :lang(ko) .nav a:not(.lang):nth-child(2) { display: inline; }
  :lang(ko) .nav a:not(.lang):nth-child(3), :lang(ko) .nav a:not(.lang):nth-child(4) { display: none; }
}
.bs-home { background: #1E3B2F; color: #fff; }
.bs-home-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.bs-home .eyebrow { color: #C9A55A; }
.bs-home h2 { font-size: clamp(26px, 3.2vw, 38px); color: #fff; }
.bs-home-lead { margin-top: 16px; color: rgba(255,255,255,.82); max-width: 32em; }
.bs-home .hero-cta { margin-top: 28px; }
.bs-btn-line { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.bs-btn-line:hover { border-color: #fff; }
.bs-home-art img { width: 100%; border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.35); transition: transform .3s; }
.bs-home-art:hover img { transform: translateY(-3px); }

.bs-hero .eyebrow { color: #A8853C; }
.bs-hero h1 { font-size: clamp(32px, 4.4vw, 50px); }
.bs-hero .lead + .lead { margin-top: 4px; }
.bs-hero .hero-cta { margin-top: 30px; }
.bs-hero figure { margin: 0; }
.bs-hero figure img { width: 100%; border-radius: 16px; box-shadow: 0 18px 48px rgba(15,26,31,.16); }
.bs-hero figcaption, .bs-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.bs-btn { background: #1E3B2F; color: #fff; box-shadow: 0 6px 20px rgba(30,59,47,.28); }
.bs-btn:hover { transform: translateY(-1px); background: #24473A; }
.bs-do { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.bs-do li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.bs-do b { display: block; font-size: 20px; font-weight: 800; color: #1E3B2F; margin-bottom: 8px; }
.bs-do span { color: var(--ink-2); }
.bs-case-lead { color: var(--ink-2); max-width: 40em; margin: -18px 0 28px; }
.bs-case { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bs-case figure { margin: 0; }
.bs-case img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(15,26,31,.08); }
.bs-case figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.bs-case figcaption b { color: #1E3B2F; }
.bs-ask { background: #1E3B2F; color: #fff; }
.bs-ask h2 { color: #fff; margin-bottom: 14px; }
.bs-ask p { color: rgba(255,255,255,.84); max-width: 34em; }
.bs-ask .hero-cta { margin-top: 26px; }
.bs-ask .btn-primary { background: #C9A55A; color: #1E3B2F; box-shadow: none; }
.bs-ask .btn-primary:hover { background: #D6B46C; }
@media (max-width: 900px) {
  .bs-home-in { grid-template-columns: 1fr; gap: 36px; }
  .bs-do, .bs-case { grid-template-columns: 1fr; }
}
.bs-hero figure img, .bs-case img, .bs-home-art img { height: auto; }
@media (max-width: 560px) { .nav a { white-space: nowrap; } }
/* 좁은 휴대폰: 메뉴가 넷이 되어 회사 이름 글자는 숨기고 로고만(첫 화면·바닥에 이름이 있다) */
@media (max-width: 410px) { .brand-name { display: none; } }
/* 견본 표시(11-16 대표): 디자인 견본 그림의 오른쪽 위 구석 */
.smp-fig { position: relative; display: block; }
.smp-tag { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(15,26,31,.72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; pointer-events: none; }

/* ───────── 블로그 홍보 소개 페이지 가운데 칸(.bsx): /blog/ 의 칸을 홈페이지 글꼴·폭으로 ───────── */
.bsx { --g: #1E3B2F; --gold: #C9A55A; --gold-ink: #A8853C; --red: #B5553C; --t: #1C2420; --t2: #3F4742; --m: #5C645E; --ln: #D9D3C4; --card: #FFFDF8;
       --serif: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif; max-width: 820px; margin: 0 auto; color: var(--t); word-break: keep-all; }
.bsx .kicker { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--gold-ink); }
.bsx h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--g); margin: 8px 0 22px; }
.bsx h2 span { display: block; }
.bsx h3 { font-size: 19px; margin: 0 0 6px; color: var(--t); }
.bsx p { margin: 0 0 12px; color: var(--t2); text-wrap: pretty; }
.bsx .lead { font-size: 17px; color: var(--t); }
.bsx .note { font-size: 13px; color: var(--m); margin-top: 10px; }
.bsx .cap { font-size: 13.5px; font-weight: 700; color: var(--m); margin: 18px 0 8px; }
.bsx .frame { background: var(--card); border: 1px solid var(--ln); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30,59,47,.08); }
.bsx .frame img, .bsx .phone img, .bsx .post img, .bsx .swipe img { width: 100%; height: auto; display: block; }
.bsx .item { padding: 22px 0; border-bottom: 1px solid var(--ln); }
.bsx .item:last-child { border-bottom: 0; }
.bsx .item .frame { margin-top: 14px; }
.bsx ol.rules { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: r; }
.bsx ol.rules li { counter-increment: r; position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--ln); }
.bsx ol.rules li::before { content: counter(r); position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.bsx ol.rules b { display: block; font-size: 17px; margin-bottom: 4px; }
.bsx ol.rules span { color: var(--t2); }
.bsx .marked { position: relative; }
.bsx .mk { position: absolute; width: 22px; height: 22px; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 5px rgba(0,0,0,.4); }
.bsx .law { background: var(--card); border: 1px solid var(--ln); border-radius: 16px; padding: 20px 22px 8px; margin-top: 16px; }
.bsx .law h3 { color: var(--g); font-size: 20px; margin-bottom: 2px; }
.bsx .law .src { font-size: 13px; color: var(--m); margin-bottom: 8px; }
.bsx .law ul { list-style: none; margin: 0; padding: 0; }
.bsx .law li { padding: 11px 0 11px 16px; border-top: 1px solid var(--ln); position: relative; }
.bsx .law li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bsx .law li b { display: block; font-size: 15.5px; text-wrap: balance; }
.bsx .law li span { display: block; font-size: 13px; color: var(--gold-ink); margin-top: 2px; }
.bsx .nb { white-space: nowrap; }
.bsx .phone { width: 64%; max-width: 300px; margin: 6px auto 0; border: 8px solid var(--t); border-radius: 32px; overflow: hidden; box-shadow: 0 18px 40px rgba(28,36,32,.25); }
.bsx .sign { max-width: 480px; }
.bsx .swipe { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 14px; -webkit-overflow-scrolling: touch; }
.bsx .swipe img { flex: none; width: 42%; max-width: 180px; border-radius: 10px; scroll-snap-align: start; box-shadow: 0 8px 20px rgba(30,59,47,.12); }
.bsx .swipe-hint { font-size: 13px; color: var(--m); }
.bsx .quote { background: var(--card); border-left: 3px solid var(--gold); padding: 20px 22px 8px; border-radius: 0 14px 14px 0; margin-top: 18px; }
.bsx .quote .t { font-family: var(--serif); font-weight: 800; color: var(--g); font-size: 19px; margin-bottom: 10px; }
.bsx .quote p { font-family: var(--serif); font-size: 15.5px; line-height: 1.85; }
.bsx .quote mark { background: linear-gradient(transparent 56%, #F1DCA3 56%); color: inherit; }
.bsx .quote h4 { font-family: var(--serif); font-weight: 800; font-size: 17px; margin: 14px 0 6px; padding-top: 10px; border-top: 2px solid var(--t); }
.bsx .tg { display: inline-block; font-style: normal; width: 19px; height: 19px; line-height: 19px; text-align: center; background: var(--red); color: #fff; font-family: var(--font); font-size: 11px; font-weight: 800; margin-right: 5px; vertical-align: 2px; }
.bsx .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bsx .pair img { border-radius: 10px; border: 1px solid var(--ln); }
.bsx .post { background: #fff; border: 1px solid var(--ln); border-radius: 14px; padding: 20px 18px 18px; margin-top: 14px; box-shadow: 0 8px 22px rgba(30,59,47,.07); }
.bsx .post .pt { font-family: var(--serif); font-weight: 800; font-size: 18px; line-height: 1.45; margin-bottom: 12px; text-wrap: balance; }
.bsx .post h5 { font-family: var(--serif); font-weight: 800; font-size: 16.5px; margin: 0 0 6px; padding-top: 8px; border-top: 2px solid var(--t); }
.bsx .post p { font-family: var(--serif); font-size: 15px; line-height: 1.8; }
.bsx .post .thumb { max-width: min(320px, 100%); margin: 0 auto 12px; }
.bsx .post img { border-radius: 6px; }
.bsx .post .pair { margin-top: 0; }
.bsx ol.steps { list-style: none; padding: 0; margin: 20px 0 0; position: relative; }
.bsx ol.steps::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--ln); }
.bsx ol.steps li { position: relative; padding: 11px 0 11px 48px; font-size: 17px; font-weight: 700; }
.bsx ol.steps li i { position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 2px solid var(--g); font-style: normal; font-size: 13px; display: grid; place-items: center; color: var(--g); transition: background .4s, color .4s; }
.bsx ol.steps li.in i, .no-rv .bsx ol.steps li i { background: var(--g); color: #fff; }
/* 견본 표시(/blog/ 와 같은 자리) */
.bsx .smp { position: relative; }
.bsx .smp::after { content: "견본"; position: absolute; top: 10px; right: 10px; z-index: 3; padding: 2px 9px; border-radius: 999px; line-height: 1.5; background: rgba(28,36,32,.74); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; pointer-events: none; }
.bsx .smp.l::after { left: 10px; right: auto; }
.bsx .phone.smp::after { top: 14px; right: 12px; }
.bsx .smp.strip { padding-top: 32px; }
.bsx .smp.strip::after { top: 6px; left: 10px; right: auto; }
.bsx .post.smp { padding-top: 46px; }
.bsx .post.smp::after { top: 14px; left: 18px; right: auto; }
.bsx .smp-swipe { padding-top: 28px; }
.bsx .smp-swipe::after { top: 0; left: 0; right: auto; }
.smp-fig.l .smp-tag, .smp-tag.l { left: 12px; right: auto; }
@media (min-width: 700px) {
  .bsx .swipe { overflow: visible; }
  .bsx .swipe img { width: calc((100% - 40px) / 5); }
  .bsx .swipe-hint { display: none; }
}

/* ───────── 내리면 나타나기(11-16 대표: 홈페이지도 스크롤에 반응) — /assets/reveal.js 가 .rv 를 붙인다 ───────── */
.js-rv .rv { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s ease; }
.js-rv .rv.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .js-rv .rv { opacity: 1; translate: none; transition: none; } }
