/* 사이트 공통 글자 크기와 대비. 페이지별 레이아웃 스타일 뒤에 불러온다. */
:root{
  --site-font:'Pretendard',system-ui,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --site-type-title:clamp(2rem,3.5vw,2.75rem);
  --site-type-section:clamp(1.5rem,2.6vw,2rem);
  --site-type-card:1.125rem;
  --site-type-reading:1.0625rem;
  --site-type-body:1rem;
  --site-type-ui:.9375rem;
  --site-type-note:.875rem;
  --site-type-legal:.8125rem;
  --site-ink:#27201C;
  --site-copy:#544239;
  --site-link:#8B443B;
  --site-link-hover:#70372F;
}

/* 제목과 카드 */
h1.page-title,h1.blog-title,.article-wrap h1,.post-body h1{
  font-size:var(--site-type-title); line-height:1.25;
}
.content-section h2,.blogsec .section-head,.apps .section-head,.about .section-head,
.block h2,.app-info-text h2,.article-wrap h2,.article-wrap .content h2,
.body-inner h2,.terms-inner h2{
  font-size:var(--site-type-section); line-height:1.35;
}
.content-section .feature-card h3,.content-section .usage-step h3,
.content-section .aud-card h3,.app-body h3,.app-card h3{
  font-size:var(--site-type-card); line-height:1.45;
}
.page-hero .page-sub,.blog-header .blog-sub,.content-section .lead-p,.content-section .app-intro,
.block p,.app-info-text p,.faq-item .faq-a,.faq-list details p,.contact-card p,
.about .inner > p,.body-inner p,.body-inner li,.terms-inner p,.terms-inner li,
.app-privacy p{
  font-size:var(--site-type-body); line-height:1.75; color:var(--site-copy); opacity:1;
}
.feature-card p,.app-body p,.app-card p,.usage-step p,.aud-card p,.cl-notes li{
  font-size:var(--site-type-ui); line-height:1.7; color:var(--site-copy); opacity:1;
}
.faq-list details summary,.faq-item .faq-q{
  font-size:var(--site-type-body); line-height:1.5; font-weight:600;
}
.page-hero .section-label,.page-hero .effective{
  font-size:var(--site-type-legal); color:var(--site-copy);
}

