/* NUSA BILLING PRO — Harabara typography refinement
   Drop-in replacement for public/assets/css/harabara-theme.css
   Font file: ../fonts/Harabara.woff
   Only typography is modified; application behavior and colors remain intact.
*/
@font-face {
  font-family: 'Harabara';
  src: url('../fonts/Harabara.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Preserve readable text for navigation, forms, tables, numbers and buttons. */
body, input, select, textarea, button, table,
.links, .actions, .btn, .lead, .pill, .stat, .bars,
.stat strong, .metric-value, .nav, .sidebar-nav {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* Brand and headings use the supplied Harabara font at its native weight. */
.logo, .brand-title, .app-brand, .sidebar-brand, .auth-brand,
.hero h1, .hero-title, .section h2, .feature h3,
h1, h2, h3 {
  font-family: 'Harabara', Inter, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-kerning: normal;
  font-variant-ligatures: none;
  letter-spacing: 1.2px;
  line-height: 1.3;
}

/* Landing page: undo the original negative tracking (-2px). */
.hero h1, .hero-title {
  font-size: clamp(36px, 3.6vw, 50px);
  letter-spacing: 1.7px !important;
  line-height: 1.28 !important;
  overflow-wrap: normal;
}
.section h2, .cta h2 {
  letter-spacing: 1.3px !important;
  line-height: 1.32 !important;
}
.feature h3 { letter-spacing: 0.9px !important; line-height: 1.35 !important; }
.logo, .brand-title, .app-brand, .sidebar-brand, .auth-brand {
  letter-spacing: 0.8px !important;
  line-height: 1.3 !important;
}
/* Avoid stretching small captions and the N icon. */
.logo small, .mark, .eyebrow { font-family: Inter, system-ui, sans-serif !important; letter-spacing: normal; }
.eyebrow { letter-spacing: 2px; }

@media (max-width: 768px) {
  .hero h1, .hero-title {
    font-size: clamp(32px, 7vw, 40px);
    letter-spacing: 1.15px !important;
    line-height: 1.3 !important;
  }
  .section h2, .cta h2 { letter-spacing: 1px !important; }
}
@media (max-width: 420px) {
  .hero h1, .hero-title { font-size: 32px; letter-spacing: 0.9px !important; }
}
