/* Typography fixes (2026-11-25). Loaded after the theme stylesheets on public, auth,
   account and home pages. Each rule only raises or corrects; at the 1920px design width the
   theme's sizes are kept wherever they were already 12px or more. */

/* 1. Plus Jakarta headings: the theme's -0.035/-0.04em tracking shrinks the word space to
      ~0.13em, so words run together ("Startwith a plan foryour industry"). Restore the gap
      without loosening the letters. Comfortaa hero titles already have a normal gap. */
h1, h2, h3 { word-spacing: .1em }
.hero h1, body .page-hero h1, .home-v2 h1, .publisher-title { word-spacing: normal } /* Comfortaa / Inter: already ~0.21–0.25em */

/* 2. Italic emphasis inside running text stays in the text face instead of switching to the
      Instrument Serif display face mid-sentence. Headings keep the serif accent. */
p em, li em, td em, dd em, blockquote em, figcaption em,
.blog-body em, .policy-body em, .article-content p em { font-family: inherit; letter-spacing: inherit }

/* 3. Big stat numbers: the homepage used Georgia (not shipped; Android substitutes a generic
      serif). Use the theme's own serif like every other page's stats. */
.stats strong { font-family: 'Instrument Serif', Georgia, serif }

/* 4. Minimum readable size (12px). max() keeps the theme's larger design sizes. */
/* Header actions (public pages) */
body .site-header .header-actions { font-size: max(12px, calc(14 * var(--u, 1px))) }
body .site-header .header-actions .button { font-size: max(12px, calc(13 * var(--u, 1px))) }
/* Footer: public layout (.site-footer) and homepage footer */
body .site-footer .footer-grid p, body .site-footer h4 { font-size: max(12px, calc(14 * var(--u, 1px))) }
body .site-footer .footer-grid > div > a:not(.brand) { font-size: max(12px, calc(13 * var(--u, 1px))) }
body .site-footer .copyright { font-size: 12px }
/* rem only equals a design pixel from 951px up (design-refinements.css scales the root);
   below that the theme uses fixed px, so the floor is plain 12px there. */
.home-v2 footer h4, .home-v2 footer p, .home-v2 footer .footer-grid a:not(.brand), .home-v2 footer .copyright { font-size: 12px }
@media (min-width: 951px) {
  .home-v2 footer h4, .home-v2 footer p { font-size: max(12px, 14rem) }
  .home-v2 footer .footer-grid a:not(.brand) { font-size: max(12px, 13rem) }
}
/* Badges, tags, labels */
.verified, .tag, a.tag, .pub-tags .tag, .tags span, .bl-badge, .bundle-tag, .best-badge,
.eyebrow, .bl-updated, .plan-bundle-hint, .app-badge, .sidebar .nav-label, .counter,
.password-toggle, .save-button, .form-card-head .tag { font-size: 12px } /* all are 8–12px in the theme */
/* Bundle cards: stat labels and member visits */
.bl-stats dt, .bl-price small, .bundle-site small { font-size: 12px }
/* Homepage featured cards (rem-scaled on desktop, fixed px on phones) */
.home-v2 .website, .home-v2 .description, .home-v2 .description b, .home-v2 .website b,
.home-v2 .metrics, .home-v2 .contact-pill, .home-v2 .contact-pill button, .home-v2 .chips button, .home-v2 .tags span { font-size: 12px }
@media (min-width: 951px) {
  .home-v2 .website, .home-v2 .website b { font-size: max(12px, 14rem) }
  .home-v2 .description, .home-v2 .description b, .home-v2 .tags span, .home-v2 .chips button { font-size: max(12px, 13rem) }
  .home-v2 .metrics, .home-v2 .contact-pill { font-size: max(12px, 12rem) }
  .home-v2 .contact-pill button { font-size: max(12px, 14rem) }
}
/* Second batch: component rules that out-rank the generic ones above (all 10–11px in the theme). */
.metric-range span, .pub-tags .tag, .plan-tags .tag, .bl-tags span, .bundle-sample small, .article-list small,
.site-cell small, .bl-checks label small, .app-user-text small, .dash-table td small, .dash-tabs button small,
.sitemap-group h2 small, .auth-card .hint, .home-v2 .bundle-lock { font-size: 12px }
/* Homepage Explore/guides use the --hu scale (1px phones, 1rem desktop): floor without changing 1920px. */
.home-v2 .mini-main small { font-size: max(12px, calc(12 * var(--hu))) }
.home-v2 .mini-stat em, .home-v2 .cat-subs { font-size: max(12px, calc(13 * var(--hu))) }
.home-v2 .cat-count { font-size: max(12px, calc(14 * var(--hu))) }
.home-v2 .guide span.guide-cat { font-size: max(12px, calc(11 * var(--hu))) }
@media (max-width: 600px) {
  /* Larger chip text: trim padding so the five niche chips still fit one row. */
  .home-v2 .chips { gap: 5px }
  .home-v2 .chips button { padding: 7px 9px }
  /* The social/SEO separator would start a wrapped line on phones. */
  .home-v2 .metrics-sep { display: none }
  .home-v2 .metrics { column-gap: 8px }
  /* Phones: card copy a step larger than the minimum. */
  .home-v2 .description, .home-v2 .description b, .home-v2 .website, .home-v2 .website b, .pub-line { font-size: 13px }
}