/* 버튼, 앱 스토어 링크, 필터 */
.btn-primary,.btn-ghost,.app-links a,.app-links .soon,.filter-row .filter-btn,
.app-tabs .app-tab,.tabs .tab,.subtabs .subtab,.store-tx b,.store-tx small,
.shop-tabs .tab-label,.shop-subnav .ssub,.contact-card a,.cta-card a,.pay-btn{
  font-family:var(--site-font); font-size:var(--site-type-ui); line-height:1.35;
}
.app-links a,.app-links span.soon,.store-tx small,.shop-tab .tab-label,
.app-tabs .app-tab,.tabs .tab,.subtabs .subtab,.shop-subnav .ssub{
  font-size:var(--site-type-note); color:var(--site-copy); opacity:1;
}
.app-links a,.app-detail,.platform-tag,.app-tag,.back-to-apps,.back-to-blog,
.body-inner a,.terms-inner a,.faq-list a{
  color:var(--site-link);
}
.app-links a:hover,.app-detail:hover{color:var(--site-link-hover);}
.app-detail,.platform-tag,.app-tag,.back-to-apps,.back-to-blog{
  font-size:var(--site-type-note); opacity:1;
}
.store-btn.soon{opacity:1; background:#F5F0E9;}
.store-btn .store-tx,.share-app .store-tx{gap:4px; min-width:0;}
.store-tx b{overflow-wrap:anywhere;}
.share-app .store-tx small{color:#FFF; opacity:1;}
.app-tabs .app-tab.active{color:var(--site-link); border-bottom-color:var(--site-link); font-weight:600;}
.filter-row .filter-btn.on,.subtabs .subtab.active,
.btn-primary,.contact-card a,.cta-card a,.contact-form .cf-submit,
.sb-go,.pd-buy,.os-go,.rv-write,.pay-btn,.share-app{
  color:#FFF; background-color:var(--site-link); border-color:var(--site-link);
}
.btn-primary:hover,.contact-card a:hover,.cta-card a:hover,
.contact-form .cf-submit:hover,.pd-buy:hover,.os-go:hover,.rv-write:hover,.sb-go:hover,.pay-btn:hover{
  color:#FFF; background-color:var(--site-link-hover);
}
.btn-ghost:hover{color:var(--site-ink); background-color:#F0E2D5;}
.cl-head .cl-ver{font-size:var(--site-type-note); color:var(--site-link);}
.cl-head .cl-ver.cl-latest{color:#FFF; background-color:var(--site-link); border-color:var(--site-link);}

/* 블로그 목록과 본문 */
.post-card .post-title{font-size:1.25rem; line-height:1.35;}
.post-card.featured .post-title{font-size:clamp(1.5rem,2.5vw,1.875rem);}
.post-card .post-excerpt,.post-card.featured .post-excerpt{
  font-size:var(--site-type-ui); line-height:1.65; color:var(--site-copy); opacity:1;
}
.post-card .date,.post-card .owner-mark,.post-card .read-more,.post-card .pill,
.post-card.featured::after,.cat-intro{
  font-size:var(--site-type-note); color:var(--site-copy); opacity:1;
}
.post-card .read-more,.post-card .owner-mark{color:var(--site-link);}
.post-card .card-bottom{flex-wrap:wrap; gap:6px 12px;}
.article-wrap,.article-wrap .content,.article-wrap .post{
  font-size:var(--site-type-reading); line-height:1.8;
}
.article-wrap .article-subtitle{font-size:var(--site-type-reading); line-height:1.7; color:var(--site-copy);}
.article-wrap .article-meta,.article-wrap figcaption,.article-wrap .references,
.article-wrap .references li,.article-wrap .post-note,.article-wrap .poem-note{
  font-size:var(--site-type-note); line-height:1.65; color:var(--site-copy);
}
.article-wrap table{font-size:var(--site-type-ui); line-height:1.55;}
.article-wrap .poem-body{font-family:'Noto Serif KR',serif; line-height:2.2;}
.article-wrap .share button{font-family:var(--site-font); font-size:var(--site-type-note);}
.article-wrap .store-links .label-sub{font-size:var(--site-type-legal); opacity:1;}

/* 상품과 주문에 필요한 글씨 */
.sc-body .sc-name{font-size:var(--site-type-card); line-height:1.4;}
.sc-price-row .sc-price{font-size:1.375rem;}
.sc-body .sc-meta,.sc-price-row .sc-note,.sc-body .sc-locked,.sb-info .sb-note,
.pd-ship dl,.pd-table,.pd-notes li,.pd-color .c-kick,
.pd-opt-hint,.pd-price-note,.os-ship,.rv-meta{
  font-size:var(--site-type-note); color:var(--site-copy); opacity:1;
}
.pd-title{font-family:var(--site-font); font-size:clamp(1.5rem,3vw,2rem); line-height:1.35;}
.pd-summary{font-size:var(--site-type-body); color:var(--site-copy); opacity:1;}
.pd-tagline{font-size:var(--site-type-note); color:var(--site-link);}
.pd-price{font-size:clamp(1.25rem,2.4vw,1.5rem);}
.pd-price,.sc-price,.summary-row > :last-child,.summary-total > :last-child,
.os-sum{font-variant-numeric:lining-nums tabular-nums;}
.pd-ship dt,.pd-list,.sc-price-row .sc-list{opacity:1; color:var(--site-copy);}
.pd-table th,.pd-table td{white-space:normal; overflow-wrap:anywhere;}
.pd-promo{font-size:var(--site-type-legal); background-color:var(--site-link);}
.field > label,.field .label-row > label,.checkout-inner .summary-row{
  font-size:var(--site-type-ui); line-height:1.45;
}
.field input:not([type="checkbox"],[type="radio"],[type="hidden"]),
.field select,.field textarea,.contact-form .cf-input{
  font-family:var(--site-font); font-size:var(--site-type-body); line-height:1.5; min-width:0;
}
.field .hint,.field .label-row > label.same-check,.pay-note,.checkout-inner .policy-link,
.checkout-inner .link-btn,.checkout-inner .csum-del,.checkout-inner .csum-sub{
  font-size:var(--site-type-note); color:var(--site-copy); opacity:1;
}
.checkout-inner .policy-link,.checkout-inner .link-btn,.checkout-inner .csum-del,.checkout-inner .edit-link,
.addr-row .addr-btn,.pd-back,.pd-back-inline{color:var(--site-link);}
.checkout-inner .edit-link,.wip-banner{font-size:var(--site-type-note);}
.wip-banner{color:var(--site-copy);}
.checkout-inner .summary-total{font-size:var(--site-type-card); flex-wrap:wrap; gap:4px 12px;}
.checkout-inner .opt-card{min-width:min(100%,11.25rem);}
.checkout-inner .addr-row,.checkout-inner .label-row{flex-wrap:wrap; gap:8px;}
.checkout-inner .addr-row #zonecode{max-width:100%;}
.checkout-inner .csum-row{flex-wrap:wrap;}
.shop-subnav .container{flex-wrap:wrap;}

@media (max-width:560px){
  .store-btn,.share-app{width:auto; min-width:min(100%,8.75rem); max-width:100%;}
  .article-wrap table{font-size:var(--site-type-note);}
  .article-wrap th,.article-wrap td{overflow-wrap:anywhere;}
  .pd-top{grid-template-columns:minmax(0,1fr);}
  .pd-color,.os-row,.os-foot{flex-wrap:wrap;}
}
