/* AI 노출 체크 — 공통 스타일 · 모바일 375px 우선 */
:root{
  --bg:#fff; --fg:#111318; --fg2:#3c4149; --muted:#6b7280;
  --line:#e6e8ec; --soft:#f7f8fa; --soft2:#eef0f4;
  --good:#0f7a58; --good-bg:#e9f6f1;
  --warn:#a86a00; --warn-bg:#fdf4e3;
  --bad:#c0392b;  --bad-bg:#fdeeec;
  --pro:#5b4bdb;  --pro-bg:#f2f0ff; --pro-line:#d9d3ff;
  --r:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Malgun Gothic","맑은 고딕",system-ui,sans-serif;
  background:var(--bg); color:var(--fg); line-height:1.6; font-size:16px;
  word-break:keep-all; -webkit-font-smoothing:antialiased;
}
a{color:inherit}
.wrap{max-width:560px;margin:0 auto;padding:0 20px}

/* ── 헤더 ── */
.top{border-bottom:1px solid var(--line);background:#fff}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:52px;gap:10px}
.brand{font-weight:800;font-size:16px;letter-spacing:-.02em;text-decoration:none;
  display:flex;align-items:center;min-height:44px;padding-right:8px}
.brand i{color:#e2571f;font-style:normal}
.tag{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:3px 8px;white-space:nowrap}

/* ── 히어로 ── */
.hero{min-height:calc(100vh - 52px);display:flex;flex-direction:column;justify-content:center;padding:24px 0 40px}
.hero>.wrap{width:100%}   /* flex column + margin auto 로 폭이 줄어드는 것 방지 */
.hero h1{font-size:34px;line-height:1.25;letter-spacing:-.035em;font-weight:800;margin-bottom:14px}
.hero p.sub{font-size:16px;color:var(--fg2);margin-bottom:26px}
.searchbox{margin-bottom:12px}
.input-lg{
  width:100%;height:58px;padding:0 16px;font-size:17px;font-family:inherit;
  border:2px solid var(--fg);border-radius:var(--r);background:#fff;color:var(--fg);
}
.input-lg::placeholder{color:#9aa1ab;font-weight:400}
.input-lg:focus{outline:3px solid #c9cdd6;outline-offset:1px}
.btn{
  display:block;width:100%;height:58px;border:0;border-radius:var(--r);
  background:var(--fg);color:#fff;font-size:18px;font-weight:800;font-family:inherit;
  cursor:pointer;letter-spacing:-.02em;text-decoration:none;line-height:58px;text-align:center;
}
.btn:active{background:#000;transform:translateY(1px)}
.btn.pro{background:var(--pro)}
.btn.ghost{background:#fff;color:var(--fg);border:2px solid var(--fg);line-height:54px}
.hint{font-size:14px;color:var(--muted);text-align:center;margin-top:12px}
.cue{margin-top:auto;padding-top:28px;text-align:center;font-size:13px;color:#9aa1ab}
.err{color:var(--bad);font-size:14px;margin-top:8px;display:none}
.err.on{display:block}

/* ── 섹션 ── */
section{padding:34px 0;border-top:1px solid var(--line)}
h2{font-size:22px;line-height:1.35;letter-spacing:-.03em;font-weight:800;margin-bottom:14px}
h3{font-size:16px;font-weight:700;margin-bottom:6px}
p{margin-bottom:12px;color:var(--fg2)}
.small{font-size:13px;color:var(--muted)}
.lead{font-size:17px;color:var(--fg2)}

/* ── 카드 ── */
.card{border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:12px;background:#fff}
.card.flat{background:var(--soft);border-color:transparent}
.card p:last-child{margin-bottom:0}

/* ── 점수 ── */
.score{border:1px solid var(--line);border-radius:var(--r);padding:26px 18px;text-align:center;margin-bottom:12px}
.score .num{font-size:64px;line-height:1;font-weight:800;letter-spacing:-.05em}
.score .den{font-size:22px;font-weight:700;color:var(--muted)}
.score .state{display:inline-block;margin-top:12px;font-size:15px;font-weight:800;padding:5px 14px;border-radius:99px}
.s-good{color:var(--good);background:var(--good-bg)}
.s-warn{color:var(--warn);background:var(--warn-bg)}
.s-bad{color:var(--bad);background:var(--bad-bg)}
.score .how{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.5}

/* ── 통계 그리드 ── */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.stat{border:1px solid var(--line);border-radius:12px;padding:14px 10px;text-align:center}
.stat b{display:block;font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1.2}
.stat span{display:block;font-size:12px;color:var(--muted);margin-top:4px}

/* ── AI 목록 ── */
.ai{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid var(--line);
  border-radius:12px;margin-bottom:8px}
.ai .dot{width:11px;height:11px;border-radius:50%;flex:0 0 auto}
.ai .dot.on{background:var(--good)}
.ai .dot.off{background:#fff;border:2px solid #c3c8d0}
.ai .nm{font-weight:700;font-size:16px;flex:1}
.ai .vl{font-size:14px;font-weight:700}
.ai .vl.on{color:var(--good)} .ai .vl.off{color:var(--muted)}

/* ── 비교 막대 ── */
.row{margin-bottom:16px}
.row .lb{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700;margin-bottom:7px}
.row .lb .v{font-size:15px;font-weight:800}
.track{height:14px;background:var(--soft2);border-radius:99px;overflow:hidden}
.fill{height:100%;border-radius:99px;background:var(--fg)}
.fill.me{background:var(--warn)}
.fill.rival{background:#b9bec8}
.fill.locked{background:repeating-linear-gradient(135deg,#c9cdd6 0 6px,#dfe2e8 6px 12px)}

/* ── 잠금 ── */
.lock{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:800;color:var(--pro)}
.blur{filter:blur(6px);user-select:none;pointer-events:none;opacity:.85}
.pro-card{border:1.5px solid var(--pro-line);background:linear-gradient(180deg,var(--pro-bg),#fff 70%);
  border-radius:var(--r);padding:18px;margin-bottom:12px}
.pro-card .hd{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:800;margin-bottom:14px}
.pro-card .hd em{font-style:normal;color:var(--pro)}
.kv{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #ece9fb;font-size:15px}
.kv:last-child{border-bottom:0}
.kv .k{color:var(--fg2);font-weight:600}
.kv .v{font-weight:800}
.q{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff;margin-bottom:8px}
.q .txt{font-weight:700;font-size:15px;margin-bottom:9px}
.chart{width:100%;height:auto;display:block;margin:4px 0 10px}
.steps{counter-reset:s;margin:0}
.steps li{list-style:none;display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #ece9fb;font-size:15px}
.steps li:last-child{border-bottom:0}
.steps li .n{width:22px;height:22px;border-radius:50%;background:var(--pro);color:#fff;
  font-size:12px;font-weight:800;display:grid;place-items:center;flex:0 0 auto}

/* ── 폼 ── */
.f{margin-bottom:18px}
label{display:block;font-size:14px;font-weight:700;margin-bottom:7px}
.req::after{content:" *";color:#e2571f}
input[type=text],input[type=email],input[type=url],select,textarea{
  width:100%;min-height:50px;padding:13px 14px;border:1.5px solid #d6d9df;border-radius:12px;
  font-size:16px;font-family:inherit;background:#fff;color:var(--fg)}
textarea{min-height:84px;resize:vertical;line-height:1.6}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--fg)}
fieldset{border:0;margin-bottom:20px}
legend{font-size:14px;font-weight:700;margin-bottom:9px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips label{display:block;margin:0}
.chips input{position:absolute;opacity:0;width:0;height:0}
.chips span{display:block;padding:12px 15px;border:1.5px solid #d6d9df;border-radius:99px;
  font-size:15px;font-weight:600;color:var(--fg2);cursor:pointer;min-height:46px;line-height:1.4}
.chips input:checked + span{border-color:var(--fg);background:var(--fg);color:#fff}
.chips input:focus-visible + span{outline:3px solid #c9cdd6}
.chk{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px;font-weight:500;color:var(--fg2)}
.chk input{width:22px;height:22px;min-height:0;flex:0 0 auto}
.small a{display:inline-block;padding:14px 0}
details.more{border:1.5px solid #d6d9df;border-radius:12px;padding:0 14px;margin-bottom:20px}
details.more>summary{list-style:none;cursor:pointer;font-size:15px;font-weight:700;color:var(--fg2);
  min-height:52px;display:flex;align-items:center;justify-content:space-between}
details.more>summary::-webkit-details-marker{display:none}
details.more>summary::after{content:"+";font-size:20px;font-weight:800;color:var(--muted)}
details.more[open]>summary::after{content:"−"}
details.more[open]>summary{border-bottom:1px solid var(--line)}
details.more .inner{padding:16px 0 4px}
.msg{padding:14px 16px;border-radius:12px;font-size:15px;margin-top:14px;display:none}
.msg.ok{display:block;background:var(--good-bg);color:var(--good);font-weight:700}
.msg.no{display:block;background:var(--bad-bg);color:var(--bad);font-weight:700}

/* ── 알림 배너 ── */
.notice{background:var(--warn-bg);border:1px solid #f0dcb0;border-radius:var(--r);
  padding:15px 16px;font-size:14px;color:#5c4a2e;line-height:1.6}
.notice b{color:#3d3020}
.notice + .notice{margin-top:10px}

/* ── 가격 ── */
.plan{border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:10px}
.plan.hi{border:1.5px solid var(--pro-line);background:var(--pro-bg)}
.plan .nm{font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--muted)}
.plan.hi .nm{color:var(--pro)}
.plan .pr{font-size:26px;font-weight:800;letter-spacing:-.03em;margin:2px 0 8px}
.plan ul{margin:0;padding-left:18px}
.plan li{font-size:14px;color:var(--fg2);margin-bottom:4px}

/* ── 히어로 일러스트 (인라인 SVG) ── */
.hero-art{width:100%;max-width:340px;height:auto;display:block;margin:0 auto 22px}
@media(min-width:768px){.hero-art{max-width:420px;margin-bottom:26px}}

/* ── 섹션 번호 ── */
.sec-h{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.sec-h .n{width:26px;height:26px;border-radius:8px;background:var(--fg);color:#fff;
  font-size:13px;font-weight:800;display:grid;place-items:center;flex:0 0 auto}
.sec-h h2{margin:0;font-size:21px}
.sec-sub{font-size:14px;color:var(--muted);margin-bottom:16px}

/* ── 게이지 ── */
.gauge-wrap{display:flex;align-items:center;gap:18px;border:1px solid var(--line);
  border-radius:var(--r);padding:20px 18px;margin-bottom:12px}
.gauge{width:106px;height:106px;flex:0 0 auto}
.gauge-txt{flex:1;min-width:0}
.gauge-txt .st{display:inline-block;margin:0 0 6px;font-size:14px;font-weight:800;padding:4px 12px;border-radius:99px}
.gauge-txt .how{font-size:12px;color:var(--muted);line-height:1.5}
@media(min-width:768px){.gauge{width:126px;height:126px}.gauge-txt .how{font-size:13px}}

/* ── 주제 행 ── */
.topic{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--line);
  border-radius:12px;margin-bottom:8px}
.topic .ico{width:22px;height:22px;flex:0 0 auto}
.topic .body{flex:1;min-width:0}
.topic .nm{font-size:15px;font-weight:700;margin-bottom:6px}
.topic .track{height:9px}
.topic .cnt{font-size:14px;font-weight:800;white-space:nowrap;text-align:right;min-width:56px}
.topic.ok{background:var(--good-bg);border-color:#cfe9df}
.topic.ng{background:var(--bad-bg);border-color:#f4d3ce}
.topic.ok .fill{background:var(--good)} .topic.ok .cnt{color:var(--good)}
.topic.ng .fill{background:var(--bad)}  .topic.ng .cnt{color:var(--bad)}

/* ── 경쟁사 그룹 막대 ── */
.vs{border:1px solid var(--line);border-radius:12px;padding:15px;margin-bottom:10px}
.vs .q{font-size:15px;font-weight:700;margin-bottom:11px}
.vs .line{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.vs .line:last-child{margin-bottom:0}
.vs .who{font-size:13px;width:72px;flex:0 0 auto;color:var(--fg2);font-weight:600}
.vs .track{flex:1;height:11px}
.vs .val{font-size:13px;font-weight:800;width:44px;text-align:right;flex:0 0 auto}

/* ── 행동계획 카드 ── */
.act{border:1.5px solid var(--pro-line);border-radius:var(--r);
  background:linear-gradient(180deg,var(--pro-bg),#fff 60%);padding:16px;margin-bottom:12px}
.act .no{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;
  color:var(--pro);background:#fff;border:1px solid var(--pro-line);border-radius:99px;
  padding:3px 10px;margin-bottom:11px}
.act dl{margin:0}
.act dt{font-size:12px;font-weight:800;color:var(--muted);letter-spacing:.03em;margin-bottom:3px}
.act dd{margin:0 0 11px;font-size:15px;color:var(--fg);line-height:1.55}
.act dd:last-child{margin-bottom:0}
.act dd.evi{font-size:14px;color:var(--fg2)}
.act ol{margin:0;padding-left:19px}
.act ol li{font-size:14px;color:var(--fg2);margin-bottom:4px}

/* ── 실행 산출물 태그 ── */
.deliv{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.deliv span{font-size:13px;font-weight:700;color:var(--pro);background:#fff;
  border:1px solid var(--pro-line);border-radius:8px;padding:8px 11px}

/* ── 추적 카드 ── */
.trk{border:1.5px solid var(--pro-line);border-radius:var(--r);background:#fff;padding:16px;margin-bottom:12px}
.trk .cap{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:4px}

/* ── 무료 행동가이드 ── */
.guide{border:1.5px solid #cfe0f5;background:linear-gradient(180deg,#eff6fd,#fff 65%);
  border-radius:var(--r);padding:16px;margin-bottom:12px}
.guide .hd{font-size:16px;font-weight:800;margin-bottom:4px}
.guide .why{font-size:14px;color:var(--fg2);margin-bottom:12px}
.guide ul{margin:0;padding:0;list-style:none}
.guide li{display:flex;gap:9px;align-items:flex-start;font-size:15px;color:var(--fg);
  padding:9px 0;border-bottom:1px solid #e2ecf7;line-height:1.55}
.guide li:last-child{border-bottom:0;padding-bottom:0}
.guide li b.mk{color:#1c5fa8;flex:0 0 auto;font-weight:800}
.guide .free-tag{display:inline-block;font-size:11px;font-weight:800;color:#1c5fa8;
  background:#fff;border:1px solid #cfe0f5;border-radius:99px;padding:3px 9px;margin-bottom:10px}

/* ── 사용방법 4단계 ── */
.how4{counter-reset:h;margin:0;padding:0;list-style:none}
.how4 li{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line)}
.how4 li:last-child{border-bottom:0}
.how4 .n{width:28px;height:28px;border-radius:9px;background:var(--soft2);color:var(--fg);
  font-size:14px;font-weight:800;display:grid;place-items:center;flex:0 0 auto}
.how4 .t{font-size:15px;font-weight:700;margin-bottom:3px}
.how4 .d{font-size:14px;color:var(--fg2);line-height:1.55}

/* ── 재측정 사이클 ── */
.cycle{border:1px solid var(--pro-line);border-radius:var(--r);background:#fff;padding:18px 16px;margin-bottom:12px}
.cycle .step{display:flex;align-items:center;gap:12px}
.cycle .box{flex:1;text-align:center;border:1px solid var(--line);border-radius:11px;padding:11px 8px}
.cycle .box b{display:block;font-size:22px;font-weight:800;letter-spacing:-.02em}
.cycle .box span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.cycle .box.now{border-color:#f0dcb0;background:#fdf4e3}
.cycle .box.next{border-color:var(--pro-line);background:var(--pro-bg)}
.cycle .ar{font-size:18px;color:var(--muted);flex:0 0 auto}
.cycle .mid{text-align:center;font-size:13px;color:var(--pro);font-weight:700;margin:11px 0}

/* ── PRO 결과물 샘플 ── */
.samp{border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:10px;overflow:hidden}
.samp .cap{font-size:12px;font-weight:800;color:var(--muted);padding:10px 13px;background:var(--soft);
  border-bottom:1px solid var(--line);letter-spacing:.02em}
.samp .txt{padding:13px;font-size:14px;line-height:1.65;color:var(--fg)}
.samp .txt.blur{filter:blur(4.5px)}

/* ── 각주 ── */
.fn{font-size:12px;color:var(--muted);line-height:1.55;margin-top:8px}

/* ── 범례 ── */
.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--muted);margin-bottom:14px}
.legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}

/* ── 푸터 ── */
footer{padding:28px 0 44px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
footer p{color:var(--muted);margin-bottom:6px}
footer a{display:inline-block;min-height:44px;line-height:44px;padding:0 2px;text-decoration:underline}
.notice a{display:inline-block;min-height:44px;line-height:44px}

/* ── 태블릿 이상 ── */
@media(min-width:768px){
  body{font-size:17px}
  .wrap{max-width:680px}
  .hero h1{font-size:46px;letter-spacing:-.04em}
  .hero p.sub{font-size:18px}
  .searchrow{display:flex;gap:10px}
  .searchrow .input-lg{flex:1}
  .searchrow .btn{width:200px;flex:0 0 auto}
  .score .num{font-size:78px}
  .stat b{font-size:30px}
  section{padding:56px 0}
  h2{font-size:26px}
}
@media(min-width:1100px){
  .wrap{max-width:760px}
  .hero h1{font-size:54px}
}
