/* 보당당 v1 (2026-10-19 새벽). 원리: 토스페이먼츠(옅은 회색 + 큰 글 2줄 + 단추 2개 + 폰 틀 속 실제 화면 + 진한 구역). 색·모양·문구는 따라 하지 않음.
   색 5개(--brand --deep --soft --bg --tint)는 build.mjs 가 brand.json 「색안」에서 넣는다. 여기 값은 안전한 기본값.
   글꼴: 제목·숫자 SUIT 700, 본문 Noto Sans KR 400. 굵은 글씨는 제목과 숫자에만. */
:root{
  --brand:#0A7352;--deep:#10261F;--soft:#E2F1EA;--bg:#F2F4F3;--tint:#8FD3B6;
  --ink:#111418;      /* 제목, 본문 */
  --body:#3D434B;     /* 긴 글 */
  --sub:#5A6068;      /* 라벨, 각주 (회색 바탕 위 5.7대 1) */
  --line:#E2E5E3;
  --white:#FFFFFF;
  --g:24px;
  --head:"SUIT",-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --text:"Noto Sans KR",-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--text);font-weight:400;font-size:17px;line-height:1.6;color:var(--ink);background:var(--white);word-break:keep-all;overflow-wrap:break-word}
a{color:inherit}
p,li,dd{text-wrap:pretty}
h1,h2,h3,h4{font-family:var(--head);font-weight:700;text-wrap:balance}
b,strong{font-weight:500}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.blank{display:inline-block;padding:0 6px;border:1px dashed #98A2B3;border-radius:4px;color:var(--sub);font-size:1em;line-height:1.5;white-space:nowrap}

/* 위 */
.top{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--g);background:var(--white);border-bottom:1px solid var(--line)}
.home .top,.car .top{background:var(--bg);border-bottom:0}
.logo{display:inline-flex;align-items:center;min-height:48px;color:var(--ink)}
.logo-svg{display:block;height:26px;width:auto}
.ham{display:flex;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;padding:0 12px;margin-right:-12px}
.ham i{display:block;height:2px;border-radius:2px;background:#8A9096}

/* 단추 */
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 20px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-family:var(--text);font-size:17px;font-weight:500;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn.soft{background:var(--soft);color:var(--brand)}
.btn.wide{display:flex;width:100%;height:56px;font-size:17px}
.btn.off{display:flex;width:100%;margin-top:16px;background:var(--white);color:var(--sub);border:1px solid #98A2B3;cursor:default}

/* 첫 화면 (홈, 중고차). C1: 위 빈 공간을 줄여 폰 속 표가 첫 화면에 들어오게 */
.hero{background:var(--bg);padding:44px var(--g) 56px;overflow:hidden}
.eyebrow{font-size:15px;color:var(--brand);margin-bottom:10px}
.hero h1{font-size:36px;line-height:1.28;letter-spacing:-.04em}
.lead{margin-top:14px;font-size:17px;line-height:1.55;color:var(--body)}
.cta2{display:flex;gap:8px;margin-top:28px}

/* 폰 틀 속 결과 화면. C1: 두꺼운 이중 테두리를 얇은 실제 기기 선 + 옆 단추 + 그림자로, 섬은 작게 */
.phone{position:relative;width:274px;margin:48px auto 0;padding:6px;border-radius:44px;background:#FBFCFB;border:1px solid #C9CFCC;box-shadow:inset 0 0 0 1px #fff,0 30px 50px -30px rgba(16,30,24,.35),0 2px 6px rgba(16,30,24,.06)}
.phone::before,.phone::after{content:"";position:absolute;width:3px;border-radius:2px;background:#C9CFCC}
.phone::before{left:-4px;top:104px;height:52px}
.phone::after{right:-4px;top:128px;height:72px}
.ph-screen{position:relative;border-radius:38px;overflow:hidden;background:var(--white);box-shadow:0 0 0 1px #E6E9E7;padding-bottom:4px}
.ph-status{position:relative;display:flex;justify-content:flex-end;align-items:center;gap:5px;height:36px;padding:0 24px}
.ph-status::after{content:"";position:absolute;left:50%;top:10px;width:62px;height:18px;margin-left:-31px;border-radius:10px;background:#15181B}
.ph-sig{display:flex;align-items:flex-end;gap:1.5px;height:8px}
.ph-sig i{display:block;width:2.5px;background:var(--ink);border-radius:1px}
.ph-sig i:nth-child(1){height:3px}.ph-sig i:nth-child(2){height:5.5px}.ph-sig i:nth-child(3){height:8px}
.ph-bat{display:block;width:17px;height:8px;border:1.2px solid var(--ink);border-radius:2.5px;position:relative}
.ph-bat::after{content:"";position:absolute;left:1px;top:1px;width:10px;height:3.6px;border-radius:1px;background:var(--ink)}
.ph-bar{position:relative;display:flex;align-items:center;justify-content:center;height:40px;padding:0 16px}
.ph-back{position:absolute;left:20px;top:50%;width:8px;height:8px;border-left:1.8px solid var(--ink);border-bottom:1.8px solid var(--ink);transform:translateY(-50%) rotate(45deg)}
.ph-mark{display:block}
.ph-ex{position:absolute;right:16px;top:50%;transform:translateY(-50%);padding:0 7px;border-radius:5px;background:#EEF0EF;color:var(--sub);font-size:12px;line-height:19px}
.ph-sum{display:flex;align-items:baseline;gap:6px;padding:14px 18px 8px;font-family:var(--head);font-weight:700;font-size:16px;letter-spacing:-.02em}
.ph-sum b{font-family:var(--head);font-weight:700;font-size:16px;color:var(--brand)}
/* S1: 광고와 기록부를 줄마다 맞댄 표 + 판매자에게 보낼 문장(복사 단추 모양). 칸 이름은 맨 위 한 번 */
.ph-tab{margin:0 14px;padding:4px 12px 6px;border-radius:14px;background:var(--bg)}
.ph-r{display:grid;grid-template-columns:50px 1fr 1fr;gap:0 8px;align-items:baseline;padding:9px 0;border-top:1px solid #E1E5E3}
.ph-r:first-child{border-top:0}
.ph-h{padding:8px 0 4px;font-size:12px;line-height:1.4;color:var(--sub)}
.ph-k{font-size:12px;line-height:1.4;color:var(--sub)}
.ph-v{font-family:var(--head);font-weight:400;font-size:13px;line-height:1.35;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.ph-v.ph-d{font-weight:700;color:var(--brand)}
.ph-r:nth-child(2) .ph-v{font-size:14px}
.ph-send{margin:10px 14px 0;padding:10px 12px 11px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);background:#fff}
.ph-sh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ph-sh span:first-child{font-family:var(--head);font-weight:700;font-size:12px;letter-spacing:-.02em;color:var(--ink)}
.ph-copy{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;line-height:1}
.ph-send p{margin-top:6px;font-size:12px;line-height:1.55;color:var(--body)}
.ph-home{display:block;width:92px;height:4px;margin:4px auto 4px;border-radius:2px;background:#15181B}

/* 서비스 메뉴판 (아정당식). C1: 아이콘은 같은 크기 바탕 칸에, 상태는 이름 아래 작게, 알림 단추는 오른쪽 */
.menu{padding:52px var(--g) 40px;background:var(--white)}
.menu h2,.price h2,.faq h2{font-size:24px;line-height:1.4;letter-spacing:-.03em;margin-bottom:12px}
.svc{list-style:none}
.svc li{border-top:1px solid var(--line)}
.svc li:last-child{border-bottom:1px solid var(--line)}
.svc-row{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;min-height:84px;text-decoration:none;color:var(--ink)}
.tile{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:var(--bg)}
.tile img{display:block;width:34px;height:34px}
.svc-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.svc-n{font-family:var(--head);font-weight:700;font-size:17px;line-height:1.35;letter-spacing:-.02em}
.st{font-size:17px;line-height:1.4;color:var(--sub)}
.st.on{color:var(--brand)}
.go{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--brand)}
.go::after{content:"";width:7px;height:7px;margin-left:-3px;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg)}
.notify{display:inline-flex;align-items:center;height:52px;padding:0 18px;border:1px solid #D3D8D5;border-radius:999px;background:var(--white);font-family:var(--text);font-size:17px;color:var(--ink);cursor:pointer;white-space:nowrap}
.notify-msg{min-height:0;margin-top:8px;font-size:17px;color:var(--sub)}

/* 진한 구역. C1: 3단계 견본 대신 실제 화면 한 장(판매자와 대화) + 진행 한 줄 */
.deep{background:var(--deep);color:#fff;padding:56px var(--g) 52px}
.deep h2{font-size:28px;line-height:1.32;letter-spacing:-.035em;margin-bottom:28px;color:#fff}
.chat{border-radius:22px;background:#fff;color:var(--ink);overflow:hidden;box-shadow:0 20px 40px -24px rgba(0,0,0,.6)}
.chat-bar{position:relative;display:flex;align-items:center;justify-content:center;height:48px;border-bottom:1px solid var(--line)}
.chat-who{font-family:var(--head);font-weight:700;font-size:15px}
.chat-body{display:flex;flex-direction:column;gap:10px;padding:18px 16px 22px;background:#F6F7F6}
.bub{max-width:80%;padding:11px 14px;font-size:15px;line-height:1.5;border-radius:18px}
.bub.me{align-self:flex-end;background:var(--brand);color:#fff;border-bottom-right-radius:6px}
.bub.you{align-self:flex-start;background:#fff;box-shadow:inset 0 0 0 1px var(--line);border-bottom-left-radius:6px}
.flow{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:24px;font-size:17px;color:rgba(255,255,255,.86)}
.flow li{display:inline-flex;align-items:center;gap:12px}
.flow li+li::before{content:"";width:22px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 22 12%27%3E%3Cpath d=%27M1 6h18M14 1.5 19.5 6 14 10.5%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%27.6%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center/22px 12px no-repeat}
.flow li+li::after{content:none}
.flow li:first-child{color:var(--tint)}

/* 가격 (중고차) */
.price{padding:52px var(--g) 44px}
.free{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;padding:18px 20px;border-radius:14px;background:var(--soft)}
.free span{font-size:17px;color:var(--ink)}
.free b{font-family:var(--head);font-weight:700;font-size:26px;color:var(--brand);letter-spacing:-.02em}
.plans div{display:flex;justify-content:space-between;align-items:baseline;padding:18px 4px;border-bottom:1px solid var(--line)}
.plans dt{font-size:17px;color:var(--body)}
.plans dd{font-family:var(--head);font-weight:700;font-size:26px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}

/* 자주 묻는 질문 */
.faq{padding:52px var(--g) 28px}
details{border-top:1px solid var(--line)}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:12px 0;font-size:17px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:22px;color:var(--sub)}
details[open] summary::after{content:"\2212"}
details p{padding:0 0 16px;font-size:16px;color:var(--body)}
.end{padding:20px var(--g) 56px}

/* 발 */
footer{padding:32px var(--g) 40px;font-size:13px;line-height:1.7;color:var(--sub);background:var(--white);border-top:1px solid var(--line)}
.home footer,.car footer{border-top:0}
footer .links{display:flex;flex-wrap:wrap;gap:0 18px;margin-bottom:6px;font-size:15px}
footer .links a{display:inline-flex;align-items:center;min-height:48px;color:var(--ink)}
footer .legal{margin-top:10px}
footer .credit{margin-top:6px;font-size:12px}

/* ===== 아래는 k07 쪽(업로드, 예시, 약관, 처리방침)을 새 색·글꼴로 옮긴 것 ===== */
.pagehead{padding:28px var(--g) 8px}
.pagehead h1{font-size:30px;line-height:1.35;letter-spacing:-.03em}
.pagehead p{margin-top:10px;color:var(--body)}
.crumb{display:inline-flex;align-items:center;min-height:48px;font-size:17px;color:var(--sub);text-decoration:none}
.crumb::before{content:"";width:7px;height:7px;margin-right:8px;border-left:1.5px solid var(--sub);border-bottom:1.5px solid var(--sub);transform:rotate(45deg)}
section.block{padding:48px var(--g)}
section.paper{background:var(--bg)}
section.block h2,form.up h2{font-size:22px;line-height:1.4;letter-spacing:-.02em;margin-bottom:16px}
h3.sub{font-size:17px;line-height:1.5;margin:28px 0 8px}
ol.steps{list-style:none}
ol.steps li{display:grid;grid-template-columns:28px 1fr;gap:0 8px;padding:16px 0;border-top:1px solid var(--line)}
ol.steps li:last-child{border-bottom:1px solid var(--line)}
ol.steps .n{font-family:var(--head);font-size:20px;font-weight:700;color:var(--brand);line-height:1.4}
ol.steps b{display:block;font-family:var(--head);font-weight:700;font-size:17px;line-height:1.5}
ol.steps span{display:block;font-size:16px;color:var(--body);margin-top:2px}
.list{list-style:none;margin-bottom:28px}
.list li{padding:12px 0;border-top:1px solid var(--line);font-size:16px}
.list li:last-child{border-bottom:1px solid var(--line)}
.note{margin-top:14px;font-size:16px;line-height:1.6;color:var(--sub)}
form.up{padding:8px var(--g) 56px}
fieldset{border:0;margin:8px 0 0;padding:0;min-width:0}
legend{float:left;width:100%;padding:20px 0 6px;margin-top:8px;border-top:1px solid var(--line);font-family:var(--head);font-size:17px;font-weight:700}
legend+*{clear:both}
.need{font-family:var(--text);font-size:13px;font-weight:400;color:var(--brand);margin-left:6px}
.hint{font-size:16px;color:var(--sub);margin:6px 0 10px;line-height:1.55}
.file::file-selector-button{height:36px;margin-right:12px;padding:0 14px;border:1px solid #98A2B3;border-radius:8px;background:var(--bg);font-family:inherit;font-size:15px;color:var(--ink);cursor:pointer}
.file{display:block;width:100%;min-height:52px;padding:12px;border:1px dashed #98A2B3;border-radius:10px;background:var(--white);font-size:16px;font-family:inherit;color:var(--ink)}
.field{display:block;margin:12px 0 4px;font-size:15px;font-weight:500}
input[type=email],input[type=text]{display:block;width:100%;height:52px;padding:0 14px;border:1px solid #98A2B3;border-radius:10px;font-size:16px;font-family:inherit;color:var(--ink);background:var(--white)}
.chk{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:12px 0;font-size:16px;line-height:1.55;min-height:48px}
.chk input{width:24px;height:24px;margin-top:2px;accent-color:var(--brand)}
.radios label{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;min-height:48px;font-size:16px}
.radios input{width:22px;height:22px;accent-color:var(--brand)}
.formnote{margin-top:14px;padding:14px 16px;background:var(--soft);border-radius:10px;font-size:15px;line-height:1.55}
.mark{font-size:15px;color:var(--brand);border:1px solid var(--brand);border-radius:4px;padding:0 8px;line-height:22px;white-space:nowrap}
.rep{padding:0 var(--g) 56px}
.rep h2{font-size:24px;line-height:1.4;margin:40px 0 14px}
.rep h3{font-size:18px;line-height:1.5;margin:22px 0 6px}
.rep p,.rep li{font-size:17px;line-height:1.65;color:var(--body)}
.rep p{margin-bottom:10px}
.rep ul,.rep ol{padding-left:20px;margin:0 0 10px}
.rep li{margin-bottom:6px}
.rep .banner{margin:0 0 20px;padding:14px 16px;background:var(--deep);color:#fff;border-radius:10px;font-size:17px;line-height:1.55}
.rep .metaline{font-size:17px;color:var(--sub)}
.rep .rows{border-top:1px solid var(--line);margin:8px 0 12px}
.rep .row{padding:12px 0;border-bottom:1px solid var(--line)}
.rep .row .t{display:flex;justify-content:space-between;gap:10px;align-items:center;font-family:var(--head);font-weight:700;font-size:16px;color:var(--ink)}
.rep .row .t .mark{font-family:var(--text);font-weight:400}
.rep .row .t .mark.same{color:var(--sub);border-color:#98A2B3}
.rep .row dl{display:grid;grid-template-columns:52px 1fr;gap:2px 8px;margin-top:4px;font-size:16px}
.rep .row dt{font-size:14px;color:var(--sub);padding-top:2px}
.rep .row dd{color:var(--body)}
.rep .row dd b{color:var(--ink);background:linear-gradient(transparent 62%,var(--soft) 62%)}
.rep .item{padding:14px 0;border-top:1px solid var(--line)}
.rep .item:first-of-type{border-top:0}
.rep .item h3{margin:0 0 6px}
.rep .item ul{margin-bottom:0}
.rep .kvtab{border-top:1px solid var(--line);margin:8px 0 12px}
.rep .kvtab div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:17px}
.rep .kvtab dt{color:var(--sub)}
.rep .kvtab dd{font-family:var(--head);font-weight:700;text-align:right;color:var(--ink)}
.rep .copybox{border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:16px;font-size:17px;line-height:1.7;color:var(--ink)}
.rep .copybox p{font-size:17px;line-height:1.7;margin:0 0 8px;color:var(--ink)}
.rep .boxfoot{margin-top:28px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.rep .boxfoot p{font-size:17px;margin-bottom:6px}
.rep .btn{display:flex;width:100%}
.doc{padding:0 var(--g) 56px}
.doc h2{font-size:22px;margin:36px 0 10px}
.doc h3{font-size:18px;margin:22px 0 4px}
.doc p,.doc li{font-size:17px;line-height:1.7;color:var(--body);margin-bottom:8px}
.doc ol,.doc ul{padding-left:22px;margin-bottom:8px}
.doc .dt{margin:10px 0 14px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.doc .dt dl{display:grid;grid-template-columns:96px 1fr;gap:0}
.doc .dt dt,.doc .dt dd{padding:10px 12px;border-top:1px solid var(--line);font-size:17px;line-height:1.55}
.doc .dt dt{font-size:17px;color:var(--sub);background:var(--bg)}
.doc .dt dt:first-of-type,.doc .dt dd:first-of-type{border-top:0}
.doc .toc{list-style:none;padding:0;border-top:1px solid var(--line);margin:12px 0 0}
.doc .toc li{margin:0;border-bottom:1px solid var(--line)}
.doc .toc a{display:flex;align-items:center;min-height:48px;text-decoration:none;font-size:17px}
.doc .when{font-size:16px;color:var(--sub)}

@media (min-width:600px){
  body{max-width:480px;margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line)}
}
@media (max-width:359px){.cta2{flex-direction:column}.cta2 .btn{width:100%}.hero h1{font-size:30px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== S1 (2026-10-19): 도구 모음, 안내 글, 404 쪽 + 홈의 무료 도구 구역 ===== */
.hub .top{background:var(--bg);border-bottom:0}
.hub footer{border-top:0}
.lhero{padding:24px var(--g) 28px;background:var(--bg)}
.lhero h1{font-size:34px;line-height:1.3;letter-spacing:-.035em}
.lhero .lead{margin-top:10px}
.hub .menu{padding-top:12px;padding-bottom:48px}
.tools{padding-top:8px}
.tools h2{margin-bottom:6px}
.svc-t .st{white-space:normal}
.nf{padding:48px var(--g) 64px;background:var(--bg)}
.nf h1{font-size:34px;line-height:1.3;letter-spacing:-.035em}
.nf .cta2{margin-top:24px;flex-wrap:wrap}
.nf .cta2 .btn{flex:1 1 0;min-width:140px}
.nw{white-space:nowrap}
