/* 스토어부스트(StoreBoost) — 소상공인 마케팅·고객유입 실무 매거진 */
:root {
  --slate: #0f172a;
  --slate-2: #1e293b;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-mute: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --sky: #0284c7;
  --sky-soft: #e0f2fe;
  --emerald: #059669;
  --emerald-soft: #d1fae5;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px rgba(15, 23, 42, .06);
  --wrap: 1080px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 23, 42, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: #fff; }
.logo-mark { color: #7dd3fc; }
.logo-rest { color: #fff; }
.logo-kr { margin-left: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: #94a3b8; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-size: 15px; font-weight: 600; color: #cbd5e1;
  padding: 8px 13px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a.active { background: var(--sky); color: #fff; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky);
}
h1, h2, h3, h4 { letter-spacing: -0.03em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--slate); color: #fff; font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: 12px; border: 1.5px solid var(--slate);
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--slate-2); border-color: var(--slate-2); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: #fff; border-color: var(--sky); color: var(--sky); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 64px 0 48px;
}
.page-home .hero { border-bottom: 1px solid var(--line); }
.hero h1 {
  margin: 0 0 20px; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.26; font-weight: 800;
}
.hero-desc { margin: 0 0 28px; color: var(--ink-soft); font-size: 17.5px; max-width: 44ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-mute); }
.hero-side {
  background: var(--slate); color: #fff; border-radius: 22px; padding: 30px 28px 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18); position: relative; overflow: hidden;
}
.hero-side::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(2, 132, 199, .32), transparent 72%);
}
.hero-side-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: #7dd3fc; border: 1px solid rgba(125, 211, 252, .45); border-radius: 999px;
  padding: 4px 11px; margin-bottom: 16px;
}
.hero-side-title { display: block; font-size: 25px; line-height: 1.45; margin-bottom: 18px; letter-spacing: -0.03em; }
.hero-side-bar { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; margin-bottom: 18px; }
.hero-side-bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #38bdf8, #34d399); }
.hero-steps { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hero-steps li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: #e2e8f0; line-height: 1.5; }
.hero-steps b { font-size: 11.5px; font-weight: 800; color: #7dd3fc; letter-spacing: .06em; min-width: 22px; }
.hero-steps li.hero-more { color: #94a3b8; font-size: 13.5px; padding-left: 32px; }
.hero-side-link { font-weight: 700; font-size: 15px; color: #7dd3fc; }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.section-head h2, .section > h2 { margin: 0 0 8px; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.35; }
.section-head p { margin: 0; color: var(--ink-mute); font-size: 15.5px; }
.section-more { margin: 26px 0 0; }

/* ---------- pains ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.pain span { font-size: 12.5px; font-weight: 800; color: var(--sky); letter-spacing: .1em; }
.pain h3 { margin: 10px 0 8px; font-size: 18.5px; line-height: 1.5; }
.pain p { margin: 0; color: var(--ink-mute); font-size: 15px; }

/* ---------- reader groups ---------- */
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.group h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.4; }
.group p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-mute); line-height: 1.65; }
.group-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.group-steps a {
  font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--sky-soft); color: var(--sky);
}
.group-steps a:hover { background: var(--sky); color: #fff; }
.group-link { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.6; }
.group-link:hover { color: var(--sky); }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq-item summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sky); font-weight: 800; font-size: 19px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- diagnosis ---------- */
.diag { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.diag-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.diag-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.diag-list-head h3 { margin: 0; font-size: 18px; }
.diag-count { font-size: 13.5px; color: var(--ink-mute); }
.diag-count strong { color: var(--sky); font-size: 15px; }
.diag-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 9px; cursor: pointer; background: #fff;
  transition: border-color .14s, background .14s;
}
.diag-item:hover { border-color: var(--sky); }
.diag-item input { margin: 5px 0 0; width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--emerald); cursor: pointer; }
.diag-item:has(input:checked) { border-color: var(--emerald); background: #f4fdf9; }
.diag-num { font-size: 12.5px; font-weight: 800; color: var(--ink-mute); padding-top: 4px; flex: 0 0 20px; }
.diag-item:has(input:checked) .diag-num { color: var(--emerald); }
.diag-text { font-size: 14.5px; line-height: 1.62; color: var(--ink-soft); }
.diag-text strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.diag-tools { margin-top: 6px; }
.diag-reset {
  background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 13.5px;
  color: var(--ink-mute); text-decoration: underline; cursor: pointer;
}
.diag-panel {
  background: var(--slate); color: #fff; border-radius: 18px; padding: 24px 22px;
  position: sticky; top: 88px;
}
.diag-score { display: flex; align-items: baseline; gap: 4px; }
.diag-score-num { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.diag-score-max { font-size: 16px; color: #94a3b8; font-weight: 700; }
.diag-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); margin: 14px 0 12px; overflow: hidden; }
.diag-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #38bdf8, #34d399); transition: width .3s ease; }
.diag-grade { margin: 0 0 18px; font-size: 14.5px; color: #cbd5e1; }
.diag-block { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; margin-bottom: 14px; }
.diag-block h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .1em; color: #7dd3fc; font-weight: 800; }
.diag-gaps { margin: 0; padding: 0; list-style: none; font-size: 14px; color: #e2e8f0; }
.diag-gaps li { padding: 3px 0; line-height: 1.6; }
.diag-gaps li.diag-empty { color: #94a3b8; }
.reco-name { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #fff; }
.reco-why { margin: 0; font-size: 13.5px; color: #cbd5e1; line-height: 1.65; }
.diag-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.diag-panel .btn { background: #fff; color: var(--slate); border-color: #fff; font-size: 14.5px; padding: 11px 16px; }
.diag-panel .btn:hover { background: #e2e8f0; color: var(--slate); }
.diag-panel .btn.ghost { background: transparent; color: #e2e8f0; border-color: rgba(255, 255, 255, .35); }
.diag-panel .btn.ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.diag-note { margin: 14px 0 0; font-size: 12.5px; color: #94a3b8; line-height: 1.6; }
.diag-explain { padding-top: 46px; }
.diag-explain-note { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-mute); }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step {
  display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 19px 20px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.step:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow); }
.step-no {
  flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--sky-soft); color: var(--sky);
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.step-body { display: flex; flex-direction: column; gap: 4px; }
.step-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--emerald); }
.step-body strong { font-size: 16.5px; line-height: 1.5; letter-spacing: -0.02em; }
.step-desc { font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.step-soon { opacity: .7; }

/* ---------- cta ---------- */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, #0f172a, #134e6f 70%, #065f46);
  color: #fff; border-radius: 22px; padding: 34px 32px; margin: 12px 0 56px;
}
.cta-text h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.4; color: #fff; }
.cta-text p { margin: 0; color: #cbd5e1; font-size: 15px; max-width: 52ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-strip .btn { background: #fff; color: var(--slate); border-color: #fff; }
.cta-strip .btn:hover { background: #e0f2fe; color: var(--slate); }
.cta-strip .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-strip .btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- page head ---------- */
.page-head { padding: 54px 0 30px; }
.page-head h1 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; font-weight: 800; }
.page-head .lede { margin: 0; color: var(--ink-soft); font-size: 17px; max-width: 60ch; }
.page-head-narrow { max-width: 720px; }

/* ---------- post ---------- */
.post-head { padding: 52px 0 10px; max-width: 760px; margin-inline: auto; }
.post-crumb { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--sky); letter-spacing: 0; }
.post-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.post-head h1 { margin: 0 0 14px; font-size: clamp(27px, 3.4vw, 38px); line-height: 1.34; font-weight: 800; }
.post-head .lede { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; }
.post-head .meta { font-size: 13.5px; color: var(--ink-mute); }
.summary-box {
  max-width: 760px; background: var(--sky-soft); border: 1px solid #bae6fd; border-radius: 14px;
  padding: 20px 22px; margin: 22px auto 10px;
}
.summary-box strong { display: block; font-size: 13px; letter-spacing: .08em; color: var(--sky); margin-bottom: 8px; }
.summary-box ol { margin: 0; padding-left: 20px; }
.summary-box li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.post-body { max-width: 760px; padding: 10px 0 8px; margin-inline: auto; }
.post-body h2 {
  margin: 46px 0 14px; font-size: 23px; line-height: 1.42; font-weight: 800;
  padding-top: 8px;
}
.post-body h3 { margin: 28px 0 10px; font-size: 18.5px; line-height: 1.5; }
.post-body p { margin: 0 0 18px; color: var(--ink-soft); }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; color: var(--ink-soft); }
.post-body li.check { list-style: none; position: relative; padding-left: 26px; }
.post-body li.check::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px;
  border: 2px solid var(--line-strong); border-radius: 4px;
}
.post-body li.check.done::before { background: var(--emerald); border-color: var(--emerald); }
.post-body blockquote {
  Margin: 26px 0; padding: 20px 22px; background: #fff; border-left: 4px solid var(--emerald);
  border-radius: 0 12px 12px 0; box-shadow: var(--shadow);
}
.post-body blockquote p { margin: 0; font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.7; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.post-body code {
  background: #eef2f7; border-radius: 5px; padding: 1px 6px; font-size: .92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--slate);
}
.post-body a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f1f5f9; font-weight: 700; color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.notice {
  max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; margin: 30px auto 0;
}
.notice strong { display: block; font-size: 14px; color: var(--emerald); margin-bottom: 6px; }
.notice p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.notice a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.post-nav {
  display: flex; flex-direction: column; gap: 10px; max-width: 760px;
  margin: 26px auto 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.post-nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.post-nav a:hover { color: var(--sky); }

.related { padding: 44px 0 56px; border-top: 1px solid var(--line); margin-top: 40px; }
.related h2 { margin: 0 0 20px; font-size: 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 9px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 19px 17px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin: 0; font-size: 17px; line-height: 1.5; }
.card p { margin: 0; color: var(--ink-mute); font-size: 14px; line-height: 1.6; }
.card .meta { margin-top: auto; color: var(--ink-mute); font-size: 12.5px; }
.tag {
  align-self: flex-start; display: inline-block; font-size: 11.5px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px; background: var(--emerald-soft); color: #047857;
}

/* ---------- static pages ---------- */
.page { padding-bottom: 40px; }
.page .post-body { max-width: 760px; }
.page .post-body h2 { margin-top: 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: #cbd5e1; padding: 44px 0 40px; margin-top: 20px; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { margin: 8px 0 0; font-size: 14px; color: #94a3b8; }
.logo-footer { font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #fff; }
.footer-note { margin: 0; font-size: 13.5px; color: #94a3b8; }
.footer-mail { color: #7dd3fc; }
.copyright { margin: 6px 0 0; font-size: 12.5px; color: #64748b; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 36px; }
  .hero-side { order: 2; }
  .pain-grid, .cards, .group-grid { grid-template-columns: 1fr; }
  .diag-grid { grid-template-columns: 1fr; }
  .diag-panel { position: static; }
  .roadmap { grid-template-columns: 1fr; }
  .cta-strip { padding: 28px 24px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; line-height: 1.76; }
  .wrap { padding: 0 18px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
  .logo { font-size: 18px; }
  .logo-kr { font-size: 11px; margin-left: 6px; }
  .nav { width: 100%; gap: 1px; }
  .nav a { font-size: 13.5px; padding: 6px 9px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-side { padding: 24px 20px 22px; }
  .hero-side-title { font-size: 22px; }
  .section { padding: 40px 0; }
  .diag { padding: 18px 16px; border-radius: 18px; }
  .diag-item { padding: 12px; gap: 10px; }
  .diag-score-num { font-size: 46px; }
  .diag-panel { padding: 22px 18px; }
  .diag-actions .btn { flex: 1 1 100%; }
  .step { padding: 16px 15px; gap: 12px; }
  .step-no { flex-basis: 32px; height: 32px; font-size: 13.5px; }
  .step-body strong { font-size: 15.5px; }
  .cta-text h2 { font-size: 20px; }
  .post-head { padding-top: 38px; }
  .post-body h2 { font-size: 20.5px; margin-top: 36px; }
  .post-body h3 { font-size: 17.5px; }
  .summary-box { padding: 17px 18px; }
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
}
