/* ── 글꼴 ────────────────────────────────────────────────
   **jsDelivr 의 dynamic-subset 을 쓰지 않습니다.** 그건 글꼴을 유니코드
   구간별로 92 개 파일로 쪼갠 것이라, 머리말 메뉴 한 줄에서도 `제작` 과 `요금`
   이 서로 다른 파일에 들어 있습니다. **그중 몇 개만 늦거나 실패하면 그 글자만
   시스템 글꼴로 나와서 한 줄 안에서 글꼴이 섞여 보였습니다.** 당해 봤습니다.

   파일 하나로 바꿨습니다 — 오면 다 오고, 안 오면 다 안 옵니다.
   KS X 1001 상용 한글 2350 자 · 가변 굵기 45~920 · 440KB · 요청 한 번.
   다시 만들려면 `python3 도구/폰트생성.py`. 라이선스는 `/fonts/OFL.txt`. */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/pretendard-subset.woff2') format('woff2-variations');
}

/* WebMade 사이트 공용 스타일 — 자동 생성(도구/사이트생성.py). 손대지 마세요 */

:root {
  --paper:      #FCFBF8;
  --surface:    #F4F3EE;
  --card:       #FFFFFF;
  --ink:        #14201C;
  --muted:      #6B746E;
  --rule:       #DDE1DA;
  --accent:     #0F5C4A;
  --accent-ink: #FCFBF8;
  --warm:       #B85C16;
  --ok:         #2F7A55;

  --ui: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  --edge: clamp(20px, 5vw, 32px);
  --wrap: 1140px;
  --narrow: 860px;
  --topH: 62px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #111614;
    --surface:    #1A211E;
    --card:       #171E1B;
    --ink:        #E9EDE9;
    --muted:      #97A09A;
    --rule:       #2B3430;
    --accent:     #58B79A;
    --accent-ink: #0B1210;
    --warm:       #E0913F;
    --ok:         #5FB98C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:      #111614;
  --surface:    #1A211E;
  --card:       #171E1B;
  --ink:        #E9EDE9;
  --muted:      #97A09A;
  --rule:       #2B3430;
  --accent:     #58B79A;
  --accent-ink: #0B1210;
  --warm:       #E0913F;
  --ok:         #5FB98C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topH) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ui); font-size: 16px; line-height: 1.75;
  letter-spacing: -.011em; -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--edge); }
.wrap.narrow { max-width: var(--narrow); }

img, svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(30px, 6.6vw, 46px); line-height: 1.22; }
h2 { font-size: clamp(23px, 4.4vw, 31px); line-height: 1.32; }
h3 { font-size: clamp(18px, 2.6vw, 21px); line-height: 1.45; letter-spacing: -.022em; }
h4 { font-size: 16px; line-height: 1.5; letter-spacing: -.018em; }
.num { font-variant-numeric: tabular-nums; }
b, strong { font-weight: 700; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 3px;
}

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent);
  text-transform: none; margin-bottom: 10px; display: block;
}
.lede { font-size: clamp(16px, 2.1vw, 18px); color: var(--muted); margin-top: 14px; max-width: 46em; }
.lede b { color: var(--ink); font-weight: 700; }

/* PC 에서만 줄을 나눕니다. 휴대폰에서는 좁아서 한 번 더 접히면
   토막이 나므로 br 을 없애고 그냥 흐르게 둡니다.
   — 앞에 띄어쓰기를 하나 두고 쓰십시오. PC 에서는 줄 끝 공백이라 안 보이고,
     휴대폰에서는 그 공백이 낱말 사이를 벌려 줍니다. */
