/* Wiseguys — 핀테크형 라이트 테마 */
:root{
  --bg:#ffffff; --bg2:#f4f6f8; --line:#e5e8eb; --line2:#d1d6db;
  --text:#191f28; --sub:#4e5968; --muted:#6b7684; --faint:#8b95a1;
  --blue:#1b64da; --blue-d:#1957c2; --blue-bg:#e8f3ff; --warn:#e5503c;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text)}
body{font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;word-break:keep-all}
a{color:var(--blue)}
input:focus,button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
input::placeholder{color:#b0b8c1}
.wrap{max-width:480px;margin:0 auto;overflow:hidden}
.en,.num{font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.3px}
.muted{color:var(--muted)}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* 상단 */
.top{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid transparent}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);font-weight:800;font-size:17px;letter-spacing:-.3px}
.brand svg{display:block}
.btn-s{font-size:14px;font-weight:700;text-decoration:none;padding:9px 14px;background:var(--blue-bg);color:var(--blue);border-radius:10px}

/* 첫 화면 */
.hero{padding:28px 22px 40px;background:linear-gradient(180deg,#f2f7ff 0%,#ffffff 100%)}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--blue);background:var(--blue-bg);padding:6px 11px;border-radius:999px;margin-bottom:18px}
.badge i{width:6px;height:6px;border-radius:3px;background:var(--blue)}
h1{margin:0 0 14px;font-weight:800;font-size:36px;line-height:1.25;letter-spacing:-1.2px}
.lead{margin:0 0 22px;font-size:16px;line-height:1.6;color:var(--sub)}
.tag{display:inline-block;font-size:14px;font-weight:600;text-decoration:none;color:var(--blue);margin:0 0 26px}
.pricecard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 18px 16px;box-shadow:0 2px 12px rgba(25,31,40,.05);margin-bottom:18px}
.price{display:flex;align-items:baseline;gap:4px;margin:4px 0 6px}
.price b{font-size:34px;line-height:1.1;letter-spacing:-1px}
.btn{display:flex;align-items:center;justify-content:center;height:54px;padding:0 22px;background:var(--blue);color:#fff;text-decoration:none;font-weight:700;font-size:16px;border-radius:14px;border:none;font-family:inherit;cursor:pointer;width:100%}
.btn:hover{background:var(--blue-d)}

/* 섹션 */
section{padding:56px 22px 0;display:flex;flex-direction:column;gap:22px}
section+section{border-top:8px solid var(--bg2);margin-top:56px}
h2{margin:0;font-weight:800;font-size:26px;line-height:1.3;letter-spacing:-.8px}
.kick{font-size:14px;font-weight:700;color:var(--blue)}
.p{margin:0;font-size:16px;line-height:1.65;color:var(--sub)}
.note{font-size:13px;color:var(--faint);line-height:1.6}
.f{display:flex;flex-direction:column;gap:10px}

/* 등급 막대 */
.grades{background:var(--bg2);border-radius:16px;padding:20px 18px;display:flex;flex-direction:column;gap:16px}
.gr{display:flex;flex-direction:column;gap:8px}
.gr .row{display:flex;justify-content:space-between;align-items:baseline;padding:0;border:none}
.gr .k{font-size:17px;font-weight:700}
.bar{height:8px;background:#e5e8eb;border-radius:4px;overflow:hidden}.bar div{height:8px;border-radius:4px}

/* 문자 예시 */
.phone{background:var(--bg2);border-radius:20px;padding:18px 16px}
.phone .from{font-size:12px;color:var(--faint);margin:0 0 6px 4px}
.bubble{background:#fff;border-radius:18px 18px 18px 6px;padding:14px 16px;font-size:15px;line-height:1.7;box-shadow:0 1px 2px rgba(0,0,0,.04);max-width:92%}
.bubble .h{font-weight:700;margin-bottom:4px}
.bubble .x{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);color:var(--sub)}
.line{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-radius:14px;background:var(--bg2)}
.line a{font-size:14px;font-weight:700;text-decoration:none}

/* 표·목록 */
.spec{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;padding:0 16px}
.spec div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:15px}
.spec div:last-child{border-bottom:none}
.spec b{font-weight:700}
.packs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pk{border:1px solid var(--line);border-radius:14px;padding:14px 14px 12px;display:flex;flex-direction:column;gap:2px}
.pk .l{font-size:15px;font-weight:700}
.pk .r b{font-size:20px}
.pk small{font-size:12px;color:var(--muted)}

/* 폼 */
.lab{font-size:14px;font-weight:600;color:var(--sub);margin:28px 0 10px;display:flex;justify-content:space-between}
.lab span+span{font-weight:400;color:var(--faint)}
.plans,.grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.prods{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.opt{min-height:68px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;color:var(--text);font-family:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;cursor:pointer;transition:border-color .12s,background .12s}
.opt:hover{border-color:var(--line2)}
.opt[aria-pressed=true]{border-color:var(--blue);background:var(--blue-bg)}
.opt .r{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-weight:700;font-size:15px}
.opt small{font-size:12px;color:var(--muted)}
.prods .opt{min-height:52px;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:15px}
.unk{min-height:50px;margin-top:8px;width:100%;color:var(--muted);font-size:14px;font-weight:600;justify-content:center;align-items:center;text-align:center}
.grp{font-size:13px;font-weight:600;color:var(--muted);margin:14px 0 8px}
.grp:first-child{margin-top:0}
.in{height:54px;padding:0 16px;border:1px solid var(--line2);border-radius:12px;font-size:16px;font-family:inherit;background:#fff;color:var(--text);width:100%}
.in:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(27,100,218,.12)}
.hint{font-size:13px;color:var(--faint);line-height:1.6;margin:-2px 2px 4px}
.agree{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.55;color:var(--sub);padding:6px 0;cursor:pointer}
.agree input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:var(--blue)}
.err{font-size:14px;color:var(--warn);font-weight:600}
.submit{height:56px;border:none;border-radius:14px;background:var(--blue);color:#fff;font-size:16px;font-weight:700;font-family:inherit;cursor:pointer;width:100%}
.submit:hover{background:var(--blue-d)}
.submit[disabled]{opacity:.55;cursor:default}
.sum{margin-top:28px;background:var(--bg2);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;font-size:15px}
.sum div{display:flex;justify-content:space-between;gap:12px}
.sum .tot{font-size:18px;font-weight:800;padding-top:10px;margin-top:4px;border-top:1px solid var(--line)}
.sum .tot span+span{color:var(--blue)}
.box{font-size:14px;line-height:1.75;color:var(--sub);background:var(--bg2);border-radius:14px;padding:16px 18px}
.box b{color:var(--text);font-weight:700}

/* 완료 카드 */
.done{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 4px 20px rgba(25,31,40,.06)}
.done .ok{width:44px;height:44px;border-radius:22px;background:var(--blue-bg);display:flex;align-items:center;justify-content:center}
.row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px;align-items:center}
.row:last-child{border-bottom:none}
.row b{font-size:16px;text-align:right}
.copy{font-size:12px;font-weight:600;font-family:inherit;background:var(--blue-bg);border:none;color:var(--blue);border-radius:8px;padding:5px 9px;margin-left:8px;cursor:pointer}

/* FAQ */
.faq{border-bottom:1px solid var(--line)}
.faq button{width:100%;min-height:58px;padding:16px 0;border:none;background:transparent;color:var(--text);font-family:inherit;font-size:16px;font-weight:600;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer}
.faq button span+span{font-weight:400;font-size:22px;color:var(--faint);flex-shrink:0}
.faq .a{padding:0 0 18px;font-size:15px;line-height:1.7;color:var(--sub)}

/* 하단 */
footer{margin-top:64px;padding:32px 22px 40px;background:var(--bg2);display:flex;flex-direction:column;gap:10px;font-size:13px;line-height:1.7;color:var(--faint)}
footer a{color:var(--muted)}
footer .brand{font-size:15px;color:var(--sub)}

/* 문서 페이지 */
.doc{max-width:640px;margin:0 auto;padding:0 22px 56px;font-size:15px;line-height:1.8}
.doc h1{font-size:28px;margin:28px 0 6px}
.doc h2{font-size:18px;margin:36px 0 10px;font-weight:700}
.doc p,.doc li{color:var(--sub)}
.doc ul{padding-left:20px;margin:8px 0}
.doc table{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0}
.doc th,.doc td{border-top:1px solid var(--line);padding:10px 8px 10px 0;text-align:left;vertical-align:top;color:var(--sub)}
.doc th{color:var(--text);font-weight:600}
.doc .meta{color:var(--faint);font-size:13px}
.row>span:first-child{white-space:nowrap;flex-shrink:0}

/* 문자 예시 — 섹션·표 (9/27) */
.bubble .sg{font-weight:700;margin-top:10px}
.bubble .sg.w,.bubble .wt{color:var(--warn)}
.bubble .sm{font-size:13px;color:var(--muted)}
.bubble .pt{width:100%;border-collapse:collapse;font-size:13px;line-height:1.55;margin-top:2px}
.bubble .pt th{font-weight:600;color:var(--muted);text-align:center;padding:0 2px}
.bubble .pt td{padding:1px 2px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.bubble .pt td:first-child{text-align:left;white-space:normal}
.bubble .pt td:last-child{text-align:left;font-size:12px}
.bubble .pt tr.al td{color:var(--warn);font-weight:700}
.bubble .pt em{font-style:normal;font-weight:700;color:var(--text);margin-right:4px}
.bubble .pt i{font-style:normal;color:var(--muted)}
.bubble .pt i.up{color:var(--warn);font-weight:700}
.bubble.wide{max-width:100%;padding:14px 12px}
.bubble .pt th:nth-child(n+2):nth-child(-n+4),.bubble .pt td:nth-child(n+2):nth-child(-n+4){width:28px}
.bubble .pt td:first-child{padding-right:6px}
