@font-face {
  font-family: "F3 Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "F3 Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "F3 Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "F3 Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --f3-font-body: "F3 Inter", system-ui, sans-serif;
  --f3-font-heading: "F3 Space Grotesk", system-ui, sans-serif;
}

body,
body[class*="elementor-kit-"],
.f3-site-header,
.attendance-film {
  font-family: var(--f3-font-body);
}

body[class*="elementor-kit-"] {
  --e-global-typography-primary-font-family: "F3 Space Grotesk";
  --e-global-typography-secondary-font-family: "F3 Space Grotesk";
  --e-global-typography-text-font-family: "F3 Inter";
  --e-global-typography-accent-font-family: "F3 Inter";
}

.app-shell :is(h1, h2, h3),
.join-shell :is(h1, h2, h3),
.notice :is(h1, h2),
.attendance-film h2,
.attendance-film .attendance-film__name,
body[class*="elementor-kit-"] :is(h1, h2, h3),
body .f3-home-hero #f3-home-title,
body .f3-home-schedule #f3-home-schedule-title,
body .f3-weekly-schedule #f3-weekly-schedule-title,
body .f3-home-intro h2 {
  font-family: var(--f3-font-heading);
  font-weight: 700;
}

.app-shell h1,
.join-shell h1,
.notice h1,
.f3-gallery-heading h1 {
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

body .f3-home-hero #f3-home-title {
  line-height: 1.04;
  letter-spacing: -.035em;
}

.f3-home-hero__content > p,
.f3-home-intro p {
  line-height: 1.55;
}

:is(.app-shell, .join-shell) :is(input, select, textarea) {
  font-family: var(--f3-font-body);
}

:is(.attendance-log-table, .ao-attendance-table, .ranking-list, .yearly-attendance-bars,
  .member-progress, .member-milestone-targets, .f3-upcoming-table, .f3-home-workouts, .f3-home-next) {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .app-shell h1,
  .join-shell h1,
  .notice h1 {
    font-size: clamp(1.875rem, 7vw, 2rem);
  }
}
