/*
  Readability layer for analyst-facing pages.
  Raises the floor for labels, helper copy, tables, and inline microtext.
*/

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px !important;
  line-height: 1.6;
}

a,
button,
input,
select,
textarea {
  font-size: 13px;
}

p,
li,
.note,
.method-note,
.hero-desc,
.feature-desc,
.cta-sub,
.locked,
.sub,
.subtitle,
.updated,
.logo-sub,
.report-viewer,
.review-note {
  font-size: 13px !important;
  line-height: 1.7;
}

th,
.period-table th,
.demo-table th {
  font-size: 11px !important;
  line-height: 1.45;
}

td,
.period-table td,
.demo-table td {
  font-size: 13px !important;
  line-height: 1.45;
}

.back,
.card-label,
.demo-label,
.section-label,
.label,
.fil-label,
.stat-l,
.metric-label,
.alpha-label,
.axis-label-row,
.axis-zone-label,
.detail-section-label,
.signal-name,
.signal-label,
.thesis-key,
.thesis-val,
.pending-header,
.pending-sym,
.pending-status,
.crypto-chip-label,
.review-card-sub,
.review-metric-label,
.review-metric-detail,
.review-bar-top,
.review-bar-detail {
  font-size: 11px !important;
  line-height: 1.55;
}

.badge,
.d-badge,
.hz,
.horizon-tab,
.tab-btn,
.fbtn,
.btn,
.plan-cta,
.hero-ctas a,
.mini-btn,
.inv-chip,
.crypto-chip,
.plan-tag,
.report-dot {
  font-size: 11px !important;
  line-height: 1.35;
}

.feature-title,
.section h2 {
  font-size: 15px !important;
}

.plan-features li {
  font-size: 13px !important;
  line-height: 1.55;
}

.hero-desc a,
.note a,
.method-note a,
.cta-sub a {
  white-space: nowrap;
}

/* Existing pages use inline microtype extensively. Keep a hard minimum. */
[style*="font-size:7px"] { font-size: 10px !important; }
[style*="font-size:8px"] { font-size: 11px !important; }
[style*="font-size:9px"] { font-size: 11.5px !important; }
[style*="font-size:10px"] { font-size: 12px !important; }
[style*="font-size:11px"] { font-size: 13px !important; }

@media (max-width: 600px) {
  body {
    font-size: 16px !important;
  }

  h1 {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .hero-tagline {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .hero-desc,
  .feature-desc,
  p,
  li,
  .note,
  .method-note,
  .sub,
  .subtitle,
  .locked,
  .cta-sub {
    font-size: 14px !important;
    line-height: 1.7;
  }

  th,
  td,
  .demo-table th,
  .demo-table td,
  .period-table th,
  .period-table td {
    font-size: 12px !important;
    line-height: 1.45;
  }

  .card-label,
  .demo-label,
  .section-label,
  .label,
  .fil-label,
  .stat-l,
  .metric-label,
  .detail-section-label,
  .review-metric-label,
  .review-card-sub {
    font-size: 11px !important;
  }

  .badge,
  .d-badge,
  .hz,
  .horizon-tab,
  .tab-btn,
  .fbtn,
  .btn,
  .hero-ctas a,
  .plan-cta,
  .mini-btn {
    font-size: 11px !important;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
