/* Shared Falcon type scale. Theme palettes remain in assets/theme/. */
:root {
  --ftm-font-family:
    "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
  --ftm-type-hero: clamp(2rem, 4vw, 3.25rem);
  --ftm-type-page: 1.75rem;
  --ftm-type-section: 1.375rem;
  --ftm-type-subheading: 1.125rem;
  --ftm-type-body: 1rem;
  --ftm-type-admin-body: 0.9375rem;
  --ftm-type-label: 0.875rem;
  --ftm-type-caption: 0.8125rem;
  --ftm-type-chart: 0.75rem;
  --ftm-type-metric: 1.75rem;
}
body:not(.wp-admin) {
  font-family: var(--ftm-font-family) !important;
  font-size: var(--ftm-type-body);
  line-height: 1.6;
}
body:not(.wp-admin)
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    strong,
    b,
    label,
    input,
    select,
    textarea,
    button,
    table,
    dt,
    dd,
    legend
  ),
body:not(.wp-admin) svg text {
  font-family: var(--ftm-font-family) !important;
}
body:not(.wp-admin) :is(h1, h2, h3, h4) {
  font-weight: 650 !important;
  letter-spacing: -0.025em;
}
body:not(.wp-admin) h1 {
  font-size: var(--ftm-type-page) !important;
  line-height: 1.25;
}
body:not(.wp-admin) h2 {
  font-size: var(--ftm-type-section) !important;
  line-height: 1.35;
}
body:not(.wp-admin) h3 {
  font-size: var(--ftm-type-subheading) !important;
  line-height: 1.4;
}
body:not(.wp-admin) h4 {
  font-size: var(--ftm-type-body) !important;
  line-height: 1.4;
}
body:not(.wp-admin) :is(strong, b) {
  font-weight: 600;
}
body:not(.wp-admin) :is(input, select, textarea, button) {
  font-size: var(--ftm-type-label);
}
body:not(.wp-admin) :is(label, table) {
  font-size: var(--ftm-type-label);
}
body:not(.wp-admin) :is(.ftm-club-hero, .ftm-home-hero, .ftm-about-hero) h1 {
  font-size: var(--ftm-type-hero) !important;
}
body:not(.wp-admin) .wp-block-site-title {
  font-size: var(--ftm-type-section);
  font-weight: 600;
}
body:not(.wp-admin) .ftm-about-content {
  font-size: var(--ftm-type-body);
  line-height: 1.6;
}
.ftm-tabler-live {
  font-size: var(--ftm-type-admin-body) !important;
}
.ftm-tabler-live h1 {
  font-size: var(--ftm-type-page) !important;
}
.ftm-tabler-live h2 {
  font-size: var(--ftm-type-section) !important;
}
.ftm-tabler-live h3 {
  font-size: var(--ftm-type-subheading) !important;
}
.ftm-tabler-live :is(.ftm-admin-panel__header p, .ftm-upgrade-panel p) {
  font-size: var(--ftm-type-admin-body);
}
.ftm-tabler-live
  :is(label > span, .ftm-admin-menu a, .ftm-button, input, select, textarea) {
  font-size: var(--ftm-type-label) !important;
  font-weight: 500;
}
.ftm-tabler-live
  :is(
    .ftm-button--small,
    .ftm-status-badge,
    .ftm-admin-count,
    .ftm-admin-topbar a,
    .ftm-admin-topbar__user
  ) {
  font-size: var(--ftm-type-caption) !important;
}
.ftm-tabler-live .ftm-admin-table {
  font-size: var(--ftm-type-label) !important;
}
.ftm-tabler-live .ftm-admin-table :is(th, td) {
  font-size: var(--ftm-type-label) !important;
}
.ftm-tabler-live
  :is(
    .ftm-admin-table td small,
    .ftm-admin-sidebar__meta,
    .ftm-admin-user-identity small
  ) {
  font-size: var(--ftm-type-caption) !important;
}
.ftm-tabler-live .ftm-admin-menu-group > summary {
  font-size: var(--ftm-type-chart) !important;
  font-weight: 600;
  letter-spacing: 0.07em;
}
.ftm-tabler-live .ftm-admin-stat strong {
  font-size: var(--ftm-type-metric) !important;
  font-weight: 650;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ftm-tabler-live .ftm-admin-stat span {
  font-size: var(--ftm-type-label) !important;
  font-weight: 500;
}
.ftm-tabler-live .ftm-admin-stat > .ftm-admin-stat__icon {
  font-size: var(--ftm-type-chart) !important;
}
.ftm-tabler-live .ftm-admin-owner-brief strong {
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.ftm-tabler-live .ftm-admin-owner-brief span {
  font-size: var(--ftm-type-label);
  font-weight: 500;
}
.ftm-tabler-live .ftm-admin-insight-card h3 {
  font-size: var(--ftm-type-subheading) !important;
  font-weight: 600 !important;
}
.ftm-tabler-live .ftm-admin-insight-card p {
  font-size: var(--ftm-type-label);
}
.ftm-tabler-live .ftm-admin-insight-card__actions a {
  font-size: var(--ftm-type-caption) !important;
  font-weight: 500;
}
.login :is(p, label, input, button) {
  font-size: var(--ftm-type-label);
}
@media (max-width: 767px) {
  :root {
    --ftm-type-page: 1.5rem;
    --ftm-type-section: 1.25rem;
  }
}