@media (max-width: 760px) { br.pc { display: none; } }
.small { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── 머리말 ─────────────────────────────────────────────── */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
header.top > .wrap {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding-block: 9px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 27px; height: 27px; flex: none; }
.logo > span { display: grid; line-height: 1.2; }
.logo b { font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.logo i { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

nav.menu { display: flex; align-items: center; gap: 1px; margin-left: auto; flex-wrap: wrap; }
/* **`.drop > a` 도 반드시 같이 적어야 합니다.** 드롭다운 항목은
   `<span class="drop">` 안에 들어 있어서 `nav.menu > a` 의 자식이 아닙니다.
   이걸 빠뜨렸더니 `제작 · 진행 방법 · 자료` 세 개만 **밑줄 그어진 파란 기본 링크**
   꼴로, 좌우 여백도 없이 붙어서 나왔습니다. 글꼴이 달라 보인 게 그것이었습니다. */
nav.menu > a,
nav.menu > .drop > a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 7px 11px; border-radius: 8px; white-space: nowrap;
}
nav.menu > a:hover,
nav.menu > .drop > a:hover { background: var(--surface); color: var(--ink); }
nav.menu > a[aria-current="page"],
nav.menu > .drop > a[aria-current="page"] { color: var(--accent); background: var(--surface); }
.top-cta { flex: none; }

/* 드롭다운 — 데스크톱에서만 */
.drop { position: relative; }
.drop > a::after { content: " ▾"; font-size: 10px; opacity: .55; }
.drop-panel {
  position: absolute; top: 100%; left: 0; min-width: 232px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 13px;
  box-shadow: 0 22px 48px -28px rgba(16,22,20,.5);
  padding: 7px; display: none; z-index: 10;
}
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.drop-panel a {
  display: block; text-decoration: none; color: var(--ink); font-size: 14.5px;
  font-weight: 600; padding: 9px 11px; border-radius: 9px; white-space: nowrap;
}
.drop-panel a span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.drop-panel a:hover { background: var(--surface); }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--ui); font-size: 15px; font-weight: 700; line-height: 1.3;
  padding: 12px 19px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--rule); background: var(--card); color: var(--ink);
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); }
.btn.fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.fill:hover { opacity: .92; }
.btn.small { padding: 8px 13px; font-size: 13.5px; border-radius: 8px; }
.btn.block { width: 100%; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ── 구역 ───────────────────────────────────────────────── */
main section { padding-block: clamp(44px, 7vw, 76px); }
main section + section { border-top: 1px solid var(--rule); }
section.tint { background: var(--surface); }
section.hero { padding-block: clamp(40px, 8vw, 84px) clamp(36px, 7vw, 72px); }
.sec-head { max-width: 46em; }

/* 구역 안에서 덩어리끼리 붙지 않게 — 한 곳에서 정합니다.
   덩어리마다 margin-top 을 따로 걸면 어디는 붙고 어디는 벌어집니다.
   (버튼 줄 바로 아래 숫자 칸이 붙어 있던 것이 그 경우였습니다) */
main section > .wrap > * + * { margin-top: clamp(26px, 3.8vw, 40px); }
.sec-head + * { margin-top: clamp(24px, 4vw, 38px); }
/* 빵부스러기 다음 제목은 붙어 있어야 한 덩어리로 읽힙니다 */
main section > .wrap > .crumb { margin-bottom: 0; }
main section > .wrap > .crumb + * { margin-top: 12px; }

/* ── 카드 ───────────────────────────────────────────────── */
.grid { display: grid; gap: 14px; }
/* g2 는 두 칸입니다. auto-fit 으로 두면 넓은 화면에서 세 칸 + 한 칸(3+1)이 됩니다 — 카드 넷이 한 줄 반으로 갈라집니다. */
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .grid.g2 { grid-template-columns: minmax(0, 1fr); } }
.grid.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.g4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 15px;
  padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 9px;
}
.card h3 { letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card p b { color: var(--ink); }
.card .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.card a.more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.card.flat { background: transparent; }

/* 사진이 붙은 카드 — 업종별 장에서 씁니다.
   카드 전체가 링크라 `<a>` 로 감쌌습니다. 그 안에는 `<div>` 를 넣을 수 없어서
   전부 `<span>` 에 `display` 를 주었습니다. */
a.photocard { padding: 0; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
a.photocard .shot { display: block; background: var(--surface); }
a.photocard .shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 8 / 5;
  object-fit: cover; transition: transform .3s ease;
}
a.photocard .body { display: flex; flex-direction: column; gap: 9px; padding: 19px 21px 21px; flex: 1 1 auto; }
a.photocard h3 { font-size: 17px; }
a.photocard .more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--accent); }
a.photocard:hover { border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 18px 34px -26px rgba(16,22,20,.5); }
a.photocard:hover .shot img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  a.photocard, a.photocard .shot img { transition: none; }
  a.photocard:hover { transform: none; }
  a.photocard:hover .shot img { transform: none; }
}

/* 칼럼 글 머리 사진 — 목록 카드 사진의 큰 판. 비율을 적어 두어 내려오는 동안 글이 튀지 않게 합니다 */
figure.lead { margin: 0; }
figure.lead img {
  display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--rule); background: var(--surface);
}

/* 문제 → 해결 짝 */
.pair { display: grid; gap: 0; }
.pair .q {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 13px 13px 0 0;
  padding: 15px 18px; font-weight: 700; font-size: 15px;
}
.pair .a {
  border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 13px 13px;
  padding: 15px 18px; font-size: 14.5px; color: var(--muted); background: var(--card);
}
.pair .a b { color: var(--ink); }

