:root {
  --bg: #f4f5f4; --card: #ffffff; --paper: #eef0ee;
  --ink: #202320; --ink-strong: #0c0e0c; --muted: #6f736f; --muted-2: #9a9e98;
  --line: #e1e3e0;
  --brand: #0a7a52; --brand-dark: #076043; --brand-soft: #e3f2eb;
  --danger: #ef4444;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161815; --card: #1f221e; --paper: #1b1e19;
    --ink: #eceeea; --ink-strong: #ffffff; --muted: #9a9e94; --muted-2: #6f736a;
    --line: #33362f;
    --brand: #22c58a; --brand-dark: #4ade9a; --brand-soft: #16332a;
    --danger: #f87171;
  }
}
:root[data-theme="dark"] {
  --bg: #161815; --card: #1f221e; --paper: #1b1e19;
  --ink: #eceeea; --ink-strong: #ffffff; --muted: #9a9e94; --muted-2: #6f736a;
  --line: #33362f;
  --brand: #22c58a; --brand-dark: #4ade9a; --brand-soft: #16332a;
  --danger: #f87171;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

body {
  background: var(--bg); color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, system-ui, sans-serif;
  margin: 0; line-height: 1.65;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px 100px; }
a { color: var(--brand); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; background: var(--brand-soft); color: var(--brand-dark); border-radius: 4px; padding: 1px 6px; }

/* 헤더 */
.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.wordmark { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--ink-strong); }
.wordmark svg { width: 22px; height: 22px; flex-shrink: 0; }
.wordmark .a { fill: var(--brand); } .wordmark .b { fill: var(--ink-strong); }
.top .tag { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }

/* 히어로 */
.hero { padding: 40px 0 8px; opacity: 0; animation: rise 0.6s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 18px; color: var(--ink-strong); text-wrap: balance; }
h1 em { font-style: normal; color: var(--brand); }
.lede { font-size: 16.5px; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }

.stat-row { display: flex; gap: 28px; margin-bottom: 32px; flex-wrap: wrap; }
.stat .n { font-size: 26px; font-weight: 800; color: var(--ink-strong); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.cta-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}
.cta-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.cta-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }

h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-strong);
  margin: 64px 0 8px; text-wrap: balance;
}
.section-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 26px; max-width: 58ch; }

/* 가치 카드 */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.value-card .icon-tile {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.value-card .icon-tile svg { width: 19px; height: 19px; stroke: var(--brand-dark); fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; color: var(--ink-strong); }
.value-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* 비교: 나열 vs 진열 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }
.compare-panel { border-radius: 16px; padding: 18px; }
.compare-panel.old { background: var(--paper); border: 1px dashed var(--line); }
.compare-panel.new { background: var(--card); border: 1px solid var(--brand); }
.compare-panel .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.compare-panel.old .tag { color: var(--muted); }
.compare-panel.new .tag { color: var(--brand-dark); }
.list-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.list-row:last-child { border-bottom: none; }
.list-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform 0.15s; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.mini-card:hover { transform: translateY(-3px); }
.mini-thumb { position: relative; height: 60px; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.mini-photo { width: 26px; height: 26px; stroke: var(--muted-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mini-heart { position: absolute; bottom: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; }
.mini-heart svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.2; }
.mini-body { padding: 7px 9px 9px; }
.mini-title { font-size: 11px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.mini-price { font-size: 12px; font-weight: 800; color: var(--brand-dark); }

/* 시작하는 법 */
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: none; }
.step-num {
  counter-increment: step; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.step-num::before { content: counter(step); }
.step h4 { font-size: 15px; font-weight: 700; margin: 6px 0 4px; color: var(--ink-strong); }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* 5단계가 모두 같은 무게로 보이면, 실제로 방문자가 생기느냐를 결정하는 단계가
   묻힌다. 실측 퍼널에서 "첫 링크 등록"까지는 오는데 "첫 공유"가 0이었다 —
   즉 사람들이 등록만 하고 주소를 안 걸고 있다. 그 단계만 시각적으로 세운다. */
.step.step-key { background: var(--brand-soft); border-radius: 12px; padding: 18px; border-top-color: transparent; }
.step.step-key + .step { border-top-color: var(--line); }
.step.step-key .step-num { background: var(--brand); color: #fff; }
.step.step-key h4 { color: var(--brand-dark); }
/* .step p (0,1,1)가 .step-why (0,1,0)를 이겨서 색이 muted로 덮이던 것을
   p.step-why (0,2,1)로 올려 잡는다. 태그를 섞어 쓰는 선택자와 클래스만 쓰는
   선택자가 만나면 이런 역전이 조용히 생긴다. */
.step p.step-why { font-size: 13px; font-weight: 700; color: var(--brand-dark); margin: 8px 0 0; }

/* 솔직 안내 */
.honest-box { background: var(--paper); border-radius: 14px; padding: 20px 22px; margin-top: 8px; }
.honest-box .h { font-size: 13px; font-weight: 800; color: var(--ink-strong); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.honest-box ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.honest-box li { margin-bottom: 6px; }

/* 낮은 커밋 CTA */
.soft-ask {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px;
  margin-top: 56px; text-align: center;
}
.soft-ask h2 { margin-top: 0; }
.soft-ask p { font-size: 14.5px; color: var(--muted); max-width: 48ch; margin: 0 auto 22px; }

footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted-2); flex-wrap: wrap; gap: 8px; }
