/* V9.2 - Typography balance final
   Tujuan: font tidak terlalu jumbo, metadata tidak terlalu bold, deskripsi nyaman dibaca.
*/

:root{
  --bg-type-title: 800;
  --bg-type-heading: 760;
  --bg-type-strong: 700;
  --bg-type-label: 620;
  --bg-type-body: 450;
  --bg-type-muted: 420;
}

html, body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

body{
  font-weight:var(--bg-type-body)!important;
  letter-spacing:-.005em;
}

/* Public header/nav */
.brand,
.admin-brand-v7 a{
  font-weight:800!important;
}

.navlinks,
.navlinks a,
.nav-actions a,
.account-trigger-v2,
.theme-toggle-v2{
  font-size:14px!important;
  font-weight:650!important;
}

/* Homepage/catalog */
.hero h1,
.home-hero h1{
  font-size:clamp(40px,5.2vw,58px)!important;
  line-height:1.04!important;
  font-weight:820!important;
  letter-spacing:-.055em!important;
}

.hero p,
.home-hero p{
  font-size:16px!important;
  line-height:1.68!important;
  font-weight:430!important;
}

.section h2,
.section-title,
.catalog-title,
.book-section-title{
  font-size:clamp(22px,2.4vw,28px)!important;
  font-weight:780!important;
  letter-spacing:-.035em!important;
}

.book-card h3,
.book-card .title,
.book-card-body-v91 h3,
.book-title{
  font-size:15.5px!important;
  line-height:1.28!important;
  font-weight:720!important;
  letter-spacing:-.015em!important;
}

.book-card p,
.book-card .author,
.book-card-body-v91 p,
.book-meta{
  font-size:13.25px!important;
  line-height:1.5!important;
  font-weight:430!important;
}

.book-card-action-v91,
.btn,
.cta-btn-v91{
  font-weight:760!important;
}

/* Book detail */
.book-meta-premium-v91 h1{
  font-size:clamp(38px,4.5vw,52px)!important;
  line-height:1.04!important;
  font-weight:820!important;
  letter-spacing:-.055em!important;
}

.author-line-v91{
  font-size:15px!important;
  font-weight:680!important;
}

.meta-grid-v91 dt,
.side-info-v91 dt,
.info-list-v9 dt{
  font-size:13.5px!important;
  font-weight:620!important;
  color:#64748b!important;
}

.meta-grid-v91 dd,
.side-info-v91 dd,
.info-list-v9 dd{
  font-size:14px!important;
  font-weight:520!important;
  color:#172033!important;
}

.summary-v91,
.prose-v91,
.book-prose-v9,
.desc-card-v91,
.desc-card-v91 p{
  font-size:15.25px!important;
  line-height:1.78!important;
  font-weight:420!important;
  color:#334155!important;
}

.info-card-v91 h2,
.book-card-v9 h2{
  font-size:19px!important;
  font-weight:760!important;
}

.format-chip-v91,
.cover-badge-v91,
.cover-badge-bottom-v91,
.badge,
.chip-v81{
  font-weight:760!important;
  letter-spacing:.005em!important;
}

.login-note-v91 strong,
.auth-gate-note-v9 strong{
  font-weight:760!important;
}

/* Admin */
.admin-content-v7,
.admin-compact-v81,
.admin-body-v7{
  font-size:13.5px!important;
}

.dashboard-header-v7 h1,
.crud-head-v8 h1,
.compact-head-v81 h1,
.admin-page-head-v2 h1{
  font-size:clamp(28px,3vw,32px)!important;
  line-height:1.08!important;
  font-weight:820!important;
  letter-spacing:-.045em!important;
}

.dashboard-header-v7 p,
.crud-head-v8 p,
.compact-head-v81 p,
.admin-page-head-v2 p{
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:420!important;
}

.admin-nav-v7 a{
  font-size:14px!important;
  font-weight:680!important;
}

.kpi-premium-v7 strong,
.real-stat-card-v2 strong,
.category-stat-grid-v81 strong{
  font-size:clamp(26px,3vw,32px)!important;
  font-weight:820!important;
}

.kpi-premium-v7 span,
.real-stat-card-v2 span,
.category-stat-grid-v81 span{
  font-size:12.5px!important;
  font-weight:620!important;
}

.book-titleblock-v81 strong,
.category-main-v81 strong,
.admin-table-v2 td strong,
.premium-table-v7 strong{
  font-size:14px!important;
  font-weight:720!important;
}

.book-titleblock-v81 small,
.book-titleblock-v81 em,
.category-main-v81 small,
.category-main-v81 em,
.admin-table-v2 td small,
.premium-table-v7 small{
  font-size:12.2px!important;
  font-weight:420!important;
}

.book-updated-v81 span,
.table-v6 th,
.admin-table-v2 th,
.crud-table-v8 th{
  font-size:11.5px!important;
  font-weight:680!important;
}

.book-updated-v81 strong{
  font-size:12.8px!important;
  font-weight:600!important;
}

.status-tabs-v8 a,
.crud-primary-btn-v8,
.crud-secondary-btn-v8,
.crud-filter-btn-v8,
.icon-btn-v8{
  font-weight:740!important;
}

@media(max-width:700px){
  .hero h1,
  .home-hero h1{
    font-size:36px!important;
  }

  .book-meta-premium-v91 h1{
    font-size:34px!important;
  }

  .dashboard-header-v7 h1,
  .crud-head-v8 h1,
  .compact-head-v81 h1{
    font-size:28px!important;
  }
}