/* 숫자 줄 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats > div {
  border: 1px solid var(--rule); border-radius: 13px; padding: 17px 18px; background: var(--card);
}
.stats .v { display: block; font-size: clamp(23px, 3.6vw, 29px); font-weight: 800; letter-spacing: -.035em; }
.stats .k { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 체크 목록 */
ul.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
ul.check li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.65; }
ul.check li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
ul.check li b { font-weight: 700; }
ul.check.two { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 9px 22px; }
ul.no { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
ul.no li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
ul.no li::before {
  content: "×"; position: absolute; left: 5px; top: -1px; color: var(--warm); font-weight: 800;
}

/* ── 요금 ───────────────────────────────────────────────── */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }
.plan {
  background: var(--card); border: 1px solid var(--rule); border-radius: 16px;
  padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 5px; position: relative;
}
.plan.best { border-color: var(--accent); border-width: 1.5px; }
.plan .tagname { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.plan .price { font-size: clamp(25px, 4vw, 31px); font-weight: 800; letter-spacing: -.04em; margin-top: 6px; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .days { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan .what { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.plan ul.check { margin-top: 14px; }
.plan ul.check li { font-size: 14px; }
.plan .btn { margin-top: 18px; }
.plan .flag {
  position: absolute; top: -11px; left: 20px; background: var(--accent); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 11px; border-radius: 999px;
}

/* 표 */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
caption { text-align: left; font-size: 13.5px; color: var(--muted); padding-bottom: 10px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
thead th { font-size: 12.5px; letter-spacing: .05em; color: var(--muted); background: var(--surface); font-weight: 700; }
td.r, th.r { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
td .why { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ── 단계 ───────────────────────────────────────────────── */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative; padding: 18px 20px 19px 60px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 19px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
ol.steps h3 { font-size: 16.5px; }
ol.steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
ol.steps .when { font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }

/* ── 아코디언 ───────────────────────────────────────────── */
details.qa {
  border: 1px solid var(--rule); border-radius: 13px; background: var(--card);
  padding: 0 18px; margin-bottom: 9px;
}
details.qa > summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 700; font-size: 15.5px; line-height: 1.55;
}
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after {
  content: "+"; position: absolute; right: 2px; top: 13px;
  font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1;
}
details.qa[open] > summary::after { content: "–"; }
details.qa .body { padding: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
details.qa .body b { color: var(--ink); }
details.qa .body p + p { margin-top: 10px; }

/* ── 알림 상자 ──────────────────────────────────────────── */
.note {
  border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  background: var(--surface); padding: 16px 18px; font-size: 14.5px; line-height: 1.7;
}
.note b { color: var(--ink); }
.note.warn { border-left-color: var(--warm); }
/* 폼 — 봇이 채우는 숨은 칸, 보낸 뒤 자리에 남는 글 */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sent { padding: 22px 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule);
  font-size: 16px; line-height: 1.7; }
.sent b { color: var(--ink); }

/* ── 아래쪽 부르는 띠 ───────────────────────────────────── */
/* 오픈 기념 이벤트 띠 · 문의 폼 칸 (2026-09-27) — 끝나는 날이 지나면 스크립트가 숨깁니다(data-until) */
.evband { background: #14201C; color: #fff; padding: 22px 0 !important; }
.evband-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.evband p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.evband p b { font-size: 15px; color: #8FD9C2; letter-spacing: .01em; }
.evband p span { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.evband p s { opacity: .55; font-weight: 500; font-size: 15px; }
.evband p em { font-style: normal; color: #FFD479; }
.evband p small { flex-basis: 100%; font-size: 13px; opacity: .72; }
.evband .btn { background: #fff; color: #14201C; border-color: #fff; white-space: nowrap; }
form.ask label.evcheck { display: flex; gap: 10px; align-items: flex-start; background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 12px; padding: 14px 16px; font-weight: 500; line-height: 1.6; }
form.ask label.evcheck input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
[data-after]:not(.shown) { display: none; }
/* 메뉴의 「오픈 이벤트」 — 이벤트 기간에만 한 칸 */
nav.menu > a.nav-event { color: #B85C16; font-weight: 800; display: inline-flex; align-items: baseline; gap: 5px; }
nav.menu > a.nav-event small { font-size: 11px; font-weight: 700; color: #fff; background: #B85C16; border-radius: 99px; padding: 1px 6px; }
nav.menu > a.nav-event:hover, nav.menu > a.nav-event[aria-current="page"] { color: #B85C16; background: color-mix(in srgb, #B85C16 10%, transparent); }
/* 이벤트 팝업 */
.evpop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(10,14,12,.55); backdrop-filter: blur(2px); }
.evpop[hidden] { display: none; }
.evpop-box:focus { outline: none; }
.evpop-x:focus-visible { border-radius: 50%; }   /* 공통 초점 규칙(모서리 3px)이 둥근 × 를 네모로 만들지 않게 */
.evpop-box { position: relative; width: min(420px, 100%); box-sizing: border-box; background: #14201C; color: #fff; border-radius: 22px;
  padding: 30px 26px 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: evpop-in .28s ease-out; }
@keyframes evpop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .evpop-box { animation: none; } }
.evpop-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.evpop-k { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #8FD9C2; }
.evpop h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.22; letter-spacing: -.04em; color: #fff; }
.evpop h2 em { font-style: normal; color: #FFD479; }
.evpop-l { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.evpop-l li { display: flex; align-items: baseline; gap: 10px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px 14px; }
.evpop-l span { flex: 1; font-size: 14.5px; font-weight: 600; } .evpop-l s { font-size: 13px; opacity: .55; } .evpop-l b { font-size: 18px; color: #FFD479; }
.evpop-f { margin: 0 0 18px; font-size: 13px; opacity: .8; } .evpop-f b { color: #fff; }
.evpop-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.evpop-btns .btn { justify-content: center; text-align: center; }
.evpop-btns .btn.fill { background: #FFD479; border-color: #FFD479; color: #14201C; }
.evpop-btns .btn:not(.fill) { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.evpop-today { display: block; margin: 14px auto 0; background: none; border: 0; color: rgba(255,255,255,.65); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px; }
body.evpop-open { overflow: hidden; }
/* 휴대폰 메뉴에서는 「오픈 이벤트」를 로고 바로 아래로 — 목록 맨 끝에 두면 긴 패널 아래에 묻힙니다 */
@media (max-width: 900px) {
  nav.menu > .navlogo { order: -2; }
  nav.menu > a.nav-event { order: -1; margin: 2px 0 8px; background: color-mix(in srgb, #B85C16 9%, transparent); }
}
.quote figcaption .ev-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line, #DDE1DA); border-radius: 99px; padding: 1px 8px; }
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band h2, .cta-band p { color: var(--accent-ink); }
.cta-band .lede { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
/* 리드 글은 78% 로 흐려 두지만 굵은 토막('고칠 것 3가지')은 100% 로 또렷하게 둡니다.
   밝은 바탕(다크 모드)에서는 accent-ink 가 먹빛이라 #fff 로 박아 두면 안 보입니다. */
.cta-band .lede b { color: var(--accent-ink); }
.cta-band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.cta-band .btn.ghost { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); }

/* ── 태그 ───────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--rule); color: var(--muted); text-decoration: none;
}
a.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ── 빵부스러기 ─────────────────────────────────────────── */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }
.crumb span { opacity: .5; margin-inline: 6px; }

/* ── 꼬리말 ─────────────────────────────────────────────── */
footer.bot { border-top: 1px solid var(--rule); background: var(--surface); }
footer.bot > .wrap { padding-block: clamp(38px, 6vw, 56px) 30px; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: minmax(210px, 1.1fr) 2.2fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.foot-cols h4 { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.foot-cols a { display: block; font-size: 14px; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--accent); text-decoration: underline; }
.biz-list { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 13px; margin: 16px 0 0; }
.biz-list dt { color: var(--muted); }
.biz-list dd { margin: 0; }
.nowrap { white-space: nowrap; }
.biz-check {
  display: inline-block; margin-left: 8px; font-size: 12px; padding: 1px 8px;
  border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--muted);
}
.foot-end {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.foot-end a { color: var(--muted); }
/* 인스타그램 — 아이콘 + 계정 이름 (2026-09-30). 누르기 쉽게 44px 높이 */
.foot-sns { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--ink); text-decoration: none; }
.foot-sns svg { flex: none; width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper, #fff); }
.foot-sns a:hover { color: var(--accent); } .foot-sns a:hover svg { border-color: var(--accent); }

/* ── 휴대폰 ─────────────────────────────────────────────── */
.navtoggle, .navveil, .navmore, .navlogo { display: none; }

@media (max-width: 900px) {
  header.top { backdrop-filter: none; background: var(--paper); }
  header.top > .wrap { flex-wrap: nowrap; }
  .top-cta { display: none; }

  .navtoggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: auto; flex: none;
    background: transparent; border: 1px solid var(--rule); border-radius: 11px;
    cursor: pointer; position: relative; z-index: 3;
  }
  .navtoggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
  body.navopen .navtoggle { visibility: hidden; }

  nav.menu {
    position: fixed; inset: 0 0 0 auto; z-index: 2;
    width: min(84vw, 340px); max-width: 100%;
    /* nowrap 이 없으면 세로로 쌓다가 화면 높이를 넘는 순간 **옆 칸으로 넘어갑니다.**
       데스크톱 메뉴가 한 줄에 안 들어갈 때 쓰려고 걸어둔 flex-wrap 이 여기까지 따라옵니다. */
    display: flex; flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; gap: 2px;
    margin: 0; padding: env(safe-area-inset-top) 14px calc(22px + env(safe-area-inset-bottom));
    background: var(--paper); border-left: 1px solid var(--rule);
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; overscroll-behavior: contain;
  }
  /* 그림자는 열렸을 때만 — 닫혀 밖에 숨어 있어도 그림자가 화면 안으로 번져 휴대폰 오른쪽 끝이 회색으로 보였습니다 (대표 지적, 2026-09-24) */
  body.navopen nav.menu { transform: translateX(0); box-shadow: -24px 0 60px -30px rgba(16,22,20,.55); }
  body.navopen { overflow: hidden; }
  body.navopen header.top { z-index: 80; }

  nav.menu > a,
  nav.menu > .drop > a { font-size: 16px; padding: 12px; border-radius: 9px; white-space: normal; }
  .drop > a::after { content: ""; }
  .drop-panel {
    position: static; display: block; border: 0; box-shadow: none; background: transparent;
    padding: 0 0 6px 10px; min-width: 0;
  }
  .drop-panel a { font-size: 14.5px; padding: 9px 10px; color: var(--muted); }
  .drop-panel a span { display: none; }

  .navlogo {
    display: flex; align-items: center; position: sticky; top: 0; z-index: 1;
    background: var(--paper); min-height: var(--topH, 62px);
    margin: 0 -14px 10px; padding: 0 26px; border-bottom: 1px solid var(--rule);
  }
  .navmore {
    display: flex; flex-direction: column; flex: 1 1 auto;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
  }
  .navmore .btn { display: flex; width: 100%; margin: 0 0 8px; font-size: 15px; padding: 13px 14px; }
  .navfacts {
    margin: 14px 0 0; margin-top: auto; padding: 13px 14px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--rule); font-size: 13px; line-height: 1.55;
  }
  .navfacts dt { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
  .navfacts dd { margin: 2px 0 10px; font-weight: 600; color: var(--ink); word-break: keep-all; }
  .navfacts dd:last-child { margin-bottom: 0; }

  .navveil {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(16,22,20,.5); opacity: 0; pointer-events: none; transition: opacity .28s ease;
  }
  body.navopen .navveil { opacity: 1; pointer-events: auto; }
}

/* 화면 바닥에 붙는 문의 띠 — 끝까지 붙어 있습니다 */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 9px var(--edge) calc(9px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 93%, transparent);
    backdrop-filter: blur(10px); border-top: 1px solid var(--rule);
  }
  .callbar .btn { padding: 12px 10px; font-size: 15px; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav.menu, .navveil { transition: none; }
}

@media print {
  header.top, .callbar, .cta-band, .navveil { display: none !important; }
  body { padding-bottom: 0; }
}
/* ── 긴 글(가이드 · 칼럼 · 약관 · 방침) ─────────────────── */
.prose { font-size: 16.5px; line-height: 1.85; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(21px, 3.4vw, 26px); margin-top: 42px; }
.prose h3 { font-size: 18.5px; margin-top: 34px; }
.prose h4 { margin-top: 24px; }
.prose p { color: var(--ink); }
.prose b, .prose strong { font-weight: 700; }
.prose ul.check, .prose ul.no { margin-top: 14px; }
.prose ul:not(.check):not(.no), .prose ol:not(.steps) { padding-left: 22px; margin-top: 14px; }
.prose ul:not(.check):not(.no) li, .prose ol:not(.steps) li { margin-bottom: 6px; }
.prose .note, .prose .tablewrap, .prose ol.steps { margin-top: 22px; }
.prose table { min-width: 380px; }
.prose table th { white-space: nowrap; }
.prose blockquote {
  margin: 22px 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--rule);
  color: var(--muted);
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
  background: var(--surface); padding: 1px 5px; border-radius: 5px;
}

/* ── 폼 ─────────────────────────────────────────────────── */
form.ask label, .calc label {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 14px;
}
form.ask .grid label { margin-top: 0; }
form.ask .grid { gap: 14px; margin-bottom: 14px; }
form.ask .req { color: var(--warm); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  display: block; width: 100%; margin-top: 6px;
  font-family: var(--ui); font-size: 15.5px; font-weight: 500; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 10px;
  padding: 11px 13px; line-height: 1.5;
}
textarea { resize: vertical; }
/* 고르는 칸의 화살표 — 브라우저 기본 화살표는 오른쪽 끝에 딱 붙습니다. 직접 그려 안쪽 여백만큼 띄웁니다. */
select { appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%236E6C66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
select::-ms-expand { display: none; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
form.ask button { margin-top: 20px; }
/* 메일 칸 아래 한 줄 — 주소 모양이 틀리면 어디가 틀렸는지 짚습니다. 비어 있으면 자리를 차지하지 않습니다 */
form.ask .bad { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--warm); }
form.ask .bad:empty { display: none; }
form.ask input[aria-invalid="true"] { border-color: var(--warm); }

/* 후기 폼의 공개 범위 고르는 칸 */
/* 폼 버튼 위 동의 한 줄 */
label.consent {
  display: block; margin: 18px 0 16px; padding: 13px 15px;
  border: 1px solid var(--rule); border-radius: 11px; background: var(--surface); cursor: pointer;
}
/* **체크 칸은 첫 줄 하나에만 맞춥니다.** 설명까지 한 덩어리로 묶어 `align-items: flex-start` 로
   두면 글이 두 줄, 세 줄로 늘어날 때마다 체크 칸이 위로 떠 보입니다 — 위쪽 여백을 몇 px 로
   맞춰도 화면 폭이 바뀌면 또 어긋납니다. 첫 줄만 따로 묶어 세로 가운데로 두면 늘 맞습니다. */
label.consent .line { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.45; }
label.consent .line input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
label.consent .why {
  display: block; margin-top: 7px; padding-left: 28px;   /* 18px 체크 + 10px 틈 — 글이 첫 줄 글과 맞게 */
  font-size: 13.5px; line-height: 1.65; color: var(--muted);
}
label.consent b { color: var(--ink); font-weight: 700; }
label.consent i { font-style: normal; color: var(--warm); font-weight: 700; font-size: 13px; }
label.consent a { font-weight: 600; }

/* 공개 범위 고르는 칸 — 선택지마다 한 줄씩, 구분선은 상자 끝에서 끝까지.
   동그라미는 제목 글줄 한가운데에 맞춥니다(글줄 24px · 동그라미 18px → 위로 3px).
   예전에는 상자 안쪽 여백과 줄 안쪽 여백이 겹쳐 선이 끝에서 끊기고, 맨 위만 멀리 떨어져 보였습니다 (대표 지적, 2026-09-25) */
fieldset.agree { margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
/* 제목은 다른 칸처럼 상자 **위에** 둡니다 — 기본 legend 는 테두리 선에 걸쳐 그려져
   이 폼에서만 모양이 달랐습니다 (대표 지적, 2026-09-25). float 를 줘야 선에서 떨어집니다 */
fieldset.agree legend { float: left; width: 100%; margin: 0 0 6px; padding: 0;
  font-size: 13.5px; font-weight: 700; color: var(--muted); }
fieldset.agree .opts { clear: both; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--card); overflow: hidden; }
fieldset.agree label.one {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 20px;
  font-size: 14.5px; font-weight: 500; cursor: pointer;
}
fieldset.agree label.one + label.one { border-top: 1px solid var(--rule); }
fieldset.agree label.one:hover { background: var(--surface); }
fieldset.agree input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--brand); }
fieldset.agree b { display: block; font-weight: 700; line-height: 24px; color: var(--ink); }
fieldset.agree i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 한 칸 안에 제목 · 글 · 폼을 쌓을 때 — 구역 간격 규칙(`section > .wrap > * + *`)은
   칸 안까지 닿지 않아 제목과 목록이 붙었습니다 (/review 오른쪽 칸, 2026-09-25) */
.stack > * + * { margin-top: 20px; }
.stack > .sec-head + * { margin-top: clamp(20px, 3vw, 28px); }

/* ── 견본 목록 — 화면 사진이 먼저 ──────────────────────────── */
.samplelist { display: grid; gap: clamp(22px, 3vw, 34px); }
.sl-item {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 34px); align-items: center;
  padding-bottom: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--rule);
}
.samplelist > .sl-item:last-child { border-bottom: 0; padding-bottom: 0; }
/* 짝수 번째는 좌우를 바꿉니다 — 열둘이 같은 모양으로 내려오면 지루합니다. */
.sl-item:nth-child(even) .sl-shot { order: 2; }
.sl-shot {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--rule); background: var(--surface);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sl-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: top center; }
.sl-shot:hover { transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 22px 46px -30px rgba(16,22,20,.55); }
.sl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.sl-tags span {
  font-size: 11.5px; font-weight: 700; letter-spacing: -.01em;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--rule);
}
.sl-item h3 { font-size: clamp(19px, 2.4vw, 23px); letter-spacing: -.03em; }
.sl-item h3 a { color: inherit; text-decoration: none; }
.sl-item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sl-line { margin-top: 8px; font-size: 15px; color: var(--muted); word-break: keep-all; }
.sl-points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.sl-points li {
  position: relative; padding-left: 15px; font-size: 14px;
  color: var(--ink); line-height: 1.6; word-break: keep-all;
}
.sl-points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.sl-open { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700;
  color: var(--accent); text-decoration: none; }
.sl-open:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) {
  /* 좁은 화면에서 좌우로 가르면 사진도 글도 작습니다. 사진을 위로 올립니다. */
  .sl-item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sl-item:nth-child(even) .sl-shot { order: 0; }
}

/* 업종 장 — 인스타와 홈페이지가 맡는 일 (카페) */
.vs > div { border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; background: var(--card); }
.vs h3 { font-size: 17px; margin: 0 0 12px; }
.vs .vs-b { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.vs .vs-b h3 { color: var(--accent); }

/* 실제 사례 — 전과 후를 나란히 */
.case-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.case-ba figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case-ba figcaption { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.case-ba figcaption span { font-size: 12.5px; color: var(--muted); }
.case-ba img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: top center; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); }
.case-ba .ba-after figcaption b { color: var(--accent); }
@media (max-width: 820px) { .case-ba { grid-template-columns: minmax(0, 1fr); } }

/* 후기 인용 카드 */
figure.quote {
  margin: 0; padding: 24px 24px 21px; background: var(--card);
  border: 1px solid var(--rule); border-radius: 15px;
  display: flex; flex-direction: column; gap: 14px;
}
figure.quote blockquote {
  margin: 0; font-size: 16px; line-height: 1.8; color: var(--ink); word-break: keep-all;
}
figure.quote blockquote::before { content: "\201C"; color: var(--accent); font-weight: 800; }
figure.quote blockquote::after { content: "\201D"; color: var(--accent); font-weight: 800; }
figure.quote figcaption {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: 13.5px; font-weight: 700; color: var(--muted);
}

/* ── 예상 견적 계산기 ───────────────────────────────────── */
.calc { display: grid; gap: 18px; grid-template-columns: 1.15fr .85fr; align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-in, .calc-out {
  background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px;
}
.calc-out { position: sticky; top: calc(var(--topH) + 14px); }
@media (max-width: 820px) { .calc-out { position: static; } }
.calc .opts { display: grid; gap: 2px; margin-top: 6px; }
.calc .opt {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 11px;
  border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.calc .opt:hover { background: var(--surface); }
/* 고른 등급에 이미 들어 있는 가산은 감춥니다. `.opt` 가 flex 라 `[hidden]` 만으로는 안 사라집니다. */
.calc .opt[hidden] { display: none; }
.calc .opt input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--accent); }
.calc .opt > span:first-of-type { flex: 1; }
.calc .amt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.calc .label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; color: var(--muted); }
.calc .big { font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -.04em; margin-top: 2px; }
.calc .mid { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }


/* ── 아이콘 · 그림 (도구/사이트/그림.py · 아이콘.py) ─────────── */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.15em; flex: none; }
.icb, .fi { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: color-mix(in srgb, var(--accent) 11%, var(--card)); color: var(--accent); }
.icb .ic, .fi .ic { width: 22px; height: 22px; }
.card .icb { margin-bottom: 2px; }
.card.flat .icb { background: color-mix(in srgb, var(--accent) 11%, var(--paper)); }
section.tint .card.flat .icb { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.plan .tagname .ic { width: 19px; height: 19px; color: var(--accent); margin-right: 6px; vertical-align: -4px; }
ol.steps li .si { position: absolute; right: 16px; top: 15px; color: var(--muted); opacity: .75; }
ol.steps li .si .ic { width: 22px; height: 22px; }
.dg-cap { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.prose .dg { margin-top: 30px; }
.prose .dg + * { margin-top: 30px; }
.prose .dg + .dg-cap { margin-top: 12px; }
.prose .dg-cap + * { margin-top: 30px; }

/* 흐름 — 휴대폰에서는 세로로 쌓이고 화살표가 아래를 봅니다. 넓어지면 한 줄에 n칸 */
ol.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; --n: 4; }
ol.flow li { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
  padding: 18px 17px 17px; display: flex; flex-direction: column; gap: 6px; }
ol.flow li .fi { width: 40px; height: 40px; margin-bottom: 4px; }
ol.flow li b { font-size: 15.5px; letter-spacing: -.02em; line-height: 1.4; }
ol.flow li > span:not(.fi) { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
ol.flow li + li::before { content: ""; position: absolute; left: 50%; top: -17px; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateX(-50%) rotate(45deg); opacity: .6; }
@media (min-width: 720px) {
  ol.flow.n3, ol.flow.n4 { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 26px; }
  ol.flow.n3 li + li::before, ol.flow.n4 li + li::before {
    left: -19px; top: 50%; border-bottom: 0; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted);
    transform: translateY(-50%) rotate(45deg); }
}
@media (min-width: 900px) {
  ol.flow.n5, ol.flow.n6 { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 26px; }
  ol.flow.n5 li + li::before, ol.flow.n6 li + li::before {
    left: -19px; top: 50%; border-bottom: 0; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted);
    transform: translateY(-50%) rotate(45deg); }
}
/* 선 위의 배지 — 상자 대신 동그라미. 휴대폰에서는 두 칸씩 */
ol.flow.line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; position: relative; }
ol.flow.line li { background: none; border: 0; padding: 0 4px; align-items: center; text-align: center; gap: 4px; }
ol.flow.line li .fi { width: 56px; height: 56px; border-radius: 50%; background: var(--card);
  border: 1.5px solid var(--accent); margin-bottom: 6px; position: relative; z-index: 1; }
ol.flow.line li + li::before { display: none; }
@media (min-width: 720px) {
  ol.flow.line { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
  ol.flow.line::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px;
    border-top: 2px dashed var(--rule); }
}
.tail { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px;
  border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--rule)); }
.tail .fi { width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); }
.tail b { display: block; font-size: 16.5px; letter-spacing: -.02em; }
.tail span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* 계단 — 왼쪽이 1층, 오른쪽으로 올라갑니다 */
.stairs { display: grid; gap: 12px; }
.stairs .st { border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px 18px; background: var(--card);
  display: grid; gap: 4px; align-content: start; }
.stairs .st2 { background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
.stairs .st3 { background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.stairs .lv { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.stairs b { font-size: 17px; letter-spacing: -.02em; }
.stairs .st > span:not(.lv) { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.stairs i { font-style: normal; font-size: 12.5px; font-weight: 700; margin-top: 8px; padding: 4px 10px;
  border-radius: 999px; width: max-content; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); }
.stairs .us i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (min-width: 680px) {
  .stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .stairs .st1 { min-height: 170px; } .stairs .st2 { min-height: 206px; } .stairs .st3 { min-height: 242px; }
}

/* 막대 — 글에 적힌 금액을 그대로 */
.bars { display: grid; gap: 16px; }
.bars .bar { display: grid; grid-template-columns: minmax(84px, 150px) minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; }
.bars .bl { font-size: 14px; font-weight: 700; line-height: 1.4; }
.bars .btw { position: relative; display: block; }
.bars .bt { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--surface); }
.bars .bt i { display: block; height: 100%; }
.bars .c1 { background: var(--accent); }
.bars .c2 { background: color-mix(in srgb, var(--accent) 62%, var(--surface)); }
.bars .c3 { background: color-mix(in srgb, var(--accent) 36%, var(--surface)); }
.bars .c4 { background: var(--warm); }
.bars .mk { position: absolute; top: -7px; bottom: -7px; border-left: 2px dashed var(--warm); }
.bars .mk em { position: absolute; left: 6px; top: -22px; font-style: normal; font-size: 12px; font-weight: 700;
  color: var(--warm); white-space: nowrap; }
.bars .bar:first-child .mk em { top: -24px; }
.bars .bar + .bar .mk em { display: none; }
.bars .bar:first-child { margin-top: 20px; }
.bars .bv { font-weight: 800; white-space: nowrap; font-size: 15px; }
.bars .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.bars .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
@media (max-width: 520px) {
  .bars .bar { grid-template-columns: minmax(0, 1fr) auto; }
  .bars .bl { grid-column: 1 / -1; }
}

/* 휴대폰 화면 — 번호 표식과 설명 */
.phone-dg { display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .phone-dg { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; } }
.phone { width: 236px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 32px; padding: 10px;
  background: var(--card); box-shadow: 0 22px 44px -32px rgba(16,22,20,.65); }
.phone .scr { position: relative; border-radius: 22px; background: var(--paper); border: 1px solid var(--rule);
  aspect-ratio: 9 / 17; display: flex; flex-direction: column; }
.phone .top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px; }
.phone .logo-dot { width: 46px; height: 10px; border-radius: 5px; background: var(--ink); }
.phone .menu { width: 18px; height: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink); }
.phone .h { font-weight: 800; font-size: 16px; line-height: 1.32; padding: 10px 16px 0; letter-spacing: -.025em; text-wrap: balance; }
.phone .t { padding: 10px 16px 0; display: grid; gap: 6px; }
.phone .t i { display: block; height: 7px; border-radius: 4px; background: var(--rule); }
.phone .t i.s { width: 64%; }
.phone .chip { margin: 12px 16px 0; display: inline-flex; width: max-content; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--accent); }
.phone .price { margin: 10px 16px 0; font-size: 13px; display: grid; gap: 2px; }
.phone .price span { display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 5px 0; color: var(--muted); }
.phone .price b { color: var(--ink); }
.phone .b { margin: 12px 16px 0; display: grid; gap: 8px; }
.phone .b i, .phone .bar i { display: grid; place-items: center; height: 40px; border-radius: 10px; font-style: normal;
  font-size: 13px; font-weight: 700; border: 1.5px solid var(--rule); color: var(--ink); }
.phone .b i.f, .phone .bar i.f { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.phone .bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px 12px;
  border-top: 1px solid var(--rule); background: var(--card); border-radius: 0 0 22px 22px; }
.phone .bar i { height: 38px; }
.phone .n, .callouts .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--warm); color: #fff; font-size: 12.5px; font-weight: 800; font-style: normal; line-height: 1; }
.phone .n { position: absolute; z-index: 2; box-shadow: 0 0 0 3px var(--paper); }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.callouts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px;
  line-height: 1.6; color: var(--muted); }
.callouts li b { display: block; color: var(--ink); font-size: 15.5px; letter-spacing: -.02em; }
.callouts .n { margin-top: 2px; }

/* 첫 화면 뼈대 — 디자인 장 */
.wirecard { padding-top: 16px; }
.wire-wrap { display: block; margin-bottom: 6px; }
.wire { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); }
.wire .w-ph { fill: color-mix(in srgb, var(--accent) 26%, var(--surface)); }
.wire .w-ink { fill: var(--ink); }
.wire .w-lt { fill: var(--paper); }
.wire .w-acc { fill: var(--accent); }
.wire .w-card { fill: var(--card); stroke: var(--rule); stroke-width: 1; }
.wire .w-dim { fill: rgba(8, 12, 10, .55); }
.wire .w-mute { fill: var(--rule); }

/* 두 통 — 한 번 내는 것 / 매달 나가는 것 */
.buckets { display: grid; gap: 14px; }
@media (min-width: 680px) { .buckets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bucket { border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 20px; background: var(--card); display: grid; gap: 6px; }
.bucket b { font-size: 16.5px; letter-spacing: -.02em; margin-top: 4px; }
.bucket .sub { font-size: 13.5px; color: var(--muted); }
.bucket .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.bucket .tags span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--rule); }
.bucket + .bucket .tags span { background: color-mix(in srgb, var(--warm) 12%, var(--surface)); }
