/* 글자 크기·대비 보정 — 모든 페이지에서 마지막에 로드된다(src/layout.mjs).
   원칙: 8~11px 로 내려간 보조 글자를 12~13px 로 조금씩 올리고, 흐린 회색은 한 단계 진하게 한다.
   레이아웃(카드 폭·탭·앱 체험 화면)은 그대로 두므로 +1~2px 범위만 조정한다. */

/* 흐린 글자: #64748B → #4E5D70 (흰 바탕 대비 약 7:1). home.css·pages.css 는 이 변수를 쓴다. */
body.portal-home{--color-text-muted:#4E5D70}
.p-app-proof-copy>p:not(.p-eyebrow){color:#3F4C5C}
.p-app-proof-copy>small,.p-app-proof-screen figcaption>span,.p-app-proof-source{color:var(--color-text-muted)}

/* ── 공통(헤더·푸터·라벨) ── */
.portal-home .p-nav{font-size:14px}
.portal-home .p-header-login,.portal-home .p-header-start{font-size:13px}
.portal-home .p-eyebrow{font-size:12px}
.portal-home .p-chip,.portal-home .p-ad{font-size:11.5px}
.portal-home .p-small{font-size:13px}
.portal-home .p-text-link{font-size:13.5px}
.portal-home .p-footer-top nav{font-size:13.5px}
.portal-home .p-footer-biz{font-size:12.5px}
.portal-home .p-footer-biz>span{font-size:11.5px}
.portal-home .p-noscript{font-size:14px}

/* ── 홈 히어로·검색 ── */
.portal-home .p-hero-description{font-size:17px}
.portal-home .p-hero-footnote{font-size:12.5px}
.portal-home .p-hero-label{font-size:11px}
.portal-home .p-art-caption,.portal-home .p-visual-note,.portal-home .p-generated-caption{font-size:12px}
.portal-home .p-floating-note small{font-size:11.5px}
.portal-home .p-floating-note strong{font-size:13.5px}
.portal-home .p-tabs button{font-size:13.5px}
.portal-home .p-search-form label{font-size:13px}
.portal-home .p-popular{font-size:12.5px}
.portal-home .p-service-jumps small{font-size:11.5px}
.portal-home .p-service-jumps>a>div>span{font-size:13.5px}

/* ── 섹션 본문 ── */
.portal-home .p-section-description{font-size:15px}
.portal-home .p-role-heading>div>div>p:last-child{font-size:15px}
.portal-home .p-shop-card p{font-size:13.5px}
.portal-home .p-shop-card-header,.portal-home .p-shop-tags span{font-size:12px}
.portal-home .p-shop-status p{font-size:13.5px}
.portal-home .p-result-note,.portal-home .p-capture-note,.portal-home .p-demo-disclaimer,.portal-home .p-estimate-step-note,.portal-home .p-apps-note{font-size:13px}
.portal-home .p-product-tabs a>span{font-size:12.5px}
.portal-home .p-product-caption p{font-size:14px}
.portal-home .p-product-steps li{font-size:14px}
.portal-home .p-start-plans p,.portal-home .p-start-steps span,.portal-home .p-start-existing-links{font-size:13.5px}
.portal-home .p-start-qr span,.portal-home .p-app-qr span{font-size:11.5px}
.portal-home .p-ocr-status,.portal-home .p-ocr-step,.portal-home .p-ocr-bottom,.portal-home .p-ocr-bottom>span{font-size:13px}
.portal-home .p-paper-row{font-size:12px}
.portal-home .p-inline-demo>summary,.portal-home .p-inline-demo>summary>span:last-child{font-size:13.5px}
.portal-home .p-estimate-tabs a{font-size:13.5px}
.portal-home .p-estimate-heading>div>p:last-child,.portal-home .p-experience-heading>p:last-child{font-size:14px}
.portal-home .p-purchase-soon p{font-size:13.5px}
.portal-home .p-audience-tabs button{font-size:13px}
.portal-home .p-audience-visual-copy>p:not(.p-eyebrow){font-size:14px}
.portal-home .p-audience-photo figcaption,.portal-home .p-faq-visual figcaption{font-size:12px}
.portal-home .p-app-proof-screen figcaption>span,.portal-home .p-app-proof-copy>small{font-size:13px}
.portal-home .p-app-proof-source,.portal-home .p-app-proof-screen>a{font-size:12.5px}
.portal-home .p-app-download-copy>span,.portal-home .p-app-pair>p{font-size:12.5px}
.portal-home .p-faq-list summary{font-size:15px}
.portal-home .p-faq-list details>p{font-size:14px}
.portal-home .p-dialog-note{font-size:14px}
.portal-home .p-directory-back{font-size:13px}
.portal-home .p-directory-note{font-size:13px}
.portal-home .p-directory-next p{font-size:14px}

/* ── 라이더 앱 체험(휴대폰 틀 안이라 +1px 만) ── */
.ex-rider-note,.ex-rider-hint,.ex-rider-mileage p,.ex-rider-statusbar,.ex-rider-history small,.ex-rider-sheet-label,.ex-rider-steps button span,.ex-rider-sheet-gauge small{font-size:12px}
.ex-rider-badge{font-size:11.5px}
.ex-rider-home-hint,.ex-rider-home-km small,.ex-rider-home-factors>span,.ex-rider-shop-photo figcaption,.ex-rider-home-score small,.ex-rider-home-section-head small,.ex-rider-chip small,.ex-rider-home-status,.ex-rider-home-due small,.ex-rider-home-factor-heading small,.ex-rider-home-flip-hint{font-size:11px}
.ex-rider-apphead p,.ex-rider-count,.ex-rider-link{font-size:13px}

/* ── 3D 견적 체험 ── */
.ex-estimate-eyebrow,.ex-estimate-caption,.ex-estimate-hint,.ex-estimate-parts-title span,.ex-estimate thead th,.ex-estimate-nocode,.ex-estimate-note{font-size:12.5px}
.ex-estimate-chip,.ex-estimate-part-list button small,.ex-estimate-code small{font-size:11.5px}

/* ── 하위 페이지(pages.css) ── */
body.portal-page .eyebrow,body.portal-page .hero-aside h2{font-size:12px}
body.portal-page .tag{font-size:11.5px}
body.portal-page .stat-list .k,body.portal-page .breadcrumb,body.portal-page caption,body.portal-page thead th,body.portal-page .meta-line,body.portal-page .link-cards .more,body.portal-page .pg-form label,body.portal-page .pg-count{font-size:13px}
body.portal-page .pg-note,body.portal-page .pg-form small,body.portal-page .bw-mascot-bubble .p-text-link{font-size:12.5px}
body.portal-page .lead{font-size:17px}
body.portal-page .answer-lede,body.portal-page .pg-section-heading p,body.portal-page .pg-widget-head p{font-size:15px}
body.portal-page .feature-card p,body.portal-page .link-cards p,body.portal-page .steps p,body.portal-page table,body.portal-page .faq-answer,body.portal-page .plan ul li,body.portal-page .pg-result ul,body.portal-page .pg-contact p,body.portal-page .pg-tasks small{font-size:14px}
body.portal-page .faq-list summary h3{font-size:15px}
.bw-mascot-bubble{font-size:14px}
.bw-mascot-bubble strong{font-size:12px}

/* ── 모바일: home.css 가 8~10px 로 내리는 항목만 12px 안팎으로 ── */
@media(max-width:600px){
  .portal-home .p-eyebrow{font-size:11px}
  .portal-home .p-hero-description,.portal-home .p-section-description,.portal-home .p-shop-status p,.portal-home .p-product-caption p,.portal-home .p-faq-list details>p,.portal-home .p-audience-visual-copy>p:not(.p-eyebrow){font-size:14px}
  .portal-home .p-small,.portal-home .p-capture-note,.portal-home .p-demo-disclaimer,.portal-home .p-result-note,.portal-home .p-ocr-status,.portal-home .p-ocr-bottom,.portal-home .p-ocr-bottom>span,.portal-home .p-shop-tags span,.portal-home .p-footer-biz,.portal-home .p-footer-top nav,.portal-home .p-popular,.portal-home .p-search-form label,.portal-home .p-tabs button,.portal-home .p-audience-tabs button,.portal-home .p-product-steps li,.portal-home .p-estimate-tabs a,.portal-home .p-estimate-step-note,.portal-home .p-app-pair>p,.portal-home .p-app-download-copy>span,.portal-home .p-service-jumps>a>div>span,.portal-home .p-start-existing-links,.portal-home .p-purchase-soon p,.portal-home .p-inline-demo>summary,.portal-home .p-inline-demo>summary>span:last-child,.portal-home .p-role-heading>.p-text-link,.portal-home .p-section-heading .p-text-link,.portal-home .p-mobile-menu nav a{font-size:13px}
  .portal-home .p-faq-list summary,.portal-home .p-product-tabs strong,.portal-home .p-dialog-actions .p-button,.portal-home .p-directory-download{font-size:14px}
  .portal-home .p-hero-label,.portal-home .p-art-caption,.portal-home .p-visual-note,.portal-home .p-floating-note small,.portal-home .p-service-jumps small,.portal-home .p-footer-biz>span,.portal-home .p-audience-photo figcaption,.portal-home .p-faq-visual figcaption,.portal-home .p-chip,.portal-home .p-ad,.portal-home .p-shop-card-header,.portal-home .p-product-caption .p-chip,.portal-home .p-app-proof-source{font-size:11.5px}
  .portal-home .p-floating-note strong{font-size:13px}
  .portal-home .p-paper-row,.portal-home .p-ocr-result label,.portal-home .p-ocr-result #ocr-fields .p-small{font-size:12.5px}
  body.portal-page .lead{font-size:15px}
}
